Jump to content

Recommended Posts

  • 3 weeks later...
On 26/09/2019 at 7:13 AM, nani said:

version 0.11.3

  • Added: Units selection hotkeys. Select units or buildings based on their class type. You can combine classes with a boolean expression to specify what exactly you want.

Current list: you can add more entries or set as unused the current ones to disable them.

hotkey.autociv.session.entity.by.class.select.(Soldier|Siege|Dog)&!Ship = "Alt+S"   // Selects all attack units except ships
hotkey.autociv.session.entity.by.class.select.Cavalry = "Alt+E" // Selects only cavalry
hotkey.autociv.session.entity.by.class.select.Infantry = "unused"
hotkey.autociv.session.entity.by.class.select.Ranged = "unused"
hotkey.autociv.session.entity.by.class.select.Siege = "unused"
hotkey.autociv.session.entity.by.class.select.Support&Worker|(Support&Elephant) = "Alt+A" // Selects womans and elephant workers.

 

Nani, first off thanks for your hard work!  This is what I asked about in the lobby, found it in the forum!  But im still a little confused on how to add it/implement into auto civ.  Do i have to edit a txt file or something and copy paste this?

Thanks!

Link to comment
Share on other sites

2 hours ago, Emacz said:

Nani, first off thanks for your hard work!  This is what I asked about in the lobby, found it in the forum!  But im still a little confused on how to add it/implement into auto civ.  Do i have to edit a txt file or something and copy paste this?

Thanks!

Tell me what exactly you want to select (and what not) and I explain.

Link to comment
Share on other sites

16 hours ago, nani said:

Tell me what exactly you want to select (and what not) and I explain.

Nani, i want to be able to select by ranged, infantry, etc.  within the screen... so if i put all spearmen on group2 and swordmen group3 but then in a particular screen i want to select all of them but not javs, how would i do that? and vice versa, how to select all javs but no sword/spear

Link to comment
Share on other sites

26 minutes ago, Emacz said:

Nani, i want to be able to select by ranged, infantry, etc.  within the screen... so if i put all spearmen on group2 and swordmen group3 but then in a particular screen i want to select all of them but not javs, how would i do that? and vice versa, how to select all javs but no sword/spear

So first, you go to the user.cfg file, look at https://trac.wildfiregames.com/wiki/GameDataPaths to find it.

Open the file, you will see all the settings and the hotkeys.

To make a new autociv hotkey you make a new line and write:

hotkey.autociv.session.entity.by.class.select.[here goes your awesome filter expression]

Basically what is does is select all the untis that that filter will return true for, the filters will be done with the existing classes the game has. A unit can can have multiple classes like Hero, Cavalry, Soldier, Ship, etc you get the idea. You combine these classes in the filter expression to select what you want. If you want to select only Cavalry then it will be "Cavalry"  if you want only Ships or Trades then "Ships|Trades".

So for you case it would be:

(Ranged, infranty but no javs) -> ((Ranged or  Infantry) and (no Javs) ) -> ((Ranged|Infantry)&(!Javs)) -> Now you pass it to valid names the game has Ranged:ok,  Infantry:ok, Javs is called Javalineer:

hotkey.autociv.session.entity.by.class.select.(Ranged|Infantry)&(!Javalineer) = "hotkey goes here"

put this and there you have it!

So for the oposite? Just write: Javalineer

hotkey.autociv.session.entity.by.class.select.Javalineer = "Hotkey goes here"

You can look at the other hotkeys that go by "by.class.select" for more filters.

------

Added one new filter just now so you can filter by screen visibility. Just add to the gotkey line "by.screen.yes " to only select unit visible in the screen :) Download the last version to get it working :) 

So now you have the hotkey you wanted:

hotkey.autociv.session.entity.by.screen.yes.by.class.select.(Ranged|Infantry)&(!Javalineer) = "hotkey goes here"

hotkey.autociv.session.entity.by.screen.yes.by.class.select.Javalineer = "Hotkey goes here"
 

Link to comment
Share on other sites

  • 3 months later...
On 19/07/2018 at 2:37 AM, nani said:

Player reminder (show a written note when a certain player joins) ***

I also use it to remind myself who often insults others (otherwise I quickly forget).
I would be very happy if the reminder would also work the moment I join a game. Sometimes players are online for hours in the game and have already forgotten the reminder or shortly and the relevant players are there before.
Could you eventually trigger this alert at the moment i join to lobby and at the moment i join to a game?

Up: or ist this already implemented?
i found:
"botManager.get("playerReminder").load(true);"
in
- gui/gamesetup/gamesetup~autociv.js:34  
- gui/lobby/lobby~autociv.js:75

Edited by seeh
Link to comment
Share on other sites

9 hours ago, seeh said:

I also use it to remind myself who often insults others (otherwise I quickly forget).
I would be very happy if the reminder would also work the moment I join a game. Sometimes players are online for hours in the game and have already forgotten the reminder or shortly and the relevant players are there before.
Could you eventually trigger this alert at the moment i join to lobby and at the moment i join to a game?

Up: or ist this already implemented?
i found:
"botManager.get("playerReminder").load(true);"
in
- gui/gamesetup/gamesetup~autociv.js:34  
- gui/lobby/lobby~autociv.js:75

Won't add it as is not really part of the feature. But, you probably can make it react to player join message, only needs some lines to change. Look at the the bot `playerReminder` at https://github.com/nanihadesuka/autociv/blob/master/gui/common/botmanager.js
Check, when the gamesetup starts, for the join events. Change the code for the cases you want to react to and voilà.     

  • Like 1
Link to comment
Share on other sites

3 hours ago, nani said:

But, you probably can make it react to player join message, only needs some lines to change.

yes tahnks. i have now a solution that works for me at the moment :) it sends information to me (as error-message), so i cant forget:

error('xy calls people often .... (July2022 gamesetup_mp.js:36). '); // this is visible :) at the beginning i opened / start a game :) coool.
 

  • Like 1
Link to comment
Share on other sites

sometimes i forget where my workingEle is walking (walkingEle :joytears: )
any idea?

sure if it stands then its a idle then i could select it with # (or what you have configured)

i could select the ele by (my config) Alt+E but this not helps to find it.

any idea? suggestions?

   ______/ \-.   _         _ __ _         _    _  
.-/     (    o\_//        / |..| \       / >--< \ 
 |  ___  \_/\---'         \/ || \/       \|  \ |/ 
 |_||  |_||                |_''_|         |_||_|     wtx

( https://ascii.co.uk/art/elephant )

Edited by seeh
  • Confused 1
Link to comment
Share on other sites

  • 1 month later...
On 28/07/2022 at 11:31 AM, seeh said:

sometimes i forget where my workingEle is walking (walkingEle :joytears: )

  1. focus workingEle.
    Example: hotkey.autociv.session.entity.by.class.select.(Elephant&Support) = "Alt+E"
    btw. i use: hotkey.autociv.session.entity.by.class.select.((Elephant&Support)|(Elephant&Archer)) = "Alt+E"
  2. set camera using Shift+F (may it works bit different with boonGUI that i use).
Link to comment
Share on other sites

  • 2 weeks later...

BUG: Save Button disabled  by a changes in graphical settings.

  1. Settings change while a replay is running
  2. Game Options
  3. Graphics (advanced)
  4. Anti-aliasing
  5. MSAA (16x)
  6. save it (looks beautiful)
  7. change something (i choose FXAA), but save not possible (Button not clickable anymore) but it sends me Warning when i try leave the Menu (should be saved)
  8. Workaround:
  9. disable autoCiv (restart)
  10. do the changes
  11. save
  12. enable autoCiv again (restart)

later ( now FXAA ):

image.png.ff8a020f20c1e218aeb9cc18b49d6a7b.png

 

Edited by seeh
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...