XML Column BaseSightRange

klingonfunfunfun

Chieftain
Joined
Jun 25, 2023
Messages
22
Hello

I'm trying to edit the default sight for all units from 2 to 4

I found the Civ5Units XML which reads
_____

<Table name="Units">
<!-- Basic info -->
<Column name="BaseSightRange" type="integer" default="2"/>
_____


Have tried the following, but no luck
_____

<GameData>
<Units>
<Update>
<Set default="4"/>
<Where name="BaseSightRange"/>
</Update>
</Units>

</GameData>
_____

<GameData>
<Table name="Units">
<!-- Basic info -->
<Column name="BaseSightRange" type="integer" default="4"/>
</Table>

</GameData>
_____

Could u please advise

Thank You

Moderator Action: Welcome to CivFanatics. Moved thread to main C&C forum as that is where questions go. leif
 
Last edited by a moderator:
Thank u, sir
U r quite beautiful
:)

I just need to send XML file + edited expansion5.civ5pkg to my friends, and we can play multiplayer with these "mods"
 
xml
--------------------------------------------------------------------------------------------
<GameData>
<Units>
<Update>
<Set>
<BaseSightRange>4</BaseSightRange>
</Set>
</Update>
</Units>
</GameData>
 
Top Bottom