Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization: Call To Power > CtP-Creation > Three Units Files?!
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
12.Sep: `CTP CHALLENGE LADDER` - SEPTEMBER UPDATE
09.Sep: EARLY BUILD SPRITE EDITOR
02.Aug: `SUPERLEAGUE` SIGN-UP

bottom of page
  - CIVILIZATION: CALL TO POWER @ GAMESTOP $9.99 - CIVILIZATION: CALL TO POWER @ AMAZON $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Mr. President is offline Mr. President
Emperor
The leaves that are green turn to brown
Jul 2001
time: 15:24
  Old Post 01-12-2002 13:01 Visit Mr. President's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Three Units Files?! Suffering from ads?

In my ctp_data/default folder, I have files called Units.txt, Units_historic.txt, and Units_release.txt. What do they all do, and which one would I go to if I wanted to edit unit attributes?

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:24
  Old Post 01-12-2002 13:51 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

I cant tell you for sure what historic and release are for but at a guess id say, 'historic' is the changes made through development and 'release' is changes made before the alpha was burned or something and the final units.txt contains all the last minute tweaks, i know thats the one the game uses anyway, so edit that one.

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:24
  Old Post 01-12-2002 18:17
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Re: Three Units Files?! Support Apolyton, pre-order Civilization IV

quote:
Originally posted by Mr. President
In my ctp_data/default folder, I have files called Units.txt, Units_historic.txt, and Units_release.txt. What do they all do, and which one would I go to if I wanted to edit unit attributes?


I f you wanted to say increase Hit points, movements points or perhaps as i have done make available in another era..such as all WW2 units being available from git go just match enabling and obsolesence with NULL..or as I did stop allowing settlers to be made ata cetain age. Here is the copied UNITS.txt for settler:
UNIT_SETTLER {
SHIELD_COST 540
POWER_POINTS 400
MAX_HP 1
ATTACK 0
DEFENSE 10
FIREPOWER 2
ZB_RANGE_ATTACK 0

BATTLEFIELD_RANGE 0
BATTLEFIELD_RADIUS 1

VISION_RANGE 1

ACTIVE_DEFENSE_RANGE 0
ELECTRONIC_COMBAT_FACTOR 0

MAX_MOVEMENT 1000
FUEL 0

SHIELD_HUNGER 0
FOOD_HUNGER 0

DEFAULT_SPRITE SPRITE_SETTLER
DEFAULT_ICON ICON_UNIT_SETTLER
DESCRIPTION DESCRIPTION_UNIT_SETTLER
# #id string of the default sprite

SOUND_SELECT1 SOUND_SELECT1_SETTLER
SOUND_SELECT2 SOUND_SELECT2_SETTLER
SOUND_MOVE SOUND_MOVE_SETTLER
SOUND_ACKNOWLEDGE SOUND_ACKNOWLEDGE_SETTLER
SOUND_CANTMOVE SOUND_CANTMOVE_SETTLER
SOUND_ATTACK SOUND_ATTACK_SETTLER
SOUND_WORK SOUND_WORK_SETTLER
SOUND_VICTORY SOUND_VICTORY_SETTLER
SOUND_DEATH SOUND_DEATH_SETTLER
ENABLING_ADVANCE NULL
OBSOLETE_ADVANCE ADVANCE_ULTRAPRESSURE_MACHINERY

############## special flags #############################
MOVEMENT_TYPE_LAND
MOVEMENT_TYPE_MOUNTAIN
LOSS_MOVE_TO_DMG_NONE
SIZE_SMALL
SETTLE_CITY_TYPE UNIT_CITY
SETTLE_LAND
SETTLE_MOUNTAINS

CANT_CAPTURE_CITY

VISIBILITY_CLASS_0

VISIBILITY_CAN_SEE_0


CANT_ENTRENCH
CANT_PATROL
IS_SPECIAL_FORCES
HAS_NO_ZOC
CAN_BE_EXPELLED



BUILDING_REMOVES_A_POP
ONLY_BUILD_ONE
CHEAT_INDEX 5
}


Now here is one for Machine Gunner:

UNIT_MACHINE_GUNNER {
SHIELD_COST 800
POWER_POINTS 800
MAX_HP 10
ATTACK 80
DEFENSE 80
FIREPOWER 2
ZB_RANGE_ATTACK 0

BATTLEFIELD_RANGE 1
BATTLEFIELD_RADIUS 1

VISION_RANGE 1

ACTIVE_DEFENSE_RANGE 0
ELECTRONIC_COMBAT_FACTOR 0

MAX_MOVEMENT 200
FUEL 0

SHIELD_HUNGER 24
FOOD_HUNGER 0

DEFAULT_SPRITE SPRITE_MACHINE_GUNNER
DEFAULT_ICON ICON_UNIT_MACHINE_GUNNER
DESCRIPTION DESCRIPTION_UNIT_MACHINE_GUNNER
# #id string of the default sprite

SOUND_SELECT1 SOUND_SELECT1_MACHINE_GUNNER
SOUND_SELECT2 SOUND_SELECT2_MACHINE_GUNNER
SOUND_MOVE SOUND_MOVE_MACHINE_GUNNER
SOUND_ACKNOWLEDGE SOUND_ACKNOWLEDGE_MACHINE_GUNNER
SOUND_CANTMOVE SOUND_CANTMOVE_MACHINE_GUNNER
SOUND_ATTACK SOUND_ATTACK_MACHINE_GUNNER
SOUND_WORK SOUND_WORK_MACHINE_GUNNER
SOUND_VICTORY SOUND_VICTORY_MACHINE_GUNNER
SOUND_DEATH SOUND_DEATH_MACHINE_GUNNER
ENABLING_ADVANCE NULL
OBSOLETE_ADVANCE NULL

############## special flags #############################
MOVEMENT_TYPE_LAND
MOVEMENT_TYPE_MOUNTAIN
LOSS_MOVE_TO_DMG_NONE
SIZE_SMALL


VISIBILITY_CLASS_0

VISIBILITY_CAN_SEE_0

EXERTS_MARTIAL_LAW

CAN_EXPEL_POP
DEATH_EFFECTS_HAPPY
CAN_REFORM SOUND_ID_REFORM_CITY SPECEFFECT_REFORMC
ITY

CAN_EXPEL



AIR_ATTACK

SPACE_CITY_CAN_BUILD
CHEAT_INDEX 1
}


This is one of those "exception" rules..this has to "Obsolesence advancements..so you need to make the first read NULL and remove the words Obsolesnense and the advance for the second one in order to make it work.!

This now makes the machine gunner available from the git go!


Happy Hunting!!

TrollAlso NOTE!:

I removed abilities for the units to pirate and pillage..see..I dont like having folks steal my food or money!!

Just a way of pleasing Trolldoms Finicly Folks!!

Mr. President is offline Mr. President
Emperor
The leaves that are green turn to brown
Jul 2001
time: 15:24
  Old Post 02-12-2002 14:48 Visit Mr. President's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

Ah, cool. I've been busily editing away, and there's something I just thought of. Is there somewhere I can go to change the names of units? See, I've moved Archers to the Agricultural Revolution since I hardly use them at the time they come around in the original setup, and converted them into an anti-knight ranged unit (to represent the longbow).

They would actually be fine being called Archers, but I was thinking of making them Longbowmen - if there is a way to change names. I can't figure out where it would be in Units.txt, and I can't figure out where it would be if it wasn't there.

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:24
  Old Post 02-12-2002 15:23 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

i like that idea with Longbowman.

gl_str.txt in ...\Civilization-Call To Power\ctp_data\english\gamedata for the english language version of the game.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:24
  Old Post 02-12-2002 22:37 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Units_release.txt is the same as units.txt. IIRC Units_historic.txt is something which Activision released with the patch, supposedly balancing the units more. The idea was that you could replace your units.txt with the units_historic.txt and play with the alternate stats, and then use units_release.txt to restore the original setting. However, the 'balancing' which was done actually had the reverse effect, and the units_historic.txt is so strange as to be almost unplayable. For example, Cannons are utterly useless and War Walkers are insanely powerful. Celestial Dawn released a spreadsheet explaining how terrible it all was.

Mr. President is offline Mr. President
Emperor
The leaves that are green turn to brown
Jul 2001
time: 15:24
  Old Post 03-12-2002 14:25 Visit Mr. President's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Suffering from ads?

Thanks.

Cannons become useless? Nooo! I love those guys!

I made the Longbowmen's stats: Attack 1, Defense 1, Ranged Attack 4, (can't remember what I made Firepower). I haven't tested it yet, so I hope it works out.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:24.
Apolyton Time is 00:24.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0317 seconds (85.59% PHP - 14.41% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

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