View Single Post
  #20  
Old December 15th, 2003, 08:07 AM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Anyone want to help with the combat simulator?

Quote:
Originally posted by Zen:
I_can't_space!

Hey!!! That's not nice Underscores make command line intefaces much simpler, so you don't have to program any parsing. Feel free to write "Big Ugly Spear" instead of Big_Ugly_Spear, but it would take an extra 40 minutes of work on my part to put in a bug-free decoding module=)

Quote:


I did want to ask if you had a specific area that you have not collected the hard data from that you want a compiled list of/for?

Yes... I have weapons and armor for some indies, Tien Chi, Ulm, and what you (Zen) wrote (no ranged yet, since I don't know how to model it... but I'll still include the info). I have creatures and units for some indies, Tien Chi, Ulm, and human Soulless. So, weapons, armors, creatures, and units for the other 15 nations would be much appreciated=)

Quote:


And yes, it's all about making my life easier
And mine!

OK, here's an example of a fuly-specified unit. The 4 objects are Creature, Item, and Weapon - which combine to make a Unit. For example, a Tien Chi Spear Footman unit is made of:

Creature: Tien Chi Footman (TC Footman)
Item: Helmet, Full Leather Armor, Tower Shield
Weapon: Spear

*********************************************

The format for specifying a weapon:

name="Spear" dam=3 att=0 def=0 length=4 hits=1 hands=1 pierce=0 poisondam=0 fatiguedam=0

*******

The format for specifying an item:

name="Rainbow_Mail" aprot=8 def=1 enc=1 mr=3 reinvig=3

name="Leather_Cuirass" aprot=3

name="Elemental_Armor" aprot=15 def=-3 enc=4 fireproof=100 iceproof=100 shockproof=100

*******

The format for specifying a creature:

name="Human" hp=10 str=10 att=10 def=10 prec=10 mr=10 mrl=10 ap=12 bEnc=3

name="Soulless" hp=15 str=12 att=4 def=3 prec=4 mr=5 mrl=50 ap=6 bEnc=0

*******

The format for specifying a unit:

name="Light_Infantry_2" creature="Human" weapon="Spear" item="Ring_Mail_Cuirass" item="Round_Shield" item="Helmet"

name="Soulless" creature="Soulless" weapon="Claw"

*******

Please note: "bEnc" means base encumbrance (for a creature), while "enc" means melee encumbrance (for an item or weapon). Only give creatures "bEnc" and items "enc", so that undead can correctly get zero melee encumbrance.

Also note: you can put any field in any order, including the name (though I suggest you put the name first). Strings (that means words, like "Soulless") go in quotes, with spaces replaced by underscores (_), and numbers don't get quotes.

OK! I tried to make that as simple as possible. If it would be much simpler to not use underscores... then tell me, and I'll eliminate them I find it mildly annoying myself=)

And Lastly, there will eventually be a GUI for this program=) The command line interface is temporary.

-Cherry

P.S. I'll post the info I have thus far tomorrow, once I add the data-to-text converter.
__________________
Cherry
Reply With Quote