Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Lucika on December 21, 2011, 07:05:49 pm
-
I'd like to use this (http://www.youtube.com/watch?v=mSki1LMMUpE) old piece of Valathil awesomeness as my ship's warpout effect. How is it possible, if it is, that is?
-
trigger the effect with a know duration then do ship-vanish chained in after that duration. voila
edit: wait dont tell me, theres no precoded entry for the effect in the postproc table :nono:
then you have to add one to the postprocess.tbl #Ship Effect entries
try this:
$Name: Dissolve
$Shader Effect: 0
$Disables Rendering: YES
$Invert timer: YES
-
EDIT: It shows up fine in FRED but it doesn't do anything ingame. I have changed the related table, what additional files do I need?
One more thing:
Warning: This will cause ship exit not to be logged, so 'has-departed', etc. will not work
Is there a workaround for that?
-
Don't use ship-vanish, just check "No Warp Effect" for the departure, and use AI orders to tell it to depart normally.
-
i commited the fix into trunk hopefully this will show up next RC in the meantime i compiled you a fred (VS 11 hopefully works) and main exe build that has the fix in it so you can experiment.
http://www.mediafire.com/?o6viuuws2dtdasd
-
It works fine with a bit of tinkering now, thank you for your help.
I wonder how could I use it as an arrival effect though. I was thinking about setting it to cloaked in misc as the ship arrives, then use the effect... would that work?
-
It should.