LetswaveaBook Posted March 15, 2021 Report Share Posted March 15, 2021 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. Quote Link to comment Share on other sites More sharing options...
nani Posted March 15, 2021 Author Report Share Posted March 15, 2021 2 hours ago, seeh said: i happy to read sometimes: "new hotkey added" 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 1 Quote Link to comment Share on other sites More sharing options...
seeh Posted March 15, 2021 Report Share Posted March 15, 2021 (edited) 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 March 15, 2021 by seeh Quote Link to comment Share on other sites More sharing options...
seeh Posted March 15, 2021 Report Share Posted March 15, 2021 (edited) 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:: i disabled: session.gui.barter.toggle - i dont need it. you use it often? 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 March 15, 2021 by seeh 1 Quote Link to comment Share on other sites More sharing options...
nani Posted March 17, 2021 Author Report Share Posted March 17, 2021 (edited) 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 March 17, 2021 by nani 7 2 Quote Link to comment Share on other sites More sharing options...
Langbart Posted March 18, 2021 Report Share Posted March 18, 2021 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). 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). 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" 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` 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. 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. PS: The fonts in the fonts.zip file were created with the Font_builder2. (Thanks to @wraitii for helping with an issue.) 2 2 Quote Link to comment Share on other sites More sharing options...
seeh Posted March 18, 2021 Report Share Posted March 18, 2021 (edited) many users will love the new version 1.02 espaccalially this pretty statistic. i will forward this : UPdate: Edited March 18, 2021 by seeh 2 1 Quote Link to comment Share on other sites More sharing options...
Yekaterina Posted March 18, 2021 Report Share Posted March 18, 2021 3 hours ago, seeh said: many users will love the new version 1.02 espaccalially this pretty statistic. i will forward this : UPdate: OMG thank you nani and seeh! This really helps when I look at replays. Quote Link to comment Share on other sites More sharing options...
seeh Posted March 19, 2021 Report Share Posted March 19, 2021 (edited) 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 March 19, 2021 by seeh Quote Link to comment Share on other sites More sharing options...
seeh Posted March 19, 2021 Report Share Posted March 19, 2021 (edited) 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 March 21, 2021 by seeh Quote Link to comment Share on other sites More sharing options...
nani Posted March 19, 2021 Author Report Share Posted March 19, 2021 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) Quote Link to comment Share on other sites More sharing options...
seeh Posted March 19, 2021 Report Share Posted March 19, 2021 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 Quote Link to comment Share on other sites More sharing options...
seeh Posted March 19, 2021 Report Share Posted March 19, 2021 (edited) /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 Edited March 21, 2021 by seeh Quote Link to comment Share on other sites More sharing options...
seeh Posted March 19, 2021 Report Share Posted March 19, 2021 (edited) 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 March 21, 2021 by seeh Quote Link to comment Share on other sites More sharing options...
seeh Posted March 19, 2021 Report Share Posted March 19, 2021 i want reapair my hotkey get to the autoCiv hotkeys. should be F4 reight? how ist that setup Quote Link to comment Share on other sites More sharing options...
nani Posted March 19, 2021 Author Report Share Posted March 19, 2021 6 hours ago, seeh said: i want reapair my hotkey get to the autoCiv hotkeys. should be F4 reight? how ist that setup delete/backup all autociv user.cfg entries restart 0ad, see if it works 1 Quote Link to comment Share on other sites More sharing options...
seeh Posted March 20, 2021 Report Share Posted March 20, 2021 # 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 1 Quote Link to comment Share on other sites More sharing options...
seeh Posted March 20, 2021 Report Share Posted March 20, 2021 (edited) 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 March 21, 2021 by seeh Quote Link to comment Share on other sites More sharing options...
nani Posted March 20, 2021 Author Report Share Posted March 20, 2021 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" 1 Quote Link to comment Share on other sites More sharing options...
seeh Posted March 20, 2021 Report Share Posted March 20, 2021 (edited) 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 March 21, 2021 by seeh 1 Quote Link to comment Share on other sites More sharing options...
nani Posted March 21, 2021 Author Report Share Posted March 21, 2021 5 hours ago, seeh said: autociv.session.building.place.wallset_stone = "wallset_palisade wallset_siege" ^- this only show wallset_stone Nice catch. Fix: autociv_1.0.2.pyromod 1 Quote Link to comment Share on other sites More sharing options...
seeh Posted March 21, 2021 Report Share Posted March 21, 2021 (edited) 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 March 22, 2021 by seeh Quote Link to comment Share on other sites More sharing options...
nani Posted March 21, 2021 Author Report Share Posted March 21, 2021 Tried? Should work -.- 1 Quote Link to comment Share on other sites More sharing options...
seeh Posted March 21, 2021 Report Share Posted March 21, 2021 (edited) if it's also may be possible to select only the women's? 28 minutes ago, nani said: Tried? Should work -.- yes it works 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 March 21, 2021 by seeh Quote Link to comment Share on other sites More sharing options...
seeh Posted March 21, 2021 Report Share Posted March 21, 2021 (edited) 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 : 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): 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 March 21, 2021 by seeh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.