Artillery!!
Moderator: Moderators
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
oh thanks
and i dont have a precache for my map...
and i just wanted it so you could have a maximum of 3 strikes... The timer inbetween strikes is good though 
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
If you want only 3 strikes make a variable like level.artystrikes then at the top of your script before you call the thread put level.artystrikes=0 then in your thread before the line goto artillery_fire put level.artystrikes++ and instead of goto artillery_fire put " if level.artystrikes<4 goto artillery_fire "
when level.artystrikes = 4 the thread will end
when level.artystrikes = 4 the thread will end
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
Oh goody i got a dm precache for my map! what line do i need in if .. lets say my map is named artytest would i name it DM_Precache_artytest.scr???
or what? and in the regular map script what line do i need to execute it? (i know its like... exec dm_precache_artytest)<-is that right??? (without the perinthesis heheh)
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
no
Name it:
artytest_precache.scr
You don't need to load it. The game will do that automattically, if it is in the same folder with artytest.bsp and artytest.scr .
artytest_precache.scr
You don't need to load it. The game will do that automattically, if it is in the same folder with artytest.bsp and artytest.scr .
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
now what line do i add to get my ... artytest.tik thinger to work
(and does it matter what i name the tik?) or does it also do that automatically.. i just need to add the lines to get the explosions/lead ins to work (of which i already have)
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
You should reread the posts in this tread like I said earlier 
It is a good idea too to reread the script a few times and see if you can understand the way the scripting is done so you can start scripting , its half the fun of mapping .
so add that line inside the quotes useing your tik's name into your precache .scrWhen you are done save it as artillerymap.tik and add the line to your artillerymap_precache.scr "cache models/artillerymap.tik " all .tik's are in the models directory so put your tik in the models directory of your pak .
It is a good idea too to reread the script a few times and see if you can understand the way the scripting is done so you can start scripting , its half the fun of mapping .
