Objecive+duc help


(nikita) #1

How do give a player the abillty 2 steal a model skinned objective?
and secure it
please explien 1 step at the time


(Ifurita) #2

you didn’t bother searching … again … did you?

http://www.planetwolfenstein.com/4newbies/objective.htm


(nikita) #3

ty but not helping i need 2 know how 2 my own setting
not a goldrush setting

kk got a big prob
need a WORKING script 4 when objecive secured game end…
may i have an exemple
the site isnt good

EDIT

1nce and 4 all guys tell me is spewn flag axis objecive means that allies can do it or axis???

4 exmple

axis objective = spewn flag 1= blow a wall means axis can blow it or allies?


(CooperHawkes) #4

WTH?!? this site rocks!
let’s poke him to death with blunt spoons :wink:
if I am allowed to say this: IMHO this is another case of PEBKAC :-p


(EB) #5

::sigh::

No offense nikita…but you have insulted a peer (Not a good thing) and your questions make no relevant or specific sense.


(.Chris.) #6

If you want to add your own objective just change the model path in the ctf blue/red flag entity, iam not sure if you can change the skins of the model if thats what the problem is but you could give it a try in same way you would with a model entity KEY “skin” Value “blahblah” i think “_remap” could work also, never tried it though.


(nikita) #7

sorry guys but i got a problem with his script please help me

//Gold allied_gold
{
spawn
{
wait 200
setstate allied_gold_captured invisible
}

trigger stolen
{
wm_announce 0 “Return the Allied gold to the getaway truck”
wm_announce 1 “The Axis have stolen the Allied gold”
setstate allied_gold_cm_marker invisible
}

trigger returned
{
wm_announce 0 “The Allies have retrieved the gold”
wm_announce 1 “Gold returned! Protect the gold”
setstate allied_gold_cm_marker default
}

trigger captured
{
wm_announce “The Axis have secured the Allied gold”
setstate allied_gold_red invisible
setstate allied_gold_captured default
}
}

allied_objectives
{
death
{
trigger game_manager obj1
}
}


(Ifurita) #8

Oops, the first lines should be


//Captureable gold script

allied_gold 
{ 
spawn 
{ 
wait 200 
setstate allied_gold_captured invisible 
}


(nikita) #9

Thank you it worked:D:D:D:D

but in my map… the main objective is 2 get the gold crate
i did it and the its sais secured but the map isnt over is it becuse it should be on 2 crates?