Need help with basic script file contents for SP maps
Posted: Mon Jun 16, 2003 5:46 pm
Hi all,
Firstly, I am getting somewhat aware of how things work regarding sounds, tik files etc., and DO UNDERSTAND that MOHAA does not
allow a lot of things to get loaded and cached for Single User Maps.
I have read through and downloaded the tutorials by Surgeon etc., on
the how to get some things to work regarding sounds for instance.
But as you folks know, to get all the is required, most of us end up
prefixing our maps with "test_" so that all the AI actions etc., will work.
OK. That being said, with the understanding there is still a lot of things
I simply have no knowledge about....... what I would like to know is
if anyone can show me (other newbies) a map_name.scr file that
contains all the "required global commands, and I will call them directive
type program code statements ...........that.............will allow whatever
is put into the main portion or in methods or threads in the main startup
script file, to work without error messages...........once the main script
file is ran.
Put another way.
What should I have in my map_name.scr file when I name it:
test_mymap.scr instead of just mymap.scr?
Things I am putting in the file do not seem to be activated, just for instance, a command like:
$player item weapons/colt45 WILL NOT give the player the weapon once the player is spawned, IF I run the map as a test map........e.g.
map test_mymap. HOWEVER, IF I RUN AN IDENTICAL MAP CALLED:
mymap of course having a duplicate mymap.scr file the player will
get the weapon assigned.
It appears that if I run the test_ version of the map, things do not get interpreted correctly or ignored or I get some type of error when the
engine tries to read the stuff placed in the script file.
Sorry for the long winded statements, I just want to attempt to be clear on what I am experiencing. IF I AM NOT MAKING SENSE TO ANYONE THAT MIGHT BE WILLING TO HELP ME, please say so and I will try to re-word what I have said here.
In summary, if I run two identical map.scr files..........where one is
grb.scr and the second is test_grb.scr.
The Player will get weapons assigned when running the grb.scr version,
but not when I run the test_grb.scr version. YES of course I have to identical map files one being grb.bsp the other test_grb.bsp etc..
I am open for dialog via. email if this is simpiliar to explain by that method.
Thank you in advance for any help.
Firstly, I am getting somewhat aware of how things work regarding sounds, tik files etc., and DO UNDERSTAND that MOHAA does not
allow a lot of things to get loaded and cached for Single User Maps.
I have read through and downloaded the tutorials by Surgeon etc., on
the how to get some things to work regarding sounds for instance.
But as you folks know, to get all the is required, most of us end up
prefixing our maps with "test_" so that all the AI actions etc., will work.
OK. That being said, with the understanding there is still a lot of things
I simply have no knowledge about....... what I would like to know is
if anyone can show me (other newbies) a map_name.scr file that
contains all the "required global commands, and I will call them directive
type program code statements ...........that.............will allow whatever
is put into the main portion or in methods or threads in the main startup
script file, to work without error messages...........once the main script
file is ran.
Put another way.
What should I have in my map_name.scr file when I name it:
test_mymap.scr instead of just mymap.scr?
Things I am putting in the file do not seem to be activated, just for instance, a command like:
$player item weapons/colt45 WILL NOT give the player the weapon once the player is spawned, IF I run the map as a test map........e.g.
map test_mymap. HOWEVER, IF I RUN AN IDENTICAL MAP CALLED:
mymap of course having a duplicate mymap.scr file the player will
get the weapon assigned.
It appears that if I run the test_ version of the map, things do not get interpreted correctly or ignored or I get some type of error when the
engine tries to read the stuff placed in the script file.
Sorry for the long winded statements, I just want to attempt to be clear on what I am experiencing. IF I AM NOT MAKING SENSE TO ANYONE THAT MIGHT BE WILLING TO HELP ME, please say so and I will try to re-word what I have said here.
In summary, if I run two identical map.scr files..........where one is
grb.scr and the second is test_grb.scr.
The Player will get weapons assigned when running the grb.scr version,
but not when I run the test_grb.scr version. YES of course I have to identical map files one being grb.bsp the other test_grb.bsp etc..
I am open for dialog via. email if this is simpiliar to explain by that method.
Thank you in advance for any help.