Mynex
Warlord
- Joined
- Sep 30, 2010
- Messages
- 287
I have a list of 16k names for US cities (thank you census!).
I know this CAN be done, just not sure if it can be done in Civ.
Create a db; CivName, CityName, Weight
Make a city and a LUA script gets the CivName
Then Randomly selects a name based on the Weight
Then Populates the city name in game.
I'd rather use a db, but if it needs to be an XML, so be it...
I haven't messed around enough with the LUA and what it can do IN civ5 to know if this will work... In theory it should...
I suppose putting it in an XML file would be better for modding purposes, but that's going to be one damned big XML file....
So can I convince one of you Civ5 LUA masters to right the lua for me pretty please? With Cleopatra on top!
I know this CAN be done, just not sure if it can be done in Civ.
Create a db; CivName, CityName, Weight
Make a city and a LUA script gets the CivName
Then Randomly selects a name based on the Weight
Then Populates the city name in game.
I'd rather use a db, but if it needs to be an XML, so be it...
I haven't messed around enough with the LUA and what it can do IN civ5 to know if this will work... In theory it should...
I suppose putting it in an XML file would be better for modding purposes, but that's going to be one damned big XML file....
So can I convince one of you Civ5 LUA masters to right the lua for me pretty please? With Cleopatra on top!
