redhaint
  • redhaint
  • 65% (Friendly)
  • Private Topic Starter
18 years ago
Hey all, I am trying to get the carpet bomb up and running for USA while playing skirmish. Under the science it says to script it using "grant science" but tells nothing of where to put it or whatever. Any help for a guy who just wants to blow stuff up in a funner way?
Sponsor
Drummin
18 years ago
I haven't tested this but I would imagin that you would put this script in your PlyrCivilian folder.
*** IF ***
True.
*** THEN ***
Player '' is granted Science 'SCIENCE_CarpetBomb'.
The script is found under player/science.
redhaint
  • redhaint
  • 65% (Friendly)
  • Private Topic Starter
18 years ago
There is no playercivilian file on generals that I found.
Drummin
18 years ago
Are you playing Generals or Zero Hour?

I don't know about generals, but if you're playing zero hour, go to Edit/Edit Player list in world builder. You'll see a button called "Add Skirmish Players", Click this. Then go to Edit/Scripts and you should see civilian folder as well as faction folders.
redhaint
  • redhaint
  • 65% (Friendly)
  • Private Topic Starter
18 years ago
generals, zero hour won't work for me.
Me Myself and Pi
18 years ago
Scripting won't work for this. The action, Grant a Science to a given Player (ignoring prerequisites) only works for General's Powers that the player can already purchase.

To do this, you'll need a Map.ini file that contains the code needed to modify the USA faction with this Power. Please let me know which game you are using, (just Generals, or the expansion pack Zero Hour) & I'll compile it for you.
redhaint
  • redhaint
  • 65% (Friendly)
  • Private Topic Starter
18 years ago
Just generals, thanks!
Me Myself and Pi
18 years ago
Okay, here it is. Although in the Generals Power's list, the picture of the carpet bomb doesn't come up for some reason, it's just a blank square. Also, you won't be able to buy the power until you get promoted to the 3rd rank. I've also after it's bought, I got it to show up on the right side of the screen, but that then takes the place of the emergency repair. So if you buy the emergency repair, it won't come up, you'll have to use it from the command center.

Download Attachment: UserPostedImage CarpetBomb.zip 
1.69 KB

After you download the file, extract the Map.ini file out of the CarpetBomb.zip foler. Then put it into your map folder, (My Documents\Command & Conquer Generals Data\Maps\YOURMAPNAME\.)
redhaint
  • redhaint
  • 65% (Friendly)
  • Private Topic Starter
18 years ago
Just to be sure I'm installing correct, My Documents\Command & Conquer Generals Data\Maps\YOURMAPNAME\ where YOURMAPNAME is the ZIP file? If so it didn't take for some reason, is it feasible to put each part in it's appropriate place in the INI file? Thank you for the help.
Yoshi714
18 years ago
no, any map of yours that already exists in that folder will have its own folder named after your map. Within that folder will be the map file (.map) and an image file (.tga) you place the Map.ini file (which you extracted, unzipped, from the download) inside the folder with the other two files. And yes youl could make this available for every map by altering the INI files, but not using the Map.ini file. You would need new instructions or if Pi wants to put one together.
Turtling is not a strategy, its a weakness
redhaint
  • redhaint
  • 65% (Friendly)
  • Private Topic Starter
18 years ago
So then it would only work with custom maps right? That is all I have in my maps file.
Yoshi714
18 years ago
Placing a Map.ini file in a map folder makes that file only work for THAT MAP. If you want it to work for all custom maps you'll have to place it in all the map folders, or if you want it to work for all maps then you'll have to edit the INI files them selves. Very similar to the Map.ini file but takes a little bit more time.
Turtling is not a strategy, its a weakness
redhaint
  • redhaint
  • 65% (Friendly)
  • Private Topic Starter
18 years ago
Ok got it, thanks for the clarification.
redhaint
  • redhaint
  • 65% (Friendly)
  • Private Topic Starter
18 years ago
Now it works! Thanks a bunch.