Page 1 of 1
Simple questions go here...
Posted: Thu Oct 02, 2008 2:53 pm
by Neoteny
It's hard to decide where to put these simple single questions when you're first gauging your ability to artistically contribute to map-making. So here's a thread that screams "noob questions."
I've looked over the XML tutorial and don't see anything about the possibility of doing the following, but I figured I'd ask to see if anyone has any ideas as to how to make this work, or suggestions of something that might:
Is there a way to auto-deploy an amount relative to the number of armies already on a territory?
As an example, I might want my code to double the armies on a territory. I have 4 armies on territory X, and at the beginning of a turn, 4 armies are auto-deployed. Or if I have 5, five armies will be auto-deployed. If we can't make this work, are there any other ideas that could be similar?
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 3:01 pm
by InkL0sed
Can't do it. Math and XML don't mix.
Math is like "Hi," and XML is like "Bitch get outta my face!"
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 3:04 pm
by Neoteny
InkL0sed wrote:Can't do it. Math and XML don't mix.
Math is like "Hi," and XML is like "Bitch get outta my face!"
Shit. I was afraid of that. Wtf kind of code doesn't do math? I guess I'll try to work something else out then. Any ideas will, of course, be appreciated.
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 3:04 pm
by yeti_c
Multipliers aren't possible in the XML...
I believe they were asked for in the XML suggs topic - but were rejected.
C.
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 3:10 pm
by ZeakCytho
Neoteny wrote: Wtf kind of code doesn't do math?
XML is a markup language, not a real code

Re: Simple questions go here...
Posted: Thu Oct 02, 2008 3:33 pm
by yeti_c
ZeakCytho wrote:Neoteny wrote: Wtf kind of code doesn't do math?
XML is a markup language, not a real code

Exactly right.
C.
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 3:41 pm
by Neoteny
Sad day.
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 4:03 pm
by cairnswk
yeti_c wrote:ZeakCytho wrote:Neoteny wrote: Wtf kind of code doesn't do math?
XML is a markup language, not a real code

Exactly right.
C.
then i ask the question, why aren't we using real code?
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 4:05 pm
by yeti_c
cairnswk wrote:yeti_c wrote:ZeakCytho wrote:Neoteny wrote: Wtf kind of code doesn't do math?
XML is a markup language, not a real code

Exactly right.
C.
then i ask the question, why aren't we using real code?
Cos then you would need a real coder to program your maps...
Lack is using almost a proper code to run the game engine.
C.
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 4:07 pm
by Neoteny
It seems to be much easier on amateurs like me. Now we just have to be more creative to get around the limitations...
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 5:17 pm
by InkL0sed
InkL0sed wrote:Can't do it. Math and XML don't mix.
Math is like "Hi," and XML is like "Bitch get outta my face!"
Is nobody else laughing at this post?
I keep giggling at it.
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 5:26 pm
by Frop
InkL0sed wrote:InkL0sed wrote:Can't do it. Math and XML don't mix.
Math is like "Hi," and XML is like "Bitch get outta my face!"
Is nobody else laughing at this post?
I keep giggling at it.
It's absolutely hilarious.
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 9:47 pm
by wcaclimbing
Neoteny wrote:
As an example, I might want my code to double the armies on a territory. I have 4 armies on territory X, and at the beginning of a turn, 4 armies are auto-deployed. Or if I have 5, five armies will be auto-deployed. If we can't make this work, are there any other ideas that could be similar?
Exponential growth + lots of turns = millions of armies
That'd be fun.
If you started with three armies, which would double every turn, you would have over 1.5 MILLION armies by the end of round 19....

Re: Simple questions go here...
Posted: Thu Oct 02, 2008 9:53 pm
by Neoteny
wcaclimbing wrote:Neoteny wrote:
As an example, I might want my code to double the armies on a territory. I have 4 armies on territory X, and at the beginning of a turn, 4 armies are auto-deployed. Or if I have 5, five armies will be auto-deployed. If we can't make this work, are there any other ideas that could be similar?
Exponential growth + lots of turns = millions of armies
That'd be fun.
If you started with three armies, which would double every turn, you would have over 1.5 MILLION armies by the end of round 19....

That's what I'm talking about! Of course, so would everyone else... If it were possible, a cap would probably be necessary. Alas...
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 10:31 pm
by benny profane
InkL0sed wrote:InkL0sed wrote:Can't do it. Math and XML don't mix.
Math is like "Hi," and XML is like "Bitch get outta my face!"
Is nobody else laughing at this post?
I keep giggling at it.
Don't worry dude, it made me laugh out loud.
Re: Simple questions go here...
Posted: Thu Oct 02, 2008 11:32 pm
by yeti_c
InkL0sed wrote:InkL0sed wrote:Can't do it. Math and XML don't mix.
Math is like "Hi," and XML is like "Bitch get outta my face!"
Is nobody else laughing at this post?
I keep giggling at it.
It *was* funny - until you quoted it.
C.