OneClickWonder (T2/T3 Mex Support)

Everything about mods can be found here.

Moderator: Morax

OneClickWonder (T2/T3 Mex Support)

Postby Dragonfire » 15 Oct 2014, 12:25

I love the original mod OneClickWonder:
http://forums.gaspowered.com/viewtopic.php?f=7&t=47419

Spoiler: show
One Click Wonder.
Now, by popular demand (read: like three of you) as a standalone mod!


1. Single click mex construction.

**** clicking the UI, **** build mode, and **** other UI mods (you know who I'm talking about) that help making building easier. You can't get any easier than clicking on a damn mass deposit. I'll be adding Hydrocarbons in the next release, so don't tell me to put them in . Got that working a while ago.

2. One-click (and a key) rebuilding of destroyed structures.

My abuse of WorldView may not end with constructing mexes. Grab some engineers, find something of yours that is blown up, hold Alt. and rebuild!

4. Manual Repair/Construction of something that would otherwise be Guard/Assist.

Ever wanted to power-build a factory, or repair one but not want your engineers assist afterwards? Again, use Alt. for much win; mousing over an incomplete and/or damaged structure with engineers will set the current UI order to repair. Drop a left-click on the object and you're golden.


If my UI modding revelation inspires new ideas, or ideas that were considered impossible; I'm happy to consider and investigate requested additions.

http://code.google.com/p/healthandmana/ ... r%2003.zip [release 3.]


But the mod spams into you log and you cannot build T2 and T3 mexes.
I am not a modder (only familiar with java/python).
Thanks to Washy he cleaned up the spam and added T2/T3 mexes support, if you ONLY select units from the same tier.

The code is available here:
https://github.com/IDragonfire/OneClickWonder

Bugs:
https://github.com/IDragonfire/OneClickWonder/issues/1


####

I try to start modding, but my debugger is not working :(
http://www.bilder-upload.eu/show.php?fi ... 023835.jpg
http://www.bilder-upload.eu/show.php?fi ... 023507.jpg
Last edited by Dragonfire on 31 Oct 2014, 19:29, edited 1 time in total.
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: OneClickWonder (T2/T3 Mex Support)

Postby Lionhardt » 17 Oct 2014, 20:37

Imo there is a much bigger issue with oneClickWonder. That is, you often accidentally misslick on a mass spot when try to draw a selection box while having your com or an engine selected, if you have zoomed out a little. This always screw you over for a good few seconds, because by this you might just have deleted a build queue or a reclaim route etc.
Help me make better maps for all of us, visit my Mapping Thread.

Maps needing gameplay feedback:
Spoiler: show
[list updated last: 31.1.2018]

(maps available in the vault)

- Hexagonian Drylands
- Fervent Soil and Torrid Suns

YouTube Channel
User avatar
Lionhardt
Contributor
 
Posts: 1070
Joined: 29 Jan 2013, 23:44
Has liked: 188 times
Been liked: 144 times
FAF User Name: Lionhardt

Re: OneClickWonder (T2/T3 Mex Support)

Postby ABSTRACT » 26 Sep 2015, 19:25

Added some issues to the repo
User avatar
ABSTRACT
Avatar-of-War
 
Posts: 110
Joined: 03 Nov 2014, 13:39
Location: Germany
Has liked: 11 times
Been liked: 5 times
FAF User Name: ABSTRACT

Re: OneClickWonder (T2/T3 Mex Support)

Postby mirroredwang » 26 Sep 2015, 20:53

Lionhardt wrote:Imo there is a much bigger issue with oneClickWonder. That is, you often accidentally misslick on a mass spot when try to draw a selection box while having your com or an engine selected, if you have zoomed out a little. This always screw you over for a good few seconds, because by this you might just have deleted a build queue or a reclaim route etc.


bump

less leniency further zoomed out would help
mirroredwang
Avatar-of-War
 
Posts: 119
Joined: 22 Aug 2015, 22:56
Has liked: 9 times
Been liked: 8 times
FAF User Name: Topkack

Re: OneClickWonder (T2/T3 Mex Support)

Postby Dragonfire » 26 Sep 2015, 21:18

I only modified the original mod. I have no idea how to fix this technical and conceptual.

E. G. I used this feature very often to build mexes from far away.
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: OneClickWonder (T2/T3 Mex Support)

Postby PsychoBoB » 12 May 2017, 23:42

Hi Dragonfire, will you be so kind and adapt this mod to the actual patch?
If you fear the dark you have never seen what light can cause!
PsychoBoB
Priest
 
Posts: 396
Joined: 12 Sep 2011, 09:25
Has liked: 152 times
Been liked: 29 times
FAF User Name: McNeil

Re: OneClickWonder (T2/T3 Mex Support)

Postby Dragonfire » 13 May 2017, 09:28

I am sorry... I never really dig into the mod development and only manage the repository...
If some body can fix it I can give him permission to the repository... https://github.com/IDragonfire/OneClickWonder/issues/5
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: OneClickWonder (T2/T3 Mex Support)

Postby CookieNoob » 13 May 2017, 17:16

I fixed it and updated the code in the github repo. I'll add the current UID to the blacklist (will only take effect after the next game update) and upload a new version here (and on the vault).
Attachments
OneClickWonder.zip
(6.57 KiB) Downloaded 112 times
Check out the next level of maps: viewtopic.php?f=53&t=13014
For adaptivity, customizability and less clutter in the vault.
User avatar
CookieNoob
Priest
 
Posts: 477
Joined: 02 Aug 2014, 17:07
Has liked: 65 times
Been liked: 249 times
FAF User Name: CookieNoob

Re: OneClickWonder (T2/T3 Mex Support)

Postby ABSTRACT » 15 Sep 2017, 16:39

An upgraded com will still build T1 mexes.
User avatar
ABSTRACT
Avatar-of-War
 
Posts: 110
Joined: 03 Nov 2014, 13:39
Location: Germany
Has liked: 11 times
Been liked: 5 times
FAF User Name: ABSTRACT

Re: OneClickWonder (T2/T3 Mex Support)

Postby PsychoBoB » 15 Sep 2017, 19:47

ABSTRACT wrote:An upgraded com will still build T1 mexes.

That's intended. It's more efficienct to reclaim the wreck of a T2/T3 Mex and build a T1 Mex first. (You get 80% of the mass back)
If you rebuild the T2/T3 Mex directly you only get only 50% mass back.
With the behaviour of this mod you can be sure to get the more efficient variant.
If you fear the dark you have never seen what light can cause!
PsychoBoB
Priest
 
Posts: 396
Joined: 12 Sep 2011, 09:25
Has liked: 152 times
Been liked: 29 times
FAF User Name: McNeil

Next

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest