| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Proud father and civ-nut!
Join Date: Aug 2003
Location: Eastern Front
Posts: 1,006
|
Issue: SPECIALUNIT_FIGHTER causing issue when adding new air units to mod
Thought I would post this here in the hope someone knows why this may be occurring.
I have spent the last two days trying to troubleshoot why any new air units with the <Special> tag set to SPECIALUNIT_FIGHTER refuse to work in my mod. When I remove this tag and set it to null the unit appears in the pedia and in game....strange. Here are some things to note: 1. Did not remove any vanilla units 2. Did not touch specialunits xml 3. No UnitClasses removed 4. No spelling mistakes...unit works if I set the special tag to null! 5. Cleared cache EDIT: Forgot to mention I am doing this via SQL. Spoiler:
Does anyone know if there is something hardcoded around this special tag that may cause the game to ignore units when using this tag?
__________________
“The Pope? How many divisions has he got?” Josef Stalin Current Project: The Great Patriotic War - WWII on the Eastern Front Last edited by ww2commander; Dec 30, 2011 at 07:48 PM. |
|
|
|
|
|
#2 |
|
Tangaroa
![]() |
Have you tried using just XML?
__________________
"I saw our people spreading throughout the land and across the oceans, expanding our kingdom, discovering new people and great riches in faraway lands" - More Civilizations. Most Recent: Tibet "We built wonderous monuments honouring the gods, which reached up to touch the very fabric of the heavens." - More Wonders. Most Recent: Todai-ji |
|
|
|
|
|
#3 |
|
Proud father and civ-nut!
Join Date: Aug 2003
Location: Eastern Front
Posts: 1,006
|
Would it make a difference given that XML is converted into SQL when the game loads anyway?
The reason for using SQL is that I am adding a huge amount of units and typing out the XML entries would be tedious. My hunch is that the tag mentioned seems to break things if not 'managed' correctly.
__________________
“The Pope? How many divisions has he got?” Josef Stalin Current Project: The Great Patriotic War - WWII on the Eastern Front |
|
|
|
|
|
#4 |
|
Tangaroa
![]() |
I wouldn't know, I've only ever dealt with XML.
__________________
"I saw our people spreading throughout the land and across the oceans, expanding our kingdom, discovering new people and great riches in faraway lands" - More Civilizations. Most Recent: Tibet "We built wonderous monuments honouring the gods, which reached up to touch the very fabric of the heavens." - More Wonders. Most Recent: Todai-ji |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|