Dual capture objectives


([Cerberus]) #1

Okay, i’ve searched for it and i’ve looked over tutorials, maybe the answer has been staring me right in the face. How is one to make a multi layered stealable objective. I’ve tried and tried and i can only get the first objective to work not the second.

My Script…

game_manager
{
	spawn
	{
		// Game rules
		wm_axis_respawntime	30
		wm_allied_respawntime	20
		wm_number_of_objectives 7
		wm_set_round_timelimit	30
		
		remapshader "models/mapobjects/rocks_sd/rock_big3" "models/mapobjects/rocks_sd/rock_temperate_big"
		remapshaderflush

		// Objective overview status indicators
		//wm_objective_status <objective> <team (0=Axis, 1=Allies)> <status (0=neutral 1=complete 2=failed)>
		wm_objective_status 1 1 0
		wm_objective_status 1 0 0
		wm_objective_status 2 1 0
		wm_objective_status 2 0 0
		wm_objective_status 3 1 0
		wm_objective_status 3 0 0
		wm_objective_status 4 1 0
		wm_objective_status 4 0 0
		wm_objective_status 5 1 0
		wm_objective_status 5 0 0
		wm_objective_status 6 1 0
		wm_objective_status 6 0 0
		wm_objective_status 7 1 0
		wm_objective_status 7 0 0

		// Stopwatch mode defending team (0=Axis, 1=Allies)
		wm_set_defending_team	0

		// If the round timer expires, the Axis have won, so set the current winning team
		// Set the round winner:  0 == AXIS, 1 == ALLIED
		wm_setwinner 0

		setstate transmitter_obj invisible

		accum 1 set 0
	}
		
	trigger allieswin
	{
		accum 1 set 1
		wm_announce "Allied team has transmitted the documents!"
		trigger game_manager checkgame
	}

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

// ================================================
// ================= RADIO PART ===================
// ================================================

radio
{ 
	spawn 
	{ 
		wait 200 
	} 

	trigger stolen 
	{ 
		wm_announce "The Allies have stolen the Radio Part" 
		setstate radio_cm_marker invisible
		setstate radio_toi invisible
		
		wm_objective_status	3 1 1
		wm_objective_status	3 0 2
	} 


	trigger returned 
	{ 
		wm_announce "The Axis have retrieved the Radio Part" 
		setstate radio_cm_marker default 
		setstate radio_toi default
		
		wm_objective_status	3 1 0
		wm_objective_status	3 0 1
	} 

	trigger captured 
	{ 
		wm_announce "The Allies have secured the Radio Part"

		trigger door1 open //opens door to docs
		
		setstate transmitter_obj default

		wm_objective_status	3 1 1
		wm_objective_status	3 0 2	
	} 
}

// ================================================
// ================= DOCUMENTS ====================
// ================================================

docs
{ 
	spawn 
	{ 
		wait 200
	} 

	trigger stolen 
	{ 
		wm_announce "The Allies have stolen the Documents" 
		setstate secretdocs_cm_marker invisible
		setstate docs_toi invisible

		wm_objective_status	1 1 1
		wm_objective_status	1 0 2
	} 

	trigger returned 
	{ 
		wm_announce "The Axis have retrieved the Documents" 
		setstate secretdocs_cm_marker default 
		setstate docs_toi default

		wm_objective_status	1 1 0
		wm_objective_status	1 0 0
	} 

	trigger captured 
	{ 
		wm_objective_status	2 1 1
		wm_objective_status	2 0 2
		
		trigger game_manager allieswin
	}
}

And my entity’s…

// entity 0
{
"classname" "worldspawn"
}
// entity 1
{
"classname" "team_CTF_redflag"
"origin" "1022 -560 -316"
"model" "models/multiplayer/secretdocs/secretdocs.md3"
"message" "Secret Documents"
"scriptname" "docs"
}
// entity 2
{
"classname" "misc_commandmap_marker"
"origin" "1024 -560 -296"
"targetname" "secretdocs_cm_marker"
"scriptname" "secretdocs_cm_marker"
}
// entity 3
{
"target" "secretdocs_cm_marker"
"shortname" "Secret Documents"
"classname" "trigger_objective_info"
"track" "Secret Documents"
"scriptname" "secretdocs_toi"
"targetname" "secretdocs_toi"
"spawnflags" "19"
"customaxisimage" "gfx/limbo/cm_goldbars"
"customalliesimage" "gfx/limbo/cm_goldbars"
"objflags" "8"
// brush 0
{
( 1864 -224 -256 ) ( 1864 -744 -256 ) ( 1400 -744 -256 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( 1408 -760 -376 ) ( 1872 -760 -376 ) ( 1872 -240 -376 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( 1120 -544 -272 ) ( 1120 -544 -56 ) ( 1120 -280 -56 ) common/trigger -16 0 0 0.500000 0.500000 0 7 0
( 1464 -424 -272 ) ( 1464 -424 -56 ) ( 1208 -424 -56 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 880 56 -272 ) ( 880 56 -56 ) ( 880 -208 -56 ) common/trigger -16 0 0 0.500000 0.500000 0 7 0
( 1632 -680 -272 ) ( 1632 -680 -56 ) ( 1896 -680 -56 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
}
}
// entity 4
{
"scriptname" "transmitter_obj"
"spawnflags" "1"
"classname" "trigger_flagonly_multiple"
"targetname" "transmitter_obj"
// brush 0
{
( 592 -432 -408 ) ( 424 -432 -408 ) ( 424 -432 -424 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 728 -672 -408 ) ( 728 -592 -408 ) ( 728 -592 -424 ) common/trigger -32 0 -180 0.500000 -0.500000 0 7 0
( 608 -664 -408 ) ( 776 -664 -408 ) ( 776 -664 -424 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 464 -472 -408 ) ( 464 -552 -408 ) ( 464 -552 -424 ) common/trigger -32 0 -180 0.500000 -0.500000 0 7 0
( 600 -608 -264 ) ( 768 -608 -264 ) ( 768 -688 -264 ) common/trigger -32 -16 -90 0.500000 0.500000 0 7 0
( 768 -688 -424 ) ( 768 -608 -424 ) ( 600 -608 -424 ) common/trigger -32 -16 -90 0.500000 0.500000 0 7 0
}
}
// entity 5
{
"scriptname" "radio"
"message" "Radio Part"
"model" "models/multiplayer/secretdocs/secretdocs.md3"
"origin" "1014 -960 -316"
"classname" "team_CTF_redflag"
}
// entity 6
{
"scriptname" "radio_cm_marker"
"targetname" "radio_cm_marker"
"origin" "1016 -960 -296"
"classname" "misc_commandmap_marker"
}
// entity 7
{
"objflags" "8"
"customalliesimage" "gfx/limbo/cm_goldbars"
"customaxisimage" "gfx/limbo/cm_goldbars"
"spawnflags" "19"
"targetname" "radio_toi"
"scriptname" "radio_toi"
"track" "Radio Part"
"classname" "trigger_objective_info"
"shortname" "Radio Part"
"target" "radio_cm_marker"
// brush 0
{
( 1624 -1080 -272 ) ( 1624 -1080 -56 ) ( 1888 -1080 -56 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 872 -344 -272 ) ( 872 -344 -56 ) ( 872 -608 -56 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 1456 -824 -272 ) ( 1456 -824 -56 ) ( 1200 -824 -56 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 1112 -944 -272 ) ( 1112 -944 -56 ) ( 1112 -680 -56 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 1400 -1160 -376 ) ( 1864 -1160 -376 ) ( 1864 -640 -376 ) common/trigger 16 -16 0 0.500000 0.500000 0 7 0
( 1856 -624 -256 ) ( 1856 -1144 -256 ) ( 1392 -1144 -256 ) common/trigger 16 -16 0 0.500000 0.500000 0 7 0
}
}
// entity 8
{
"classname" "trigger_flagonly_multiple"
"spawnflags" "1"
"scriptname" "radio_obj"
// brush 0
{
( 760 -1088 -424 ) ( 760 -1008 -424 ) ( 592 -1008 -424 ) common/trigger 0 -32 -90 0.500000 0.500000 0 7 0
( 592 -1008 -264 ) ( 760 -1008 -264 ) ( 760 -1088 -264 ) common/trigger 0 -32 -90 0.500000 0.500000 0 7 0
( 456 -872 -408 ) ( 456 -952 -408 ) ( 456 -952 -424 ) common/trigger 0 0 -180 0.500000 -0.500000 0 7 0
( 600 -1064 -408 ) ( 768 -1064 -408 ) ( 768 -1064 -424 ) common/trigger 32 0 0 0.500000 0.500000 0 7 0
( 720 -1072 -408 ) ( 720 -992 -408 ) ( 720 -992 -424 ) common/trigger 0 0 -180 0.500000 -0.500000 0 7 0
( 584 -832 -408 ) ( 416 -832 -408 ) ( 416 -832 -424 ) common/trigger 32 0 0 0.500000 0.500000 0 7 0
}
}

P.s. I’ve seen many egamples of how to remap models, but what i have not only make the models viewable through other models.

Thank you in advance for any help to my problem.


(kamikazee) #2

I don’t know what you mean with “multi-layered objectives”. Are you talking about “dual capture objectives”?

From what I see, the radio part uses the same “model” key as the secret documents so it should look the same in-game. (I guess that is unwanted.)

EDIT: Removed some “nonsense”. Looked up some info and found out my previous statement was wrong.


([Cerberus]) #3

I do mean “dual capture objectives”

The problem is that the radio parts is being captured, but where the docs should be they arnt, they dont appear. Is there any way i can make it so the each objective can only be brought to the ones own trigger_flagonly?


(kamikazee) #4

I was kind of wrong in my previous post, so I removed parts of it.

You can’t make several team_flagonly_multiple entities and expect them to work as different drop-off points.
For the game, it doesn’t matter if you touch a team_flagonly_multiple while you have the radio part or the documents.

So either only make one team_flagonly_multiple, or make it so you can only capture one objective at a time. (Then use “setstate … invisible” to disable a capture point.)
In your case, it’s probably best to make just one, the documents need to be brought to the radio as well, right?

Back to the topic: there is nothing in your script to make the documents visible at the transmitter… When you capture the radio part, the script tells to open the doors to the documents. And when those are captured, the script calls gamemanager’s allieswin trigger without doing anything extra, so what is it that you want to happen?


([Cerberus]) #5

Oh no, i mean i cant pick them up, its been boggling the hell out of me, i was waondering if there was any mistake on my part for the reason why.


(kamikazee) #6

The only reason I can immediately think of, is that you can’t grab two objectives at the same time. (With only 1 player, that is.)


([Cerberus]) #7

I’m picking up and dropping off the Radio parts, but the secret docs are never there, I cant possibly pick them up. “Them” referring to the secret docs.


(S14Y3R) #8

Hi, I just tested your .map entities and they both seem to work fine here. All I did was import them to my box_test.map, and didn’t touch anything in your script. Though both flags have the docs model they do work, and no you can’t pick up both of them.

The team_CTF_redflag’s are affected by gravity in game, so maybe they’re falling through where you’re putting them. Know what I mean?

Here’s my box_test.map with your entities, see if they show up for you. ^^


// entity 0
{
"mapcoordsmins" "-512 512"
"mapcoordsmaxs" "512 -512"
"classname" "worldspawn"
"ambient" "50"
"_color" "1.000000 1.000000 1.000000"
// brush 0
{
( -512 512 -256 ) ( 512 512 -256 ) ( -512 -448 -256 ) assault_rock/concrete_m02 0 0 0 0.500000 0.500000 0 0 0
( -512 512 -208 ) ( -512 -448 -208 ) ( -512 -448 -272 ) common/caulk 0 -32 0 0.500000 0.500000 0 0 0
( 512 512 -208 ) ( -512 512 -208 ) ( -512 512 -272 ) common/caulk 0 -32 0 0.500000 0.500000 0 0 0
( 512 -448 -208 ) ( 512 512 -208 ) ( 512 512 -272 ) common/caulk 0 -32 0 0.500000 0.500000 0 0 0
( -512 -512 -208 ) ( 512 -512 -208 ) ( 512 -512 -272 ) common/caulk 0 -32 0 0.500000 0.500000 0 0 0
( 512 512 -272 ) ( -512 512 -272 ) ( -512 -448 -272 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
}
// brush 1
{
( -512 512 256 ) ( -512 -448 256 ) ( 512 512 256 ) skies/sd_railgun 0 0 0 0.500000 0.500000 0 0 0
( -512 512 -176 ) ( -512 -448 -176 ) ( -512 -448 -240 ) common/caulk 0 32 0 0.500000 0.500000 0 0 0
( 512 512 -176 ) ( -512 512 -176 ) ( -512 512 -240 ) common/caulk 0 32 0 0.500000 0.500000 0 0 0
( 512 -448 -176 ) ( 512 512 -176 ) ( 512 512 -240 ) common/caulk 0 32 0 0.500000 0.500000 0 0 0
( -512 -512 -176 ) ( 512 -512 -176 ) ( 512 -512 -240 ) common/caulk 0 32 0 0.500000 0.500000 0 0 0
( -512 -448 272 ) ( -512 512 272 ) ( 512 512 272 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
}
// brush 2
{
( 512 -496 -192 ) ( -512 -496 -192 ) ( 512 -496 -256 ) assault/awall_m01 0 0 0 0.500000 0.500000 0 0 0
( -496 512 -192 ) ( -496 -448 -192 ) ( -496 -448 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 496 -448 -192 ) ( 496 512 -192 ) ( 496 512 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -512 -512 -192 ) ( 512 -512 -192 ) ( 512 -512 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -512 -448 256 ) ( -512 512 256 ) ( 512 512 256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 512 512 -256 ) ( -512 512 -256 ) ( -512 -448 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
}
// brush 3
{
( 496 512 -192 ) ( 496 -448 -192 ) ( 496 512 -256 ) assault/awall_m01 0 0 0 0.500000 0.500000 0 0 0
( 512 512 -192 ) ( -512 512 -192 ) ( -512 512 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 512 -448 -192 ) ( 512 512 -192 ) ( 512 512 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -512 -512 -192 ) ( 512 -512 -192 ) ( 512 -512 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -512 -448 256 ) ( -512 512 256 ) ( 512 512 256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 512 512 -256 ) ( -512 512 -256 ) ( -512 -448 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
}
// brush 4
{
( -512 496 -192 ) ( 512 496 -192 ) ( -512 496 -256 ) assault/awall_m01 0 0 0 0.500000 0.500000 0 0 0
( -496 512 -192 ) ( -496 -448 -192 ) ( -496 -448 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 512 512 -192 ) ( -512 512 -192 ) ( -512 512 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 496 -448 -192 ) ( 496 512 -192 ) ( 496 512 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -512 -448 256 ) ( -512 512 256 ) ( 512 512 256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 512 512 -256 ) ( -512 512 -256 ) ( -512 -448 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
}
// brush 5
{
( -496 -448 -192 ) ( -496 512 -192 ) ( -496 -448 -256 ) assault/awall_m01 0 0 0 0.500000 0.500000 0 0 0
( -512 512 -192 ) ( -512 -448 -192 ) ( -512 -448 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 512 512 -192 ) ( -512 512 -192 ) ( -512 512 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -512 -512 -192 ) ( 512 -512 -192 ) ( 512 -512 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -512 -448 256 ) ( -512 512 256 ) ( 512 512 256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 512 512 -256 ) ( -512 512 -256 ) ( -512 -448 -256 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
}
// brush 6
{
patchDef2
{
metal_misc/metal_m03
( 3 3 0 0 0 )
(
( ( 176 -496 -255 0 6.500000 ) ( 176 -376 -255 0 3.250000 ) ( 176 -256 -255 0 0 ) )
( ( 184 -496 -255 0.250000 6.500000 ) ( 184 -376 -255 0.250000 3.250000 ) ( 184 -256 -255 0.250000 0 ) )
( ( 192 -496 -255 0.500000 6.500000 ) ( 192 -376 -255 0.500000 3.250000 ) ( 192 -256 -255 0.500000 0 ) )
)
}
}
// brush 7
{
patchDef2
{
metal_misc/metal_m03
( 3 3 0 0 0 )
(
( ( 256 -176 -255 0 6.500000 ) ( 376 -176 -255 0 3.250000 ) ( 496 -176 -255 0 0 ) )
( ( 256 -184 -255 0.250000 6.500000 ) ( 376 -184 -255 0.250000 3.250000 ) ( 496 -184 -255 0.250000 0 ) )
( ( 256 -192 -255 0.500000 6.500000 ) ( 376 -192 -255 0.500000 3.250000 ) ( 496 -192 -255 0.500000 0 ) )
)
}
}
}
// entity 1
{
"angle" "270"
"classname" "team_CTF_bluespawn"
"origin" "282 -100 -208"
"spawnflags" "3"
"targetname" "orig_spawn"
}
// entity 2
{
"angle" "270"
"classname" "team_CTF_redspawn"
"origin" "378 -100 -208"
"spawnflags" "3"
"targetname" "orig_spawn"
}
// entity 3
{
"classname" "team_WOLF_objective"
"origin" "408 -54 -192"
"spawnflags" "1"
"description" "spawnax"
}
// entity 4
{
"classname" "team_WOLF_objective"
"origin" "256 -54 -192"
"spawnflags" "2"
"description" "spawnal"
}
// entity 5
{
"classname" "script_multiplayer"
"origin" "330 -70 -160"
"scriptname" "game_manager"
}
// entity 6
{
"angle" "270"
"classname" "info_player_deathmatch"
"origin" "330 -100 -208"
}
// entity 7
{
"angle" "270"
"classname" "info_player_intermission"
"origin" "304 -30 -192"
"spawnflags" "2"
}
// entity 8
{
"angle" "270"
"classname" "info_player_intermission"
"origin" "364 -30 -192"
"spawnflags" "1"
}
// entity 9
{
"scriptname" "docs"
"message" "Secret Documents"
"model" "models/multiplayer/secretdocs/secretdocs.md3"
"origin" "190 112 -124"
"classname" "team_CTF_redflag"
}
// entity 10
{
"scriptname" "secretdocs_cm_marker"
"targetname" "secretdocs_cm_marker"
"origin" "192 112 -104"
"classname" "misc_commandmap_marker"
}
// entity 11
{
"objflags" "8"
"customalliesimage" "gfx/limbo/cm_goldbars"
"customaxisimage" "gfx/limbo/cm_goldbars"
"spawnflags" "19"
"targetname" "secretdocs_toi"
"scriptname" "secretdocs_toi"
"track" "Secret Documents"
"classname" "trigger_objective_info"
"shortname" "Secret Documents"
"target" "secretdocs_cm_marker"
// brush 0
{
( 800 -8 -80 ) ( 800 -8 136 ) ( 1064 -8 136 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 48 728 -80 ) ( 48 728 136 ) ( 48 464 136 ) common/trigger 48 0 0 0.500000 0.500000 0 7 0
( 632 248 -80 ) ( 632 248 136 ) ( 376 248 136 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 288 128 -80 ) ( 288 128 136 ) ( 288 392 136 ) common/trigger 48 0 0 0.500000 0.500000 0 7 0
( 576 -88 -184 ) ( 1040 -88 -184 ) ( 1040 432 -184 ) common/trigger 0 -48 0 0.500000 0.500000 0 7 0
( 1032 448 -64 ) ( 1032 -72 -64 ) ( 568 -72 -64 ) common/trigger 0 -48 0 0.500000 0.500000 0 7 0
}
}
// entity 12
{
"targetname" "transmitter_obj"
"classname" "trigger_flagonly_multiple"
"spawnflags" "1"
"scriptname" "transmitter_obj"
// brush 0
{
( -64 -16 -232 ) ( -64 64 -232 ) ( -232 64 -232 ) common/trigger -32 -16 -90 0.500000 0.500000 0 7 0
( -232 64 -72 ) ( -64 64 -72 ) ( -64 -16 -72 ) common/trigger -32 -16 -90 0.500000 0.500000 0 7 0
( -368 200 -216 ) ( -368 120 -216 ) ( -368 120 -232 ) common/trigger -31 63 -180 0.500000 -0.500000 0 7 0
( -224 8 -216 ) ( -56 8 -216 ) ( -56 8 -232 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( -104 0 -216 ) ( -104 80 -216 ) ( -104 80 -232 ) common/trigger -31 63 -180 0.500000 -0.500000 0 7 0
( -240 240 -216 ) ( -408 240 -216 ) ( -408 240 -232 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
}
}
// entity 13
{
"classname" "team_CTF_redflag"
"origin" "182 -288 -124"
"model" "models/multiplayer/secretdocs/secretdocs.md3"
"message" "Radio Part"
"scriptname" "radio"
}
// entity 14
{
"classname" "misc_commandmap_marker"
"origin" "184 -288 -104"
"targetname" "radio_cm_marker"
"scriptname" "radio_cm_marker"
}
// entity 15
{
"target" "radio_cm_marker"
"shortname" "Radio Part"
"classname" "trigger_objective_info"
"track" "Radio Part"
"scriptname" "radio_toi"
"targetname" "radio_toi"
"spawnflags" "19"
"customaxisimage" "gfx/limbo/cm_goldbars"
"customalliesimage" "gfx/limbo/cm_goldbars"
"objflags" "8"
// brush 0
{
( 1024 48 -64 ) ( 1024 -472 -64 ) ( 560 -472 -64 ) common/trigger 16 -16 0 0.500000 0.500000 0 7 0
( 568 -488 -184 ) ( 1032 -488 -184 ) ( 1032 32 -184 ) common/trigger 16 -16 0 0.500000 0.500000 0 7 0
( 280 -272 -80 ) ( 280 -272 136 ) ( 280 -8 136 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 624 -152 -80 ) ( 624 -152 136 ) ( 368 -152 136 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 40 328 -80 ) ( 40 328 136 ) ( 40 64 136 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 792 -408 -80 ) ( 792 -408 136 ) ( 1056 -408 136 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
}
}
// entity 16
{
"scriptname" "radio_obj"
"spawnflags" "1"
"classname" "trigger_flagonly_multiple"
// brush 0
{
( -248 -160 -216 ) ( -416 -160 -216 ) ( -416 -160 -232 ) common/trigger 32 0 0 0.500000 0.500000 0 7 0
( -112 -400 -216 ) ( -112 -320 -216 ) ( -112 -320 -232 ) common/trigger 0 63 -180 0.500000 -0.500000 0 7 0
( -232 -392 -216 ) ( -64 -392 -216 ) ( -64 -392 -232 ) common/trigger 32 0 0 0.500000 0.500000 0 7 0
( -376 -200 -216 ) ( -376 -280 -216 ) ( -376 -280 -232 ) common/trigger 0 63 -180 0.500000 -0.500000 0 7 0
( -240 -336 -72 ) ( -72 -336 -72 ) ( -72 -416 -72 ) common/trigger 0 -32 -90 0.500000 0.500000 0 7 0
( -72 -416 -232 ) ( -72 -336 -232 ) ( -240 -336 -232 ) common/trigger 0 -32 -90 0.500000 0.500000 0 7 0
}
}


(-SSF-Sage) #9

What if you try these: Make the floor thicker, I’m not sure if it helps. (This though is based on the fact that you can see a player through 1 unit thick wall.) I’m trying to remember the last map I did with stealable objects. I think I had to put it upper than the floor and it did drop to the floor, while when I put it to the floor, it drop through it I think. I was too lazy to try these out but you can try these if you want. I’m not sure of these.


([Cerberus]) #10

Thanks for the reply, i feel like some waht of an idiot though. The entities listing I used is from a earlier version of my map, and in the version i was compiling i had set a targetname so i could remove the doc untill the radio part had been captured.


(Flippy) #11

If you give a team_CTF_red/blueflag a targetname, you need to ‘alertentity’ it via the script (in the spawn scriptblock of the game_manager), else it won’t be visible.