View Single Post
  #77  
Old January 27th, 2007, 03:28 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Gan files readme

The GAN files started out simple. Just a short text file of the map commands that should go into the .map. The only thing it did originally was find a location, and paste that file in on that number.

Im afraid that I made it go nuts. The random name files. And using the @ sign for a random. So instead of having the province always show up as "#landname Dragons Den" I could set a random of 3 names for "Dragons Den" "Draco Lair" "Here There Be" by saying
@3 landname
"Dragons Den"
"Draco Lair"
"Here There Be"

Once that worked it was obvious that any command could be done the same. You can create a small variety in the number of units, the type, the equipment, etc instead of creating a dozen copies of the file.
Surprise!

You can even have a special prize show up only once in 5 times by something like
@5 additem
"Enchanted Shield"
"Enchanted Shield"
"Enchanted Shield"
"Enchanted Shield"
"Sun Shield"
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote