Conquer Club

XML Question - Killer Neutrals

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.

XML Question - Killer Neutrals

Postby natty dread on Fri Dec 11, 2009 5:58 pm

If you put a bonus on a single territory which is also a killer neutral, then do you get the bonus if you hold that territory, even though your troops get destroyed by the killer neutral?

I guess it depends on which comes first, killer N or troop bonus calculation?
Last edited by MrBenn on Tue Dec 15, 2009 6:08 pm, edited 1 time in total.
Reason: edited title
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 12877
Joined: Fri Feb 08, 2008 8:58 pm
Location: just plain fucked

Re: XML Question

Postby captainwalrus on Fri Dec 11, 2009 6:12 pm

killer neutral comes first, I am 99% sure.
~ CaptainWalrus
User avatar
Private 1st Class captainwalrus
 
Posts: 1018
Joined: Sun Nov 11, 2007 3:19 pm
Location: Finnmark

Re: XML Question

Postby the.killing.44 on Fri Dec 11, 2009 6:20 pm

captainwalrus wrote:killer neutral comes first, I am 99% sure.

Ja. No bonus.
User avatar
Captain the.killing.44
 
Posts: 4724
Joined: Thu Oct 23, 2008 7:43 pm
Location: now tell me what got two gums and knows how to spit rhymes

Re: XML Question

Postby yeti_c on Fri Dec 11, 2009 6:20 pm

It doesn't really matter - it's pretty immaterial.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: XML Question

Postby natty dread on Fri Dec 11, 2009 6:45 pm

What a shame. If it had been the other way around I could have thought use for the feature in a map I'm planning.

Oh well back to the imaginary drawingboard in my head.
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 12877
Joined: Fri Feb 08, 2008 8:58 pm
Location: just plain fucked

Re: XML Question - Killer Neutrals

Postby theBastard on Sun Feb 28, 2010 1:04 pm

1, is possible to set how much turns can hold player Killer Neutral region, so when Neutral region became again Neutral?
2, and is possible to do that if player holds XY (castle) than Killer Neutrals does not became Neutral?
User avatar
Corporal 1st Class theBastard
 
Posts: 994
Joined: Sat Jan 09, 2010 9:05 am

Re: XML Question - Killer Neutrals

Postby the.killing.44 on Sun Feb 28, 2010 1:29 pm

No and no.
User avatar
Captain the.killing.44
 
Posts: 4724
Joined: Thu Oct 23, 2008 7:43 pm
Location: now tell me what got two gums and knows how to spit rhymes

Re: XML Question - Killer Neutrals

Postby theBastard on Sun Feb 28, 2010 1:39 pm

thanks.
User avatar
Corporal 1st Class theBastard
 
Posts: 994
Joined: Sat Jan 09, 2010 9:05 am

Re: XML Question - Killer Neutrals

Postby theBastard on Sat Mar 20, 2010 3:42 am

1, could I set killer neutrals as starting positions? so at the start of game, during the first turn, players will have troops there and could attack regular regions and moving (advance) the troops? after the first round will killer neutrals became realy killer neutrals?

2, could I have in the map two-three types of killer neutrals? one with 1 army, second with 2 armies?
User avatar
Corporal 1st Class theBastard
 
Posts: 994
Joined: Sat Jan 09, 2010 9:05 am

Re: XML Question - Killer Neutrals

Postby MrBenn on Sat Mar 20, 2010 6:34 am

1 - I'm not too sure what would happen if a killer neutral were coded as a starting position, but I imagine that the territory would revert to neutral prior to any deployment/attacking as happens per usual.

2 - Yes, it is possible to have killer neutrals with different neutral values, but it is not currently possible to adjust the amount they revert to (ie a killer-neutral-2 will always revert to 2, whereas a killer-neutral-60 will always revert to 60).
Image
PB: 2661 | He's blue... If he were green he would die | No mod would be stupid enough to do that
User avatar
Lieutenant MrBenn
 
Posts: 6880
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty

Re: XML Question - Killer Neutrals

Postby theBastard on Sat Mar 20, 2010 8:49 am

so, it maybe should be possible to code killer neutrats as starting positions. logicaly, player who conquered killer neutral holds it to the end of round/start of the new round. I do not know how codding works, but when killer neutrals will be starting positions game could "works" as they were conquered as during the game, I think...
User avatar
Corporal 1st Class theBastard
 
Posts: 994
Joined: Sat Jan 09, 2010 9:05 am

Re: XML Question - Killer Neutrals

Postby thenobodies80 on Sat Mar 20, 2010 11:00 am

Yes it's possible, but it doesn't have so much sense. :?
Killer neutrals are the first thing listed in the game log, it means that is the first thing that happens when you start your turn.

e.g. : Game 2485245 , round 20

show: game log


Then, in an hypothetical map in the first round all the starting positions (always assigned to player except if there's a reminder) will revert to neutral immediately,. So why not to code them directly neutrals from the start?
The worst result (and the funniest ) is in an hypothetical conquest style map where each player starts with a single starting neutral killer position....the last player who plays his fisrt turn wins the game without having ever played. :lol:
User avatar
Sergeant 1st Class thenobodies80
 
Posts: 5400
Joined: Wed Sep 05, 2007 4:30 am
Location: Milan

Re: XML Question - Killer Neutrals

Postby theBastard on Sat Mar 20, 2010 12:06 pm

now I understand. and also know how to do quick game :lol:
thanks.
User avatar
Corporal 1st Class theBastard
 
Posts: 994
Joined: Sat Jan 09, 2010 9:05 am

Re: XML Question - Killer Neutrals

Postby TaCktiX on Sat Mar 20, 2010 12:09 pm

thenobodies80 wrote:The worst result (and the funniest ) is in an hypothetical conquest style map where each player starts with a single starting neutral killer position....the last player who plays his fisrt turn wins the game without having ever played. :lol:

That actually happened in a Battle Royale game of Arms Race. Literally, the last person to start his turn won the game. Due to a weird conflict with BR mechanics and the setup of Arms Race, everyone started with zero territories.

EDIT: This is the game, game log is priceless. Game 3960030
User avatar
Corporal 1st Class TaCktiX
 
Posts: 2392
Joined: Mon Dec 17, 2007 8:24 pm
Location: Rapid City, SD

Re: XML Question - Killer Neutrals

Postby yeti_c on Sun Mar 21, 2010 4:58 pm

Actually - I remember considering making a map where this feature was used... basically the territory would be hidden by being off of the map - and it could bombard every territory on the map... so - you started off seeing the entire board - but once you press the Begin Turn button it died... this would be particuarly cool with FOW on...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: XML Question - Killer Neutrals

Postby Evil DIMwit on Sun Mar 28, 2010 3:38 pm

yeti_c wrote:Actually - I remember considering making a map where this feature was used... basically the territory would be hidden by being off of the map - and it could bombard every territory on the map... so - you started off seeing the entire board - but once you press the Begin Turn button it died... this would be particuarly cool with FOW on...

C.


That would be pretty awesome. It would also probably cause frustration with people who didn't read the directions.
ImageImage
User avatar
Captain Evil DIMwit
 
Posts: 1616
Joined: Thu Mar 22, 2007 1:47 pm
Location: Philadelphia, NJ

Re: XML Question - Killer Neutrals

Postby yeti_c on Mon Mar 29, 2010 1:25 pm

Evil DIMwit wrote:
yeti_c wrote:Actually - I remember considering making a map where this feature was used... basically the territory would be hidden by being off of the map - and it could bombard every territory on the map... so - you started off seeing the entire board - but once you press the Begin Turn button it died... this would be particuarly cool with FOW on...

C.


That would be pretty awesome. It would also probably cause frustration with people who didn't read the directions.


Double agreement...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: XML Question - Killer Neutrals

Postby cairnswk on Fri Apr 02, 2010 5:22 pm

yeti C....

in the xml tutorial you wrote, can you place a highlight/header in the first section where it mentions killer neutrals, because as it is now, you have to go searching through the text to find the reference (other features are highlighted)

and also,

can you clarify with an explanation (in the tutorial) as to whether killer neutrals revert a territory to neutral after a per player turn basis, or after a per game round basis.

That would be awesome if you could please ;)
Image
* Pearl Harbour * Waterloo * Forbidden City * Jamaica * Pot Mosbi
User avatar
Private cairnswk
 
Posts: 11510
Joined: Sat Feb 03, 2007 8:32 pm
Location: Australia

Re: XML Question - Killer Neutrals

Postby natty dread on Fri Apr 02, 2010 5:28 pm

I believe all killer neutrals revert to neutral if you hold them at the beginning of your turn.
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 12877
Joined: Fri Feb 08, 2008 8:58 pm
Location: just plain fucked

Re: XML Question - Killer Neutrals

Postby MrBenn on Fri Apr 02, 2010 5:40 pm

cairnswk wrote:yeti C....

in the xml tutorial you wrote, can you place a highlight/header in the first section where it mentions killer neutrals, because as it is now, you have to go searching through the text to find the reference (other features are highlighted)

and also,

can you clarify with an explanation (in the tutorial) as to whether killer neutrals revert a territory to neutral after a per player turn basis, or after a per game round basis.

That would be awesome if you could please ;)

I've done that, and added in a heading for Autodeploy and Starting Neutrals. I've also updated the tutorial with the amended XML for objectives.
Image
PB: 2661 | He's blue... If he were green he would die | No mod would be stupid enough to do that
User avatar
Lieutenant MrBenn
 
Posts: 6880
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty

Re: XML Question - Killer Neutrals

Postby cairnswk on Fri Apr 02, 2010 5:47 pm

MrBenn wrote:...
I've done that, and added in a heading for Autodeploy and Starting Neutrals. I've also updated the tutorial with the amended XML for objectives.

Thanks MrBenn :)

But the explanation it still confusing...sorry if i am dumb :?
Killer Neutrals

If you want you can make these neutrals come back after someone takes the territory. We call these killer neutrals, which revert to neutral at the beginning of the occupying players turn. To make Alberta a killer neutral so that it goes back to being 10 after someone takes it you just change the neutral tag like so:


"which revert to neutral at the beginning of the occupying players turn"
this means that if i take a killer neutral territory (AA in Das Schloß is becoming one in the new adjustments), and no-one else takes within the scope of the next round, then upon my next turn, it reverts to neutral.

However...if i take the territory and then someelse takes it from me, then it won't revert to neutral until the end of that player's turn.

Question: is there a situation where a killer neutral territory will revert to neutral at the start of the next game round?
Is that coded anywhere?
Image
* Pearl Harbour * Waterloo * Forbidden City * Jamaica * Pot Mosbi
User avatar
Private cairnswk
 
Posts: 11510
Joined: Sat Feb 03, 2007 8:32 pm
Location: Australia

Re: XML Question - Killer Neutrals

Postby TaCktiX on Fri Apr 02, 2010 11:12 pm

Negative on that, ghostrider.
User avatar
Corporal 1st Class TaCktiX
 
Posts: 2392
Joined: Mon Dec 17, 2007 8:24 pm
Location: Rapid City, SD

Re: XML Question - Killer Neutrals

Postby MrBenn on Sat Apr 03, 2010 2:39 am

cairnswk wrote:
MrBenn wrote:...
I've done that, and added in a heading for Autodeploy and Starting Neutrals. I've also updated the tutorial with the amended XML for objectives.

Thanks MrBenn :)

But the explanation it still confusing...sorry if i am dumb :?
Killer Neutrals

If you want you can make these neutrals come back after someone takes the territory. We call these killer neutrals, which revert to neutral at the beginning of the occupying players turn. To make Alberta a killer neutral so that it goes back to being 10 after someone takes it you just change the neutral tag like so:


"which revert to neutral at the beginning of the occupying players turn"
this means that if i take a killer neutral territory (AA in Das Schloß is becoming one in the new adjustments), and no-one else takes within the scope of the next round, then upon my next turn, it reverts to neutral.

However...if i take the territory and then someelse takes it from me, then it won't revert to neutral until the end of that player's turn.

Question: is there a situation where a killer neutral territory will revert to neutral at the start of the next game round?
Is that coded anywhere?

To answer the first part of your question, is that the territory will revert to neutral at the beginning of the turn of whoever is occupying it. If player A takes it, and nobody takes it from them, it will revert to neutral at the beginning of player A's next turn. If player B takes it from player A, then the same logic applies, and if nobody else take the territory it will return to neutral at the beginning of player B's turn.

The second part of your question is that no "events" currently take place at the end of a round - all of the game engine activity takes place when somebody clicks the "Begin Turn" button.
Image
PB: 2661 | He's blue... If he were green he would die | No mod would be stupid enough to do that
User avatar
Lieutenant MrBenn
 
Posts: 6880
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty

Re: XML Question - Killer Neutrals

Postby MarshalNey on Sat Apr 03, 2010 10:06 pm

MrBenn wrote:The second part of your question is that no "events" currently take place at the end of a round - all of the game engine activity takes place when somebody clicks the "Begin Turn" button


Which can be a little unfortunate with regards to killer neutrals, especially when someone is a bit illogical and then deadbeats.

This happened in Das Schloss, for instance. An admittedly confused player attacked the entry point (a killer neutral level 2) and left something like 6 troops there. Naturally, the rest of us waited for the killer neutral to reduce that number down to 2. But, as luck would have it, that player missed his next turn, delaying everything for yet another round.

It's then that I realized that a "killer" neutral could actually take up to 4 turns to reset, even if nobody attacked it!
User avatar
Captain MarshalNey
 
Posts: 781
Joined: Mon Sep 28, 2009 9:02 pm
Location: St. Louis, MO

Re: XML Question - Killer Neutrals

Postby Evil DIMwit on Tue May 18, 2010 9:29 am

So killer neutral calculation comes before bonuses. Does it come before victory conditions? Because if not, there's some gameplay potential there.
ImageImage
User avatar
Captain Evil DIMwit
 
Posts: 1616
Joined: Thu Mar 22, 2007 1:47 pm
Location: Philadelphia, NJ

Next

Return to Foundry Discussions

Who is online

Users browsing this forum: No registered users