Skip to content

sl5net/autocivP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

♇ AutoCivP plus some goodies

Thanks to Nani (most source is from Nani)

Thanks to all the 0 A.D. players who found it useful.

  • General

    • Help command: type /help matchWord to see all available commands. Also possible to use regEx searchpattern.
    • Jitsi commands: type j to create and send a jitsi-audioChat-link
    • open links alias: type li to open a link.
    • type to see available commands that you have already used (history is saved into user.cfg).
    • some other little commands that works like: type command
  • Wider Array of chat commands

  • Jitsi (Voice Chat)

    • it makes sure that all team members use the same jitsi-chat
  • map-profiles ( https://wildfiregames.com/forum/uploads/monthly_2023_07/Screenshot_20230725_150411.jpg.a954e52a74bb8dd0400c20e205933b61.jpg )

  • mod-profiles ( https://youtu.be/pt3VGm4N_Cw )

  • prettyToggle - quick/easy during the game: Lower Graphics <-> Greater Graphics

  • communityModToggle - quick/easy not possible during the game

  • listIcons - command: use Symbols for some mod (not all are optional)

  • Auto-save Drafts in Chat: Never Lose Your Message Again! when you use hotkey for toggle beetween allies-room to all-room content or back. This feature ensures that the content of a chat message is not lost if it has not been sent yet. Instead, the content is saved and can be retrieved even if the user navigates away from the chat screen before sending the message. This can be useful to prevent users from losing their work in progress.

  • setup all defaults by type into the chat: feature value

  • Tab-Commands (easy to find by very good fuzzy-search):

  • and More...

Planned Features

  • change the polar_sea time slices to other minues (e.g. from 15 to 5 Minutes)
  • maybe rename it this mod to ProCommandLine with Symbold ♇ (PLine)
  • maybe move it to gitlab

Limitations

There is a limitation in the game where replays are not saved when you are the host of a team or 1v1 game. However, replays are saved when you join and play 1v1 games or team games.

but no problem if you use from the newer releases :

...noMpJS... .zip

Questions & feedback

For more information, questions and feedback, visit the thread on the 0 A.D. forum. Best place for post issues here: https://github.com/sl5net/autocivP/issues/

autoCivP and AutoCiv

autoCivP

participation is welcome. are you a developer or want to become one?

This mod is an aggregation of features meant to enhance the 0 A.D. game experience. I usually implement these extra features as they come up with no general plan in mind.

Feature list added by autocivP (most features from autociv )

  • General
    • Help command: type /help matchWord to see all available commands. Also possible to use regEx searchpattern.
    • Jitsi commands: type j to create and send a jitsi-audioChat-link
    • open links alias: type li to open a link.
    • type to see available commands that you have already used (history is saved into user.cfg).
    • some other little commands that works like: type command
  • Wider Array of chat commands
  • Jitsi (Voice Chat)
    • it makes sure that all team members use the same jitsi-chat
  • map-profiles ( https://wildfiregames.com/forum/uploads/monthly_2023_07/Screenshot_20230725_150411.jpg.a954e52a74bb8dd0400c20e205933b61.jpg )
  • mod-profiles ( https://youtu.be/pt3VGm4N_Cw )
  • mod-profiles: don't need to change your map config anymore when we have changed our mod config: https://wildfiregames.com/forum/topic/107371-autocivp-add-ons-profiles-jitsi-team-call/#comment-553794
  • Reuse Drafts: Your last chat message or the last chat message you received. Easy to select a portion and simple to copy. Type Tab in an empty chat.
  • Auto-save Drafts in Chat: Never Lose Your Message Again! when you use hotkey for toggle beetween allies-room to all-room content or back. This feature ensures that the content of a chat message is not lost if it has not been sent yet. Instead, the content is saved and can be retrieved even if the user navigates away from the chat screen before sending the message. This can be useful to prevent users from losing their work in progress.
  • msg2 copies 2 messages greater than 8. For example, now it's much easier to copy them to a translator app and translate them into our language.
  • setup all defaults by type into the chat: feature value
  • and More...

Feature list Autociv

  • General
    • Readme: press Shift + F4 to open
    • Player mute
    • Player reminder (show a written note when a certain player joins) ***
    • Link opener (opens URL links from the chat)
    • Help command: type /help to see all available commands
    • Console with autocomplete (Ctrl + C + L)
  • Lobby
    • Resize bars
    • Host name mark
    • Remember playerlist state
    • Better performance when reloading lobby
    • Shortcuts to create host, navigate gamelist
    • Write s?search_text_here at the chat input to search lobby chat
  • Game setup
    • Auto-assign civilization with chat (only works if host has the mod)
    • Custom population limit
    • Custom starting resources
    • Custom map size
    • Countdown to start the game
  • Maps
    • Skirmish:
      • Volcano island (8)
  • In Game
    • Hotkeys for (see hotkeys with hotkey viewer)
      • Buildings placement
        • Multiple buildings per hotkey (optional, user.cfg)
          • How to use: Copy the hotkey you want and remove the "hotkey." prefix, next replace the hotkey key for the buildings you want to cycle and separate them by a space.
      • Buildings selection
      • Units selection
      • Formations (selected units)
      • Stances (selected units)
      • Auto-train (selected buildings)
      • Minimap expand
      • Custom selection filters by:
        • health
        • rank
        • class
        • group
        • screen
    • Stats overlay
    • Pause game overlay now shows only in the top area
  • Settings
    • Max corpses visible

more intuitive hotkey feature (optional)

since 0ad A24 (was in other mod) intuitive hotkey feature are developed

you can't remember the hotkeys?

try this:

FirstLetter of the Building (press several times for toggling) ==> build the Building

Ctrl+FirstLetter of the Building ==> selects Building or the Buildings

ALT+FirstLetter of the Creature ==> selects Creature or Creatures

intuitive h. examles:

space = jump/toggle last attack

build examles:

h = build house
m = build markt
b = build backack
f = build farm
f,f = build farmstead
f,f,f = build fortress
.... etc. understand?

select buildings examles:

ctrl+ h = select house
ctrl+ m = select markt
ctrl+ b = select backack
ctrl+ f = select farm
Ctrl+ s = select Storehouse Ship Stable ElephantStable Dock ...
Ctrl+ X = select Barracks + ElephantStable + Stable (remember X like nearly everything)
... etc.


select Creatures examles:

alt+ W = select woman
alt+ I = select infrantrie
Alt+ P = select Pikeman, Spearman, Fanatic
Alt+ C = Cavalry
Alt+ A = Archer, Elephant&Archer, Slinger Javelineer, ...
Alt+ S = Swordman , ..
Alt+ E = Elephant for Support
Alt+ K = Catapult (exceptions becouse of conflict)
Alt+ H = Healer
J = wounded (exceptions becouse near Healer)
k = selects only nowoundedonly using mouse
.... etc. understand?

exceptionally other spellings:

this selects all >D<angerous E. archer-,war-,hero-Elephant,... (not Support&Elephant):

Alt+ D = Dangerouse Elephants
Alt+ V = Siege and Ministers (Siege: rams, not heros, Catapult, Bolt Shooter, Siege Tower ...)
Alt+ M, Alt+X = select all military ( nowoundedonly )
Alt+ N = select all non military
... etc. please tell if you missing something

https://youtu.be/MSnrCGFqxjo

select Barracks + ElephantStable + Stable) "Ctrl+X" (remember X like nearly everything)

Barracks, ElephantStable ,Stable = "Ctrl+X"

this selects only nowoundedonly using mouse (May think about oK. he is ok or so):

hotkey.autociv.selection.nowoundedonly = "K"

this selects only woundedonly using mouse (think about: Lie down to bed better to geht healty again):

hotkey.selection.woundedonly = "L"

selects diplomacy with < (think about: give out, move resources to your partners):

diplomacy.toggle = "<"

Howto find the names? i use create map scenario editor

BTW cant find WarElephant into the scenario editor

and taka a long in your user.cfg

compare iHot (intuitive hotkeys) (optional) and niHot (non intuitive hotkeys) (optional)

intuitive hotkeys Action non intuitive hotkeys
H build house Space + H
M build market Space + M
B build backpack Space + B
F build field Space + F
F, F build farmstead Space + G
F, F, F build fortress Space + R
D build dock Space + J
D, D build defense_tower
E build elephant_stables
A build arsenal
A, A build ArmyCamp
A, A, A build Assembly
A, A, A, A build AmphitheaterPompeii
A, A, A, A, A build Arch
Ctrl + firstletter should work with all buildings
Ctrl + H select house Ctrl + H
Ctrl + M select market Ctrl + M
Ctrl + B select backpack Ctrl + X
Ctrl + F select farmstead Ctrl + G
Ctrl + S select Storehouse, Ship, Stable, ElephantStable, Dock ... Ctrl + V for Storehouse, Ctrl + Z for Stable, Ctrl + Q for ElephantStable
Ctrl + X select Barracks + ElephantStable + Stable (remember X like nearly everything) Ctrl + X
Ctrl + C select CivilCentre, Corral, Crannog Ctrl + C for CivilCentre
Ctrl + T select temple Ctrl + T
Ctrl + A select Arsenal, ArmyCamp, Assembly, AmphitheaterPompeii, Apadana, Arch
Ctrl + D select Dock, Defense_tower , Dog
Ctrl + L select Library
Alt + W select woman Alt + A
Alt + I select infantry
Alt + P select Pikeman, Spearman, Fanatic
Alt + C select Cavalry Alt + C
Alt + A select Archer, Elephant&Archer, Slinger Javelineer, ...
Alt + S select Swordsman, ..
Alt + E select Elephant for Support Alt + E
Alt + K select Catapult (exceptions due to conflict)
Alt + H select Healer Alt + H
J select wounded (exceptions due to proximity to Healer)
K select only non-wounded using mouse
Alt + D select Dangerous Elephants
Alt + V select Siege and Ministers (Siege: rams, not heroes, Catapult, Bolt Shooter, Siege Tower ...)
Alt + M or Alt + X select all military (non-wounded only)
Alt + N select all non-military
< (need set manually) send resources (need set manually)

Tips for start the game:

Download autocivP

  • Download and install from the wildfiregames forum autociv page topic (files on first page)
    • not available jet
  • Download and install manually the github repository (installation file on the releases section)
  • Use 0 A.D. mod downloader (not always newest version)

Instructions to install autociv manually

#### MacOS (thanks @HMS-Surprise):
	https://wildfiregames.com/forum/index.php?/topic/25444-how-to-install-autociv-mod-on-mac/

#### Linux/Windows:
	Open the downloaded file with (both ways should work):
	- pyromod file (two ways)
		- Double click the file (should autoinstall the mod for you and send  you to the mods page inside 0ad)
		- Right click → Open with → 0 A.D  (or pyrogenesis.exe)
	- zip file: Copy folder inside the zip file into your mods folder
		- https://trac.wildfiregames.com/wiki/GameDataPaths

Mod autociv compatibility(s)

The mod is compatible with:

  • 0 A.D 0.0.26 and 0 A.D 0.0.27
  • Should work with all mods that don't have extensive code changes

Questions & feedback

You don't understand how it works? Feeling confused? Just wanna comment? Ask and post.

Contributing

  1. Fork it.
  2. Create a new feature branch: git checkout -b my-new-feature
  3. Commit your changes: git add . and git commit -m 'Add some feature'
  4. Push it to the branch: git push fork my-new-feature
  5. Submit a pull request.

Contributors

The motivation for this mod was implement ideas and simplifications that are helpful for this game and learn bit JavaScript.