NotDeadYet
  • NotDeadYet
  • 62.75% (Friendly)
  • Private Topic Starter
17 years ago
How do i only allow each player to have 10 laser turrets, 10 bunkers, 10 tunnel networks, etc.... ?????
"The object of war is not to die for your country, but to make the other bastard die for his"
~George S. Patton~

Sponsor
CommieDog
17 years ago
Add MaxSimultaneousOfType=10 to the code of each object you want to limit.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
NotDeadYet
  • NotDeadYet
  • 62.75% (Friendly)
  • Private Topic Starter
17 years ago
im a noob when it comes to stuff like this, can you please elaborate a little. like where i add this code. sry for inconvienence lol.
"The object of war is not to die for your country, but to make the other bastard die for his"
~George S. Patton~

randomperson
17 years ago
unpack the ini files for each unit you want to limit to zerohour/data/ini/object
open up each file, then search for the unit/sturcture that you want to limit
under engerneering paramitors enter the line of code
save and test

I hop ethis is clear enough for you
UserPostedImage
NotDeadYet
  • NotDeadYet
  • 62.75% (Friendly)
  • Private Topic Starter
17 years ago
lol this is really going to sound bad... i have no clue what your talking about... lol.. do i go to my map folder and open some file? or whats happening here.. i want only 10 turrets on my map, plz explain a little more. 😢
"The object of war is not to die for your country, but to make the other bastard die for his"
~George S. Patton~

bel3ve
17 years ago
Sounds like you have no clue how to mod.😉

Heres a basic tutorial by ME!
First you need to go and Google Final Big and download it. Its a one File program that allows you to open and edit the annoying BIG files the c&c Generals Uses BIG - a file extension used by c&c Generals that holds all of the Engine Code.
Once you have that file downloaded and stored in a place where you wont delete it run the program.
You should Get a basic screen which is not required for what will be done.
Now click Open in the File tab and find your C&C Generals Zero Hour Folder. In the Folder there should be a File called INI.BIG, open the file and then click extract all which is also in the upper menu of Final Big. Extract the files to your C&C generals zero hour folder (not Data) and then exit final big (might take awhile for extraction)
once your files are extracted find your C&C generals zero hour folder and open Data then open INI then open Objects. Once you are here you should see a large amount of Configuration Files which is where all the unit coding and all weapons and stuff is stored. Once your in objects open the File FactionBuilding.ini with notepad(the standard text editor with Microsoft).
Once the file is open Find The Patriot Missile Launcher. Stick this as a NEW LINE by the Build time and Build cost.
MaxSimultaneousOfType=10
Once that is done Find Stinger site and put it in the same place. Then Find The Gatling Cannon and stick it the same place.
Once Those 3 are in the correct place save the file. HIT SAVE AND NOT SAVE AS!!! Save as will make the file a .txt and not an .ini!!!!!!!!!!!!!!!!!!!!!!
then exit the factionbuilding.ini and open up each of the generals files in turn. there you will have to stick the proper code into each of the turrets code as listed above.

If that was to much for you to handle try to just play around with weapon.ini which is located :\C&CGeneralsZeroHour\Data\InI\Weapon.ini
there you can tweak the settings on how much damage a thing does and you might want to change Armor.ini (that's how I got started)😎

If you get a Serious Error message you messed up modding the ini files. The best hope is to Make a fresh copy of the bad file and start again.

NOW TO GO ONLINE AGAIN you have to either drag The INI folder (inside data folder) to another location. or delete the modded files. NEVER DELETE ANY BIG FILES IN THE GENERALS FOLDER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!😮

If you have any other questions ill be glad to help!😄

PS : My Hands ache.
PS#2 : Has anybody made a how to make a sound tutorial yet?
UserPostedImage
NotDeadYet
  • NotDeadYet
  • 62.75% (Friendly)
  • Private Topic Starter
17 years ago
Let me just start with.... holy crap...

Next, thank you for taking the time to do this, but before i try. Will this change the 10 turret limit for any map i want to play? Cause i just want it on the infantry map i was making. This is very complicated, by now im a little intrigued (that how u spell?). So i will mess around with this, but all i wanted was a way to limit turrets on one map, i think u can do that in the scripting. Thanks for the help, i will mess around with it for awhile.

P.S. +1 in rank for bel3ve (Very Helpful)
"The object of war is not to die for your country, but to make the other bastard die for his"
~George S. Patton~