dod_control_point_master input methods
guurk
03-06-2006, 04:05 PM
I'd like to make the allies win after a certain amount of time. So I've added a info_trigger that kicks off and I'm trying to output to a dod_control_point_master.
Does anyone know which method and parameters to use to make the axis win?
[SAS]==Colster==
03-06-2006, 05:22 PM
In dod_dracula I used one flag at the back of the house that axis cant cap but if they hold the allies off it for 3mins they win the round.
The flag info looks like this:
{
"origin" "1508 2800 -15"
"point_win_string" "MAP_PLAYER_CAP"
"point_points_for_cap" "1"
"point_pointvalue" "1"
"point_name" "a control point"
"angles" "0 0 0"
"point_axis_capsound" "Voice.German_FlagCapture"
"point_allies_capsound" "Voice.US_FlagCapture"
"point_allies_model" "models/mapmodels/flags.mdl"
"point_axis_model" "models/mapmodels/flags.mdl"
"point_reset_model" "models/mapmodels/flags.mdl"
"point_index" "5"
"targetname" "flag1"
"point_reset_model_bodygroup" "3"
"point_allies_model_bodygroup" "1"
"point_printname" "The House has been Secured"
"point_hud_icon_axis" "sprites/obj_icons/icon_obj_axis"
"point_hud_icon_allies" "sprites/obj_icons/icon_obj_allies"
"point_hud_icon_neutral" "sprites/obj_icons/icon_obj_axis"
"spawnflags" "0"
"point_default_owner" "0"
"point_timedpoints_axis" "3"
"point_timedpoints_allies" "3"
"angles" "0 0 0"
"classname" "dod_control_point"
}
{
"model" "*1"
"origin" "1518 2800 -15"
"area_cap_point" "flag1"
"area_hud_sprite" "sprites/hud/caparea"
"area_time_to_cap" "7"
"area_axis_numcap" "1"
"area_allies_numcap" "2"
"area_axis_cancap" "0"
"area_allies_cancap" "1"
"classname" "dod_capture_area"
}
{
"origin" "1328 -624 309.522"
"cpm_timer_team" "3"
"cpm_timer_length" "300"
"cpm_use_timer" "1"
"cpm_axis_points" "10"
"cpm_allies_points" "10"
"cpm_point_give_delay_time" "20"
"classname" "dod_control_point_master"
}
{
"origin" "1913.53 -952 360"
"detect_axis_startroundvoice" "5"
"detect_allies_startroundvoice" "5"
"detect_allies_subteam" "0"
"detect_axis_respawnfactor" "1.0"
"detect_allies_respawnfactor" "1.0"
"classname" "info_doddetect"
}
Note I used the axis hud icon instead of the neutral one so it looks like axis hold it at the start.
guurk
03-07-2006, 12:55 PM
This is pretty much how I have my map set up as well. However, I see nothing in the given setup that shows what you did to trigger the axis win at 3 mins in.
guurk
03-07-2006, 01:05 PM
For what it's worth, I took a look at the screen shots of your map. I'd love to know how you did the countdown clock too...
[SAS]==Colster==
03-07-2006, 01:21 PM
Its this bit.... (sorry my bad its 5mins not 3)
"cpm_timer_team" "3" // If timer runs out this team wins
"cpm_timer_length" "300" // Length of timer in seconds
"cpm_use_timer" "1" // Set to one makes a timed objective map
guurk
03-07-2006, 01:35 PM
That worked like a charm!!! Thanks ever so much!
For what it's worth I updated my fgd file with these two new parameters for dod_control_point_master to make life a little easier:
cpm_timer_team(choices) : "Winner if timed map(int)" : 0 =
[
2 : "Allies"
3 : "Axis"
]
cpm_use_timer(integer) : "Timed Map" : 0
It makes me wonder what all other parameters from other entities I'm missing... Is there a comprehensive guide?
[SAS]==Colster==
03-07-2006, 04:14 PM
Maybe somewhere on here, that one for dracula just came from trial and error, some head scratching, swearing and final whoops of joy that only ppl on here would comprehend
guurk
03-07-2006, 07:42 PM
Just because I'm a little anal... I started a section that would be appropriate on the valve wiki:
List of DoD:S entities (http://developer.valvesoftware.com/wiki/List_of_DoD:S_entities)
Please help out completing the section.
Day of Defeat Forum Archive created by
Neil Jedrzejewski.
This in an partial archive of the old Day of Defeat forums orignally hosted by
Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.