|
Remember the cool countdown that is in the Q3F
duel maps? Want to use it in your own map? Here is
how you make them...
It
is actually a chain of enities that will remove all
your ammo until the last one is activated...
#1 Make the level
First of all you should have a level that is
playable. When you are done with the design then you
can proceed to the next step...
#2 Change the info_player_start
When you have your level ready then you should add
the following to your info_player_start enities. It
force make everyone that spawns there to activate
the "armourer". It will also only allow
the blue and red teams to spawn there. (NOTE: You
don't need to use blue and red, but during this
tutorial we will use them.)
|
Key
|
Value
|
|
"activetarget"
|
"armourer"
|
|
"allowteams"
|
"blue,red"
|
#3 Add info_notnull
Now you should add a info_notnull, with the
following values, to your level. You can put it any
where within the walls of the map, if you put it
outside the main level then you can't Vis it lather.
When activated (when some one spawns) they will
loose all their ammo and grenades and recive 10sec
of invunarbility. Then this enity will wait for 5sec
and then activate the next enity in the chain...
|
Key
|
Value
|
|
"groupname"
|
"armourer"
|
|
"affectteams"
|
"blue,red"
|
|
"give"
|
"health=+100,
armor=+300,
invuln=10,
ammo_shells=0,
ammo_bullets=0,
ammo_rockets=0,
ammo_cells=0,
ammo_medikit=0,
gren1=0,
gren2=0"
|
|
"inactivetarget"
|
"supplier"
|
|
"activetarget"
|
"counter1"
|
|
"wait"
|
"5"
|
#4 Another info_notnull...
Now you should add another info_notnull. Do as you
did in step #3 but use these new values instead...
|
Key
|
Value
|
|
"groupname"
|
"counter1"
|
|
"inactivetarget"
|
"counter2"
|
|
"wait"
|
"1"
|
#5
And another one...
Does this look familiar? Just add a new
info_notnull with these values...
|
Key
|
Value
|
|
"groupname"
|
"counter2"
|
|
"affectteams"
|
"blue,red"
|
|
"give"
|
"health=+100,
armor=+300,
invuln=10,
ammo_shells=0,
ammo_bullets=0,
ammo_rockets=0,
ammo_cells=0,
ammo_medikit=0,
gren1=0,
gren2=0"
|
|
"inactivetarget"
|
"counter3"
|
|
"wait"
|
"1"
|
#6
And another one...
Add another info_notnull... Now has the countdown
started at 3. This enity will display a message
(<<< 3 >>>) in the middle of the
screen and play a .wav file that says 3...
|
Key
|
Value
|
|
"groupname"
|
"counter3"
|
|
"affectteams"
|
"blue,red"
|
|
"give"
|
"health=+100,
armor=+300,
invuln=10,
ammo_shells=0,
ammo_bullets=0,
ammo_rockets=0,
ammo_cells=0,
ammo_medikit=0,
gren1=0,
gren2=0"
|
|
"inactivetarget"
|
"counter4"
|
|
"wait"
|
"1"
|
|
"active_all_message"
|
"~<<< 3 >>>"
|
|
"active_all_sound"
|
"~sound/feedback/three.wav"
|
#7
And another one...
Add another info_notnull... Now the timer is down
to 2. And it keeps counting...
|
Key
|
Value
|
|
"groupname"
|
"counter4"
|
|
"affectteams"
|
"blue,red"
|
|
"give"
|
"health=+100,
armor=+300,
invuln=10,
ammo_shells=0,
ammo_bullets=0,
ammo_rockets=0,
ammo_cells=0,
ammo_medikit=0,
gren1=0,
gren2=0"
|
|
"inactivetarget"
|
"counter5"
|
|
"wait"
|
"1"
|
|
"active_all_message"
|
"~<<< 2 >>>"
|
|
"active_all_sound"
|
"~sound/feedback/two.wav"
|
#8
And another one...
Add another info_notnull... This is almost the
last entity... Now we only need one more...
|
Key
|
Value
|
|
"groupname"
|
"counter5"
|
|
"affectteams"
|
"blue,red"
|
|
"give"
|
"health=+100,
armor=+300,
invuln=10,
ammo_shells=0,
ammo_bullets=0,
ammo_rockets=0,
ammo_cells=0,
ammo_medikit=0,
gren1=0,
gren2=0"
|
|
"inactivetarget"
|
"counter5"
|
|
"wait"
|
"1"
|
|
"active_all_message"
|
"~<<< 1 >>>"
|
|
"active_all_sound"
|
"~sound/feedback/one.wav"
|
#9
And now the last one...
Finally the last enity. This will print FIGHT in
the middle of the screen (and play a sound). Then
it will give health, ammo and grenades. Happy
fragging!!!
:)
|
Key
|
Value
|
|
"groupname"
|
"supplier"
|
|
"affectteams"
|
"blue,red"
|
|
"give"
|
"health=+100,
armor=+300,
invuln=10,
ammo_shells=100,
ammo_bullets=200,
ammo_rockets=50,
ammo_cells=100,
ammo_medikit=200,
gren1=4,
gren2=1"
|
|
"inactivetarget"
|
"counter5"
|
|
"wait"
|
"5"
|
|
"active_all_message"
|
"~FIGHT"
|
|
"active_all_sound"
|
"~sound/feedback/fight.wav"
|
Now
you have it... Just compile your map and the try to
play it... If it doesn't work then check this
tutorial again, and if it still doesn't work then
send me an E-Mail
and I will try to help you, or you can try to
contact me on IRC #mappers.uk on QuakeNet
|