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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old June 15th, 2004, 04:17 PM
Pirateiam's Avatar

Pirateiam Pirateiam is offline
Corporal
 
Join Date: Jan 2004
Location: Upstate NY
Posts: 181
Thanks: 0
Thanked 0 Times in 0 Posts
Pirateiam is on a distinguished road
Default Re: Random map files and annotations: Python

Thanks for the reply nakomus! I am currently in the middle of the tutorial. Thanks
__________________
Every normal man must be tempted at times to spit upon his hands,
hoist the black flag, and begin slitting throats.
- Henry Louis Mencken
Reply With Quote
  #2  
Old June 15th, 2004, 07:19 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: Random map files and annotations: Python

@Nakomus:
Well, if you take a look at some more of my stuff which is semi popular (www.dom2minions.com) you might get an idea as to how your gathering info from the map file will allow a program to do what I do, but better.

Such as.... I randomly scatter castles and monsters across the map. The result is land castles in water, water castles on land. Same with monsters which drown as soon as you attack the province.

If you paired your program gathering info about a map, with one which maintains the same info for castles, natives, monsters, sites, pre-made interesting provinces, province names based on terrain (woods, water, mountain, island, swamp).... then doing a BETTER random program might be very interesting.

[ June 15, 2004, 18:21: Message edited by: Gandalf Parker ]
__________________
-- 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
  #3  
Old June 15th, 2004, 11:23 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Random map files and annotations: Python

My co-worker Jeff offers:

There appears to be a new edition of O'Reilly's "Learning Python", that is update for Python 2.3. http://www.oreilly.com/catalog/lpython2/

Overstock.com seems to have the best price
http://www.overstock.com/cgi-bin/d2....PROD_ID=625685
Reply With Quote
  #4  
Old June 16th, 2004, 02:19 AM
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: Random map files and annotations: Python

I have shelves and shelves of OReilly books. I dont recommend them for learning. On any new subject I get a yellow "for Dummies" book first. Those are great books. Even if all it does is convince me that I already knew more than I thought on the subject its a good start. (never get the orange "for Idiots" books)

In-between, a SAMs book is good for learning. QUE is great. WAITE is abit heavy but good.

OReilly you get Last. In my opinion its alot of help but only if you already know the subject. Plus its impressive on the bookshelf for those who know what an OReilly book is.
__________________
-- 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
  #5  
Old June 16th, 2004, 02:41 AM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Random map files and annotations: Python

You could use the tutorial on the web at first, and a book like the O'Reilly for a reference and to figure out more details.

PvK
Reply With Quote
  #6  
Old June 16th, 2004, 04:18 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: Random map files and annotations: Python

This is a FUN site. Anyone who has more than one programming language, or wants to, can have a good time here.
http://www.99-bottles-of-beer.net/

It shows the code for doing that song in 621 different programming Languages. It does alot in my opinion toward showing the difference between the efficient/good/marketable Languages and the ones that I can actually learn to produce something with now.
__________________
-- 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
  #7  
Old June 16th, 2004, 05:12 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Random map files and annotations: Python

Hehe. Interesting.

By the way, another friend recommends a different Python book, although he says it is further in the serious/reference direction rather than the learning direction. There is still the good web tutorial, though:

My pal Paul wrote:
Quote:
IMO the 'Learning Python' book is not as good as the 'Programming Python' book. As the title suggests, the learning book is more of an introduction to Python whereas the programming book provides a deeper and broader coverage. I'd spend the bucks for the 'Programming Python' book. There's a second edition of it out too, although it looks like it covers only Python 2.0.
PvK
Reply With Quote
Reply

Bookmarks


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 11:05 AM.


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