Build Nothing Mod

Everything about mods can be found here.

Moderator: Morax

Build Nothing Mod

Postby Haxord » 27 Apr 2015, 21:06

I was wondering if a mod exists to allow you to place an item in the build queue. This item does nothing other than delay your build order (maybe one minute per item). I would like to use it for delaying the building of certain units (perhaps having a factory building scouts with a delay between each scout).
Haxord
Crusader
 
Posts: 14
Joined: 17 Feb 2014, 23:40
Has liked: 3 times
Been liked: 12 times
FAF User Name: ENGY_Haxord

Re: Build Nothing Mod

Postby Shadows » 29 Apr 2015, 14:08

This is an excellent idea.
User avatar
Shadows
Avatar-of-War
 
Posts: 178
Joined: 09 Jan 2013, 00:02
Has liked: 1 time
Been liked: 35 times
FAF User Name: Shadows

Re: Build Nothing Mod

Postby Haxord » 29 Apr 2015, 17:43

On a scale of already done to this is going to take a while, how much effort is required for it? :D
Haxord
Crusader
 
Posts: 14
Joined: 17 Feb 2014, 23:40
Has liked: 3 times
Been liked: 12 times
FAF User Name: ENGY_Haxord

Re: Build Nothing Mod

Postby Sheeo » 29 Apr 2015, 19:31

A naive sim-side solution, is to just make a unit that has 0 mass/e cost but some fixed buildtime to give it 1 minute in the factory tier you want, the unit would either be scripted to self destruct or you would otherwise hook it away.

"The Right Way" would be to mess with construction.lua in the UI layer, and allow it to manage the queue in a more advanced manner.

The latter option would take a while considering the current state of that file (We're working on making it more maintainable), but the first option would be a quick fix.
Support FAF on patreon: https://www.patreon.com/faf?ty=h

Peek at our continued development on github: https://github.com/FAForever
Sheeo
Councillor - Administrative
 
Posts: 1038
Joined: 17 Dec 2013, 18:57
Has liked: 109 times
Been liked: 233 times
FAF User Name: Sheeo

Re: Build Nothing Mod

Postby Haxord » 29 Apr 2015, 22:06

With the first option, will assisting the factory decrease the delay?
Haxord
Crusader
 
Posts: 14
Joined: 17 Feb 2014, 23:40
Has liked: 3 times
Been liked: 12 times
FAF User Name: ENGY_Haxord

Re: Build Nothing Mod

Postby quark036 » 30 Apr 2015, 05:49

Yes
quark036
Avatar-of-War
 
Posts: 165
Joined: 11 Mar 2015, 03:17
Has liked: 10 times
Been liked: 26 times
FAF User Name: Quark036


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest