PDA

View Full Version : Adding Units



Jediknight2150
02-15-2003, 05:15 PM
How do you add hidden units/hidden weapons such as the US carpet bomb to the .ini files?

Oldfaq
02-15-2003, 09:49 PM
edit the inis....
Oldfaq

try to figure it out and tell us... and we will look into it...

Shadow
02-16-2003, 05:33 AM
For the US carpet bomb, you just need to make a certain Science usable by the player, give it a cost and a set of PrerequisiteSciences, an example would be like this:


Science SCIENCE_CarpetBomb
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank3 ; first controls country, second rank
SciencePurchasePointCost = 1 ; could be more
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

and voila, you can take an abilit for a general that allows you to use the carpet bomb. you can do the same for all the hidden superweaps, this way you don't break the campaign missions in which you use them.

Jediknight2150
02-16-2003, 03:00 PM
If I did it that way, would I have to replace one of the existing General Promotions?

Phoib
02-16-2003, 05:16 PM
Only one way to find out, isn't it? :p

Jediknight2150
02-16-2003, 05:21 PM
For some reason I can't get the .ini files to affect the game. Where are the files supposed to go anyway. So far they are in my main Generals Directory

Jediknight2150
02-16-2003, 05:36 PM
By the way would anyone be interested if I upgraded the nuke to a H-Bomb. It will be more powerful and hav a larger range but will cost more to build and longer to charge

Oldfaq
02-16-2003, 06:09 PM
put all of them in your Generals directory
Oldfaq

Jediknight2150
02-17-2003, 03:19 AM
Which one? the my documents one or the main one. I cannot get them to work in the main one. Most of the .ini files are inmy D:\Games\Generals folder with some in D:\Games\Generals\Object and D:\Games\Generals\Default

Shadow
02-17-2003, 03:55 AM
put them in the Data directory of the main Generals, that's where I think they go, because inside ini.big there's a data directory and then the directories you mentioned

Jediknight2150
02-17-2003, 04:14 AM
Thanks I'll try that

Jediknight2150
02-17-2003, 06:11 AM
I think I know how to add them. Is it that I add the ini files to the INI.BIG file itself. The Data folder doesn't work

Godwin
02-17-2003, 06:20 AM
people need to start releasing manuals, and all this is giving me the pressure, im gonna buy this shit tomorrow...

DeeZire
02-17-2003, 07:02 AM
http://online.deezire.net/modules.php?name=Forums&file=viewtopic&t=837