Autorepeating units

Duuk

Doom-Sayer
Supporter
Joined
Dec 16, 2005
Messages
1,977
Location
Detroit, Michigan, USA
Is there a way to disable this feature?

It's extremely annoying early game.
 
If you mean the feature that sets units to build repeatedly when you select them from the production popup ("You have completed a Library in London. What should we build next?"), you can turn it off in the City Screen tab of the BUG Options screen (ALT + CTRL + O). It's under Miscellaneous I believe.

I, too, have a love/hate relationship with this new feature. When I get into unit-building mode (war), it's awesome. But yes I often find myself screaming, "WTF I don't need another work boat damnit!" I'm hoping it's just a matter of getting used to it.

Before you ask, I tried all sorts of ways to detect the modifier keys in that popup, but popups apparently block all such detection. :( I also tried to add a "Build Repeatedly" checkbox to the top of the popup, but you cannot access the popup to get the checkbox's value given how the unit/building/process buttons in the checkbox work. :cry:

The other idea I came up with but just didn't like was to double-up every unit button:

  • Library (recommended Research)
  • Archer (recommended Military)
  • Archer (repeat) (recommended Military)
  • Worker
  • Worker (repeat)
  • Settler
  • Settler (repeat)
  • Warrior
  • Warrior (repeat)
  • ...
That would make the popup a lot more infuriating to use I think.
 

I can't find it. Neither there nor anywhere.
Should there be some option for gov_workers too? Then I can't find that either :p
 

Attachments

  • BUG-Options-C.jpg
    BUG-Options-C.jpg
    70.1 KB · Views: 300
The Gov Workers options are in your Player profile (that's how it was coded) in the normal Options screen (CTRL + O).

The options for training units repeatedly are below the specialist view dropdown in the latest BUG. It looks like you have a newer BULL than BUG. You can either a) grab the latest BUG from our SVN repository or b) set those options in the XML/GlobalDefinesAlt.xml file.

The BUG options screen takes precedence over the XML file. The latter exists for people that don't have BUG or have a BUG older than BULL.
 
Yeah, that BUG might be older .. (december I think) BULL at least is newest. But I just noticed jdog committed a new BBAI version, so I'll have some more work to do before I'm done anyway.



Aand I mistyped the BULL version, should be current revision 112 of course, not 122 :p
 

Attachments

  • BBAIBULLBUG.png
    BBAIBULLBUG.png
    5.1 KB · Views: 276
My build forever option doesn't work at all. Everything else does BUT that I think.

I Installed Rise of Manking and A New Dawn (BUG is included in these mods right?), but my build forever option doesn't work.

I used Ctrl+Alt+O and checked the boxes for building civilian and military units forever, but it has no effect ingame. I've even tried restarting the game multiple times and trying again. Anyone have a similar problem? I see the "You've made a bla in bla bla, what would you like to build next?" popup on the right hand side of the screen, but no matter what I choose it only builds one unit and asks me again.
 
Most likely you have a newer version of BUG than BULL. Unfortunately they are not tied together. BUG holds the on-screen option controls while BULL has the actual feature, so if they are mismatched you can get this. I never expected so many mods to be pulling the SDK directly from the SVN, but that's a good thing so I'll see what I can do to make this easier.
 
Most likely you have a newer version of BUG than BULL. Unfortunately they are not tied together. BUG holds the on-screen option controls while BULL has the actual feature, so if they are mismatched you can get this. I never expected so many mods to be pulling the SDK directly from the SVN, but that's a good thing so I'll see what I can do to make this easier.

A victim of your own success, eh?

Yeah, my copy of BULL is out of date because it is a royal PITA to merge at this point. Perhaps a version checker? But that might be too complex... I should really just update to the latest BULL. :gripe:

Perhaps you could follow some modding standards and keep new functions at the end of the cpp files?
 
Is there a guide to modding standards somewhere? :D

It's more programming style, using camelCase, etc...

I found it's much simpler to add stuff to the bottom of files in the SDK, so merging doesn't turn into this nightmarish hell:
Spoiler :



Yes, this is me updating my source code to the latest BULL revision.
 
It's more programming style, using camelCase, etc...

Except good programming style says to keep related functions together, and I do this. It may be selfish, but I write BULL in a way that makes it easy to maintain BULL. :p

Yes, this is me updating my source code to the latest BULL revision.

If you have your code in SVN it will do the merge for you. You can use SVN Merge to compute the differences between any two revisions of BULL (last rev you merged and HEAD) and apply them to your source tree. Then you can tweak what you want and commit to your repo. This is how I maintain sanity with BUFFY that has its own pair of BUG and BULL repos.
 
Well, would the best course of action for people in my situation be to find the latest version of BULL and overwrite the old one?

In the event of said case being true, am I to assume it's a pretty straightforward copy n paste job with no surprises?
 
Well, would the best course of action for people in my situation be to find the latest version of BULL and overwrite the old one?

In the event of said case being true, am I to assume it's a pretty straightforward copy n paste job with no surprises?

Uh, if you are playing RoM/AND or any other mod, merging is a lot more complicated than that.

If you are just using BULL/BUG, then you are correct.
 
http://forums.civfanatics.com/showthread.php?t=273373

This thread says that ROM comes with BUG 4.1 at least partially combined. Is there any chance of getting them to work together? I'm willing to (reluctantly) remove AND if necessary to get this feature. I REALLY want repeating units...

It isn't a matter of AND. You'd need to get rid of RoM as well. BULL uses a modified DLL, which requires modders to merge changes in by hand and recompile a new one. Any mods with a modified dll (RoM, AND, RevDCM... they all have custom dll's) will need to update their dll.

Or you could be patient as I just updated my copy of BULL to the very latest, so my next release will have this feature in it. :p
 
I REALLY want repeating units...

I just want to double-check here. You know that you can hold down ALT when clicking on a unit build icon (bottom-center of the screen where the unit action buttons are as well) to have the city repeatedly build the unit, right? All this does it make it so clicking a unit in the production popup does the same thing.
 
Ah, well then you'll love these as well:

  • SHIFT: Add unit/building to end of queue.
  • CONTROL: Insert unit/building at top of queue.
Both can be combined with ALT.
 
Just don't be surprised when you get your 100th archer from a city that you haven't visited for ages. If you combine a wey point with you auto build city - you might never hear from that city again :D.
 
Top Bottom