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 > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > changing unit stats
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
redworf is offline redworf
Settler

Oct 2001
time: 05:15
  Old Post 20-10-2001 05:39
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
changing unit stats Full PM-box? Change here!

I changed the marine unit to appear after advanced naval tactics. (marines have been hitting the beaches during this period), besides there is such a long lull between machine gun troops to the appearance of other troops, well armor too. My question is : 1. How do I change the Library to reflect this, and 2, Can I change the name of a unit ie Paratrooper to "shock troops" lets say and give them the ability to attack cities from air and sea?, and finally 3. how can I open the existing sprite graphics to make some subtle changes on them? I have paint shop pro. The mod help files really didn't answer my questions. I know a bit of programming and understand that unit names are tagged etc.
thanks....:hmmm

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:15
Post  Old Post 20-10-2001 16:40 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Full PM-box? Change here!

1. Open the Great_Library.txt in your ..\ctp2_data\english\gamedata\ folder. here is the entry for the marine:

code:
[UNIT_MARINE_PREREQ] Requires: ATABASE_ADVANCES,ADVANCE_ADV_INFANTRY_TACTICS>Adv. Infantry Tactics Abilities: Amphibious Assault [END] [UNIT_MARINE_STATISTICS] Attack: {UnitDB(UnitRecord[0]).Attack / 100} Ranged: {UnitDB(UnitRecord[0]).ZBRangeAttack} Defense: {UnitDB(UnitRecord[0]).Defense / 100} Armor: {UnitDB(UnitRecord[0]).Armor / 100} Damage: {UnitDB(UnitRecord[0]).Firepower} Vision: {UnitDB(UnitRecord[0]).VisionRange} Movement: {UnitDB(UnitRecord[0]).MaxMovePoints / 10000} Max HP: {UnitDB(UnitRecord[0]).MaxHP} Costs: {UnitDB(UnitRecord[0]).ShieldCost} Upkeep: {UnitDB(UnitRecord[0]).ShieldHunger} Shields Food Hunger: {UnitDB(UnitRecord[0]).FoodHunger} [END] [UNIT_MARINE_SUMMARY] Can attack immediately after unloading from naval transport vessels [END] [UNIT_MARINE_GAMEPLAY] What sets the Marine apart from the ATABASE_UNITS,UNIT_MACHINE_GUNNER>Machine Gunner is its ability to move and attack immediately after unloading from a Naval ATABASE_ORDERS,ORDER_BOARD_TRANSPORT>Transport vessel. Whereas other infantry units must first land before beginning their assault, the Marine hits the ground running, striking targets with alacrity. [END] [UNIT_MARINE_HISTORICAL] A stalwart and fierce component of modern combat operations, the marine traced its roots back to the 5th century BC. In their writings, Greek historians Herodotus and Thucydides referred to epibatai, heavily armed sea soldiers in the Greek fleets. In the 3rd-2nd century BC, the Greek statesman Polybius described a type of Roman soldier, called milites classiarii ("soldiers of the fleet"), who were trained and armed especially for service aboard Roman warships. In the Middle Ages, standard soldiers often sailed aboard ships to bolster attack and boarding capabilities. In the 17th century naval wars, the British and Dutch each raised the first distinct and organized corps of modern marines: the Royal Marine (1664) and the Koninklijke Nederlandse Corps Mariniers (1665), respectively. Although other countries maintained marine corps, by far the most famous organization of this kind was the United States Marine Corps. Founded in 1775 as a separate military service within the U.S. Department of the Navy, the USMC was primarily charged with seizure and defense of advanced bases and with land and air operations related to naval campaigns. It was also responsible for service aboard certain naval vessels, as well as providing security for shore installations and U.S. diplomatic missions in foreign countries. Above any other duty, however, the marines specialized in amphibious attacks, such as those undertaken against Japanese-held islands in the Pacific during World War II. The USMC participated in every war of the United States, often being the first, or among the first, to fight, executed more than 300 landings on foreign shores and served in every major U.S. naval action since 1775. [END]


Don't copy and paste from here some of the above code is not displayed or converted to smilies. I didn't disabled smilies and I can't disable html code.

If you changed the values for attack, defence or armor no problem it depends directly on the *.txt files via slic.

If you changed the enabling advance you have to edit the prereq field.

2. To change the name of a unit search for a file called gl_str.txt in your ..\ctp2_data\english\gamedata\ folder. It contains the names that are used in the game for the units.

For the second part of that question open the unit.txt in the ..\ctp2_data\default\gamedata\ folder.

Here are some lines from the unit.txt concerning the aircraft carrier:

code:
CanAttack: Sea CanAttack: ShallowWater CanCarry: MedAir CanCarry: SmallAir CanSee: Standard Defend: Air MovementType: Sea MovementType: ShallowWater Size: Large VisionClass: Standard


I think this is enough to get the direction. Of course if I am to brief please ask.

3. There is no tool avilable that can extract the graphics from a sprite, yet. You could ask Martin the Dane, but that would requre some time. We have only the sprite make tool.

-Martin

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 21-10-2001 01:00 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Avatar Enlargement: We've got the solution

quote:
Originally posted by Martin Gühmann

3. There is no tool avilable that can extract the graphics from a sprite, yet. You could ask Martin the Dane, but that would requre some time. We have only the sprite make tool.

-Martin


Meaning extensive screenshots, and remaking the entire sprite Probably not worth it unless it really matters.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:15
Post  Old Post 21-10-2001 19:23 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by Immortal Wombat
Meaning extensive screenshots, and remaking the entire sprite Probably not worth it unless it really matters.


And you can't get all the animation frames, but you can make a all in one colour tile to seperate it better from the terrain, but also you have a non animated sprite with unsharp borders you wouldn't be able to recreate the original sprite.

-Martin

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:15.
Apolyton Time is 00:15.
    top of page
Rate This Thread:
archivepost
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.0284 seconds (86.11% PHP - 13.89% MySQL) with 31 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