Simple questions go here...

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.
Post Reply
User avatar
Neoteny
Posts: 3396
Joined: Tue Sep 18, 2007 10:24 pm
Gender: Male
Location: Atlanta, Georgia

Simple questions go here...

Post 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?
Napoleon Ier wrote:You people need to grow up to be honest.
User avatar
InkL0sed
Posts: 2370
Joined: Sat Jun 23, 2007 4:06 pm
Gender: Male
Location: underwater
Contact:

Re: Simple questions go here...

Post 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!"
User avatar
Neoteny
Posts: 3396
Joined: Tue Sep 18, 2007 10:24 pm
Gender: Male
Location: Atlanta, Georgia

Re: Simple questions go here...

Post 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.
Napoleon Ier wrote:You people need to grow up to be honest.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: Simple questions go here...

Post 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.
Image
Highest score : 2297
User avatar
ZeakCytho
Posts: 1251
Joined: Wed Sep 12, 2007 4:36 pm

Re: Simple questions go here...

Post by ZeakCytho »

Neoteny wrote: Wtf kind of code doesn't do math?
XML is a markup language, not a real code ;)
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: Simple questions go here...

Post 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.
Image
Highest score : 2297
User avatar
Neoteny
Posts: 3396
Joined: Tue Sep 18, 2007 10:24 pm
Gender: Male
Location: Atlanta, Georgia

Re: Simple questions go here...

Post by Neoteny »

Sad day.
Napoleon Ier wrote:You people need to grow up to be honest.
User avatar
cairnswk
Posts: 11510
Joined: Sat Feb 03, 2007 8:32 pm
Gender: Male
Location: Australia

Re: Simple questions go here...

Post 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?
Image
* Pearl Harbour * Waterloo * Forbidden City * Jamaica * Pot Mosbi
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: Simple questions go here...

Post 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.
Image
Highest score : 2297
User avatar
Neoteny
Posts: 3396
Joined: Tue Sep 18, 2007 10:24 pm
Gender: Male
Location: Atlanta, Georgia

Re: Simple questions go here...

Post 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...
Napoleon Ier wrote:You people need to grow up to be honest.
User avatar
InkL0sed
Posts: 2370
Joined: Sat Jun 23, 2007 4:06 pm
Gender: Male
Location: underwater
Contact:

Re: Simple questions go here...

Post 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.
User avatar
Frop
Posts: 1201
Joined: Thu May 10, 2007 3:02 pm

Re: Simple questions go here...

Post 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.
User avatar
wcaclimbing
Posts: 5598
Joined: Fri May 12, 2006 10:09 pm
Location: In your quantum box....Maybe.
Contact:

Re: Simple questions go here...

Post 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.... :twisted:
Image
User avatar
Neoteny
Posts: 3396
Joined: Tue Sep 18, 2007 10:24 pm
Gender: Male
Location: Atlanta, Georgia

Re: Simple questions go here...

Post 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.... :twisted:
That's what I'm talking about! Of course, so would everyone else... If it were possible, a cap would probably be necessary. Alas...
Napoleon Ier wrote:You people need to grow up to be honest.
User avatar
benny profane
Posts: 248
Joined: Sat Jun 16, 2007 4:00 pm
Gender: Male
Location: Brooklyn, NY

Re: Simple questions go here...

Post 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.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: Simple questions go here...

Post 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. :P

C.
Image
Highest score : 2297
Post Reply

Return to “Foundry Discussions”