Jump to content

Recommended Posts

12 minutes ago, Langbart said:

Are you running the latest game version A24? Have you downloaded the latest AutoCiv mod from here "autociv_1.0.0.pyromod"? Do you have other mods enabled? 

I had indeed all the requirement, but I had another mod active that changed the fonts. Seems like that was the problem since I seem now to be able to play the game with autociv.

Link to comment
Share on other sites

2 hours ago, seeh said:

i happy to read sometimes: "new hotkey added" :wine:  

  • how i easy could find out what the new hotkeys are?  how i easy could find out what the new hotkeys are?
  • can I also configure them in a file. config file? simply for a backap. or so.

user.cfg or options->hotkeys

  • Like 1
Link to comment
Share on other sites

39 minutes ago, nani said:

user.cfg

thats what i did before, changing user.cfg. but was overwritten always when i start 0ad again.

~/snap/0ad/199/.config/0ad/config/user.cfg

i will find out what happens there

UPDATE :

works now. probably i tried it forst with readonly values.

for example this change works:

hotkey.autociv.open.autociv_readme = "Shift+F6"

this has no effect:

playername.multiplayer = "seehTEST" (but its not importand for me. some have funny names in lobby. said thats a plugin)

 

 

 

Edited by seeh
Link to comment
Share on other sites

On 07/03/2021 at 2:11 AM, seeh said:

I have an idea. As AutoCiv lower i now nearly all AutoCiv hotkeys. If i hit several times a build hotkey often the building into turning. not bad. My Idea. Some buildings have the same initial letter. How about if pressing it several times would switch through the same building? (Farmstead, Field, Fortress),  Then it would be enough if you only know the first letter to create a building.

what you think about this exampel i tried by changing the ~/snap/0ad/199/.config/0ad/config/user.cfg ?

hotkey.autociv.session.entity.select.Farmstead = "Ctrl+Shift+F", "Ctrl+Shift+F", "Ctrl+F"
hotkey.autociv.session.entity.select.Field = "Ctrl+Shift+F"
hotkey.autociv.session.entity.select.Fortress = "Ctrl+Shift+F", "Ctrl+Shift+F"

if i hit

Ctrl+Shift+F (all buildings with F) all this buildings are selected.

( Ctrl+Shift+F, Ctrl+Shift+F selected fortress. )

Ctrl+F select farm

Ctrl+Alt+F selects all farm

selecting all fortress seems not possible for me. but i dont have so many ;)

BTW i set:

hotkey.autociv.session.entity.select.Storehouse = "Ctrl+S"

and sow not conflict somewhere. before it was "Ctrl+J"

 

hotkey.autociv.session.entity.by.class.select.Dog = "Ctrl+Shift+D"

is this good? A good workaround? good enough to set it as default?

i have problem (kushides) to set new shortcut for select Barrack::

  1. i disabled: session.gui.barter.toggle - i dont need it. you use it often?
  2. hotkey.autociv.session.entity.select.Barracks = "Ctrl+B", "Ctrl+Shift+X"

no select.Barracks works aonly with mouse

==> i found out this problem can not to select barack i found only in kusides

not working Cartaginans:
hotkey.autociv.session.entity.select.Dock = "Ctrl+G"

 

 

 

 

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

version 1.0.2

  • Added
    • Options tab for autociv
    • Smart chat autocomplete (from fgod)
    • Stats overlay (from fgod)
    • Small visual changes
    • Map
      • Skirmish:
        • Volcanic Island (8)
    • All chat commands now work except player reminder 
    • Special cyclic building placer for the same hotkey, see first page to know how to add them
  • Removed
    • Map flare
  • Changed : you will need to remove old settings again :/
    • Hotkeys: they are now changed to reflect better the new meta, with elephant stable and arsenal building having more prominent positions in the keyboard
      • Building hotkeys
      • Building selection
  • Mods compatibility
    • Made it easier to have add special dynamic mod filters and be compatible with multiple mods @badosu @go2die look at file for more info.
      gui\gamesetup\NetMessages\GameRegisterStanza~autociv.js
Edited by nani
  • Like 7
  • Thanks 2
Link to comment
Share on other sites

Thanks @nani.  Very good update.

The following is a tutorial for people with poor eyesight who want a larger 'Stats Overlay'.

Spoiler
  • Download the file autociv_1.0.2.pyromod and unzip it (image below for clarity).

autoziv_unzipped.thumb.jpg.29ba9cbd66b0c17935f82475af734cee.jpg

  • Download the attached fonts.zip file from this post and unzip it.

fonts.zip

  • Create a folder named 'fonts' in the 'autociv' folder and paste the unzipped contents of the "fonts.zip" file in it (image below for a better overview).

fonts_folder.thumb.jpg.b9c24fea2cf99920268f82077b4f6362.jpg

  • In this tutorial we will use the mono-stroke-14 font, which should be enough to see the 'Stats Overlay' better.
  • Open the following file with a normal text editor gui/session/objectives/autociv_statsOverlay.js and go to line 27 and replace:

    textFont = "mono-stroke-10"

with


    textFont = "mono-stroke-14"

mono_14.thumb.jpg.80cb918807d7bf9c8d47696940ec6767.jpg

  • Now we have a larger font, but we need to resize the 'Stats Overlay' to fit all the text in it
  • Go to line 106 in the autociv_statsOverlay.js file and replace

 return `100%-${6.2 * rowLength} 100%-228-${numerOfRows * 12 + 7} 100% 100%-228`

with


 return `100%-${8.2 * rowLength} 100%-228-${numerOfRows * 16 + 7} 100% 100%-228`

size.thumb.jpg.dfc7bf41a2954d449ae4e326415017c2.jpg

  • That's it. Add the folder to your 0 A.D. mods folder and enable the mod via the 0 A.D. app. If you did everything correctly, it should look like in the image below.

endresult.thumb.jpg.e6ed86059c47b2b0165d08cac72b0bd7.jpg

  • More adjustments can be made, e.g. you could remove certain stats  from the "Stats Overlay" or change the background, in the image below you can see just some examples of such changes. :) 

example.thumb.jpg.cf9a5f713f2337ffb830518c506e9e26.jpg

PS: The fonts in the fonts.zip file were created with the Font_builder2. (Thanks to @wraitii for helping with an issue.)

 

  • Like 2
  • Thanks 2
Link to comment
Share on other sites

2 hours ago, Yekaterina said:

OMG thank you nani and seeh! This really helps when I look at replays. 

i did nothing on it. i (not quiet) fan . nani did it and the world ether. many thangs to nani :)
But BTW if you work much with replay may this i also helpful a bit for you:

 

Edited by seeh
Link to comment
Share on other sites

i have problem with reconfigure this shortcuts. not working.

any idea? this my new (not working):

hotkey.autociv.session.entity.select.Support&Farmstead|(Support&Fortress) = "Alt+F"

or so

hotkey.autociv.session.entity.select.(Farmstead|Fortress) = "Ctrl+F", "Ctrl+Shift+F", "Ctrl+Shift+F", "Ctrl+G"
hotkey.autociv.session.entity.select.(barracks) = "Ctrl+B", "Ctrl+X"

 

whey my changes in the user.cfg are destroyed by starting 0ad?

 

Edited by seeh
Link to comment
Share on other sites

This can only select one thing (template name):

hotkey.autociv.session.entity.select.barracks "Ctrl+X"


To select with filters (meaning it starts with "by." prefix )

hotkey.autociv.session.entity.select.by.class.Farmstead|Fortress = "Ctrl+F""Ctrl+Shift+F", "Ctrl+Shift+F", "Ctrl+G"

if this doesn't work it means Farmsted and Fortres class does not exist (I haven't tested using "by" filters with buildings though maybe they just don't work)

Link to comment
Share on other sites

3 minutes ago, nani said:

This can only select one thing (template name):

hotkey.autociv.session.entity.select.barracks "Ctrl+X"


To select with filters (meaning it starts with "by." prefix )

hotkey.autociv.session.entity.select.by.class.Farmstead|Fortress = "Ctrl+F""Ctrl+Shift+F", "Ctrl+Shift+F", "Ctrl+G"

if this doesn't work it means Farmsted and Fortres class does not exist (I haven't tested using "by" filters with buildings though maybe they just don't work)

thanks but any time i change my config it will be overwritten with any 0ad start

Link to comment
Share on other sites

On 19/03/2021 at 1:11 PM, seeh said:

/home/x/snap/0ad/201/.config/0ad/config/user.cfgnow my config was not overwritten.

but was is wrong in my file here in line:

261

 

this is not working. this complete morining i try to reinstall my hotkeys and its not working. what terrible morining  :-(
i think we/i need a good documentation of this. wiki or so.

 

 

Edited by seeh
Link to comment
Share on other sites

# default-keys for build using Firstletter:
arsenal = "Space+A"
barracks = "Space+B"
civil_centre = "Space+C"
wallset_stone = "Space+W" <=== whats that?
defense_tower = "Space+D"
field = "Space+F"
market = "Space+M"
storehouse = "Space+S"
outpost = "Space+O"
temple = "Space+T"
house = "Space+H"

you could learn about 20 default builing hotkeys here https://ankiweb.net/shared/info/1625690939

 

 

  • Like 1
Link to comment
Share on other sites

with this autoKey python script you could build everything (what is already defined in autoCiv) with firstLetter (little config see in script):

https://github.com/sl5net/0ad_autociv_tips_trick_help_collections/blob/master/user.cfg-versions_only-the-middle-of-it/seeh/user.cfg

 

example if press F:

       if fPressedCount == 1: # field = "Space+F
        if fPressedCount == 2:
            keyboard.send_keys("g") # farmstead = "Space+G"
        if fPressedCount == 3:
            keyboard.send_keys("n") # forge = "Space+N"
        if fPressedCount == 4:
            keyboard.send_keys("r") # fortress = "Space+R"
 

Edited by seeh
Link to comment
Share on other sites

48 minutes ago, seeh said:

with this autoKey python script you could build everything (what is already defined in autoCiv) with firstLetter (little config see in script):

https://gist.github.com/sl5net/a9469c0c714a7bed577cfce8d02b4593

example if press F:

       if fPressedCount == 1: # field = "Space+F
        if fPressedCount == 2:
            keyboard.send_keys("g") # farmstead = "Space+G"
        if fPressedCount == 3:
            keyboard.send_keys("n") # forge = "Space+N"
        if fPressedCount == 4:
            keyboard.send_keys("r") # fortress = "Space+R"
 

If what you are trying is to have field farmsted forge fortress in the same hotkey and cycle between then you can do that already like this:

Add this line to user.cfg:

autociv.session.building.place.field = "farmstead forge fortress"

 

  • Like 1
Link to comment
Share on other sites

8 hours ago, nani said:

If what you are trying is to have field farmsted forge fortress in the same hotkey and cycle between then you can do that already like this:

Add this line to user.cfg:









autociv.session.building.place.field = "farmstead forge fortress"

 

and i need to delete probalby lines like: 

farmstead = "Space+G"
forge = "Space+N"
fortress = "Space+R"


or set in comments. whats comments? // ? # / /* ?

other additions they have may this effect:

# build with f
autociv.session.building.place.field = "farmstead forge fortress"
you  dont need edit the other fields.

#  build with c
autociv.session.building.place.civil_centre = "corral"

#  build with d
autociv.session.building.place.defense_tower = "dock"

# build with e

autociv.session.building.place.wallset_palisade = "elephant_stables"

# build with s
autociv.session.building.place.storehouse = "elephant_stables stable sentry_tower"

# build with t
autociv.session.building.place.temple = "defense_tower sentry_tower"

# build with w

autociv.session.building.place.wallset_stone = "wallset_palisade wallset_siege"

 

 

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

is it possible to have this both config lines working?

working for shows first defense_tower then dock with its shortcut:

autociv.session.building.place.defense_tower = "dock"

interested in this also. shows first dock then defense_tower
with its shortcut:

autociv.session.building.place.dock = "defense_tower"

possible?

Edited by seeh
Link to comment
Share on other sites

if it's also may be possible to select only the women's?

28 minutes ago, nani said:

Tried? Should work -.-

yes it works :wine:

shows first defense_tower then dock:

autociv.session.building.place.defense_tower = "dock"

shows first dock then defense_tower :

autociv.session.building.place.dock = "defense_tower"


its always bind as expected to (here my config):

hotkey.autociv.session.building.place.defense_tower = "D"
hotkey.autociv.session.building.place.dock = "J"

 

 

Edited by seeh
Link to comment
Share on other sites

feature request :

select only womens by one alt+a:

hotkey.autociv.session.entity.by.class.select.Wimen = "Alt+A"

double sleect good:

Wimen and working ele

"Alt+A" ,"Alt+A"

ByTheWay :

this is working:
hotkey.autociv.session.entity.by.class.select.(Soldier|Siege|Dog)&!Ship = "Alt+S"
hotkey.autociv.session.entity.by.class.select.Cavalry = "Alt+E"
hotkey.autociv.session.entity.by.class.select.Support&Worker|(Support&Elephant) = "Alt+A"

this is not working:
its not select Fortress:
hotkey.autociv.session.entity.select.by.class.Farmstead|Fortress = "Ctrl+F", "Ctrl+Shift+F", "Ctrl+Shift+F", "Ctrl+G

its not select Storehouse or Farmstead:
hotkey.autociv.session.entity.select.by.class.Storehouse|Farmstead = "Ctrl+S", "Ctrl+Shift+S"
needet to change to :wine::

hotkey.autociv.session.entity.by.class.select.(Storehouse|Farmstead)&!Ship = "Ctrl+S"

this is not working:

hotkey.autociv.session.entity.select.by.class.Farmstead|Fortress = "Ctrl+F", "Ctrl+Shift+F", "Ctrl+Shift+F", "Ctrl+G"


but this:

hotkey.autociv.session.entity.by.class.select.(Farmstead|Fortress) = "Ctrl+F", "Ctrl+Shift+F", "Ctrl+Shift+F", "Ctrl+G"

==> bit funny.
-- "Ctrl+F" gives the fortress sound but selects Farmstead

-- "Ctrl+Shift+F" or  "Ctrl+G" selects both


probably the line 154 has priority:

hotkey.autociv.session.entity.select.field = "Ctrl+F"
i changed therfore to:
hotkey.autociv.session.entity.select.field = ""
and it works :-)

 

this not select forge:

hotkey.autociv.session.entity.by.class.select.(Farmstead|forge|Fortress) = "Ctrl+F", "Ctrl+Shift+F", "Ctrl+Shift+F", "Ctrl+G"

but this also select forge with Ctrl+Shift+F (all this Farmstead|Forge|Fortress):wine::

hotkey.autociv.session.entity.by.class.select.(Farmstead|Forge|Fortress) = "Ctrl+F", "Ctrl+Shift+F", "Ctrl+Shift+F", "Ctrl+G"

i also like this (maybe better):

hotkey.autociv.session.entity.by.class.select.(Farmstead|Forge|Fortress) = "Ctrl+F", "Ctrl+Shift+F"

then this is working like normal:

hotkey.autociv.session.building.place.farmstead = "G"
hotkey.autociv.session.building.place.field = "F"

 

this is workin with a simle Ctrl+F, i love it:

hotkey.autociv.session.entity.by.class.select.(Farmstead|Forge|Fortress) = "Ctrl+F", "Ctrl+Shift+F"

whey i dont need here "Ctrl+Shift+F" ? and wey "Ctrl+Shift+F"  is not working (its only place where its defined) ?
 

# thing about barracks selection (default "Ctrl+X"):
default is
CTRL+X
hotkey.autociv.session.entity.select.barracks = "Ctrl+X"

my feeling says me it should maybe CTRL+B

but
CTRL+B is 'Barter and Trade' (in DE: "Tauschhandel und Handel")

if i set
hotkey.autociv.session.entity.select.barracks = "Ctrl+B"
both happens ('Barter and Trade' and select.barracks)

in the GUI it says:

'May conflict with: session.gui.barter.toggle'

hmmm. i dont know

 

 

 


 

Edited by seeh
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...