Conquer Club

[XML] Decay to Neutral

Have any bright ideas? Share and discuss them with the community

Moderator: Community Team

Forum rules
Please read the Community Guidelines before posting.

And don't forget to search for previously suggested ideas first!

[XML] Decay to Neutral

Postby -=- Tanarri -=- on Sun Sep 22, 2013 6:58 pm

Concise description:
  • Add the XML code to allow a player controlled region with negative bonus to decay to neutral instead of remaining at 1 of the player's colour when they would get to 0.

Specifics/Details:
  • Logically speaking, it only makes sense that if you don't have enough troops to cover the decay cost, that all your troops would be dead and hence the territory should revert to neutral 1
  • It may be interesting to allow the map maker the ability to choose what neutral value the territory resets to if it hits 0 troops
  • Another way of handling it could be to take the number of troops away from the decay amount and have that as the neutral value... so 2 troops on a 5 decay spot would result in neutral 3

How this will benefit the site and/or other comments:
  • Just makes more sense and adds another map making tool.

(Mod edited for clarity)
User avatar
Captain -=- Tanarri -=-
 
Posts: 884
Joined: Wed Jul 08, 2009 2:02 pm
Location: The Underworld

Re: [XML] Decay to Neutral

Postby spiesr on Wed Sep 25, 2013 10:55 pm

An interesting extension of this idea would be for the now neutral territory to gain more troops each round according to its decay rate, presumably up to some cap. That would thematically fit with this idea, although coding wise it would be pretty different.
User avatar
Captain spiesr
 
Posts: 2809
Joined: Mon May 08, 2006 10:52 am
Location: South Dakota

Re: [XML] Decay to Neutral

Postby koontz1973 on Thu Sep 26, 2013 12:12 am

spiesr wrote:An interesting extension of this idea would be for the now neutral territory to gain more troops each round according to its decay rate, presumably up to some cap. That would thematically fit with this idea, although coding wise it would be pretty different.

Can be done now as a bonus but without the cap. So a decay of 2 could reasonable give a bonus of 1 or 2 somewhere else.
Image
User avatar
Lieutenant koontz1973
 
Posts: 6960
Joined: Thu Jan 01, 2009 10:57 am

Re: [XML] Decay to Neutral

Postby JamesKer1 on Tue Nov 26, 2013 12:29 am

SUBMITTED
Join CrossMapAHolics!

Stephan Wayne wrote:Every day is Fool's Day on CC.




A new era of monthly challenges has begun...
User avatar
Private JamesKer1
 
Posts: 1338
Joined: Fri Jun 24, 2011 9:47 am
Location: Good ol' Kentucky

Re: [XML] Decay to Neutral

Postby thenobodies80 on Tue Nov 26, 2013 10:33 am

Apart a not clear description in the OP, I fully support this suggestion. Bravo Tanarri! =D>

Please a mod can change the OP from:

Add the XML code to allow neutrals to decay to neutral instead of remaining at 1 of the player's colour when they get to 0 or less


to:

Add the XML code to allow a player controlled region with negative bonus(decay) to decay to neutral instead of remaining at 1 of the player's colour when they get to 0.


I'm not sure if it's a good thing to think to add now an additional option that allow to set the number of neutral when the region reverts....

However, as it is now it looks essentially add an option like revert="yes" to the territory bonus tag. doing so the game knows that if the troop value (k) is k<1 it needs to revert to neutral 3 (fixed value if we don't add additional info)

Example:

Code: Select all
<territory>
...
<bonus revert="yes">-1</bonus>
...
</territory>


With the above, the region has a -1 per turn decay. If you control it at the start of your turn and you have there just 1 troops you will lose that regions in favour of 3 neutral troops. With 2+ troops, you just find yourself with 1 troops less than the previous turn when you click start.

Ah, obviously the revert (or what ever it will be) option is NOT mandatory for backward compatibility.
User avatar
Sergeant 1st Class thenobodies80
 
Posts: 5399
Joined: Wed Sep 05, 2007 4:30 am
Location: Milan

Re: [XML] Decay to Neutral

Postby Metsfanmax on Tue Nov 26, 2013 10:41 am

OK, I edited to make it a little more clear. I'll let bW decide how he wants to handle the technical aspect.
User avatar
Sergeant 1st Class Metsfanmax
 
Posts: 6719
Joined: Wed Apr 11, 2007 11:01 pm


Return to Suggestions

Who is online

Users browsing this forum: No registered users

cron