change navy seals to marines

ZayasOB12

Chieftain
Joined
Jul 31, 2008
Messages
27
Location
Colorado
how do i change the navy seals to marines in american civ? id rather have marines than navy seals
 
Try to replace

PHP:
			<Units>
				<Unit>
					<UnitClassType>UNITCLASS_MARINE</UnitClassType>
					<UnitType>UNIT_AMERICAN_NAVY_SEAL</UnitType>
				</Unit>
			</Units>
with
PHP:
			<Units/>
in CIV4CivilizationInfos.xml

Now there should be normal marines for America. But now America has got also no UU!!! Do you really want it?
 
ya i just want to try it to see what its like but after that ill just put the Navy Seal back
 
You don't need to go to so much trouble. Just fire up the world builder and place a marine unit. That's the nice thing about the builder: nothing is sacred, so you can test all of it.
 
i guess then ill have marines and navy seals!!:Dlol DUH!!
 
I just messed around with having marines last night - they're actually a good thing, even when you have access to the more advanced SEALs. How can the game be modified to allow construction of marines while not eliminating the ability to build SEALs?
 
ya thatd be cool to have navy seals an marines at te same time!:D
 
If you really must have both available to you at once...

Create a new UnitClass (CIV4UnitClassInfos.xml) for the Seal.

Set the DefaultUnit for it to NONE

In CIV4UnitInfos.xml, change the UnitClass of the Navy Seal to the new value.

In CIV4CivilizationInfos.xml, change
Code:
			<Units>
				<Unit>
					<UnitClassType>UNITCLASS_MARINE</UnitClassType>
					<UnitType>UNIT_AMERICAN_NAVY_SEAL</UnitType>
				</Unit>
			</Units>
so the UnitClass matches the new value.

Do all of this in a mod folder or Custom Assests, and not on the original flies.
 
Create a new UnitClass (CIV4UnitClassInfos.xml) for the Seal.

Please bear with those of us who are still brand-new at XML: how does one do that?

And, as I think further, this will keep SEALs as a unit that only the Americans can build, correct?
 
You create a new UnitClass by making a copy of an existing Unitclass and then changing the name (and any other values you may want changed).

And yes, it will keep the SEAL as American only. When you set the DefaultUnit to NONE, you are telling the game that there is no 'normal' version that is available to everyone. Then, the entry in CIvilizationInfos tells the game that America has a special version it can build.

If you wanted the Seal to be available to everyone, you would set it to the Default for that unitclass and then make the change Thomas SG mentioned above for america.
 
This is a good idea... I'm going to do this with all the UUs... Not entirely realistic but neither is Egypt creating Stonehenge...
 
Probably be good to give the civs a reason to build normal units. Mayby make UUs cost more?
 
Probably be good to give the civs a reason to build normal units. Mayby make UUs cost more?

Definitely or make each UU require a certain building to deploy? Any suggestions on which ones? Gallic units requiring a monument... Most others requiring barracks?
 
Back
Top Bottom