Today on Apolyton POLYCAST #58 (PROMO #9) MODCAST #23 CIVCON '09 ANNOUNCED: AUGUST 7-9, 2009 TRI-LEAGUE #27 BTS TEAM D.G.: ENGAGE NOW
Apolyton Civilization Site Forums
main | civ4 | col | civrev | galciv2 | alt | civ3 | civ2 | ctp2 | smac | about | polycast
- Order Civilization IV: Colonization (Amazon US)/(UK) -
- Order Civilization: Revolution [360] (Amazon US)/(UK) | [PS3] (US)/(UK) | [DS] (US)/(UK) -
ApolytonPLUS | register | new posts | pm (-/-) | members
faq | news | civgroups (news) | hall of fame | downloads | upload | plus | store | search
Apolyton Civilization Site Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Site Forums > Civilization IV > Civ4 Creation > unit movement
Page: Print | Email | Subscribe | Report News       0 votes -  average
19.Jul: A RELIGIOUS REVIEW
18.Jun: BTS PATCH 3.17 OUT NOW!!!
15.Apr: RTW ADDON PACK 2 AVAILABLE NOW
CivGroups
Civilization IV Creators (96): Not a Member - Join

bottom of page
  - CIVILIZATION 4 (C&B) $49.95 - CIVILIZATION 4 (EB) $49.99 - CIVILIZATION 4 (AMZ) $49.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
rkgib
Settler
Joplin MO.
Feb 2005
time: 03:41
02-05-2008 22:13
edit | quote
#1 | report |
unit movement Got spare money?


How do I change number of movement spaces a unit can go.
I found the xml file changed it and got errors just starting up Civ4
been trying to locate and answer on the boards,

Balderdash
Chieftain
Nov 2005
time: 21:41
22-05-2008 12:41
edit | quote
#2 | report |
Suffering from ads?


I haven't tried doing it this way myself, but I'm going to assume--dangerous, I know--that you are modding the original CIV4UnitInfos.xml file since you say you crash simply starting the game. Don't do that. You need to make and load a mod, and incidentally, this mod will not be compatible with any old save games. You have to start a new game, or Civ4 will crash like you describe.

For simplicity's sake, let's say you have Civ4 installed at C:\games\Civ4. There, you will see a Mods directory.

  1. Create a new directory in the mod directory:

    C:\games\Civ4\Mods\MyMod

  2. Now into that directory copy over the file keeping the same directory structure:

    .\MyMod\Assets\XML\Units\CIV4UnitInfos.xml

  3. Now modify that file to your heart's content.


You can select the mod in-game via the "Advanced/Load Mod" option, or you can just create a new shortcut to the Civilization4.exe executable and modify the command-line as follows:

quote:
C:\games\Civ4\Civilization4.exe mod=/Mods/MyMod


The above applies to the expansion(s), too, I'm pretty sure, only you just need to change the game path accordingly.

-----------

If you already did it like I describe above, then my only other guess is that you corrupted the CIV4UnitInfos.xml file somehow, either with incorrect or deleted data or your editor saved it in the wrong format. It's just a plain DOS ASCII text file. Maybe your editor saved it in UNIX format (i.e., stripped off the carriage return characters '\0xD') or worse, saved it in UNICODE format.

I know the above steps work because what you are trying to do is exactly the very first mod I ever made just a couple of days ago. Just change the "< iMoves >< /iMoves >" tag (spaces are only there to keep forum software from parsing it) for the unit to whatever. I changed it to < iMoves >20< /iMoves > for my cloned worker. It worked as expected.

rkgib
Settler
Joplin MO.
Feb 2005
time: 03:41
22-05-2008 22:38
edit | quote
#3 | report |
Support Apolyton, buy Civilization: The Boardgame


Thanks I'll try this out.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 03:41.
Apolyton Time is 22:41.
    top of page
Rate This Thread:
Forum Jump:

 



  Contact Us - Apolyton Civilization Site - Support Us!
Log Out Unregistered
Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.3228 seconds (73.35% PHP - 26.65% MySQL) with 39 queries
Page Loading Time:

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net