DSD Capture The Flag v3

DSD Capture The Flag v3

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

DSD Capture The Flag v3

Post by TheFatController »

Just a friday night project ending in a mostly working release

Rules:
Two Flags, Two Zones

You can't build outside your zone, units can travel outside it.

You must capture the enemies flag and return it to your flag to score.

You can enter the enemies zone only if your flag is inside it.

First to score a set number of points (see Map Options) wins the match.

Should work with any mod.

Image

Outstanding:
- No GUI for points, all notifications are currently delivered via messages in the Console.

Give it a try and let me know what you think:
http://www.springfiles.com/show_file.php?id=2425
Last edited by TheFatController on 20 Dec 2009, 01:06, edited 3 times in total.
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: DSD Capture The Flag v1

Post by Jazcash »

Yay, moar DSD!
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: DSD Capture The Flag v1

Post by TheFatController »

v2:
- Added a CEG when a team scores.
- Can't build messages no longer sent to everyone.
- Fixed issue with blue team not being able to capture.
- Added ability to enter enemies zone when they have your flag inside it.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: DSD Capture The Flag v2

Post by smoth »

Very cool FTC, mind if I add it to grts someday(with modification?)
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: DSD Capture The Flag v2

Post by TheFatController »

Sure I don't mind, it doesn't actually play very well on BA (our 2v2 game was incredibly porcy and ended at 47 minutes with 3 krogoths clearing the last flag point).

I am going to consider ways this can be improved such as moving the flags closer together or adding an optional timer countdown etc but all this kind of stuff can be customised anyway.

Important thing at the moment is that the mechanics for capturing / scoring etc seem to work fine (no lua errors in sight in our game).
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: DSD Capture The Flag v3

Post by TheFatController »

v3:
- Added map option "No Sim City" where you can specify a time limit since the last score where no more economy structures are allowed to be built until someone scores a point.
- Added a few minor effects.
- Improved how units are kicked out of the enemies zone.
- Moved flags a little closer together.
- Other little things.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: DSD Capture The Flag v3

Post by REVENGE »

FYI, I wrote a gadget for this that was released as a BA mutator. Allows you to customize pretty much everything, including flag locations on maps, etc.
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Re: DSD Capture The Flag v3

Post by Warlord Zsinj »

*bags TFC in a net and drags him back to IW
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: DSD Capture The Flag v3

Post by Beherith »

I like this, hope someone hosts it :)
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: DSD Capture The Flag v3

Post by MidKnight »

Awesome!
Stolen for CA modoption in 3... 2... 1...
MadrMan
Posts: 12
Joined: 17 Jan 2009, 20:13

Re: DSD Capture The Flag v3

Post by MadrMan »

It crashes on ATI cards in the driver somewhere, for both me on a HD4850 with catalyst 9.12 and [EPIC]PWnagePower on HD5850 with catalyst 9.11

Stack trace if it helps anything:
[ 1] Spring 0.80.5.2 (0.80.5.2-0-g67e2f5b{@}-cmake-mingw32) has crashed.
[ 1] Exception: Integer divide by zero (0xc0000094)
[ 1] Exception Address: 0x695a4415

[ 1] Stacktrace:
[ 1] (0) E:\Windows\system32\atioglxx.dll(atiPPHSN+0x4a5185) [0x695A4415]
[ 1] (1) Unknown [0x05A12F98]
[ 1] (2) E:\Windows\system32\atioglxx.dll(atiPPHSN+0x47c530) [0x6957B7C0]
[ 1] (3) E:\Windows\system32\atioglxx.dll(atiPPHSN+0x499010) [0x695982A0]
[ 1] (4) E:\Windows\system32\atioglxx.dll(atiPS+0x442a94) [0x69B58BC4]
[ 1] (5) E:\Windows\system32\atioglxx.dll(atiPPHSN+0x49ae00) [0x6959A090]

Edit:
Ran it with spring on debug mode and it crashes in the code where it updates the height map. seems something is giving it coordinates <0, its easily fixed in the spring code but you're probably doing something wrong in your lua code. (its a miracle it doesn't seem to crash on nvidia cards!)
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: DSD Capture The Flag v3

Post by TheFatController »

It doesn't crash on Nvidia cards which is why I didn't find it :p it's pretty impossible for me to debug however if you check out the unsynced part there's really minimal drawing going on so if anyone with ATI wants to have a look that'd be great.
tchiseen
Posts: 3
Joined: 20 Dec 2009, 14:22

Re: DSD Capture The Flag v3

Post by tchiseen »

I'm a big fan of this CTF mapmod, and it's now hosted on the KoS Random Maps server.

My only gripe is the DSD map only really allows for 4v4. It's not your fault at all, it's just the way it turned out. I'm not sure how hard it'd be to convert another different map to CTF, but I'm curious if this is something you've considered in the future?
Keep up the amazing work.
MadrMan
Posts: 12
Joined: 17 Jan 2009, 20:13

Re: DSD Capture The Flag v3

Post by MadrMan »

Just for kicks i edited the spring exe as a fix:
http://cloud.github.com/downloads/MadrM ... atifix.zip

I haven't actually tested it yet but it should work :roll:

People who compile from source should open rts/Map/SMF/SMFReadMap.cpp and scroll down to line 172 and make sure it looks like:

Code: Select all

	
int xsize=x2-x1;
int ysize=y2-y1;

if(!(xsize > 0 && ysize > 0)) return;

unsigned char* tempMem=new unsigned char[xsize*ysize*4];
If anyone feels like making a proper patch out of it go ahead, i made a patch for head here (wont work on release): http://github.com/MadrMan/spring/commit ... 9a38709701

Ofcourse, you could also just fix the map (no idea how though, never did any map coding) but it looks like you're trying to draw squares of 0x0 on the heightmap.. so good luck with that :lol:
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: DSD Capture The Flag v3

Post by TheFatController »

MadrMan wrote:Ofcourse, you could also just fix the map (no idea how though, never did any map coding) but it looks like you're trying to draw squares of 0x0 on the heightmap.. so good luck with that :lol:
Hmm well it is using the gl.DrawGroundQuad call from 0,0 for the blue box so that's probably it, i'll fix that in v4 this evening.
tchiseen wrote:I'm a big fan of this CTF mapmod, and it's now hosted on the KoS Random Maps server.

My only gripe is the DSD map only really allows for 4v4. It's not your fault at all, it's just the way it turned out. I'm not sure how hard it'd be to convert another different map to CTF, but I'm curious if this is something you've considered in the future?
Keep up the amazing work.
Thanks for the feedback 8) it would be extremely easy to port into other maps, I chose DSD cause of its popularity not necessarily cause it's the best CTF map.

I'll add the option to let you turn it on and off then any map maker could potentially configure the positions and add it to a map with default off to give their map an optional CTF mode.

If anyone can suggest any existing maps that'd play better i'd be interested too.
User avatar
JohannesH
Posts: 1793
Joined: 07 Apr 2009, 12:43

Re: DSD Capture The Flag v3

Post by JohannesH »

The restriction to enter enemy zone seems a bad concept. Just staying back, defending and ecoing seems like the best option.

Realistically going for the enemy flag puts you behind economically, which makes scoring further points harder.
And shutting down econ building after 5 mins without capture probably just helps the one who made more econ before that point, if they have enough defense to fend off attack at that point. Then they can grow their army faster than their opponent, for as long as they please. Or well, when you cant scout its a bit risky.

And nukes :D

Its a nice idea but some things probably need tweaking ^^
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: DSD Capture The Flag v3

Post by Pxtl »

Without a restriction against entering enemy zone, nobody would care about the flag.

edit: again, Spring needs non-exclusive mutators like Unreal Tournament had. This could be bolted onto any Game or Map... but it will have to arbitrarily be bolted onto one or the other as a gameoption or mapoption, when rightfully it should be an add-on mutator to be applied to any game/map combination.
User avatar
JohannesH
Posts: 1793
Joined: 07 Apr 2009, 12:43

Re: DSD Capture The Flag v3

Post by JohannesH »

Pxtl wrote:Without a restriction against entering enemy zone, nobody would care about the flag.
Meh if nobody cares about the flag I'll just grab it & win...
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: DSD Capture The Flag v3

Post by knorke »

if you can make it so it works on all maps and maybe the flag positions is defined by special startboxes (like koth mod) then this might be fun.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: DSD Capture The Flag v3

Post by Forboding Angel »

Post Reply

Return to “Map Creation”