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 Scripts / EFX mod - water scripts

Author
Message
Ocho Geek
17
Years of Service
User Offline
Joined: 16th Aug 2007
Location: Manchester, UK
Posted: 20th Feb 2008 20:15
I finally got some FPI experience with EFX mod and im really happy with the results.

however, the sample scripts don't have anything for the colour of water, does anybody have a command or even better, a sample script for changing the:
reflection colour
refraction colour
underwater colour

thanks,
Ocho

Under Construction...
Nighthawk
19
Years of Service
User Offline
Joined: 12th Apr 2006
Location: Germany
Posted: 20th Feb 2008 20:24 Edited at: 20th Feb 2008 20:26
efxwaterset - Set Water Height to... (Set to 999999 for using the "Ifused" Field of the Triggerzone)
efxwaterinc - Increase Water Height
efxwaterdec - Decrease Water Height

efxwaterreflsetr - Set Reflection Color to (R) (Set to 999999 for using the "Ifused" Field of the Triggerzone)
efxwaterreflsetg - Set Reflection Color to (G) (Set to 999999 for using the "Ifused" Field of the Triggerzone)
efxwaterreflsetb - Set Reflection Color to (B) (Set to 999999 for using the "Ifused" Field of the Triggerzone)

efxwaterrefrsetr - Set Refraction Color to (R) (Set to 999999 for using the "Ifused" Field of the Triggerzone)
efxwaterrefrsetg - Set Refraction Color to (G) (Set to 999999 for using the "Ifused" Field of the Triggerzone)
efxwaterrefrsetb - Set Refraction Color to (B) (Set to 999999 for using the "Ifused" Field of the Triggerzone)

efxwatersetbumpheight - Set Water Bump Height to... (Set to 999999 for using the "Ifused" Field of the Triggerzone)
efxwatersetfresnel - Set Water Fresnel Power to... (Set to 999999 for using the "Ifused" Field of the Triggerzone)

efxwaterscale - Set Water Scale to... (Set to 999999 for using the "Ifused" Field of the Triggerzone)

efxwaterspeed1 - Set Water Speed1 to... (Set to 999999 for using the "Ifused" Field of the Triggerzone)
efxwaterspeed2 - Set Water Speed2 to... (Set to 999999 for using the "Ifused" Field of the Triggerzone)

efxunderwatersetr - Set Underwater Color to (R) (Set to 999999 for using the "Ifused" Field of the Triggerzone)
efxunderwatersetg - Set Underwater Color to (G) (Set to 999999 for using the "Ifused" Field of the Triggerzone)
efxunderwatersetb - Set Underwater Color to (B) (Set to 999999 for using the "Ifused" Field of the Triggerzone)

efxbloombrightness - Set Bloom Brightness to... (Set to 999999 for using the "Ifused" Field of the Triggerzone)
efxbloomblurwidth - Set Bloom BlurWidth to... (Set to 999999 for using the "Ifused" Field of the Triggerzone)


The Scriptcommands.txt is available in the ZIP Version of the efxMod and soon available in the FAQ/Advanced Help File of the Loader Version.

The Commands are based on the same structure

That simply means: you can replace the efx Script Command in a script with one of these on top of this post. (does not affect all script commands)

My System: Intel Xeon 3060 @ 2,4 GHz, Asus Commando, 2GB DDR2-800 RAM, Thermaltake Shark Black, Sapphire Radeon HD2900XT, Samsung Syncmaster 245B 24"
-- Helix Head Developer --
Rampage
17
Years of Service
User Offline
Joined: 4th Feb 2008
Location: New Zealand
Posted: 21st Feb 2008 06:23
Where can i get this "EFX mod" ???

-Thanks
Nighthawk
19
Years of Service
User Offline
Joined: 12th Apr 2006
Location: Germany
Posted: 21st Feb 2008 14:05
Did you ever visit the FPS Creator Product Chat Category?

My System: Intel Xeon 3060 @ 2,4 GHz, Asus Commando, 2GB DDR2-800 RAM, Thermaltake Shark Black, Sapphire Radeon HD2900XT, Samsung Syncmaster 245B 24"
-- Helix Head Developer --
Ocho Geek
17
Years of Service
User Offline
Joined: 16th Aug 2007
Location: Manchester, UK
Posted: 22nd Feb 2008 10:45 Edited at: 22nd Feb 2008 10:47
thank you nighthawk

EDIT is it possible to combine all of them in a script cause im using tonnes of trigger zones in my game
Nighthawk
19
Years of Service
User Offline
Joined: 12th Apr 2006
Location: Germany
Posted: 22nd Feb 2008 13:56
Yep, you just need a bit scripting experience

My System: Intel Xeon 3060 @ 2,4 GHz, Asus Commando, 2GB DDR2-800 RAM, Thermaltake Shark Black, Sapphire Radeon HD2900XT, Samsung Syncmaster 245B 24"
-- Helix Head Developer --
Lennard
19
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Estonia
Posted: 29th Mar 2008 14:58 Edited at: 29th Mar 2008 15:07
I'm trying to get few nighthawks efx scripts working with one trigger, but I cant get it work correctly.
Sorry but I'm new to scripting. Can anybody give me some tips what I should do or just correct the problem ?

Here is the code




The first two triggers work (waterset and fresnel) other two do not.

Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 29th Mar 2008 22:09
That's because you don't have an action colon in your last line of the script, meaning the engine is assuming that they are all conditions. Get both of your colons in there and it'll work.


The one and only,
~PlystirE~

Lennard
19
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Estonia
Posted: 30th Mar 2008 04:15 Edited at: 30th Mar 2008 04:18
Thank you for you answer Plystire . I was allready loseing hope.
All this scripting is new to me.
I put one colon in front of the efxwaterscale and it worked. But I dunno where to put the other colon. efxbloomblurpasses won't just work where ever I try to put the second colon...Script error.

I managed to get in the game with putting second colon in front of the efxbloomblurpasses, but It won't still work.

Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 31st Mar 2008 08:00


notice where the colons ar in the last line. thats how it should be.


The one and only,
~PlystirE~

Lennard
19
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Estonia
Posted: 3rd Apr 2008 16:34
Ah. Finaly got it working. The problem was that the bloomblurpassing via script diden't work. But still thanks.

Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 4th Apr 2008 09:51
Even if it doesn't work, the other actions in your script would still execute.

In FPI, if you mis-type an action or condition (I.E. it couldn't FIND the one you typed in), then it will be ignored. Like if you tried using a condition that didn't exist, it woud ignore it and only take the other conditions into account. If you gave it an action that it didn't recognise, then it wouldn't do anything and continue onto the next one.


The one and only,
~PlystirE~

Lennard
19
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Estonia
Posted: 5th Apr 2008 11:18
Well, it crashed before the end of level building with an error.
So I don't know what the problem was.

Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 5th Apr 2008 12:18
Then by "doesn't work", you must mean that it is buggy and not that it isn't implemented.

In that case, remove the action and correct the script like I mentioned.


The one and only,
~PlystirE~

Login to post a reply

Server time is: 2025-05-22 06:19:28
Your offset time is: 2025-05-22 06:19:28