Page 1 of 1
Minefields (more of one minefield)
Posted: Thu May 26, 2005 2:20 am
by mcunha98
Hi people
I read many tutorials about make a minefield. Ok the process is very simple, using a trigger -> multiple and putting the targetname minefield with the call of minefield.scr i make ONE minefield.
But in my map i need use TWO minefields, if i make a new trigger ->multiple and put in my make, none trigger work !!!
How i resolve this problem (is need use something like #SET for each trigger) ?
Posted: Thu May 26, 2005 3:05 am
by lizardkid
if you name all your minefields the same they should work, i think. i haven't dealt with minefields in a while.
Posted: Thu May 26, 2005 7:41 am
by Rookie One.pl
Yeah, just give them both a targetname of minefield.
Posted: Thu May 26, 2005 9:25 pm
by mcunha98
Rookie One.pl {sfx} wrote:Yeah, just give them both a targetname of minefield.
Sorry but i dont understand your reply.
Posted: Thu May 26, 2005 10:01 pm
by lizardkid
give each minefield trigger a key/value
targetname/minefield
like you did with the first one

Posted: Mon May 30, 2005 8:51 pm
by mcunha98
lizardkid wrote:give each minefield trigger a key/value
targetname/minefield
like you did with the first one

Try this and you see the minefield"S" dont work !
If i delete one and rest a minefield, ok, work
Posted: Tue May 31, 2005 11:19 am
by bdbodger
you have to put
exec global/minfield.scr::minefield_setup
at the top of your scirpt after any minefield triggers you are spawing if you are spawning any. All minefields have the same targetname--> minefield
Thats it nothing more you need to do
Posted: Tue May 31, 2005 8:18 pm
by mcunha98
bdbodger wrote:you have to put
exec global/minfield.scr::minefield_setup
OOOOOppppsssss !!!!!!!!!!!!!!!!!!!1
In none site i see the directive
minefield_setup !!!
I try use this and return in this topic the result
Thanks
Posted: Sun Jun 12, 2005 2:42 am
by mcunha98
Well...
I try using the parameter "setup" of minefield, and make a simple map with two rects, in each of this rect (see image) i put a trigger -> multiple with targetname = minefield, but it dont make nothing !
Some another idea ???
Code: Select all
main:
level waittill prespawn
exec global/DMprecache.scr
level.script = maps/dm/___mytest.scr
exec global/ambient.scr mohdm3
exec global/exploder.scr
//exec global/minefield.scr
exec global/minfield.scr::minefield_setup
exec global/door_locked.scr::lock
setcvar "g_dm_alliedtext1" "Mapa de teste"
setcvar "g_dm_alliedtext2" ""
setcvar "g_dm_alliedtext3" ""
setcvar "g_dm_axistext1" "Mapa de teste"
setcvar "g_dm_axistext2" ""
setcvar "g_dm_axistext3" ""
setcvar "g_scoreboardpic" "none"
//$world farplane_color "0.678431 0.678431 0.678431"
//level.fogplane = 4000
//$world farplane level.fogplane
//level waittill spawn
end
[/code]
Posted: Sun Jun 12, 2005 4:06 am
by bdbodger
exec global/minfield.scr::minefield_setup
should be
exec global/minefield.scr::minefield_setup
Posted: Sun Jun 12, 2005 8:51 pm
by mcunha98
What i tell ????
Is very very very ridiculous, but is true
I test and work fine with this "e" in script...
Thanks