Docs


(Zipp3R|PL) #1

how to make a dosc like beach map i have tried the goldrush but nothing plz help
thanks Zipp3r


([RW]CriPpLe) #2

my docs script is :

//Enigma
wm_objective_status 1 0 0
wm_objective_status 2 0 0

wm_set_defending_team 0
wm_setwinner 0

accum 1 set 0
accum 2 set 0
}

trigger objective1
{
wm_objective_status 2 0 0
accum 2 set 1
wm_announce “Allied team has secured Enigma !!!”
trigger game_manager checkgame
}

trigger axis_object_stolen
{
wm_objective_status 1 1 0
}

trigger axis_object_returned
{
wm_objective_status 1 0 0
}

trigger checkgame
{
accum 2 abort_if_not_equal 1
wm_setwinner 1
wait 1500
wm_endround
}
}

enigma_holder
{
spawn
{
}
death
{
trigger game_manager objective1
}
}


(Drakir) #3

The overall of having a object to take and cap is really easy.

First u need an object to grab, that made out of a team_ctf_blueflag or team_ctf_redflag., depending on what team that u wants to be able to grab the object.

the team_ctf_xxxflag needs to have a model set, so browse for the documents u want to use. It also requiers a scriptname.

Then u need a place where u capture the object. This is done by using a brush entity trigger_flagonly_multiple. In the trigger_flagonly_multiple u need to set what color of the flag that triggers the entity. You also need to give it a scriptname.

When u carry the object into the trigger_flagonly_multiple area it will trigger the “death” part of the script for the trigger_flagonly_multiple.
Inside the script u can then determine if you want to end the map or open a door or whatever.


(Zipp3R|PL) #4

thanks Drakir this helped me much Objective Taken ! :C :banana: :banana: