Pouakai
Nov 25, 2011, 12:31 AM
If someone could tell me how to create a new XML table I'd be very grateful. I've tried before, but it didn't end up working ingame?
|
View Full Version : How to make a new XML table? Pouakai Nov 25, 2011, 12:31 AM If someone could tell me how to create a new XML table I'd be very grateful. I've tried before, but it didn't end up working ingame? PawelS Nov 25, 2011, 06:50 AM The game isn't "smart" enough to make your new table work automatically. To make a new table work ingame, you need to create the code that makes it work. Since we don't have access to the DLL code for now, the only option is to use LUA. This mod (http://forums.civfanatics.com/showthread.php?t=395607) is an example of making a new XML table (MinorCivilization_UnitClassOverrides) that works ingame. Pouakai Nov 25, 2011, 10:08 AM So, what if I want to hijack another table for something? Say I want a Policy effect in a building, or vice versa? PawelS Nov 25, 2011, 12:40 PM You can't do it, adding XML tags that don't already exist will have no effect, except if you want them to contain data used by your LUA script. Pouakai Nov 25, 2011, 12:43 PM Aah, so there isn't a way to do it without getting involved in Lua. Thanks PawelS. |
vBulletin® v3.8.2, Copyright ©2000-2013, Jelsoft Enterprises Ltd.