Private Joined: 6/6/2012(UTC) Posts: 14
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
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
|
|
|
|
Colonel Joined: 10/13/2008(UTC) Posts: 782
Thanks: 7 times Was thanked: 201 time(s) in 147 post(s)
|
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.
|
|
|
|
Colonel Joined: 5/24/2010(UTC) Posts: 492
Was thanked: 48 time(s) in 40 post(s)
|
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 :) Edited by user Sunday, September 30, 2012 6:49:05 AM(UTC)
| Reason: Not specified
|
|
|
|
Colonel Joined: 10/13/2008(UTC) Posts: 782
Thanks: 7 times Was thanked: 201 time(s) in 147 post(s)
|
newnightmare .ini files do transfer online.
its just that they dont work until you restart the game.
|
|
|
|
Colonel Joined: 5/24/2010(UTC) Posts: 492
Was thanked: 48 time(s) in 40 post(s)
|
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...
|
|
|
|
Colonel Joined: 10/13/2008(UTC) Posts: 782
Thanks: 7 times Was thanked: 201 time(s) in 147 post(s)
|
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.
|
|
|
|
Colonel Joined: 5/24/2010(UTC) Posts: 492
Was thanked: 48 time(s) in 40 post(s)
|
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
|
|
|
|
Private Joined: 6/6/2012(UTC) Posts: 14
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
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?
|
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.