Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
Offline DeVeLiNe  
#1 Posted : Friday, July 10, 2009 10:27:52 PM(UTC)
DeVeLiNe
Captain
Joined: 8/11/2008(UTC)
Posts: 61
Location: Israel

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 :P
Sponsor
Offline DeVeLiNe  
#2 Posted : Saturday, July 11, 2009 9:57:13 PM(UTC)
DeVeLiNe
Captain
Joined: 8/11/2008(UTC)
Posts: 61
Location: Israel

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 :P
Sky Demon  
#3 Posted : Sunday, July 12, 2009 3:03:18 AM(UTC)
Guest
Guest
Joined: 7/31/2008(UTC)
Posts: 563

Was thanked: 1 time(s) in 1 post(s)
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. Smile
Offline DeVeLiNe  
#4 Posted : Sunday, July 12, 2009 3:07:52 AM(UTC)
DeVeLiNe
Captain
Joined: 8/11/2008(UTC)
Posts: 61
Location: Israel

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 :]

Edited by user Sunday, July 12, 2009 3:08:23 AM(UTC)  | Reason: Not specified

A modder in training :P
Offline krit  
#5 Posted : Sunday, July 12, 2009 4:34:53 AM(UTC)
krit
Commander in Chief
Joined: 4/15/2004(UTC)
Posts: 2,200
Location: Gensokyo

Was thanked: 11 time(s) in 10 post(s)
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
Offline DeVeLiNe  
#6 Posted : Sunday, July 12, 2009 4:43:42 AM(UTC)
DeVeLiNe
Captain
Joined: 8/11/2008(UTC)
Posts: 61
Location: Israel

lol come on be serius guys, its a matter of life and death.. for my troops!
A modder in training :P
Offline CommieDog  
#7 Posted : Sunday, July 12, 2009 12:13:08 PM(UTC)
CommieDog
Administrator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffRed Alert Staff: Red Alert Staff MemberAll Stars Staff: All Stars Staff
Joined: 8/3/2003(UTC)
Posts: 3,086
United States

Thanks: 445 times
Was thanked: 186 time(s) in 130 post(s)
Did you add the OCLSpecialPower module to the Red Guard's code?
UserPostedImage
CommieDog: Because someone has to do your dirty work for you
Offline DeVeLiNe  
#8 Posted : Sunday, July 12, 2009 10:17:07 PM(UTC)
DeVeLiNe
Captain
Joined: 8/11/2008(UTC)
Posts: 61
Location: Israel

No, and thats why I asked for help, I have no idea how to start with all of this things.
A modder in training :P
Offline CommieDog  
#9 Posted : Monday, July 13, 2009 10:07:59 AM(UTC)
CommieDog
Administrator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffRed Alert Staff: Red Alert Staff MemberAll Stars Staff: All Stars Staff
Joined: 8/3/2003(UTC)
Posts: 3,086
United States

Thanks: 445 times
Was thanked: 186 time(s) in 130 post(s)
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
Offline evilskull1234  
#10 Posted : Monday, August 3, 2009 4:32:34 AM(UTC)
evilskull1234
Private
Joined: 8/2/2009(UTC)
Posts: 11

does anyone know how to add the new abilitys on to units yet ?
Offline Annihilationzh  
#11 Posted : Monday, August 3, 2009 6:12:55 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 476 time(s) in 331 post(s)
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.
Offline evilskull1234  
#12 Posted : Monday, August 3, 2009 4:20:13 PM(UTC)
evilskull1234
Private
Joined: 8/2/2009(UTC)
Posts: 11

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

Edited by user Monday, August 3, 2009 4:23:59 PM(UTC)  | Reason: Not specified

Offline Annihilationzh  
#13 Posted : Tuesday, August 4, 2009 5:53:21 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 476 time(s) in 331 post(s)
Lets stick to the basics for now.

Download FinalBIG:
http://www.cnclabs.com/d...wnloader.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.

Edited by user Tuesday, August 4, 2009 6:02:14 AM(UTC)  | Reason: Not specified

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.
Offline evilskull1234  
#14 Posted : Tuesday, August 4, 2009 8:23:07 AM(UTC)
evilskull1234
Private
Joined: 8/2/2009(UTC)
Posts: 11

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

Edited by user Tuesday, August 4, 2009 10:18:28 AM(UTC)  | Reason: Not specified

Offline Annihilationzh  
#15 Posted : Tuesday, August 4, 2009 8:47:45 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 476 time(s) in 331 post(s)
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.

Edited by user Tuesday, August 4, 2009 10:48:22 AM(UTC)  | Reason: Not specified

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.
Offline evilskull1234  
#16 Posted : Tuesday, August 4, 2009 10:41:00 AM(UTC)
evilskull1234
Private
Joined: 8/2/2009(UTC)
Posts: 11

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
Offline Annihilationzh  
#17 Posted : Tuesday, August 4, 2009 11:02:13 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 476 time(s) in 331 post(s)
Quote:
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.

Quote:
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:

Code:
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:

Code:
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.
Offline evilskull1234  
#18 Posted : Tuesday, August 4, 2009 12:02:09 PM(UTC)
evilskull1234
Private
Joined: 8/2/2009(UTC)
Posts: 11

does it have to be just usa command centeror can it be one of the air force, laser and super weapons command centers
Offline Annihilationzh  
#19 Posted : Tuesday, August 4, 2009 1:11:42 PM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 476 time(s) in 331 post(s)
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.
Offline evilskull1234  
#20 Posted : Tuesday, August 4, 2009 5:02:01 PM(UTC)
evilskull1234
Private
Joined: 8/2/2009(UTC)
Posts: 11

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.?
Users browsing this topic
Guest
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.