.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
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
 

Bookmarks

Tags
ballbarian, gandalf parker, semirand, semirandom

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:34 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.