DeVeLiNe
  • DeVeLiNe
  • 96.5% (Exalted)
  • Captain Topic Starter
16 years ago
Just like the title said, how do I add to a unit a new ability?

I was thinking about something like adding a Naplam strike to China red gaurd, just for the example. How do you do it?
A modder in training 😛
Sponsor
DeVeLiNe
  • DeVeLiNe
  • 96.5% (Exalted)
  • Captain Topic Starter
16 years ago
Come on, anyone? I managed to find how to add the picture of the ability to the Jarmen Kell, but when I click on it, it does nothing. How the hell does it gonna work?
A modder in training 😛
Sky Demon
16 years ago
Isn't the napalm strike the ability given to chinese Helix's allowing them to drop a napalm bomb on a target once over it?

I fail to see what you are trying to accomplish. If your mod were to work how would it actually be usable ingame? Would the red guard be able to "call in" a napalm strike, meaning a helix spawns off-map like a specialpower and then drops it at designated area or what?

The better understanding people have of what you want to accomplish the better they can help. 😄
DeVeLiNe
  • DeVeLiNe
  • 96.5% (Exalted)
  • Captain Topic Starter
16 years ago
lol I jsur realized how what I wrote sounds.
I ment it to be something like the A10 plains strike, only launched from a unit LIKE red gaurd (it can be any unit). I managed to display the icon of the ability I wanted into the red gaurd commandset, but when I click it it does nothing. That what I need help with 🙂
A modder in training 😛
krit
  • krit
  • 100% (Exalted)
  • Commander in Chief
16 years ago
So I'm gonna be seeing Red Guards fly in from the corner of the map and start dropping napalm bombs on my base?... I'm gonna need a lot of Avengers...
UserPostedImage 
DeVeLiNe
  • DeVeLiNe
  • 96.5% (Exalted)
  • Captain Topic Starter
16 years ago
lol come on be serius guys, its a matter of life and death.. for my troops!
A modder in training 😛
CommieDog
16 years ago
Did you add the OCLSpecialPower module to the Red Guard's code?
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
DeVeLiNe
  • DeVeLiNe
  • 96.5% (Exalted)
  • Captain Topic Starter
16 years ago
No, and thats why I asked for help, I have no idea how to start with all of this things.
A modder in training 😛
CommieDog
16 years ago
Well, that's the first thing. Otherwise the Red Guards have no idea that they have access to the ability you're trying to add.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
evilskull1234
16 years ago
does anyone know how to add the new abilitys on to units yet ?
Annihilationzh
16 years ago
Yet? We've been doing it for years.

Start your own topic. Tell us which ability you want on which unit. Then we'll try to help you.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
evilskull1234
16 years ago
any i just want know how to do it if i can
so i mess about kill the other skermish players.


p.s can you edit buildings if can how? if its not to much trouble.
soz about spelling
Annihilationzh
16 years ago
Lets stick to the basics for now.

Download FinalBIG:
http://www.cnclabs.com/downloads/downloader.aspx?fileid=240 

Install it, run it, & go to your zero hour directory (Standard is C:\Program Files\EA Games\Command & Conquer Generals Zero Hour). Now find INIZH.big and open it (it might be in the Data/INI folder). Go to Edit->Extract All and extract to your zero hour directory (again, standard is C:\Program Files\EA Games\Command & Conquer Generals Zero Hour). Close the program and there will be files in Data/INI that contain the code for the units in the game.

So experiment with these files and when you get stuck, we're here to help.

If you want to modify the units, you go into the Object folder. LaserGeneral.ini contains every unit & building of the laser general. FactionBuilding.ini contains all the buildings of GLA, China & USA. Etc, etc.

If you want to change a weapon, it's in weapon.ini. If you want to change the units built at a building, it's in CommandSet.ini (don't forget to change the prerequisites in the units file). If you want to change the speed of a unit, it's in Locomotor.ini. The damage units take from different weapons is in Armor.ini. Etc, etc.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
evilskull1234
16 years ago
how do you change the units abilitys, add ons, costs and build times cause im changing stuff on units like build costs and times but they dont change.
wat im doing is opening finalbig then clicking file then open then in the generals zerohour folder im clicking inizh file then going to edit, extract all then a window opens called browse for folder then i go to
(C:)/program files/EAgames/command & conquer the first decade/command & conquer the first decade(tm)generals zero hour/data/ini
now when i open where the fils where extracted to i open object folder and open one of the files and edit a bit of it. then click save but and load up the game and nothing happens
Annihilationzh
16 years ago
That depends on the addon or ability. They're in the unit files. Unless you are going to be specific, I can't help you.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
evilskull1234
16 years ago
the main units im trying to change are the overlord to have the addons gatling cannon, battle buncker and PropagandaTower.
and the same addons for the helix (china)
and make command centers builder chinas dozer usa`s dozer and glas worksers
and make other buildings build other arms units if possible
Annihilationzh
16 years ago

wat im doing is opening finalbig then clicking file then open then in the generals zerohour folder im clicking inizh file then going to edit, extract all then a window opens called browse for folder then i go to
(C:)/program files/EAgames/command & conquer the first decade/command & conquer the first decade(tm)generals zero hour/data/ini
now when i open where the fils where extracted to i open object folder and open one of the files and edit a bit of it. then click save but and load up the game and nothing happens


Ok. Delete the folder named INI & all the .ini files in it.

You need to extract the files to
(C:)/program files/EAgames/command & conquer the first decade/command & conquer the first decade(tm)generals zero hour/

Not
(C:)/program files/EAgames/command & conquer the first decade/command & conquer the first decade(tm)generals zero hour/data/ini

Make sure you do this before you do anything else.

the main units im trying to change are the overlord to have the addons gatling cannon, battle buncker and PropagandaTower.
and the same addons for the helix (china)
and make command centers builder chinas dozer usa`s dozer and glas worksers
and make other buildings build other arms units if possible


In CommandSet.ini, you will need to find a line with Command_ConstructAmericaDozer in it. That is the USA Command center.

If you change that section from this:

CommandSet AmericaCommandCenterCommandSet
  1  = Command_ConstructAmericaDozer
  2  = Command_SpectreGunship
  4  = Command_LeafletDrop
  5  = Command_A10ThunderboltMissileStrike
  6  = Command_Paradrop
  7  = Command_SpyDrone
  8  = Command_EmergencyRepair
  9  = Command_DaisyCutter       ;NOTE THIS GETS UPGRADED BELOW
 10  = Command_SpySatelliteScan 
 13 = Command_SetRallyPoint
 14 = Command_Sell
End

Into this:

CommandSet AmericaCommandCenterCommandSet
  1  = Command_ConstructAmericaDozer
  2  = Command_SpectreGunship
  3  = Command_ConstructChinaDozer
  4  = Command_LeafletDrop
  5  = Command_ConstructGLAWorker
  6  = Command_Paradrop
  7  = Command_SpyDrone
  8  = Command_EmergencyRepair
  9  = Command_DaisyCutter       ;NOTE THIS GETS UPGRADED BELOW
 10  = Command_SpySatelliteScan 
 11 = Command_A10ThunderboltMissileStrike
 13 = Command_SetRallyPoint
 14 = Command_Sell
End

It will change the US command center to create GLA workers & China dozers as well.

You need to practise coding more before you change the helix & overlord addons. Something will likely crash the game. Be careful changing things. Bad code will stop the game from starting, until you remove the problematic code.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
evilskull1234
16 years ago
does it have to be just usa command centeror can it be one of the air force, laser and super weapons command centers
Annihilationzh
16 years ago
Yeah. I was just using that as an example.

Airforce's commandcenter is this:
AirF_AmericaCommandCenterCommandSet

Superweapons is this:
SupW_AmericaCommandCenterCommandSet

Lasers is this:
Lazr_AmericaCommandCenterCommandSet

For Toxins worker:
Chem_Command_ConstructGLAWorker

For stealths worker:
Slth_Command_ConstructGLAWorker

For Demolitions worker:
Demo_Command_ConstructGLAWorker

For Infantry's dozer:
Infa_Command_ConstructChinaDozer

For Nuke's dozer:
Nuke_Command_ConstructChinaDozer

For Tanks dozer:
Tank_Command_ConstructChinaDozer
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
evilskull1234
16 years ago
is there a way to make your own army with there buildings and untis?
also gla has fake buildings can they bey change into proper building like suppy stash, barracks, war factory ect.?