Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION V > Civ5 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Jun 09, 2012, 06:15 PM   #1
Craig_Sutter
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>
or

Code:
<Civilization_UnitClassOverrides>
		Delete UnitType="UNIT_SONGHAI_MUSLIMCAVALRY"/>
		<Row>
			<CivilizationType>CIVILIZATION_SONGHAI</CivilizationType>
			<UnitClassType>UNITCLASS_SPEARMAN</UnitClassType>
			<UnitType>UNIT_BONDI</UnitType>
		</Row>
</Civilization_UnitClassOverrides>
My Bondi unit shows up well enough, but the old UU won't go away.

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.
Craig_Sutter is offline   Reply With Quote
Old Jun 10, 2012, 02:31 AM   #2
whoward69
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
whoward69 is offline   Reply With Quote
Old Jun 10, 2012, 02:50 AM   #3
Craig_Sutter
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
Craig_Sutter is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION V > Civ5 - Creation & Customization > How do I delete and/or replace a UU?

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Advertisement

All times are GMT -6. The time now is 09:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR