loffys_ctf_prefab 2


(Loffy) #21

Hallo deej! And big thanks!
The “waaaaaaaaaaaaaaaa”-sound is infact my son. (I recorded him using just the tiny microphone on my headset, holding it infront of him.) I wanted to include him in the map somehow.
On Berserk, there is a flower somewhere that is from a digital photo taken in my garden. I’m not a gardener myself, but my wife is. So I wanted to include a bit of that too. There is also a picture of the family’s cat near the docs, but you knew that :slight_smile:

Hi Heirpie!
Yes, I’ve tossed in 25 spawn-points for each team. (This map is intended for 6 vs 6 or 12 vs 12). Why so many? well… that is just some habit that have have.
This is perhaps a lesson for all new mappers: Even if the map is for 6 vs. 6 (or 12 vs 12), always place 16 spawn-points at each spawn-area.
You never know how your map will be used once it is out there in the public.
:slight_smile:
Big thanks to Heirpie too!
//Loffy


(thore) #22

hmmm. i would have liked to see the spaceship floating thingy in a more ww2 contemporate style… wooden arches and stuff.
the idea itself (we dont know how they did come there - but now they are… go FIGHT) is quite cool, but together with the
architecture it makes me thinking of a UT map first.
having some mirrored village floating in space… maybe even with some rocks beneath it (a.k.a the axis last uberweapon they
tested blow up the whole factory and the nearby village… both where catapulted into space. only chance for axis to come
back is to test the weapon again and hope it will blow them back to earth :D)
the flag counter could be made of church GOOOOONNNNNNGGGS rather than of little sheets glued to the wall. one gong for
every flag… so if you here 4 gongs in a row you’ve captured the 4th flag. aaaaaahhhh, they’re going crazy with me…

WHAT i wanted to say: i like this map - but i would have liked it muuuuuuuch more for a more ww2 style appearence :moo:

keep it up :wink:


(Loffy) #23

Hi thore!
Have you had time to run around in it? Did you notice the fact that you can jump/slide from the upper floor to the lower, via the shafts? Just jump down, and turn (in mid-air) towards the middle of the map and press your forward-key. You’ll land on the ledge. And there is always a health-pack there for you when you land (it’s triggered whenever someone falls thru the upper shaft).
About the design: It’s a prefab released for other mappers to use (.map-file included). Go ahead - make your version and show us what you are talking about.
// Loffy
:clap:


(Flippy) #24

Did you test this? Did it work?

I can’t get it to work… and i think i know what the problem is.

Once an objective is brought to it’s trigger_flagonly_multiple it’s “death” gets called, so it is indead “dead” and not in the map anymore. It does not work when you setstate it after it’s death, it’s gone, you cant get it back anymore afaik…

so you would need one t_f_m for each flag.

But also, when i brought back the flag, no other flag was spawned (count: 3)
if i checked the conlse with g_scriptdebug 1 i saw that “setstate blueflag default” was called (the blue flag entity has script/targetname “blueflag”), but it did not spawn again…

im trying to get it work with multiple flags and “t_f_m”'s atm…


(WeeBull) #25

I can’t get it to work either. I’m not trying to achieve exactly the same, but I do need to setstate the flags default and invisible, but it does not work the way you described.


(Flippy) #26

i experimented some more with multiple flags and t_f_m’s , and almost got it to work…

if axis capture 3 flags in a row they win.

However, when axis capture 2 flags, then allies one, then axis the last one, the map doesn’t end, AND allies cannot capture their flags anymore…

im sure its just a stupid mistake in my script but i cant be bothered to try more right now, will try some more tomorrow


(Loffy) #27

Oh, that should be easy to fix. I would experiment with globalaccums and having them keep track of how many flags (in total) have the men in grey (axis) stolen and how many have been caputured (in total) my the Allied Forces.

caputured?

Keep on strogg-ling


(Flippy) #28

yeah it is easy to fix probably… i just need to look at it a bit closer tomorrow and ill figure it out :stuck_out_tongue:

just wanted to make sure wether madmaximus example doesn’t work or i made an error in my map…


(Roeltje) #29

hmm as far as i can remember, when i started Fata Morgana, i wanted to add a flag system like that too… but when i entered a targetname at a flag, the flag wouldnt appear.
in the notes also stood: “targetname - Do NOT enter a targetname, it will give problems”


(Flippy) #30

yes, but if you read up to the post i quoted a bit from, madmaximus says that all you need to do is “alertentity [targetname]” the entity in the spawn block of game_manager and it will work from there on…


(Flippy) #31

I think i just got it to work! :smiley:

ive been testing with many different comibnations of picking up the flags and did not find a bug yet… but i wont be surprised if there still is a bug in there somewhere…

also, i think the script can be done easier… but i cant be bothered anymore, it works :stuck_out_tongue:

right ill try to explain it…

you will need multiple “team_CTF_blue/redflag” entities, and multiple “trigger_flagonly_multiple” entities. (If you have 3 flags, you need 3 trigger_flagonly_multiple’s)

In my example i have 3 flags per team and therefor 3 “goals” (trigger_flagonly_multiple’s) per team.

The team_CTF_blueflags have a scriptname and targetname of “blueflag1” to “blueflag3”
These are the allied flags that axis have to steal

the team_CTF_redflags have a scriptname and targetname of “redflag1” to “redflag3”
these are the axis flags that allies have to steal

The trigger_flagonly_multiple entities have a scriptname and targetname of “redhome1” to “redhome3” and “bluehome1” to “bluehome3”.

Note that the “redhomes” have spawnflag “red_flag” checked and the “bluehomes” “blue_flag”.

also, important is that the “bluehomes” are surrounding the RED flags and the other way around aswell…

Here is a picture:

Here is the script i use:


game_manager
{
	spawn
	{
		wait 300
		
		// Usual
		wm_axis_respawntime 1
		wm_allied_respawntime 1
	
		// Alertentity the flags so they work when given a targetname
		alertentity blueflag1
		alertentity blueflag2
		alertentity blueflag3
		alertentity redflag1
		alertentity redflag2
		alertentity redflag3

		wait 50
		
		// Set every goal + flag invisible except the first ones
		setstate blueflag2 invisible
		setstate blueflag3 invisible
		setstate redflag2 invisible
		setstate redflag3 invisible

		setstate bluehome2 invisible
		setstate bluehome3 invisible
		setstate redhome2 invisible
		setstate redhome3 invisible
	
		// Set the default scores
		globalaccum 0 set 0
		globalaccum 1 set 0
	}		

	trigger axis_win	// Called when the last axis "trigger_flagonly_multiple" has been "killed" (when a flag has been captured there)
	{
		wm_announce "The Axis team has captured all three flags and won!"
		//wm_setwinner 0
		//wm_endround
		wait 3000
		wm_announce "*Map ends*"
	}
	
	trigger allies_win	// Called when the last allied "trigger_flagonly_multiple" has been "killed" (when a flag has been captured there)
	{
		wm_announce "The Allied team has captured all three flags and won!"
		//wm_setwinner 1
		//wm_endround
		wait 3000
		wm_announce "*Map ends*"
	}
}


// FLAGS

// ALLIES

blueflag1
{
	trigger stolen
	{
		wm_announce "Axis has stolen the first Flag!"

		// Make the "homes" (goals) invisible
		setstate redhome1 invisible
		setstate redhome2 invisible
		setstate redhome3 invisible
	}

	trigger returned
	{
		wm_announce "Allies have returned their Flag!"

		// Make the first "home" default
		setstate redhome1 default
		setstate redhome2 invisible
		setstate redhome3 invisible
	}
}

bluehome1
{
	death
	{
		setstate bluehome2 default	// Enable the next "goal"
		wm_announce "Axis has captured the first Flag!"
		globalaccum 0 set 1		// Set the axis score to 1
	
		setstate blueflag2 default	// Enable the nextt flag

		// This is used to determine which "goal" (of the opponent!) must be made default, based on their score
		setstate redhome1 default
		setstate redhome2 invisible
		setstate redhome3 invisible
		globalaccum 1 abort_if_equal 0
		setstate redhome1 invisible
		setstate redhome2 default
		setstate redhome3 invisible 
		globalaccum 1 abort_if_equal 1
		setstate redhome1 invisible
		setstate redhome2 invisible
		setstate redhome3 default
	}
}

blueflag2
{
	trigger stolen
	{
		wm_announce "Axis has stolen the second Flag!"
		setstate redhome2 invisible
		setstate redhome3 invisible
	}

	trigger returned
	{
		wm_announce "Allies have returned their Flag!"
		setstate redhome2 default
		setstate redhome3 invisible
	}
}

bluehome2
{
	death
	{
		wm_announce "Axis has captured the second Flag!"
		setstate bluehome3 default
		globalaccum 0 set 2
		
		setstate blueflag3 default

		setstate redhome1 default
		setstate redhome2 invisible
		setstate redhome3 invisible
		globalaccum 1 abort_if_equal 0
		setstate redhome1 invisible
		setstate redhome2 default
		setstate redhome3 invisible 
		globalaccum 1 abort_if_equal 1
		setstate redhome1 invisible
		setstate redhome2 invisible
		setstate redhome3 default
	}
}

blueflag3
{
	trigger stolen
	{
		wm_announce "Axis has stolen the last Flag!"
		setstate redhome3 invisible
	}
	
	trigger returned
	{
		wm_announce "Allies have returned their Flag!"
		setstate redhome3 default
	}
}

bluehome3
{
	death
	{
		wm_announce "Axis has captured the last Flag!"
		globalaccum 0 set 3
		trigger game_manager axis_win
	}
}

// AXIS

redflag1
{
	trigger stolen
	{
		wm_announce "Allies have stolen the first Flag!"
		setstate bluehome1 invisible
		setstate bluehome2 invisible
		setstate bluehome3 invisible
	}

	trigger returned
	{
		wm_announce "Axis have returned their Flag!"
		setstate bluehome1 default
		setstate bluehome2 invisible
		setstate bluehome3 invisible
	}
}

redhome1
{
	death
	{
		setstate redhome2 default
		setstate redhome3 invisible
		wm_announce "Allies have captured the first Flag!"
		globalaccum 1 set 1
	
		setstate redflag2 default

		setstate bluehome1 default
		setstate bluehome2 invisible
		setstate bluehome3 invisible
		globalaccum 0 abort_if_equal 0
		setstate bluehome1 invisible
		setstate bluehome2 default
		setstate bluehome3 invisible 
		globalaccum 0 abort_if_equal 1
		setstate bluehome1 invisible
		setstate bluehome2 invisible
		setstate bluehome3 default
	}
}

redflag2
{
	trigger stolen
	{
		wm_announce "Allies have stolen the second Flag!"
		setstate bluehome2 invisible
		setstate bluehome3 invisible
	}

	trigger returned
	{
		wm_announce "Axis have returned their Flag!"
		setstate bluehome2 default
		setstate bluehome3 invisible
	}
}

redhome2
{
	death
	{
		wm_announce "Allies have captured the second Flag!"
		setstate redhome3 default
		globalaccum 1 set 2
	
		trigger game_manager allies_score
		
		setstate redflag3 default

		setstate bluehome1 default
		setstate bluehome2 invisible
		setstate bluehome3 invisible
		globalaccum 0 abort_if_equal 0
		setstate bluehome1 invisible
		setstate bluehome2 default
		setstate bluehome3 invisible 
		globalaccum 0 abort_if_equal 1
		setstate bluehome1 invisible
		setstate bluehome2 invisible
		setstate bluehome3 default
	}
}

redflag3
{
	trigger stolen
	{
		wm_announce "Allies have stolen the last Flag!"
		setstate bluehome3 invisible
	}
	
	trigger returned
	{
		wm_announce "Axis have returned their Flag!"
		setstate bluehome3 default
	}
}

redhome3
{
	death
	{
		wm_announce "Allies have captured the last Flag!"
		globalaccum 1 set 3
		trigger game_manager allies_win
	}
}

At least it works here…


(RayBan) #32

i just tried what madmaximus posted and it works fine for me, 1 ctf flag entity and 1 flagonly multiple per team, i tried it with 4 flags and even 8
flag counts and it works fine.


(Flippy) #33

really? :???:

could you post up a map + script with that? every time i tried it i got into trouble because the flagonly_multiple got killed when a flag was taken there… (“death” triggered, it did not respond to setstate / alertentity anymore)


(RayBan) #34

test map named ctf_test1.map


// entity 0
{
"classname" "worldspawn"
"mapcoordsmins" "-768 768"
"mapcoordsmaxs" "768 -768"
"message" "Prepare to EAT SHIT AND DIE!!!"
// brush 0
{
( -2532 1879 448 ) ( -2532 -2061 448 ) ( 2580 1879 448 ) skies/sd_batterysky 0 0 0 0.500000 0.500000 0 0 0
( -2532 -2061 456 ) ( -2532 1879 456 ) ( 2580 1879 456 ) common/caulk 0 30 0 0.500000 0.500000 0 0 0
( -2618 -640 1604 ) ( 2494 -640 1604 ) ( 2494 -640 1532 ) common/caulk 0 48 0 0.500000 0.500000 0 0 0
( 640 -2143 1604 ) ( 640 1797 1604 ) ( 640 1797 1532 ) common/caulk -30 48 0 0.500000 0.500000 0 0 0
( 2589 640 1604 ) ( -2523 640 1604 ) ( -2523 640 1532 ) common/caulk 0 48 0 0.500000 0.500000 0 0 0
( -640 1713 1604 ) ( -640 -2227 1604 ) ( -640 -2227 1532 ) common/caulk -30 48 0 0.500000 0.500000 0 0 0
}
// brush 1
{
( -656 1024 128 ) ( -664 1024 128 ) ( -664 -1024 128 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( -648 -1024 448 ) ( -648 1024 448 ) ( -640 1024 448 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( -648 -648 128 ) ( -648 -648 448 ) ( -640 -640 448 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( -640 -1024 448 ) ( -640 1024 448 ) ( -640 1024 432 ) skies/sd_batterysky 0 0 0 0.500000 0.500000 0 0 0
( -648 648 448 ) ( -648 648 128 ) ( -640 640 128 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( -648 -648 448 ) ( -648 -648 128 ) ( -648 648 128 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
}
// brush 2
{
( -1032 648 448 ) ( -1032 648 128 ) ( 1032 648 128 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( 632 632 448 ) ( 632 632 128 ) ( 624 624 128 ) common/caulk 0 0 -180 0.500000 -0.500000 0 7 0
( -640 640 448 ) ( 1408 640 448 ) ( 1408 640 432 ) skies/sd_batterysky 0 0 0 0.500000 0.500000 0 0 0
( -648 648 128 ) ( -648 648 448 ) ( -640 640 448 ) common/caulk 0 0 -180 0.500000 -0.500000 0 7 0
( -1024 648 448 ) ( 1024 648 448 ) ( 1024 640 448 ) common/caulk 0 0 -90 0.500000 0.500000 0 7 0
( 1024 656 128 ) ( 1024 664 128 ) ( -1024 664 128 ) common/caulk 0 0 -90 0.500000 0.500000 0 7 0
}
// brush 3
{
( 648 -648 128 ) ( 648 -648 448 ) ( 648 648 448 ) common/caulk 0 0 -180 0.500000 -0.500000 0 7 0
( 648 -648 448 ) ( 648 -648 128 ) ( 640 -640 128 ) common/caulk 0 0 -180 0.500001 -0.500000 0 7 0
( 640 1024 448 ) ( 640 -1024 448 ) ( 640 -1024 432 ) skies/sd_batterysky 0 0 0 0.500000 0.500000 0 0 0
( 648 648 128 ) ( 648 648 448 ) ( 640 640 448 ) common/caulk 0 0 -180 0.500000 -0.500000 0 7 0
( 648 1024 448 ) ( 648 -1024 448 ) ( 640 -1024 448 ) common/caulk 0 0 -180 0.500000 0.500000 0 7 0
( 656 -1024 128 ) ( 664 -1024 128 ) ( 664 1024 128 ) common/caulk 0 0 -180 0.500000 0.500000 0 7 0
}
// brush 4
{
( -1024 -656 128 ) ( -1024 -664 128 ) ( 1024 -664 128 ) common/caulk 0 0 90 0.500000 0.500000 0 7 0
( 1024 -648 448 ) ( -1024 -648 448 ) ( -1024 -640 448 ) common/caulk 0 0 90 0.500000 0.500000 0 7 0
( 664 -664 128 ) ( 664 -664 448 ) ( 656 -656 448 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( 1024 -640 448 ) ( -1024 -640 448 ) ( -1024 -640 432 ) skies/sd_batterysky 0 0 0 0.500000 0.500000 0 0 0
( -648 -648 448 ) ( -648 -648 128 ) ( -640 -640 128 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( 1032 -648 448 ) ( 1032 -648 128 ) ( -1032 -648 128 ) common/caulk 0 0 -180 0.500001 -0.500000 0 7 0
}
// brush 5
{
( -656 1024 -8 ) ( -664 1024 -8 ) ( -664 -1024 -8 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( -648 -1024 128 ) ( -648 1024 128 ) ( -640 1024 128 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( -648 -648 0 ) ( -648 -648 128 ) ( -640 -640 128 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( -640 -1024 128 ) ( -640 1024 128 ) ( -640 1024 112 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -648 648 120 ) ( -648 648 -8 ) ( -640 640 -8 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( -648 -648 128 ) ( -648 -648 0 ) ( -648 648 0 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
}
// brush 6
{
( -1024 -656 -8 ) ( -1024 -664 -8 ) ( 1024 -664 -8 ) common/caulk 0 0 90 0.500000 0.500000 0 7 0
( 1024 -648 128 ) ( -1024 -648 128 ) ( -1024 -640 128 ) common/caulk 0 0 90 0.500000 0.500000 0 7 0
( 656 -656 -8 ) ( 656 -656 120 ) ( 648 -648 120 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( 1024 -640 312 ) ( -1024 -640 312 ) ( -1024 -640 296 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( -648 -648 128 ) ( -648 -648 0 ) ( -640 -640 0 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
( 1416 -648 128 ) ( 1416 -648 0 ) ( -648 -648 0 ) common/caulk 0 0 -180 0.500001 -0.500000 0 7 0
}
// brush 7
{
( 1024 656 -8 ) ( 1024 664 -8 ) ( -1024 664 -8 ) common/caulk 0 0 -90 0.500000 0.500000 0 7 0
( -1024 648 128 ) ( 1024 648 128 ) ( 1024 640 128 ) common/caulk 0 0 -90 0.500000 0.500000 0 7 0
( -648 648 -8 ) ( -648 648 120 ) ( -640 640 120 ) common/caulk 0 0 -180 0.500000 -0.500000 0 7 0
( -1024 640 312 ) ( 1024 640 312 ) ( 1024 640 296 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 640 640 128 ) ( 640 640 0 ) ( 632 632 0 ) common/caulk 0 0 -180 0.500000 -0.500000 0 7 0
( -1032 648 128 ) ( -1032 648 0 ) ( 1032 648 0 ) common/caulk 0 0 0 0.500000 0.500000 0 7 0
}
// brush 8
{
( 656 -1024 -8 ) ( 664 -1024 -8 ) ( 664 1024 -8 ) common/caulk 0 0 -180 0.500000 0.500000 0 7 0
( 648 1024 128 ) ( 648 -1024 128 ) ( 640 -1024 128 ) common/caulk 0 0 -180 0.500000 0.500000 0 7 0
( 648 648 0 ) ( 648 648 128 ) ( 640 640 128 ) common/caulk 0 0 -180 0.500000 -0.500000 0 7 0
( 640 1024 128 ) ( 640 -1024 128 ) ( 640 -1024 112 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 648 -648 120 ) ( 648 -648 -8 ) ( 640 -640 -8 ) common/caulk 0 0 -180 0.500001 -0.500000 0 7 0
( 648 -648 0 ) ( 648 -648 128 ) ( 648 648 128 ) common/caulk 0 0 -180 0.500000 -0.500000 0 7 0
}
// brush 9
{
( -2336 1879 -8 ) ( 2776 1879 -8 ) ( -2336 -2061 -8 ) common/caulk 0 0 0 0.500000 0.500000 0 0 0
( 2776 1879 -16 ) ( -2336 1879 -16 ) ( -2336 -2061 -16 ) common/caulk 0 30 0 0.500000 0.500000 0 0 0
( -2736 -640 1408 ) ( 2376 -640 1408 ) ( 2376 -640 1336 ) common/caulk 0 -24 0 0.500000 0.500000 0 0 0
( 640 -2308 1408 ) ( 640 1632 1408 ) ( 640 1632 1336 ) common/caulk -30 -24 0 0.500000 0.500000 0 0 0
( 2568 640 1408 ) ( -2544 640 1408 ) ( -2544 640 1336 ) common/caulk 0 -24 0 0.500000 0.500000 0 0 0
( -640 1916 1408 ) ( -640 -2024 1408 ) ( -640 -2024 1336 ) common/caulk -30 -24 0 0.500000 0.500000 0 0 0
}
// brush 10
{
( -624 1916 1416 ) ( -624 -2024 1416 ) ( -624 -2024 1344 ) common/caulk -30 -8 0 0.500000 0.500000 134217728 0 0
( 2568 624 1416 ) ( -2544 624 1416 ) ( -2544 624 1344 ) common/caulk 0 -8 0 0.500000 0.500000 134217728 0 0
( 624 -2308 1416 ) ( 624 1632 1416 ) ( 624 1632 1344 ) common/caulk -30 -8 0 0.500000 0.500000 134217728 0 0
( -2736 -624 1416 ) ( 2376 -624 1416 ) ( 2376 -624 1344 ) common/caulk 0 -8 0 0.500000 0.500000 134217728 0 0
( 2776 1879 -8 ) ( -2336 1879 -8 ) ( -2336 -2061 -8 ) common/caulk 0 30 0 0.500000 0.500000 134217728 0 0
( -2336 1879 0 ) ( 2776 1879 0 ) ( -2336 -2061 0 ) miltary_wall/concrete_c07bcmp 0 0 0 0.500000 0.500000 134217728 0 0
}
// brush 11
{
( -640 -640 128 ) ( -640 -640 0 ) ( -624 -624 0 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
( 624 -624 128 ) ( 608 -624 128 ) ( 608 -624 -8 ) assault_rock/concrete_m02 0 0 0 0.500000 0.500000 134217728 0 0
( 640 -640 0 ) ( 640 -640 128 ) ( 624 -624 128 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
( -640 -640 0 ) ( -640 -640 128 ) ( 640 -640 128 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
( 608 -640 128 ) ( 608 -624 128 ) ( 624 -624 128 ) assault_rock/concrete_m02 0 0 0 0.500000 0.500000 134217728 0 0
( 624 -624 0 ) ( 608 -624 0 ) ( 608 -640 0 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
}
// brush 12
{
( -624 -624 0 ) ( -624 -608 0 ) ( -640 -608 0 ) common/caulk 0 0 -90 0.500000 0.500000 134217728 0 0
( -640 -608 128 ) ( -624 -608 128 ) ( -624 -624 128 ) assault_rock/concrete_m02 0 0 0 0.500000 0.500000 134217728 0 0
( -640 640 0 ) ( -640 640 128 ) ( -640 -640 128 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 0 0
( -640 -640 0 ) ( -640 -640 128 ) ( -624 -624 128 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
( -624 -624 128 ) ( -624 -608 128 ) ( -624 -608 -8 ) assault_rock/concrete_m02 0 0 0 0.500000 0.500000 134217728 0 0
( -640 640 128 ) ( -640 640 0 ) ( -624 624 0 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 0 0
}
// brush 13
{
( -624 624 0 ) ( -608 624 0 ) ( -608 640 0 ) common/caulk 0 0 -180 0.500000 0.500000 134217728 0 0
( -608 640 128 ) ( -608 624 128 ) ( -624 624 128 ) assault_rock/concrete_m02 0 0 0 0.500000 0.500000 134217728 0 0
( 640 640 0 ) ( 640 640 128 ) ( -640 640 128 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 0 0
( -640 640 0 ) ( -640 640 128 ) ( -624 624 128 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 0 0
( -624 624 128 ) ( -608 624 128 ) ( -608 624 -8 ) assault_rock/concrete_m02 0 0 0 0.500000 0.500000 134217728 0 0
( 640 640 128 ) ( 640 640 0 ) ( 624 624 0 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 0 0
}
// brush 14
{
( 640 -640 128 ) ( 640 -640 0 ) ( 624 -624 0 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
( 624 624 128 ) ( 624 608 128 ) ( 624 608 -8 ) assault_rock/concrete_m02 0 0 0 0.500000 0.500000 134217728 0 0
( 640 640 0 ) ( 640 640 128 ) ( 624 624 128 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 0 0
( 640 -640 0 ) ( 640 -640 128 ) ( 640 640 128 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
( 640 608 128 ) ( 624 608 128 ) ( 624 624 128 ) assault_rock/concrete_m02 0 0 0 0.500000 0.500000 134217728 0 0
( 624 624 0 ) ( 624 608 0 ) ( 640 608 0 ) common/caulk 0 0 90 0.500000 0.500000 134217728 0 0
}
}
// entity 1
{
"spawnflags" "3"
"classname" "team_CTF_bluespawn"
"origin" "-288 95 24"
}
// entity 2
{
"classname" "team_CTF_redspawn"
"origin" "288 95 24"
"angle" "180"
}
// entity 3
{
"classname" "script_multiplayer"
"origin" "0 476 84"
"scriptname" "game_manager"
}
// entity 4
{
"scriptname" "axis_flag"
"targetname" "axis_flag"
"angle" "180"
"classname" "team_CTF_redflag"
"origin" "448 0 64"
"model" "models/mapobjects/goldbox_sd/goldbox.md3"
"message" "the Flag"
"count" "4"
}
// entity 5
{
"message" "the Flag"
"model" "models/mapobjects/goldbox_sd/goldbox.md3"
"angle" "360"
"targetname" "allied_flag"
"scriptname" "allied_flag"
"origin" "-446 0 64"
"classname" "team_CTF_blueflag"
"count" "4"
}
// entity 6
{
"targetname" "allies_cap_flag"
"scriptname" "allies_cap_flag"
"spawnflags" "1"
"classname" "trigger_flagonly_multiple"
// brush 0
{
( -416 32 48 ) ( -480 32 48 ) ( -480 -34 48 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( -476 -34 168 ) ( -476 32 168 ) ( -412 32 168 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( -480 -32 80 ) ( -416 -32 80 ) ( -416 -32 48 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( -416 -34 80 ) ( -416 32 80 ) ( -416 32 48 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( -416 32 80 ) ( -480 32 80 ) ( -480 32 48 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( -480 32 80 ) ( -480 -34 80 ) ( -480 -34 48 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
}
}
// entity 7
{
"targetname" "axis_cap_flag"
"classname" "trigger_flagonly_multiple"
"spawnflags" "2"
"scriptname" "axis_cap_flag"
// brush 0
{
( 416 32 80 ) ( 416 -34 80 ) ( 416 -34 48 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( 480 32 80 ) ( 416 32 80 ) ( 416 32 48 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( 480 -34 80 ) ( 480 32 80 ) ( 480 32 48 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( 416 -32 80 ) ( 480 -32 80 ) ( 480 -32 48 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( 420 -34 168 ) ( 420 32 168 ) ( 484 32 168 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 480 32 48 ) ( 416 32 48 ) ( 416 -34 48 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
}
}
// entity 8
{
"angle" "180"
"origin" "288 31 24"
"classname" "team_CTF_redspawn"
}
// entity 9
{
"classname" "team_CTF_redspawn"
"origin" "288 -29 24"
"angle" "180"
}
// entity 10
{
"angle" "180"
"origin" "288 -97 24"
"classname" "team_CTF_redspawn"
}
// entity 11
{
"spawnflags" "3"
"origin" "-288 31 24"
"classname" "team_CTF_bluespawn"
}
// entity 12
{
"spawnflags" "3"
"classname" "team_CTF_bluespawn"
"origin" "-288 -33 24"
}
// entity 13
{
"spawnflags" "3"
"origin" "-288 -97 24"
"classname" "team_CTF_bluespawn"
}
// entity 14
{
"spawnflags" "2"
"origin" "-248 -4 40"
"classname" "team_WOLF_objective"
}
// entity 15
{
"classname" "team_WOLF_objective"
"origin" "248 0 40"
"spawnflags" "1"
}
// entity 16
{
"classname" "func_group"
// brush 0
{
( -336 112 0 ) ( -560 112 0 ) ( -560 -40 0 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
( -560 -40 48 ) ( -560 112 48 ) ( -336 112 48 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
( -384 128 48 ) ( -320 128 0 ) ( -384 -128 48 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
( -576 128 0 ) ( -512 128 48 ) ( -576 -128 0 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
( -576 64 48 ) ( -576 128 0 ) ( -320 64 48 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
( -576 -128 0 ) ( -576 -64 48 ) ( -320 -128 0 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
}
// brush 1
{
( -560 -36 0 ) ( -560 -68 0 ) ( -488 -68 0 ) common/caulk 0 32 90 0.500000 0.500000 134217728 0 0
( -488 -64 12 ) ( -560 -64 12 ) ( -560 -32 12 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -544 -64 -48 ) ( -544 -32 -48 ) ( -544 -32 -56 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
( -560 112 16 ) ( -560 112 0 ) ( -544 96 0 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
( -560 -80 16 ) ( -560 -80 0 ) ( -560 80 0 ) desert_sd/pavement_tris_sandy 128 -94 0 0.500000 0.499996 134217728 0 0
( -560 -112 0 ) ( -560 -112 16 ) ( -544 -96 16 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
}
// brush 2
{
( -484 64 36 ) ( -516 64 36 ) ( -516 -8 36 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
( -512 -8 48 ) ( -512 64 48 ) ( -480 64 48 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -512 -64 -12 ) ( -480 -64 -12 ) ( -480 -64 -20 ) desert_sd/pavement_tris_sandy 0 -24 0 0.500000 0.500000 134217728 0 0
( -384 -12 -12 ) ( -384 60 -12 ) ( -384 60 -20 ) desert_sd/pavement_tris_sandy 0 -24 0 0.500000 0.500000 134217728 0 0
( -480 64 -12 ) ( -512 64 -12 ) ( -512 64 -20 ) desert_sd/pavement_tris_sandy 0 -24 0 0.500000 0.500000 134217728 0 0
( -512 64 -12 ) ( -512 -8 -12 ) ( -512 -8 -20 ) desert_sd/pavement_tris_sandy 0 -24 0 0.500000 0.500000 134217728 0 0
}
// brush 3
{
( -368 36 24 ) ( -368 68 24 ) ( -440 68 24 ) common/caulk 0 -32 -90 0.500000 0.500000 134217728 0 0
( -440 64 36 ) ( -368 64 36 ) ( -368 32 36 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -384 64 -24 ) ( -384 32 -24 ) ( -384 32 -32 ) common/caulk 0 48 -180 0.500000 -0.500000 134217728 4 0
( -368 -80 40 ) ( -368 -80 24 ) ( -384 -64 24 ) common/caulk 0 47 -180 0.500000 -0.500000 134217728 4 0
( -368 80 40 ) ( -368 80 24 ) ( -368 -80 24 ) desert_sd/pavement_tris_sandy -384 -47 -180 0.500000 -0.500000 134217728 0 0
( -368 80 24 ) ( -368 80 40 ) ( -384 64 40 ) common/caulk 0 48 0 0.500000 0.500000 134217728 4 0
}
// brush 4
{
( -368 -80 24 ) ( -368 -80 40 ) ( -384 -64 40 ) common/caulk 0 47 -180 0.500000 -0.500000 134217728 4 0
( -368 -80 40 ) ( -368 -80 24 ) ( -528 -80 24 ) desert_sd/pavement_tris_sandy 256 -46 -180 0.500000 -0.500000 134217728 0 0
( -528 -80 40 ) ( -528 -80 24 ) ( -512 -64 24 ) common/caulk 0 46 -180 0.500000 -0.500000 134217728 4 0
( -384 -64 -24 ) ( -416 -64 -24 ) ( -416 -64 -32 ) common/caulk 0 47 -180 0.500000 -0.500000 134217728 4 0
( -384 -8 36 ) ( -384 -80 36 ) ( -416 -80 36 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -412 -80 24 ) ( -380 -80 24 ) ( -380 -8 24 ) common/caulk 0 32 -180 0.500000 0.500000 134217728 0 0
}
// brush 5
{
( -352 96 12 ) ( -352 96 28 ) ( -368 80 28 ) common/caulk 32 24 0 0.500000 0.500000 134217728 4 0
( -352 80 28 ) ( -352 80 12 ) ( -352 -80 12 ) desert_sd/pavement_tris_sandy -384 -71 -180 0.500000 -0.500000 134217728 0 0
( -352 -96 28 ) ( -352 -96 12 ) ( -368 -80 12 ) common/caulk -32 24 -180 0.500000 -0.500000 134217728 4 0
( -368 64 -36 ) ( -368 32 -36 ) ( -368 32 -44 ) common/caulk 0 24 -180 0.500000 -0.500000 134217728 4 0
( -424 64 24 ) ( -352 64 24 ) ( -352 32 24 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -352 36 12 ) ( -352 68 12 ) ( -424 68 12 ) common/caulk 0 0 -90 0.500000 0.500000 134217728 0 0
}
// brush 6
{
( -412 -96 12 ) ( -380 -96 12 ) ( -380 -24 12 ) common/caulk 0 0 -180 0.500000 0.500000 134217728 0 0
( -384 -24 24 ) ( -384 -96 24 ) ( -416 -96 24 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -384 -80 -36 ) ( -416 -80 -36 ) ( -416 -80 -44 ) common/caulk 0 23 -180 0.500000 -0.500000 134217728 4 0
( -544 -96 28 ) ( -544 -96 12 ) ( -528 -80 12 ) common/caulk -32 23 -180 0.500000 -0.500000 134217728 4 0
( -368 -96 28 ) ( -368 -96 12 ) ( -528 -96 12 ) desert_sd/pavement_tris_sandy 256 -70 -180 0.500000 -0.500000 134217728 0 0
( -352 -96 12 ) ( -352 -96 28 ) ( -368 -80 28 ) common/caulk -32 23 -180 0.500000 -0.500000 134217728 4 0
}
// brush 7
{
( -336 36 0 ) ( -336 68 0 ) ( -408 68 0 ) common/caulk 0 -32 -90 0.500000 0.500000 134217728 0 0
( -408 64 12 ) ( -336 64 12 ) ( -336 32 12 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -352 64 -48 ) ( -352 32 -48 ) ( -352 32 -56 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
( -336 -112 16 ) ( -336 -112 0 ) ( -352 -96 0 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
( -336 80 16 ) ( -336 80 0 ) ( -336 -80 0 ) desert_sd/pavement_tris_sandy -384 -95 -180 0.500000 -0.500000 134217728 0 0
( -336 112 0 ) ( -336 112 16 ) ( -352 96 16 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
}
// brush 8
{
( -336 -112 0 ) ( -336 -112 16 ) ( -352 -96 16 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
( -368 -112 16 ) ( -368 -112 0 ) ( -528 -112 0 ) desert_sd/pavement_tris_sandy 256 -95 -180 0.500000 -0.499996 134217728 0 0
( -560 -112 16 ) ( -560 -112 0 ) ( -544 -96 0 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
( -384 -96 -48 ) ( -416 -96 -48 ) ( -416 -96 -56 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
( -384 -40 12 ) ( -384 -112 12 ) ( -416 -112 12 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -412 -112 0 ) ( -380 -112 0 ) ( -380 -40 0 ) common/caulk 0 32 -180 0.500000 0.500000 134217728 0 0
}
// brush 9
{
( -528 80 24 ) ( -528 80 40 ) ( -512 64 40 ) common/caulk 0 48 0 0.500000 0.500000 134217728 4 0
( -528 80 40 ) ( -528 80 24 ) ( -368 80 24 ) desert_sd/pavement_tris_sandy 0 -48 0 0.500000 0.500000 134217728 0 0
( -368 80 40 ) ( -368 80 24 ) ( -384 64 24 ) common/caulk 0 48 0 0.500000 0.500000 134217728 4 0
( -512 64 -24 ) ( -480 64 -24 ) ( -480 64 -32 ) common/caulk 0 48 0 0.500000 0.500000 134217728 4 0
( -512 8 36 ) ( -512 80 36 ) ( -480 80 36 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -484 80 24 ) ( -516 80 24 ) ( -516 8 24 ) common/caulk 0 -32 0 0.500000 0.500000 134217728 0 0
}
// brush 10
{
( -528 -36 24 ) ( -528 -68 24 ) ( -456 -68 24 ) common/caulk 0 32 90 0.500000 0.500000 134217728 0 0
( -456 -64 36 ) ( -528 -64 36 ) ( -528 -32 36 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -512 -64 -24 ) ( -512 -32 -24 ) ( -512 -32 -32 ) common/caulk 0 48 0 0.500000 0.500000 134217728 4 0
( -528 80 40 ) ( -528 80 24 ) ( -512 64 24 ) common/caulk 0 46 0 0.500000 0.500000 134217728 4 0
( -528 -80 40 ) ( -528 -80 24 ) ( -528 80 24 ) desert_sd/pavement_tris_sandy 128 -46 0 0.500000 0.500000 134217728 0 0
( -528 -80 24 ) ( -528 -80 40 ) ( -512 -64 40 ) common/caulk 0 47 -180 0.500000 -0.500000 134217728 4 0
}
// brush 11
{
( -484 96 12 ) ( -516 96 12 ) ( -516 24 12 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
( -512 24 24 ) ( -512 96 24 ) ( -480 96 24 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -512 80 -36 ) ( -480 80 -36 ) ( -480 80 -44 ) common/caulk 0 24 0 0.500000 0.500000 134217728 4 0
( -352 96 28 ) ( -352 96 12 ) ( -368 80 12 ) common/caulk -32 24 0 0.500000 0.500000 134217728 4 0
( -528 96 28 ) ( -528 96 12 ) ( -368 96 12 ) desert_sd/pavement_tris_sandy 0 -72 0 0.500000 0.500000 134217728 0 0
( -544 96 12 ) ( -544 96 28 ) ( -528 80 28 ) common/caulk -32 24 0 0.500000 0.500000 134217728 4 0
}
// brush 12
{
( -544 -96 12 ) ( -544 -96 28 ) ( -528 -80 28 ) common/caulk 32 23 -180 0.500000 -0.500000 134217728 4 0
( -544 -80 28 ) ( -544 -80 12 ) ( -544 80 12 ) desert_sd/pavement_tris_sandy 128 -70 0 0.500000 0.500000 134217728 0 0
( -544 96 28 ) ( -544 96 12 ) ( -528 80 12 ) common/caulk -32 22 0 0.500000 0.500000 134217728 4 0
( -528 -64 -36 ) ( -528 -32 -36 ) ( -528 -32 -44 ) common/caulk 0 24 0 0.500000 0.500000 134217728 4 0
( -472 -64 24 ) ( -544 -64 24 ) ( -544 -32 24 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -544 -36 12 ) ( -544 -68 12 ) ( -472 -68 12 ) common/caulk 0 0 90 0.500000 0.500000 134217728 0 0
}
// brush 13
{
( -560 112 0 ) ( -560 112 16 ) ( -544 96 16 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
( -528 112 16 ) ( -528 112 0 ) ( -368 112 0 ) desert_sd/pavement_tris_sandy 0 -96 0 0.500000 0.500000 134217728 0 0
( -336 112 16 ) ( -336 112 0 ) ( -352 96 0 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
( -512 96 -48 ) ( -480 96 -48 ) ( -480 96 -56 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
( -512 40 12 ) ( -512 112 12 ) ( -480 112 12 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( -484 112 0 ) ( -516 112 0 ) ( -516 40 0 ) common/caulk 0 32 0 0.500000 0.500000 134217728 0 0
}
}
// entity 17
{
"classname" "func_group"
// brush 0
{
( 320 -128 0 ) ( 320 -64 48 ) ( 576 -128 0 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
( 320 64 48 ) ( 320 128 0 ) ( 576 64 48 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
( 320 128 0 ) ( 384 128 48 ) ( 320 -128 0 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
( 512 128 48 ) ( 576 128 0 ) ( 512 -128 48 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
( 336 -40 48 ) ( 336 112 48 ) ( 560 112 48 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
( 560 112 0 ) ( 336 112 0 ) ( 336 -40 0 ) common/clip 0 0 0 0.500000 0.500000 0 13 0
}
// brush 1
{
( 336 -112 0 ) ( 336 -112 16 ) ( 352 -96 16 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
( 336 -80 16 ) ( 336 -80 0 ) ( 336 80 0 ) desert_sd/pavement_tris_sandy 128 -94 0 0.500000 0.499996 134217728 0 0
( 336 112 16 ) ( 336 112 0 ) ( 352 96 0 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
( 352 -64 -48 ) ( 352 -32 -48 ) ( 352 -32 -56 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
( 408 -64 12 ) ( 336 -64 12 ) ( 336 -32 12 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 336 -36 0 ) ( 336 -68 0 ) ( 408 -68 0 ) common/caulk 0 32 90 0.500000 0.500000 134217728 0 0
}
// brush 2
{
( 384 64 -12 ) ( 384 -8 -12 ) ( 384 -8 -20 ) desert_sd/pavement_tris_sandy 0 -24 0 0.500000 0.500000 134217728 0 0
( 416 64 -12 ) ( 384 64 -12 ) ( 384 64 -20 ) desert_sd/pavement_tris_sandy 256 -24 0 0.500000 0.500000 134217728 0 0
( 512 -12 -12 ) ( 512 60 -12 ) ( 512 60 -20 ) desert_sd/pavement_tris_sandy 0 -24 0 0.500000 0.500000 134217728 0 0
( 384 -64 -12 ) ( 416 -64 -12 ) ( 416 -64 -20 ) desert_sd/pavement_tris_sandy 256 -24 0 0.500000 0.500000 134217728 0 0
( 384 -8 48 ) ( 384 64 48 ) ( 416 64 48 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 412 64 36 ) ( 380 64 36 ) ( 380 -8 36 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
}
// brush 3
{
( 528 80 24 ) ( 528 80 40 ) ( 512 64 40 ) common/caulk 0 48 0 0.500000 0.500000 134217728 4 0
( 528 80 40 ) ( 528 80 24 ) ( 528 -80 24 ) desert_sd/pavement_tris_sandy -384 -47 -180 0.500000 -0.500000 134217728 0 0
( 528 -80 40 ) ( 528 -80 24 ) ( 512 -64 24 ) common/caulk 0 47 -180 0.500000 -0.500000 134217728 4 0
( 512 64 -24 ) ( 512 32 -24 ) ( 512 32 -32 ) common/caulk 0 48 -180 0.500000 -0.500000 134217728 4 0
( 456 64 36 ) ( 528 64 36 ) ( 528 32 36 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 528 36 24 ) ( 528 68 24 ) ( 456 68 24 ) common/caulk 0 -32 -90 0.500000 0.500000 134217728 0 0
}
// brush 4
{
( 484 -80 24 ) ( 516 -80 24 ) ( 516 -8 24 ) common/caulk 0 32 -180 0.500000 0.500000 134217728 0 0
( 512 -8 36 ) ( 512 -80 36 ) ( 480 -80 36 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 512 -64 -24 ) ( 480 -64 -24 ) ( 480 -64 -32 ) common/caulk 0 47 -180 0.500000 -0.500000 134217728 4 0
( 368 -80 40 ) ( 368 -80 24 ) ( 384 -64 24 ) common/caulk 0 46 -180 0.500000 -0.500000 134217728 4 0
( 528 -80 40 ) ( 528 -80 24 ) ( 368 -80 24 ) desert_sd/pavement_tris_sandy 0 -46 -180 0.500000 -0.500000 134217728 0 0
( 528 -80 24 ) ( 528 -80 40 ) ( 512 -64 40 ) common/caulk 0 47 -180 0.500000 -0.500000 134217728 4 0
}
// brush 5
{
( 544 36 12 ) ( 544 68 12 ) ( 472 68 12 ) common/caulk 0 0 -90 0.500000 0.500000 134217728 0 0
( 472 64 24 ) ( 544 64 24 ) ( 544 32 24 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 528 64 -36 ) ( 528 32 -36 ) ( 528 32 -44 ) common/caulk 0 24 -180 0.500000 -0.500000 134217728 4 0
( 544 -96 28 ) ( 544 -96 12 ) ( 528 -80 12 ) common/caulk -32 24 -180 0.500000 -0.500000 134217728 4 0
( 544 80 28 ) ( 544 80 12 ) ( 544 -80 12 ) desert_sd/pavement_tris_sandy -384 -71 -180 0.500000 -0.500000 134217728 0 0
( 544 96 12 ) ( 544 96 28 ) ( 528 80 28 ) common/caulk 32 24 0 0.500000 0.500000 134217728 4 0
}
// brush 6
{
( 544 -96 12 ) ( 544 -96 28 ) ( 528 -80 28 ) common/caulk -32 23 -180 0.500000 -0.500000 134217728 4 0
( 528 -96 28 ) ( 528 -96 12 ) ( 368 -96 12 ) desert_sd/pavement_tris_sandy 0 -70 -180 0.500000 -0.500000 134217728 0 0
( 352 -96 28 ) ( 352 -96 12 ) ( 368 -80 12 ) common/caulk -32 23 -180 0.500000 -0.500000 134217728 4 0
( 512 -80 -36 ) ( 480 -80 -36 ) ( 480 -80 -44 ) common/caulk 0 23 -180 0.500000 -0.500000 134217728 4 0
( 512 -24 24 ) ( 512 -96 24 ) ( 480 -96 24 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 484 -96 12 ) ( 516 -96 12 ) ( 516 -24 12 ) common/caulk 0 0 -180 0.500000 0.500000 134217728 0 0
}
// brush 7
{
( 560 112 0 ) ( 560 112 16 ) ( 544 96 16 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
( 560 80 16 ) ( 560 80 0 ) ( 560 -80 0 ) desert_sd/pavement_tris_sandy -384 -95 -180 0.500000 -0.500000 134217728 0 0
( 560 -112 16 ) ( 560 -112 0 ) ( 544 -96 0 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
( 544 64 -48 ) ( 544 32 -48 ) ( 544 32 -56 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
( 488 64 12 ) ( 560 64 12 ) ( 560 32 12 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 560 36 0 ) ( 560 68 0 ) ( 488 68 0 ) common/caulk 0 -32 -90 0.500000 0.500000 134217728 0 0
}
// brush 8
{
( 484 -112 0 ) ( 516 -112 0 ) ( 516 -40 0 ) common/caulk 0 32 -180 0.500000 0.500000 134217728 0 0
( 512 -40 12 ) ( 512 -112 12 ) ( 480 -112 12 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 512 -96 -48 ) ( 480 -96 -48 ) ( 480 -96 -56 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
( 336 -112 16 ) ( 336 -112 0 ) ( 352 -96 0 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
( 528 -112 16 ) ( 528 -112 0 ) ( 368 -112 0 ) desert_sd/pavement_tris_sandy 0 -95 -180 0.500000 -0.499996 134217728 0 0
( 560 -112 0 ) ( 560 -112 16 ) ( 544 -96 16 ) common/caulk 0 0 -180 0.500000 -0.500000 134217728 4 0
}
// brush 9
{
( 412 80 24 ) ( 380 80 24 ) ( 380 8 24 ) common/caulk 0 -32 0 0.500000 0.500000 134217728 0 0
( 384 8 36 ) ( 384 80 36 ) ( 416 80 36 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 384 64 -24 ) ( 416 64 -24 ) ( 416 64 -32 ) common/caulk 0 48 0 0.500000 0.500000 134217728 4 0
( 528 80 40 ) ( 528 80 24 ) ( 512 64 24 ) common/caulk 0 48 0 0.500000 0.500000 134217728 4 0
( 368 80 40 ) ( 368 80 24 ) ( 528 80 24 ) desert_sd/pavement_tris_sandy 256 -48 0 0.500000 0.500000 134217728 0 0
( 368 80 24 ) ( 368 80 40 ) ( 384 64 40 ) common/caulk 0 48 0 0.500000 0.500000 134217728 4 0
}
// brush 10
{
( 368 -80 24 ) ( 368 -80 40 ) ( 384 -64 40 ) common/caulk 0 47 -180 0.500000 -0.500000 134217728 4 0
( 368 -80 40 ) ( 368 -80 24 ) ( 368 80 24 ) desert_sd/pavement_tris_sandy 128 -46 0 0.500000 0.500000 134217728 0 0
( 368 80 40 ) ( 368 80 24 ) ( 384 64 24 ) common/caulk 0 46 0 0.500000 0.500000 134217728 4 0
( 384 -64 -24 ) ( 384 -32 -24 ) ( 384 -32 -32 ) common/caulk 0 48 0 0.500000 0.500000 134217728 4 0
( 440 -64 36 ) ( 368 -64 36 ) ( 368 -32 36 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 368 -36 24 ) ( 368 -68 24 ) ( 440 -68 24 ) common/caulk 0 32 90 0.500000 0.500000 134217728 0 0
}
// brush 11
{
( 352 96 12 ) ( 352 96 28 ) ( 368 80 28 ) common/caulk 32 24 0 0.500000 0.500000 134217728 4 0
( 368 96 28 ) ( 368 96 12 ) ( 528 96 12 ) desert_sd/pavement_tris_sandy 256 -72 0 0.500000 0.500000 134217728 0 0
( 544 96 28 ) ( 544 96 12 ) ( 528 80 12 ) common/caulk 32 24 0 0.500000 0.500000 134217728 4 0
( 384 80 -36 ) ( 416 80 -36 ) ( 416 80 -44 ) common/caulk 0 24 0 0.500000 0.500000 134217728 4 0
( 384 24 24 ) ( 384 96 24 ) ( 416 96 24 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 412 96 12 ) ( 380 96 12 ) ( 380 24 12 ) common/caulk 0 0 0 0.500000 0.500000 134217728 0 0
}
// brush 12
{
( 352 -36 12 ) ( 352 -68 12 ) ( 424 -68 12 ) common/caulk 0 0 90 0.500000 0.500000 134217728 0 0
( 424 -64 24 ) ( 352 -64 24 ) ( 352 -32 24 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 368 -64 -36 ) ( 368 -32 -36 ) ( 368 -32 -44 ) common/caulk 0 24 0 0.500000 0.500000 134217728 4 0
( 352 96 28 ) ( 352 96 12 ) ( 368 80 12 ) common/caulk 32 22 0 0.500000 0.500000 134217728 4 0
( 352 -80 28 ) ( 352 -80 12 ) ( 352 80 12 ) desert_sd/pavement_tris_sandy 128 -70 0 0.500000 0.500000 134217728 0 0
( 352 -96 12 ) ( 352 -96 28 ) ( 368 -80 28 ) common/caulk -32 23 -180 0.500000 -0.500000 134217728 4 0
}
// brush 13
{
( 412 112 0 ) ( 380 112 0 ) ( 380 40 0 ) common/caulk 0 -32 0 0.500000 0.500000 134217728 0 0
( 384 40 12 ) ( 384 112 12 ) ( 416 112 12 ) desert_sd/floor_inside_1 128 0 0 0.500000 0.500000 134217728 0 0
( 384 96 -48 ) ( 416 96 -48 ) ( 416 96 -56 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
( 560 112 16 ) ( 560 112 0 ) ( 544 96 0 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
( 368 112 16 ) ( 368 112 0 ) ( 528 112 0 ) desert_sd/pavement_tris_sandy 256 -96 0 0.500000 0.500000 134217728 0 0
( 336 112 0 ) ( 336 112 16 ) ( 352 96 16 ) common/caulk 0 0 0 0.500000 0.500000 134217728 4 0
}
}
// entity 18
{
"classname" "info_player_start"
"origin" "0 432 24"
}

and the script ( ctf_test1.script )




game_manager
{
	spawn
	{
		wait 500			
		wm_set_round_timelimit	10	
		wm_axis_respawntime 	2
		wm_allied_respawntime	2
		wm_setwinner 0

		alertentity allied_flag	// reveal the flags to start with, setstate invisble and default
		alertentity axis_flag	// should work from here on.

		accum 1 set 0		// allies flag captured counter.
		accum 2 set 0		// axis flag captured counter.
	}

	trigger allies_captd		// update allies captured, just 4 flags for this test
	{
		accum 2 inc 1
		accum 2 trigger_if_equal 4 game_manager allies_win
	}

	trigger axis_captd		// update axis captured, just 4 flags for this test
	{
		accum 1 inc 1
		accum 1 trigger_if_equal 4 game_manager axis_win
	}

	trigger allies_win
	{
		wm_announce "Allies have Captured all 4 Flags!!!!"
		wm_setwinner 1	// allies win.
		wm_endround		// end game.
	}

	trigger axis_win
	{
		wm_announce "Axis have Captured all 4 Flags!!!!"
		wm_setwinner 0	// axis win.
		wm_endround		// end game.
	}

	trigger timelimit_hit	// who has more captures or if they broke even
	{
		wm_setwinner -1
		trigger game_manager parse_allies
		trigger game_manager parse_axis
		wm_announce "Both teams have Tied!!"
		wait 250
	}
}

//
// flag control as per madmaximus script...
//
allied_flag
{
	trigger stolen	// axis stole a flag
	{
		setstate allied_flag invisible		// hide the team_CTF_blueflag entity
		setstate allies_cap_flag invisible		// hide the allies trigger_flagonly_multiple in case the allies
	}								// have the axis flag, they can't cap it.

	trigger returned	// flag was dropped and timed out or an allied player touched it
	{
		setstate allied_flag default			// axis lost the flag, so setstate the team_CTF_blueflag and
		setstate allies_cap_flag default		// their trigger_flagonly_multiple back.
	}
}

axis_flag
{
	trigger stolen	
	{
		setstate axis_flag invisible
		setstate axis_cap_flag invisible
	}

	trigger returned
	{
		setstate axis_flag default
		setstate axis_cap_flag default
	}
}

allies_cap_flag   // allies have transported the axis flag and made it back to their flagpole.

{
   death
   {
		setstate axis_flag default		//  flag comes back minus 1 count,
		setstate axis_cap_flag default	// trigger_flagonly_multiple back also.
		wm_announce "the Allies have Captured the Flag!!!"
      	trigger game_manager allies_captd  // go update the allies flag captured counter.
   }
} 

axis_cap_flag

{
   death
   {
		setstate allied_flag default
		setstate allies_cap_flag default
		wm_announce "the Axis have Captured the Flag!!!"
		trigger game_manager axis_captd
   }
} 




(RayBan) #35

oops… sorry bout the double post…


(Flippy) #36

now THAT’s a double post :clap:

anyway, ill try it right away! :slight_smile: hope it works… it’s a lot easier than my monster :stuck_out_tongue:


(Flippy) #37

wow it worked :smiley:

thnx!!

but i still cant figure out why mine didnt work… i had like exactly the same?! and i could only capture one flag, then they didnt capture anymore…

ah well…


(RayBan) #38

just needs some decent flag models, you could ask loffy for use of his or make your own.


(Loffy) #39

The flags in “Loffys CTF Prefab” are made by some other guy called Topsun, and I am sure he doesnt mind if you want to use them too. Just thank him the way I thanked him in my ReadMe for my map (that is all he wanted when I communicated with him) and I am sure it will be OK.
Cool testmap Rayban!
//L.


(Flippy) #40

can’t you use the flag models used by the game as flags? :stuck_out_tongue:

or can you only use static models… i like the waving flags, the flags in loffy’s map are cool but they look like wood :stuck_out_tongue: