Conquer Club

Adding Tags

Topics that are not maps. Discuss general map making concepts, techniques, contests, etc, here.

Moderator: Cartographers

Forum rules
Please read the Community Guidelines before posting.

Adding Tags

Postby skeeta on Wed Dec 29, 2010 8:11 pm

OK, I'm starting to get to grips with how xml works now and yeah, it does make sense. I was wondering though, who writes the code that we slot the xml into and are they able to add different tags if they feel it would help the game?

More specifically I can see a case for including killers that aren't neutral. IE
Instead of...
<neutral killer="yes">10</neutral>

you could use...
<killer="yes">1</occupier>

I think that should keep the territory in the hands of the holding player but reduce his troop count to 1. If that tag wouldn't do that it doesn't matter, it's the effect of a tag like that I think would be useful.
User avatar
Private 1st Class skeeta
 
Posts: 120
Joined: Wed Feb 25, 2009 8:47 pm
Location: Lichfield UK

Re: Adding Tags

Postby TaCktiX on Wed Dec 29, 2010 11:44 pm

The XML for CC maps is fixed as is. Lack's game engine takes the XML fed by the map and translates it into something that the engine can use. Typically the mapmaker or someone the mapmaker asks writes the XML. That, and XML tags are universally <start>have to have same name to end</start>.

As for the suggestion of a large decay, you can already implement this by having a very large number for the territory's autodeploy/decay tag. No matter how high the decay, it will only reduce a territory's army count to 1, and have the occupier still in possession of the territory.
User avatar
Corporal 1st Class TaCktiX
 
Posts: 2392
Joined: Mon Dec 17, 2007 8:24 pm
Location: Rapid City, SD

Re: Adding Tags

Postby skeeta on Thu Dec 30, 2010 8:35 am

Oh cool. I didn't realise that. So if I have them decay by 10,000 that basically drop them to a singleton? :)
So what about if I want to decay to nothing? IE, have a red occupied territory reduce by X amount of reds each time until it no longer contains X reds at which point it goes neutral. Possible?
User avatar
Private 1st Class skeeta
 
Posts: 120
Joined: Wed Feb 25, 2009 8:47 pm
Location: Lichfield UK

Re: Adding Tags

Postby TaCktiX on Fri Dec 31, 2010 2:45 am

Been suggested for XML addition before, but hasn't been implemented yet.
User avatar
Corporal 1st Class TaCktiX
 
Posts: 2392
Joined: Mon Dec 17, 2007 8:24 pm
Location: Rapid City, SD


Return to Foundry Discussions

Who is online

Users browsing this forum: No registered users