Non objective func_explosive doesn't call death{} in script?


(G0-Gerbil) #1

Title says it all.

Normal (IE non objective) func_explosive, given health, has it’s type set in the script (so only explosives hurt it).

It blows up fine in-game, but it’s not calling the death function in the script.
Am I missing something (doesn’t have origin brush for example).

For now I’m going to convert them into script_movers with health and set to explosive only cos I know that works, but just wanted to know what was up with func_explosives?

Bet you look forward to reading my posts eh djbob? :wink:


(digibob) #2

Just target them at something else then (a trigger_relay for example, or target_script_trigger) i’m fairly certain they fire off targets when they die no matter what kind they are.


(G0-Gerbil) #3

Will give that a try thanks.
As I said, it’s possibly to do what I want with script_movers anyway, just wondered if there was any reason for it. It’s no big deal.


(]UBC[ McNite) #4

to quote Calvin & Hobbes: There is treasure everywhere!

Only I wish I had found it a good deal earlier lol… So I can easily make something destructable by explosives only by making it a script mover… that s going to make things a lot easier in my current mapping project
:banana:


(Ifurita) #5

The only thing with script movers is that you don’t get the nice residue and debris you get from a func_explosive, though you can always use target_effects


(The Wanderer) #6

the death function will be called if the func_explosive is an objective for one team.(basically you need a toi around it with either allied_objective or axis_objective checked…don’t ask me why though)
Example:


// entity 0
{
"mapcoordsmaxs" "256 -256"
"mapcoordsmins" "-256 192"
"classname" "worldspawn"
// brush 0
{
( 184 128 320 ) ( -184 128 320 ) ( -184 -160 320 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -176 -192 616 ) ( 192 -192 616 ) ( 192 -192 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 192 -192 616 ) ( 192 96 616 ) ( 192 96 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 176 128 616 ) ( -192 128 616 ) ( -192 128 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 128 616 ) ( -192 -160 616 ) ( -192 -160 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -184 128 328 ) ( 184 128 328 ) ( -184 -160 328 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
}
// brush 1
{
( -192 -160 584 ) ( -192 128 584 ) ( 176 128 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -176 -192 616 ) ( 192 -192 616 ) ( 192 -192 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 192 -192 616 ) ( 192 96 616 ) ( 192 96 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 176 128 616 ) ( -192 128 616 ) ( -192 128 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 128 616 ) ( -192 -160 616 ) ( -192 -160 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 128 576 ) ( -192 -160 576 ) ( 176 128 576 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
}
// brush 2
{
( 184 128 320 ) ( -184 128 320 ) ( -184 -160 320 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 -160 584 ) ( -192 128 584 ) ( 176 128 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -176 -192 616 ) ( 192 -192 616 ) ( 192 -192 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 192 -192 616 ) ( 192 96 616 ) ( 192 96 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 128 616 ) ( -192 -160 616 ) ( -192 -160 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 192 -184 616 ) ( -176 -184 616 ) ( 192 -184 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
}
// brush 3
{
( 184 128 320 ) ( -184 128 320 ) ( -184 -160 320 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 -160 584 ) ( -192 128 584 ) ( 176 128 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -176 -192 616 ) ( 192 -192 616 ) ( 192 -192 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 192 -192 616 ) ( 192 96 616 ) ( 192 96 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 176 128 616 ) ( -192 128 616 ) ( -192 128 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 184 96 616 ) ( 184 -192 616 ) ( 184 96 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
}
// brush 4
{
( 184 128 320 ) ( -184 128 320 ) ( -184 -160 320 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 -160 584 ) ( -192 128 584 ) ( 176 128 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 192 -192 616 ) ( 192 96 616 ) ( 192 96 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 176 128 616 ) ( -192 128 616 ) ( -192 128 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 128 616 ) ( -192 -160 616 ) ( -192 -160 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 120 616 ) ( 176 120 616 ) ( -192 120 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
}
// brush 5
{
( 184 128 320 ) ( -184 128 320 ) ( -184 -160 320 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 -160 584 ) ( -192 128 584 ) ( 176 128 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -176 -192 616 ) ( 192 -192 616 ) ( 192 -192 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( 176 128 616 ) ( -192 128 616 ) ( -192 128 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -192 128 616 ) ( -192 -160 616 ) ( -192 -160 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
( -184 -160 616 ) ( -184 128 616 ) ( -184 -160 584 ) radiant/notex 0 0 0 0.500000 0.500000 0 0 0
}
}
// entity 1
{
"dmg" "5"
"spawnflags" "4"
"mass" "800"
"type" "brick"
"scriptname" "explosiveTest"
"targetname" "explosiveTest"
"classname" "func_explosive"
// brush 0
{
( 176 16 328 ) ( 112 16 328 ) ( 112 -72 328 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
( 88 -72 448 ) ( 88 16 448 ) ( 152 16 448 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
( 96 -64 584 ) ( 160 -64 584 ) ( 160 -64 320 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
( 160 -72 584 ) ( 160 16 584 ) ( 160 16 320 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
( 168 0 584 ) ( 104 0 584 ) ( 104 0 320 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
( 96 16 584 ) ( 96 -72 584 ) ( 96 -72 320 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
}
}
// entity 2
{
"spawnflags" "1"
"target" "explosiveTest"
"track" "the object to be destroyed"
"targetname" "explosiveTestTOI"
"classname" "trigger_objective_info"
// brush 0
{
( 104 -24 384 ) ( 88 -24 384 ) ( 88 -48 384 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( 104 -48 400 ) ( 104 -24 400 ) ( 120 -24 400 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( 80 -48 512 ) ( 96 -48 512 ) ( 96 -48 328 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( 96 -48 512 ) ( 96 -24 512 ) ( 96 -24 328 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( 96 -32 512 ) ( 80 -32 512 ) ( 80 -32 328 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( 80 -32 512 ) ( 80 -56 512 ) ( 80 -56 328 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
}
// brush 1
{
( 184 112 328 ) ( 64 112 328 ) ( 64 -184 328 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 64 -184 512 ) ( 64 112 512 ) ( 184 112 512 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 64 -184 448 ) ( 184 -184 448 ) ( 184 -184 328 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 184 -184 448 ) ( 184 112 448 ) ( 184 112 328 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 192 120 448 ) ( 72 120 448 ) ( 72 120 328 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 24 112 448 ) ( 24 -184 448 ) ( 24 -184 328 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
}
}
// entity 3
{
"origin" "56 -96 384"
"classname" "info_player_deathmatch"
}
// entity 4
{
"origin" "-120 -120 392"
"classname" "team_CTF_bluespawn"
}
// entity 5
{
"origin" "-128 -16 368"
"classname" "team_CTF_redspawn"
}
// entity 6
{
"origin" "-40 -136 376"
"classname" "script_multiplayer"
}


SCRIPT:


game_manager
{
}

explosiveTest
{
	spawn
	{
		wait 200
		constructible_class 3
		wm_announce "^1FUNC_EXPLOSIVE IS READY"
		
	}
	death
	{
		wm_announce "^1FUNC_EXPLOSIVE IS HAS BEEN DESTROYED"
	}
}



(]UBC[ McNite) #7

@ Wanderer: the advantage of teh script_mover is, that it isnt team-specific, so both teams can destroy it. You can’t do that with a func_constructible. Also as you say it doesnt seem to be possible with a func_explosive.


(The Wanderer) #8

I think you misanderstood my post. What i’m saying is YES you can do it with a func explosive. All you need is a TOI around it targeting the func_explosive and having the axis_objective or allied_objective box checked. If you need both teams to be able to destroy it just check both boxes and it will work fine(both teams will be able to destory it).

You can do it with a script mover too, but personally i would prefer the func_explosive, even if it’s just for the fact that it has the “mass” and “type” keys which can make the destruction look better.


(]UBC[ McNite) #9

If you need both teams to be able to destroy it just check both boxes and it will work fine(both teams will be able to destory it).

Just tried that… guess what: now for both teams this objective is a friendly objective and you can’t plant a dyno there.

So: func_explosive with toi can NOT be destroyed by both teams (at least not with both boxes checked).


(Ifurita) #10

What happens when you leave both boxes unchecked and add contructible_class 3 in the script?


(]UBC[ McNite) #11

Ok… now a summary of what i ve tried today…
(when talking about trying out the different constructible classes all I did was to change the class in the script)

1 - func_explosive
spawnflags: func_explosive has no teamrelated checkboxes, toi has: was set to axisobjective (spawnflags 1).
I take the script from above and everything is fine… dyno explodes and I get the death message.
Setting the constructible class to 2 or 1 gives the right icon on command map etc., and i can satchel the whole thing… but i don’t get the wm_announce?!? This means… there is no death for the func_explosive unless its constructible class is 3… very strange.
Debris and parts flying around: you get them regardless of the constructible class.
About the toi: you dont need the trigger brush of the toi all around the func_explosive. You get the appropriate icon (e.g. a satchel) still when u r near enough. But you don’t get the track “You are near…”

2 - func_constructible
spawnflags: func_constructible was axis_constructible and start_built (spawnflags 5), toi is: axisobjective (spawnflags 1)
Tried the whole mess with a func_constructible… no problem to set it to 3, 2 or 1 and it does the wm_announce within the death all the time.
Debris and parts flying around: Alas… nothing, regardless of the constructible class.
About the toi: To destroy the func_constructible you don’t need the toi all around it… if you r near the constructible you still get the track "you are near… ", and that message nicely disappears when the thing is destroyed.

3 - destroyable by both teams
[b]Script mover:[/ b] works because u only set a health and don’t specify a team.
[b]func_explosive:[/ b] When u check both teams its a friendly objective for both teams and u cant plant. When u check no teams both can destroy it. (still… doesnt call the death unless its dynomitable)
[b]func_constructible:[/ b] When u check both teams because its a friendly objective for both teams and u cant plant. Not checking any checkbox (results in no k/v with spawnflags) or only checking is_objective in the toi (but no team in the func_constructible) makes the map not load because a func_constructible needs a team that builds it. So you can’t have a func_constructible be destroyable by both teams.

Conclusion: you cant get everything you want… in this mapping for ET was a perfect ZEN lesson today LOL :bump:

Sooo why do I bother about this: because I want a barbwire barrier that hurts and can be destroyed with less than a dyno (preferably with grenades). To make the trigger_hurt disappear I need a death that triggers that script. And when its destroyable by grenades I don’t see why there should be a difference between allied and axis grenades…


(EB) #12

Make a func_explosive…(scripted or not) and target it to the trigger_hurt brush. Once the explosive is gone…so is the trigger_hurt brush.
-Want the TOI feel ?..target_print the area around it.

Am I along the right path at all ?


(SCDS_reyalP) #13

[quote=]UBC[ McNite]
Sooo why do I bother about this: because I want a barbwire barrier that hurts and can be destroyed with less than a dyno (preferably with grenades). To make the trigger_hurt disappear I need a death that triggers that script. And when its destroyable by grenades I don’t see why there should be a difference between allied and axis grenades…[/quote]
As digibob said, a func_explosive will still trigger its targets. I’m not sure if targeting directly on the trigger hurt will cause it to be removed, but you can certainly target on a target_script_trigger, and script anything from there.

As far as I can tell, the barbwire barriers on say, the mp_beach ports do exactly what you describe…


(EB) #14

It does…I have used it several times before.
The target_script trigger is a good idea as well…especially if you need announcements or ‘extras’. Those are the 2 routes I would take for “Super simple” or “What you may need for the extra effects”.


(The Wanderer) #15

I tried this many times with many compiles and it worked everytime…so i don’t know why it’s not working for you.(in the map above just check both boxes and it should work)
However you’re right that the death function will not be called unless the func_explosive is class 3


(]UBC[ McNite) #16

Make a func_explosive…(scripted or not) and target it to the trigger_hurt brush. Once the explosive is gone…so is the trigger_hurt brush.

this works perfectly… thx a lot :cool:

But to target a target_script_trigger doesnt have the effect I needed… probably my script isn’t right?

explosiveTest // func_explosive
{ 
	spawn 
	{ 
		wait 200 
		constructible_class 1 // 3 triggers death while 2 & 1 don't?
		wm_announce "^1FUNC_EXPLOSIVE IS READY" 
	} 

	death 
	{ 
		wm_announce "^1FUNC_EXPLOSIVE IS HAS BEEN DESTROYED" // announcement works only for class 3
	} 
} 

explosivetestscr
{
	spawn
	{
		wait 150
		setstate explosivetestscr default
		wm_announce "^1explosivetestscr spawned"
	}
	
	death
	{
		wm_announce "^1explosivetestscr death has been triggered"
		trigger barrierhurt bhurtdestroyed
	}
}

(EB) #17

[spam in figurative english]Just before bed…
If you create a func_ex and target it to a trigger_hurt…AND place this within the volume of a surfaceparm’d WATER brush(no_draw_water works)…while keeping the trigger_hurt brush’s top height from the ground between 18-30units(if I remember correctly) [water level just above the height of the trig_hurt] then once the func_ex’s destruction triggers the trigger_hurt to disappear…it will actually turn the trigger_hurt brush into a trigger_push(in-likeness) although still non-visible brush with a low # set for push distance.

Wild though it may seem…AND EXTREMELY USELESS…I had recreated it several times some time ago.[/spam]
I will recreate it in a boxmap for anyone curious to what I just rambled on about. Let me know.


(SCDS_reyalP) #18

]UBC[ McNite: the target_script_trigger isn’t dying, its being triggered.


-------- KEYS -------- 
"target"  The name of the trigger 
"scriptname" Name of the script routine to use 


(]UBC[ McNite) #19

@ Wanderer:

"spawnflags" "3"

in entity 2 is all that changes in your boxmap when I check axis_objective AND allied_objective in the toi.

And that results in “friendly objective” for both teams.

So what else do u change to make it blowable by both teams? Can you plz post the code for a boxmap where actually both teams can destroy the objective?

Here is the .map with the only change as I described. Plz try it out. I didnt touch the script.

// entity 0
{
"mapcoordsmaxs" "256 -256"
"mapcoordsmins" "-256 192"
"classname" "worldspawn"
// brush 0
{
( 184 128 320 ) ( -184 128 320 ) ( -184 -160 320 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -176 -192 616 ) ( 192 -192 616 ) ( 192 -192 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 192 -192 616 ) ( 192 96 616 ) ( 192 96 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 176 128 616 ) ( -192 128 616 ) ( -192 128 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 128 616 ) ( -192 -160 616 ) ( -192 -160 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -184 128 328 ) ( 184 128 328 ) ( -184 -160 328 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
}
// brush 1
{
( -192 -160 584 ) ( -192 128 584 ) ( 176 128 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -176 -192 616 ) ( 192 -192 616 ) ( 192 -192 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 192 -192 616 ) ( 192 96 616 ) ( 192 96 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 176 128 616 ) ( -192 128 616 ) ( -192 128 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 128 616 ) ( -192 -160 616 ) ( -192 -160 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 128 576 ) ( -192 -160 576 ) ( 176 128 576 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
}
// brush 2
{
( 184 128 320 ) ( -184 128 320 ) ( -184 -160 320 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 -160 584 ) ( -192 128 584 ) ( 176 128 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -176 -192 616 ) ( 192 -192 616 ) ( 192 -192 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 192 -192 616 ) ( 192 96 616 ) ( 192 96 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 128 616 ) ( -192 -160 616 ) ( -192 -160 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 192 -184 616 ) ( -176 -184 616 ) ( 192 -184 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
}
// brush 3
{
( 184 128 320 ) ( -184 128 320 ) ( -184 -160 320 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 -160 584 ) ( -192 128 584 ) ( 176 128 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -176 -192 616 ) ( 192 -192 616 ) ( 192 -192 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 192 -192 616 ) ( 192 96 616 ) ( 192 96 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 176 128 616 ) ( -192 128 616 ) ( -192 128 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 184 96 616 ) ( 184 -192 616 ) ( 184 96 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
}
// brush 4
{
( 184 128 320 ) ( -184 128 320 ) ( -184 -160 320 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 -160 584 ) ( -192 128 584 ) ( 176 128 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 192 -192 616 ) ( 192 96 616 ) ( 192 96 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 176 128 616 ) ( -192 128 616 ) ( -192 128 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 128 616 ) ( -192 -160 616 ) ( -192 -160 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 120 616 ) ( 176 120 616 ) ( -192 120 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
}
// brush 5
{
( 184 128 320 ) ( -184 128 320 ) ( -184 -160 320 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 -160 584 ) ( -192 128 584 ) ( 176 128 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -176 -192 616 ) ( 192 -192 616 ) ( 192 -192 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( 176 128 616 ) ( -192 128 616 ) ( -192 128 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -192 128 616 ) ( -192 -160 616 ) ( -192 -160 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -184 -160 616 ) ( -184 128 616 ) ( -184 -160 584 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
}
// brush 6
{
( -96 88 328 ) ( -112 88 328 ) ( -112 -40 328 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -112 -40 400 ) ( -112 88 400 ) ( -96 88 400 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -112 -64 8 ) ( -96 -64 8 ) ( -96 -64 0 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -96 -64 8 ) ( -96 64 8 ) ( -96 64 0 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -96 64 8 ) ( -112 64 8 ) ( -112 64 0 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
( -112 64 8 ) ( -112 -64 8 ) ( -112 -64 0 ) battery_wall/wall03_mid 0 0 0 0.500000 0.500000 0 0 0
}
}
// entity 1
{
"dmg" "5"
"spawnflags" "4"
"mass" "800"
"type" "brick"
"scriptname" "explosiveTest"
"targetname" "explosiveTest"
"classname" "func_explosive"
// brush 0
{
( 176 16 328 ) ( 112 16 328 ) ( 112 -72 328 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
( 88 -72 448 ) ( 88 16 448 ) ( 152 16 448 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
( 96 -64 584 ) ( 160 -64 584 ) ( 160 -64 320 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
( 160 -72 584 ) ( 160 16 584 ) ( 160 16 320 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
( 168 0 584 ) ( 104 0 584 ) ( 104 0 320 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
( 96 16 584 ) ( 96 -72 584 ) ( 96 -72 320 ) egypt_floor_sd/block-16sq 0 0 0 0.500000 0.500000 0 0 0
}
}
// entity 2
{
"spawnflags" "3"
"target" "explosiveTest"
"track" "the object to be destroyed"
"targetname" "explosiveTestTOI"
"classname" "trigger_objective_info"
// brush 0
{
( 104 -24 384 ) ( 88 -24 384 ) ( 88 -48 384 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( 104 -48 400 ) ( 104 -24 400 ) ( 120 -24 400 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( 80 -48 512 ) ( 96 -48 512 ) ( 96 -48 328 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( 96 -48 512 ) ( 96 -24 512 ) ( 96 -24 328 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( 96 -32 512 ) ( 80 -32 512 ) ( 80 -32 328 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( 80 -32 512 ) ( 80 -56 512 ) ( 80 -56 328 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
}
// brush 1
{
( 184 112 328 ) ( 64 112 328 ) ( 64 -184 328 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 64 -184 512 ) ( 64 112 512 ) ( 184 112 512 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 64 -184 448 ) ( 184 -184 448 ) ( 184 -184 328 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 184 -184 448 ) ( 184 112 448 ) ( 184 112 328 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 192 120 448 ) ( 72 120 448 ) ( 72 120 328 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 24 112 448 ) ( 24 -184 448 ) ( 24 -184 328 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
}
}
// entity 3
{
"origin" "56 -96 384"
"classname" "info_player_deathmatch"
}
// entity 4
{
"origin" "-144 -40 392"
"classname" "team_CTF_bluespawn"
}
// entity 5
{
"origin" "-144 32 368"
"classname" "team_CTF_redspawn"
}
// entity 6
{
"origin" "-40 -136 376"
"classname" "script_multiplayer"
}