I need Help on modding

Please post here for questions and discussion about scenario design and general game modding. The graphics and scenarios are easily modifiable. Discuss your experiements in this area and get tips and advice!

Moderators: Joel Billings, JanSorensen

Post Reply
jmortyr
Posts: 2
Joined: Mon Jul 18, 2005 4:42 pm

I need Help on modding

Post by jmortyr »

Hello,

First of all I want to say Hello to all.
I am New here and now to my problem.

I am on the work to modding the Game with more units and a better Railroad and so i have i have find out that the Game has a troop limit this is includes the Railsystem, The Factory´s and the Resources. Can anywhere tell me:

Ist this Limit only for the Start of the Game or is it a general limit and how much units including all ist the limit?

The second question is about the Pipeline and Reasearch Points Can anyone tell me the correct name what i have to set in the Pipeline. I have probed with research technic and science but in the Game it doesn´t work .

Is it possible to change the Graphic Icons from Harbors and Units. I will take the Graphics from am Mod of Hearts of Iron.
bye for now
User avatar
Joel Billings
Posts: 33613
Joined: Wed Sep 20, 2000 8:00 am
Location: Santa Rosa, CA
Contact:

RE: I need Help on modding

Post by Joel Billings »

The various unitdata files contain the carry capcity of each type of unit with regards to transports/rail, and also the amount of carry capacity that each rail unit has. Rail has a Cap number of 35. Increasing this number will yield higher rail capacities.

I suggest you look at the later pipeline files to see examples, but here's the list of unit names to be used (ignore the Data, and the ,#):


DATA,CARRIER AIR,1
DATA,TAC AIR,2
DATA,HEAVY AIR,3
DATA,FIGHTER AIR,4
DATA,INFANTRY,5
DATA,MILITIA,6
DATA,AIRBORNE,7
DATA,MECHANIZED,8
DATA,ARTILLERY,9
DATA,FLAK,10
DATA,SUPPLY,11
DATA,CARRIER FLEET,12
DATA,HEAVY FLEET,13
DATA,LIGHT FLEET,14
DATA,TRANSPORT FLEET,15
DATA,SUB FLEET,16
DATA,RAIL,17
DATA,FACTORY,18
DATA,RESOURCE,19
All understanding comes after the fact.
-- Soren Kierkegaard
User avatar
Joel Billings
Posts: 33613
Joined: Wed Sep 20, 2000 8:00 am
Location: Santa Rosa, CA
Contact:

RE: I need Help on modding

Post by Joel Billings »

Yes it is possible to change the art for the ports and units, you just need to find the files in the various dat/art directories and replace them.
All understanding comes after the fact.
-- Soren Kierkegaard
User avatar
Oleg Mastruko
Posts: 4534
Joined: Sat Oct 21, 2000 8:00 am

RE: I need Help on modding

Post by Oleg Mastruko »

Mortyr, it's really hard to understand your questions as English is obviously not your first language (at least I hope so [:D]) but here goes.
I am on the work to modding the Game with more units and a better Railroad and so i have i have find out that the Game has a troop limit this is includes the Railsystem, The Factory´s and the Resources. Can anywhere tell me:

Ist this Limit only for the Start of the Game or is it a general limit and how much units including all ist the limit?


Open unitdata.txt, you'll see something like:

UNIT,INFANTRY,PLAYER_GER
UNITDATA,TD_TYPE,2,TD_AA,3,TD_SA,0,TD_UA,0,TD_LA,6,TD_TORP,0
UNITDATA,TD_SPEED,1,TD_RANGE,1,TD_EVADE,6,TD_ARMOR,0,TD_DURAB,4
UNITDATA,TD_CAP,5,TD_AMPHIB,0,TD_COST,2,TD_CLASS,2,TD_SUP_USE,1
UNITDATA,TD_FUEL_USE,0

This is German Infantry.
TD_CAP says that capacity this unit (infantry) will occupy on a railroad network or transport ship is 5. For armor units this value is 10.

UNIT,RAIL,PLAYER_GER
UNITDATA,TD_TYPE,5,TD_AA,0,TD_SA,0,TD_UA,0,TD_LA,0,TD_TORP,0
UNITDATA,TD_SPEED,0,TD_RANGE,0,TD_EVADE,2,TD_ARMOR,0,TD_DURAB,6
UNITDATA,TD_CAP,35,TD_AMPHIB,0,TD_COST,4,TD_CLASS,5,TD_SUP_USE,0
UNITDATA,TD_FUEL_USE,0

This is railroad "unit". It also has TD_CAP value, but here it means 35 is the capacity rail "unit" will be able to carry (transport) in a single turn.

If you want a "better railroad" raise the TD_CAP value for railroad "units" in unitdata.txt file(s).
The second question is about the Pipeline and Reasearch Points Can anyone tell me the correct name what i have to set in the Pipeline. I have probed with research technic and science but in the Game it doesn´t work.

Wow, real hard to understand what you want here....

Anyhow... Pipeline.txt regulates which unit will be built (and is currently in the pipeline when the game starts, ie, scheduled to be built). This file is really simple:

PIPE,PLAYER_GER,SUB FLEET,66,3,

This means german player will get submarine fleet in area number 66 (I think this is West Germany) in three turns (after the game starts). If you wonder where the area 66 is, check the region.txt file(s).

Research.txt regulates how many research points will already be spent towards some research goal when the game starts.

Again the file structure is quite simple:

RESEARCH,PLAYER_SOV,INFANTRY,TD_LA,1

This means Soviet infantry has 1 research point already spent researching TD_LA value (TD_LA is land attack).

Graphic is easily moddable. Hope this helps.

O.

jmortyr
Posts: 2
Joined: Mon Jul 18, 2005 4:42 pm

RE: I need Help on modding

Post by jmortyr »

I´m very thankfull for your help and i know my english is not the best but I can understand everything. I have obnly little problems to say what i want and your reply´s has show me that you have missunderstanding my questions but i will try to certify what i have changed on the Files and the reults of the changings.

Region Files
Neutral Countrys
I have give to the Neutral Countries more units at the Regions 40 file including The Factorys, Rail, Resources and Popupaltion. I know it is historical not correct but i think it brings more fun on the Game it is not so easy to to invade the Neutral Countries but when i set the units including all to high and I start the Game again then has Russia from start up zero units on the field and other Countries has not the normal Unitstreghth so i think that this Game has limit for units and i need the informations how many units i can added before the Game take Units from other Countries out and is this limit only for the Start of the Game or is this a complete Game limit

I will also give to several contries in the Pipeline research Points but i need exact file Name. I have searched in all pipelines but no Pipeline has research and the word reseaerch isa not correct to use it in the Pipeline
Example:
PIPE,PLAYER_GER,RESEARCHPOINT,66,1
PIPE,PLAYER_GER,TECH POINT,66,1
PIPE,PLAYER_GER,RESEARCH,66,1
PIPE,PLAYER_GER,TECHPOINT,66,1
This is not working [:-]
what i have type exact that i can give research Points at the Pipeline

So i hope you can now understand me better[;)]
User avatar
Oleg Mastruko
Posts: 4534
Joined: Sat Oct 21, 2000 8:00 am

RE: I need Help on modding

Post by Oleg Mastruko »

Research points are spent immediatelly after they are produced anyway, there's no sense in putting them in the pipeline...

O.
User avatar
Joel Billings
Posts: 33613
Joined: Wed Sep 20, 2000 8:00 am
Location: Santa Rosa, CA
Contact:

RE: I need Help on modding

Post by Joel Billings »

I don't know of any unit limit in the game. Also, Oleg is right, no research points that I know of can be placed in the pool. I suggest you give more supplies at start if you want players to be able to spend more on research.
All understanding comes after the fact.
-- Soren Kierkegaard
Post Reply

Return to “Mods and Scenarios”