ipod_shift
  • ipod_shift
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
In my AoD map, I am making the stinger soldier buildable. I am about halfway done; I have the commandbutton created, and I have also made the stinger soldier selectable. But, I can't change the build cost and build times - I know you can't change them - but I was wondering if there was a way I could just alter another unit that has a build cost of like 500 that isn't really required for an AoD, like a technical or something..
If anyone has any known way of changing build cost/times, please tell me in a comment. Thanks
Sponsor
i^love^mixery
13 years ago
what you need is an .ini file.

but with an .ini file the playability of your map will decrease because .ini files cause a mismatch if you transfer the map online to other people. they have to restart their entire game after recieving the map in order to fix that.


and without .ini files there is no way to lower the build time of any unit..

you have to decide if its worth to use an .ini file in your map or not.
NewNightmare
13 years ago
You'd have to paste the code of stinger soldier under the object of technical (either of the 3).
leaving cost out of the code (since it doesnt change anyway) - change its kindofs and all that...
and redirect commandbutton/commandsets and voila.
But yeah, ini files are not transfered online, so you'd have to advertise it on discovery channel or sth :)
P.S >>>BUT<<< remember that if you do not remove the edited technical from the random production code thing (coz the 3 technicals are build by another object - look up commandbutton for exact object name). Or you will be randomly building a stinger soldier or technicals 🙂
i^love^mixery
13 years ago
newnightmare .ini files do transfer online.

its just that they dont work until you restart the game.
NewNightmare
13 years ago
well then that doesnt make any sense, coz map.ini are loaded along with the map, not with the game (i.e you wont get an error if you have a typo in a map.ini untill you load the map), so if downloaded, it should be loaded the moment its refreshed in unofficial maps section...
i^love^mixery
13 years ago
i cant explain it either.

it will be transfered but it has no effect until you restart the game. test it and you will see.
NewNightmare
13 years ago
Ive modded the game to a level where removing INI folder STR file and ART folder is not enough to bring game back to its stock value so I cant play multi 🙂 and I CBA re-installing
ipod_shift
  • ipod_shift
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
Sorry about the late reply, I had school all week.
Anyways, I am using a .ini file for my map.. Sorry I didn't specify that.
I tried to put in a build cost and build time, but the build time won't work at all; it just makes the unit in like 1 second, and the build cost shows in the description for stinger soldier that it costs 500, but it builds for $0. With my .ini file, how can I change the cost/prices, in the easiest way possible?