Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline ipod_shift  
#1 Posted : Saturday, September 29, 2012 2:24:10 PM(UTC)
ipod_shift
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
Sponsor
Offline i^love^mixery  
#2 Posted : Saturday, September 29, 2012 6:05:35 PM(UTC)
i^love^mixery
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.
Offline NewNightmare  
#3 Posted : Sunday, September 30, 2012 6:46:11 AM(UTC)
NewNightmare
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

Offline i^love^mixery  
#4 Posted : Sunday, September 30, 2012 9:52:35 AM(UTC)
i^love^mixery
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.
Offline NewNightmare  
#5 Posted : Sunday, September 30, 2012 6:17:25 PM(UTC)
NewNightmare
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...
Offline i^love^mixery  
#6 Posted : Sunday, September 30, 2012 6:46:22 PM(UTC)
i^love^mixery
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.
Offline NewNightmare  
#7 Posted : Sunday, September 30, 2012 7:33:30 PM(UTC)
NewNightmare
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
Offline ipod_shift  
#8 Posted : Saturday, October 6, 2012 2:01:43 PM(UTC)
ipod_shift
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.