Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » are people using JFW_User_Settable_Parameters?
are people using JFW_User_Settable_Parameters? [message #62932] Wed, 21 January 2004 10:26 Go to previous message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma:
General (1 Star)
It's used for anything you want. It allows settings for a script to be stored in a text file in the game directory. As far as i remember, you need to format it the same as you see in leveledit. The best way to do it is to add the desired script in Level Edit, set some default parameters, then look at the string of values that are created. There should be values seperated by commas (1,10023,100024,3). This line of values go into the text file. you need to include all of the paramerts even if they are null (,,). You then use the JFW_User_Settable_Parameter script where you want the real one to go and specify the name of the text file (ctf_score.txt) or (data\ctf_score.txt) for example.

It is useful where you have variables such as in CTF for score or other things.


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Converting AUD to WAV in the XCC mixer
Next Topic: Texture help
Goto Forum:
  


Current Time: Sat Jan 04 10:40:48 MST 2025

Total time taken to generate the page: 0.01184 seconds