Posted by: GeneralManF - Wednesday, April 14, 2010 12:40:07 PM
I need help turning these files into .INI files. Could someone help me? [ATTACH]607[/Attach]
Posted by: hahailostt - Saturday, April 17, 2010 5:06:37 PM
Save as whateveritis.ini?
Posted by: GeneralManF - Saturday, April 17, 2010 5:53:49 PM
What?
Posted by: Annihilationzh - Sunday, April 18, 2010 5:12:35 AM
Quite simply: no. It would take quite a while. It would be a lot faster if you just fixed the scripts in world builder.
Posted by: GeneralManF - Sunday, April 18, 2010 7:47:30 AM
how? another guy, Joey55, in the cnc labs forum told me to turn the script into an .ini. He said that was the only way.
Posted by: Annihilationzh - Sunday, April 18, 2010 9:26:26 AM
This works quite well:
[code]*** IF ***
True.
*** THEN ***
[???] Command button: 'AirF_Command_ConstructAmericaVehicleChinook' is added to all objects of type 'ChinaSupplyCenter' in slot number 3 (1-12).
'AirF_AmericaVehicleChinook' becomes Buildable (Ignore_Prerequisites)[/code]
The first line adds the combat chinook build button to the Chinese supply center, the second line makes the combat chinook capable of being built without a war factory.
There is, however, a bug with this method. If you select from the drop down list, it won't work. You have to remove an invisible character (letter) on the end. When you've done this, world builder will give a warning message (the [???]) but it will work in game.
Posted by: GeneralManF - Sunday, April 18, 2010 9:38:40 AM
Thanks! I bet this info will help alot!
BTW, what's your Generals online name, i want to give you credit!
...
I can't seem to find the second line script. Where is it located?
...
That's odd, it didn't work. I still only have the original command buttons.
Posted by: Annihilationzh - Sunday, April 18, 2010 12:55:44 PM
[quote]Thanks! I bet this info will help alot!
BTW, what's your Generals online name, i want to give you credit![/quote]
Don't worry about it.
[quote]I can't seem to find the second line script. Where is it located?[/quote]
Map>Modify>Adjust the tech tree for a specific object type
[quote]That's odd, it didn't work. I still only have the original command buttons.[/quote]
Are you absolutely positive that you removed the invisible character, and didn't select from the drop down afterwards?
See the attached image, on the left is a broken one. On the right is a working one. [ATTACH]610[/Attach]
Posted by: GeneralManF - Sunday, April 18, 2010 1:14:14 PM
Yes because there all [???].
it looks like you added a ' to it, is that what i need to do?
PS, i will put your name in anyway ;)
Posted by: Annihilationzh - Sunday, April 18, 2010 1:27:14 PM
[quote]it looks like you added a ' to it, is that what i need to do?[/quote]
No. Look again. There is a ' in the bugged version, but it's on the next line. In the corrected version, it is not.
To remove the character (letter), you need to put your cursor at the end of the text (like AirF_Command_ConstructAmericaVehicleChinook) and press backspace. As you would to delete a full stop at the end of a sentence after typing it, but in this case it's an invisible full stop.
This is extremely hard to explain, but I did manage to explain it to someone in this thread:
http://www.cnclabs.com/forums/default.aspx?g=posts&t=8971
Posted by: GeneralManF - Sunday, April 18, 2010 1:35:39 PM
yes i did remove it on all of them. I even deleted the last character with it on some of them just to make sure, i did type them back though.
...
So i have to put it into the civilian folder?
...
Do you know what number to type in to make a supply depot have maximum/Unlimited?
Posted by: Annihilationzh - Sunday, April 18, 2010 2:13:46 PM
[quote]So i have to put it into the civilian folder?[/quote]
Normally, yes. There may be exceptions, but I find it best to stick with what works.
Posted by: GeneralManF - Sunday, April 18, 2010 2:16:01 PM
i have each one in individual folders, do i have to move the folders too?
...
Yes! I'm Done!... Almost, I can't seem to get rid of the build items that are supposed to be blank and i haven't set the supply depots cash amount to max/unlimited.
Posted by: General Pao - Monday, September 27, 2010 12:18:08 AM
Unlimited you say? well theres a very simple way, name the pile of course, then make a script for it, uncheck deactivate on sucess, click the dot box on "Every _ seconds" (how long do you want), then Actions if true; Set 'name of pile' is having 'amount' worth of boxes. I does all the time. whenever a supply is taken away from it, it comes back to that number. I hope this helps.
Posted by: Seb767 - Sunday, February 20, 2011 5:07:29 AM
I think this is an add to this thread, so i just ask here instad of make a new thread.
How can i make units (for example a mig, built on an usa airfield) to have the verterancy status "heroic" when the build is complete?