Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / how to make decal appear and disappear

Author
Message
veer
16
Years of Service
User Offline
Joined: 3rd Mar 2010
Location:
Posted: 27th Jul 2010 17:53
is that is possible....because it keep on looping
ctm
21
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 27th Jul 2010 18:32
I have never tested this...but you can find some values for the rundecal action in the decal script:



Try rundecal=0 or rundecal=1 instead of rundecal=2
veer
16
Years of Service
User Offline
Joined: 3rd Mar 2010
Location:
Posted: 27th Jul 2010 18:38
they never work..or i am not able to work them out
ctm
21
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 27th Jul 2010 19:02
I have tested it now. It works if you change the state after the rundecal=0 action:



It will play all frames one time and stop then.

To make that work you'll have to either use the appearspawn.fpi or a other script that makes the decal appear invisible and become visible when it gets activated + runfpidefault=1 to run the main script.

Ah, it's more easy to post the script

veer
16
Years of Service
User Offline
Joined: 3rd Mar 2010
Location:
Posted: 28th Jul 2010 05:30 Edited at: 28th Jul 2010 05:32
thank you..another way was....using bond1 animated shader
ctm
21
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 28th Jul 2010 10:20
You're welcome

How did you make it that the shader not loops?
veer
16
Years of Service
User Offline
Joined: 3rd Mar 2010
Location:
Posted: 28th Jul 2010 14:18 Edited at: 28th Jul 2010 14:40
make it spawn after delay....

i am trying to make it like in fear...there u see light energy in human form
ctm
21
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 28th Jul 2010 16:03
Seems i misunderstood the topic...you wanted to spawn a decal and there are no spawn options in the decal properties?
veer
16
Years of Service
User Offline
Joined: 3rd Mar 2010
Location:
Posted: 28th Jul 2010 16:09
using bond1 animated shader over an entity

it uses same 16 frame animation(like decal)

than we can spawn entity ...not tried it yet but working on it
Metal Devil123
18
Years of Service
User Offline
Joined: 13th Jul 2008
Location: Suomi, Finland
Posted: 28th Jul 2010 18:17
Watch the decal and wave your hand on front of your face.

Marc Steene
FPSC Master
20
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 28th Jul 2010 20:37
I think the Project Blue/Green hideentity and showentity actions work on decals. You could make use of those. Or just time how long it takes for 1 repetition to occur before destroying the entity.


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21

Login to post a reply

Server time is: 2026-07-16 03:10:31
Your offset time is: 2026-07-16 03:10:31