Jump to content


Community Members
  • Posts

  • Joined

  • Last visited

  • Days Won


nani last won the day on October 12 2020

nani had the most liked content!

Recent Profile Visitors

4.344 profile views

nani's Achievements


Centurio (6/14)



  1. Great to see other people that appreciate hotkeys , but in case you didn't know autociv mod already had that feature added long ago (see https://github.com/nanihadesuka/autociv/blob/81601be697900917768089a77273b9be330c58b6/autociv_data/default_config.json#L182) Anyway, is good to have two options. I see you used the proper functions and sane code style to do it so it might have high chances to get merged to the main game if you try it to make a patch (see https://code.wildfiregames.com/)
  2. Don't be one of those who says fixed without explaining the solution
  3. Upload your mod here as a zip, then will be easier to know what's wrong.
  4. New update 25.3.0 Added new hotkey filters to select only units on the screen or outside by.screen.yes by.screen.no
  5. 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"
  6. Checked, no not related to autociv. This case seems like someone had a special (not defined) color, do you have a mod that changes players colors by any chance?
  7. We should make a ticket for this letter overflow bug
  8. That's the solution I also use :d
  9. That map panning movement from the edges is done from c++ (before other events irrc) so is probably hard to disable.
  10. svn add file_name https://stackoverflow.com/questions/4248768/including-new-files-in-svn-diff
  • Create New...