Forged Alliance Forever Forged Alliance Forever Forums 2013-04-12T15:28:15+02:00 /feed.php?f=2&t=3628 2013-04-12T15:28:15+02:00 2013-04-12T15:28:15+02:00 /viewtopic.php?t=3628&p=38020#p38020 <![CDATA[Re: Customizing the unit manager]]> Statistics: Posted by Vicarian — 12 Apr 2013, 15:28


]]>
2013-04-12T12:15:58+02:00 2013-04-12T12:15:58+02:00 /viewtopic.php?t=3628&p=38001#p38001 <![CDATA[Re: Customizing the unit manager]]>

If you would like to try it you must do the following.

First backup the lua.scd file located in your gamedata directory. (Doing this prevents patching problems).

Open the new lua.scd file and navigate to "lua/ui/lobby/" in there you should find two files with the word restrictions in them. One says data the other says just restricted units. open the data lua file and look at the bottem of the lua file. you must first add your new restriction to the bottem and then load up a skirmish game with cheating and press alt+F2 find the units you would like to disable and write down there code IE ual0301 is the Aeon Subcommander. this code putting this code in your new restriction will disable sub commanders for the aeon do this untill you have restricted all the units you want.


Found that on another forum, it seems to work all the way up to actually selecting the new restriction in-lobby, whereupon the restriction is nowhere to be found.. for some reason its not showing up, trying to troubleshoot it now. Considering modifying an existing one instead.

edit: it seems that the changes that I'm making to lua.scd, despite persisting after I've done them, are not affecting the actual game at all. Not sure why. Bit stuck now. Even tried completely removing one of the existing restrictions, it still showed up in the lobby UI and still worked in-game...

edit2: ok i tried editing the actual unit restrictions of the existing restrictions, and those changes seem to be showing up.

Ok so confirmed that creating new restrictions does not work, but modifying the existing ones does. You can't change anything about the way the restriction displays in the lobby UI, but changes to the units that it restricts do work, tested this by making the TECH2 restriction actually restrict TECH1, etc.

Statistics: Posted by Yosharian — 12 Apr 2013, 12:15


]]>
2013-04-12T11:31:46+02:00 2013-04-12T11:31:46+02:00 /viewtopic.php?t=3628&p=37999#p37999 <![CDATA[Re: Customizing the unit manager]]>
Vicarian wrote:
It's possible though it'll have to be done in some convoluted way. Note the Army IDs in the menu TA uses to spawn units: http://www.youtube.com/watch?v=7MEkpBBClGg. I'm not sure if the IDs are assigned before the game is launched, or after. If it's after, then it would be impossible to set without using console commands.

I don't mind if its convoluted... I don't really understand what you wrote there though =p

Statistics: Posted by Yosharian — 12 Apr 2013, 11:31


]]>
2013-04-12T01:26:19+02:00 2013-04-12T01:26:19+02:00 /viewtopic.php?t=3628&p=37980#p37980 <![CDATA[Re: Customizing the unit manager]]> http://www.youtube.com/watch?v=7MEkpBBClGg. I'm not sure if the IDs are assigned before the game is launched, or after. If it's after, then it would be impossible to set without using console commands.

Statistics: Posted by Vicarian — 12 Apr 2013, 01:26


]]>
2013-04-12T00:41:57+02:00 2013-04-12T00:41:57+02:00 /viewtopic.php?t=3628&p=37979#p37979 <![CDATA[Customizing the unit manager]]>
So to explain my problem, in TA you could set up custom matches against the AI where they couldn't build specific units, for example you could make all the AIs Core and turn off Intimidators, while you (Arm) could build Big Berthas.

In SupCom you can't do that because the unit manager only allows you to turn off unit types, so for example you can only turn off ALL large artillery pieces or ALL experimentals.

This limits the scope of custom games, for example if I want a relaxing game where I just wanna build a huge base, I can't do that without turning off all MY toys as well as theirs.

So my question is, is there a way to modify the unit manager such that specific units can be removed from the builders, for example: UEF can no longer build Fatboys.

Thanks again.

Statistics: Posted by Yosharian — 12 Apr 2013, 00:41


]]>