Forged Alliance Forever Forged Alliance Forever Forums 2019-02-15T21:29:26+02:00 /feed.php?f=41&t=17222 2019-02-15T21:29:26+02:00 2019-02-15T21:29:26+02:00 /viewtopic.php?t=17222&p=171955#p171955 <![CDATA[Re: Disallowed orders from ui side]]>

Statistics: Posted by Strogo — 15 Feb 2019, 21:29


]]>
2019-02-14T20:27:47+02:00 2019-02-14T20:27:47+02:00 /viewtopic.php?t=17222&p=171935#p171935 <![CDATA[Re: Disallowed orders from ui side]]> You can do this with a sim mod. That means everyone in the game needs this mod. (and can use it)

Ui (user interface) mods are only to display things.
Any attempt to do movements etc with a UI mod is considered as cheating.
(And we will change the game code to prevent cheating if necessary)

If you want an example how units can be automated then take a look at my "Ninja Reclaim Drones" (autoreclaim bot) mod:
http://forums.faforever.com/viewtopic.php?f=41&t=13145
Its a sim mod of course.

Statistics: Posted by Uveso — 14 Feb 2019, 20:27


]]>
2019-02-14T17:10:50+02:00 2019-02-14T17:10:50+02:00 /viewtopic.php?t=17222&p=171934#p171934 <![CDATA[Disallowed orders from ui side]]>
The only way i found to do that is by using GiveOrders callback from spreadmove.lua. So keeping the functionality of copying orded queue into shadow orders would allow to make a shift-version of that. It works fine when you just try to make simple stuff like walk into a spot where there is a lot of reclaim and shift-click all rocks/trees there. However i quickly realised that GiveOrders cb removes reclaim and a bunch of other orders from a queue. That means it would be impossible to achieve my goal with this mod - quickly and handily creating engineer routes on Setons.

I assume it was done to prevent autoreclaiming bots or smth, but i still wonder if there is a chance this could be revisited by faf team or maybe some workaround be implemented or should i switch to scipts instead(making it as a mod would allow it to be distributed in vault and also may help with my issues from another thread of mine).

Statistics: Posted by HerzogGorky — 14 Feb 2019, 17:10


]]>