| 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 |
|
Emperor
Join Date: Aug 2002
Location: Seoul, South Korea
Posts: 1,277
|
How do I delete and/or replace a UU?
I am trying to replace the Songhai UU with a custom built one BONDI.
I've tried to do it a couple of ways: Code:
<Civilization_UnitClassOverrides> Delete CivilizationType="CIVILIZATION_SONGHAI"/> <Row> <CivilizationType>CIVILIZATION_SONGHAI</CivilizationType> <UnitClassType>UNITCLASS_SPEARMAN</UnitClassType> <UnitType>UNIT_BONDI</UnitType> </Row> </Civilization_UnitClassOverrides> Code:
<Civilization_UnitClassOverrides> Delete UnitType="UNIT_SONGHAI_MUSLIMCAVALRY"/> <Row> <CivilizationType>CIVILIZATION_SONGHAI</CivilizationType> <UnitClassType>UNITCLASS_SPEARMAN</UnitClassType> <UnitType>UNIT_BONDI</UnitType> </Row> </Civilization_UnitClassOverrides> I had previously tried update command instead but failed miserably. The multiple conditions are screwing me up somehow. Each UU has three items within it, and I am not certain how to delete the section as a whole. Could someone give a quick hint of what to do. I searched tutorials but could not find anything about this... I'm sure it is so simple, no one bothered with a tutorial. Thank-you
__________________
Visit my Viking Age scenario at: http://forums.civfanatics.com/showthread.php?t=228787 And my Europe map for European Medieval Mod at: http://forums.civfanatics.com/showthread.php?t=229384 Last edited by Craig_Sutter; Jun 09, 2012 at 06:24 PM. |
|
|
|
|
|
#2 |
|
Deity
Join Date: May 2011
Location: Near Portsmouth, UK
Posts: 2,512
|
In both instances Delete is missing the opening <
__________________
All my mods (.civ5mod files) can be downloaded from http://www.picknmixmods.com/. If you want to incorporate (parts of) my mods into your own mod(s), please read this first Snap-shots (which are slowly going out-of-date) can still be download in zipped groups from the CfC Downloads Database - search for PickNMix - a list of what is in each zipped group can be found here |
|
|
|
|
|
#3 |
|
Emperor
Join Date: Aug 2002
Location: Seoul, South Korea
Posts: 1,277
|
That did it... Thank-you very much.
__________________
Visit my Viking Age scenario at: http://forums.civfanatics.com/showthread.php?t=228787 And my Europe map for European Medieval Mod at: http://forums.civfanatics.com/showthread.php?t=229384 |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|