.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   How does the game get info on sites (where are the sites coded/listed in-game)? (http://forum.shrapnelgames.com/showthread.php?t=19683)

tinkthank July 23rd, 2004 10:22 AM

Re: How does the game get info on sites (where are the sites coded/listed in-game)?
 
Thanks much once again.
Last question: Is there anyway I can extract these names (from that list with those bizarre numbers in front of them, like 022:DE04 and whatnot) automatically in some sort of text file which would make it easy for me to mod some map so that I could put all of these sites in one or two provinces??
I ask because I wanted to do a serious and complete check of the sites out there, which will of course take a lot of time, but I didnt want to bog it down with hours of copy and paste beforehand....
thanks much!

Gandalf Parker July 23rd, 2004 04:32 PM

Re: How does the game get info on sites (where are the sites coded/listed in-game)?
 
Hmmmm I thought someone had done that already. How about the sites xls that are available. Cant you export the first field to a file? Are those not up to date?

Lets see.... about 400 sites.. a maximum of 500 provinces on a map. Number thru the provinces and write out a command to assign a magic site to it.. oh and make it visible (already found) then another command to make it owned by someone. Like make it owned by Arcos so that going into the game as Arcos will already give you view of all those provinces and all those sites...

Yeah that should work. It leaves enough provinces left over to belong to some AI so that you can go into the game without it being "you won" and all done.

I can think of easy ways to do it but it involves using linux commands like strings and sed. Maybe a BASIC program just for control of it all. It all comes out "easier to do than to explain". Maybe if I think of it later I will try to snag the sites list for you at least.


All times are GMT -4. The time now is 04:33 PM.

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