

![]() |
| Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above. |
|
By Andewii
Adding introscreen to your mapThis can be done through scripting only, so no need to open Radiant... first of all open maps\yourmapname.gsc and add the following to the code:
Now create a folder called localizedstrings, in main directory, and add a text file called strings.str, it should contain the following:
The top of it is just a header and the ENDMARKER just shows the game that file has ended. However look closely at the other stuff, when you write REFERENCE <something>, then this is the way you can call it in the script. It's called up this way: <name of .str file>_<reference>. For example our reference YOURMAPNAME_INTRO_1 is precached in the script by calling precacheString(&"STRINGS_YOURMAPNAME_INTRO_1"); because our .str file is named strings.str. Now save all files and go into your game, and voila! And oh yeah remember to replace all YOURMAPNAME with the name of your map :-) Have fun, and I hope you can use this info!
|
Members Online
Latest MODSonline Poll
MODSonline Teamspeak
Partners of MODSonline
Friends of MODSonline
|