-
Posts
788 -
Joined
-
Last visited
-
Days Won
9
Everything posted by nani
-
New update v26.2.0 Improvement: better text contrast on the in-game stats. Thanks @Langbart for PR
- 466 replies
-
- 3
-
-
- hotkeys
- autoassign civ
- (and 9 more)
-
[Poll] Reserve "1" hotkey for cycling civic centers?
nani replied to sternstaub's topic in General Discussion
Here is a list of default one in the mod but you can add arbitrary combinations of them "hotkey.autociv.open.autociv_readme": "Shift+F4", "hotkey.autociv.gamesetup.focus.chatInput": "Alt+Q", "hotkey.autociv.lobby.focus.chatInput": "Alt+Q", "hotkey.autociv.lobby.focus.gameList": "Alt+W", "hotkey.autociv.lobby.host": "Ctrl+N", "hotkey.autociv.CLI.toggle": "Ctrl+C+L", "hotkey.autociv.CLI.stdout.toggle": "Alt+S", "hotkey.autociv.CLI.stdout.eval": "Alt+E", "hotkey.autociv.lobby.gameList.selected.join": "Alt+E", "hotkey.autociv.selection.nowoundedonly": "K", "hotkey.autociv.session.exit": "Shift+Escape", "hotkey.autociv.session.minimap.expand.toggle": "Shift+Tab", "hotkey.autociv.session.building.place.amphitheater_pompeii": "", "hotkey.autociv.session.building.place.apadana": "", "hotkey.autociv.session.building.place.arch": "", "hotkey.autociv.session.building.place.army_camp": "", "hotkey.autociv.session.building.place.arsenal": "Space+A", "hotkey.autociv.session.building.place.assembly": "", "hotkey.autociv.session.building.place.barracks": "Space+B", "hotkey.autociv.session.building.place.camp_blemmye": "", "hotkey.autociv.session.building.place.camp_noba": "", "hotkey.autociv.session.building.place.civil_centre": "Space+C", "hotkey.autociv.session.building.place.corral": "Space+K", "hotkey.autociv.session.building.place.crannog": "", "hotkey.autociv.session.building.place.defense_tower": "Space+D", "hotkey.autociv.session.building.place.dock": "Space+J", "hotkey.autociv.session.building.place.elephant_stables": "Space+Q", "hotkey.autociv.session.building.place.embassy": "", "hotkey.autociv.session.building.place.embassy_celtic": "", "hotkey.autociv.session.building.place.embassy_iberian": "", "hotkey.autociv.session.building.place.embassy_italic": "", "hotkey.autociv.session.building.place.farmstead": "Space+G", "hotkey.autociv.session.building.place.field": "Space+F", "hotkey.autociv.session.building.place.forge": "Space+N", "hotkey.autociv.session.building.place.fortress": "Space+R", "hotkey.autociv.session.building.place.gerousia": "", "hotkey.autociv.session.building.place.gymnasium": "", "hotkey.autociv.session.building.place.hall": "", "hotkey.autociv.session.building.place.house": "Space+H", "hotkey.autociv.session.building.place.inn": "", "hotkey.autociv.session.building.place.library": "", "hotkey.autociv.session.building.place.lighthouse": "", "hotkey.autociv.session.building.place.market": "Space+M", "hotkey.autociv.session.building.place.mercenary_camp": "", "hotkey.autociv.session.building.place.military_colony": "", "hotkey.autociv.session.building.place.monument": "", "hotkey.autociv.session.building.place.outpost": "Space+O", "hotkey.autociv.session.building.place.palace": "", "hotkey.autociv.session.building.place.pillar_ashoka": "", "hotkey.autociv.session.building.place.prytaneion": "", "hotkey.autociv.session.building.place.pyramid_large": "", "hotkey.autociv.session.building.place.pyramid_small": "", "hotkey.autociv.session.building.place.range": "", "hotkey.autociv.session.building.place.rotarymill": "", "hotkey.autociv.session.building.place.royal_stoa": "", "hotkey.autociv.session.building.place.sentry_tower": "Space+Y", "hotkey.autociv.session.building.place.shrine": "", "hotkey.autociv.session.building.place.stable": "Space+V", "hotkey.autociv.session.building.place.storehouse": "Space+S", "hotkey.autociv.session.building.place.super_dock": "", "hotkey.autociv.session.building.place.syssiton": "", "hotkey.autociv.session.building.place.tacara": "", "hotkey.autociv.session.building.place.tavern": "", "hotkey.autociv.session.building.place.temple": "Space+T", "hotkey.autociv.session.building.place.temple_amun": "", "hotkey.autociv.session.building.place.temple_mars": "", "hotkey.autociv.session.building.place.temple_vesta": "", "hotkey.autociv.session.building.place.theater": "", "hotkey.autociv.session.building.place.tophet": "", "hotkey.autociv.session.building.place.tower_artillery": "", "hotkey.autociv.session.building.place.tower_babylon": "", "hotkey.autociv.session.building.place.tower_bolt": "", "hotkey.autociv.session.building.place.tower_double": "", "hotkey.autociv.session.building.place.wallset_short": "", "hotkey.autociv.session.building.place.wallset_siege": "Space+U", "hotkey.autociv.session.building.place.wallset_stone": "Space+W", "hotkey.autociv.session.building.place.wallset_palisade": "Space+E", "hotkey.autociv.session.building.place.warehouse": "", "hotkey.autociv.session.building.place.wonder": "", "hotkey.autociv.session.entity.select.amphitheater_pompeii": "", "hotkey.autociv.session.entity.select.apadana": "", "hotkey.autociv.session.entity.select.arch": "", "hotkey.autociv.session.entity.select.army_camp": "", "hotkey.autociv.session.entity.select.arsenal": "Ctrl+A", "hotkey.autociv.session.entity.select.assembly": "", "hotkey.autociv.session.entity.select.barracks": "Ctrl+X", "hotkey.autociv.session.entity.select.camp_blemmye": "", "hotkey.autociv.session.entity.select.camp_noba": "", "hotkey.autociv.session.entity.select.civil_centre": "Ctrl+C", "hotkey.autociv.session.entity.select.corral": "Ctrl+K", "hotkey.autociv.session.entity.select.crannog": "", "hotkey.autociv.session.entity.select.defense_tower": "Ctrl+D", "hotkey.autociv.session.entity.select.dock": "Ctrl+J", "hotkey.autociv.session.entity.select.elephant_stables": "Ctrl+Q", "hotkey.autociv.session.entity.select.embassy": "", "hotkey.autociv.session.entity.select.embassy_celtic": "", "hotkey.autociv.session.entity.select.embassy_iberian": "", "hotkey.autociv.session.entity.select.embassy_italic": "", "hotkey.autociv.session.entity.select.farmstead": "Ctrl+G", "hotkey.autociv.session.entity.select.field": "Ctrl+F", "hotkey.autociv.session.entity.select.forge": "Ctrl+N", "hotkey.autociv.session.entity.select.fortress": "Ctrl+R", "hotkey.autociv.session.entity.select.gerousia": "", "hotkey.autociv.session.entity.select.gymnasium": "", "hotkey.autociv.session.entity.select.hall": "", "hotkey.autociv.session.entity.select.house": "Ctrl+H", "hotkey.autociv.session.entity.select.inn": "", "hotkey.autociv.session.entity.select.library": "", "hotkey.autociv.session.entity.select.lighthouse": "", "hotkey.autociv.session.entity.select.market": "Ctrl+M", "hotkey.autociv.session.entity.select.mercenary_camp": "", "hotkey.autociv.session.entity.select.military_colony": "", "hotkey.autociv.session.entity.select.monument": "", "hotkey.autociv.session.entity.select.outpost": "Ctrl+O", "hotkey.autociv.session.entity.select.palace": "", "hotkey.autociv.session.entity.select.pillar_ashoka": "", "hotkey.autociv.session.entity.select.prytaneion": "", "hotkey.autociv.session.entity.select.pyramid_large": "", "hotkey.autociv.session.entity.select.pyramid_small": "", "hotkey.autociv.session.entity.select.range": "", "hotkey.autociv.session.entity.select.rotarymill": "", "hotkey.autociv.session.entity.select.royal_stoa": "", "hotkey.autociv.session.entity.select.sentry_tower": "Ctrl+Y", "hotkey.autociv.session.entity.select.shrine": "", "hotkey.autociv.session.entity.select.stable": "Ctrl+Z", "hotkey.autociv.session.entity.select.storehouse": "Ctrl+V", "hotkey.autociv.session.entity.select.super_dock": "", "hotkey.autociv.session.entity.select.syssiton": "", "hotkey.autociv.session.entity.select.tacara": "", "hotkey.autociv.session.entity.select.tavern": "", "hotkey.autociv.session.entity.select.temple": "Ctrl+T", "hotkey.autociv.session.entity.select.temple_amun": "", "hotkey.autociv.session.entity.select.temple_mars": "", "hotkey.autociv.session.entity.select.temple_vesta": "", "hotkey.autociv.session.entity.select.theater": "", "hotkey.autociv.session.entity.select.tophet": "", "hotkey.autociv.session.entity.select.tower_artillery": "", "hotkey.autociv.session.entity.select.tower_babylon": "", "hotkey.autociv.session.entity.select.tower_bolt": "", "hotkey.autociv.session.entity.select.tower_double": "", "hotkey.autociv.session.entity.select.wallset_short": "", "hotkey.autociv.session.entity.select.wallset_siege": "", "hotkey.autociv.session.entity.select.wallset_stone": "", "hotkey.autociv.session.entity.select.wallset_palisade": "", "hotkey.autociv.session.entity.select.warehouse": "", "hotkey.autociv.session.entity.select.wonder": "", "hotkey.autociv.session.entity.by.class.select.Support&Worker|(Support&Elephant)": "Alt+A", "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.Cavalry.by.group.none": "", "hotkey.autociv.session.entity.by.class.select.Ranged": "", "hotkey.autociv.session.entity.by.class.select.Infantry": "", "hotkey.autociv.session.entity.by.class.select.Siege": "", "hotkey.autociv.session.entity.by.health.nowounded.by.class.select.Cavalry": "", "hotkey.autociv.session.entity.by.health.wounded.by.class.select.Cavalry": "", "hotkey.autociv.session.entity.by.rank.1": "", "hotkey.autociv.session.entity.by.rank.2": "", "hotkey.autociv.session.entity.by.rank.3": "", "hotkey.autociv.session.entity.by.state.idle": "", "hotkey.autociv.session.entity.by.screen.yes": "", "hotkey.autociv.session.entity.by.screen.no": "", "hotkey.autociv.session.production.queue.clear": "Alt+R", "hotkey.autociv.session.formation.set.null": "Space+1", "hotkey.autociv.session.formation.set.box": "Space+2", "hotkey.autociv.session.formation.set.column_closed": "Space+3", "hotkey.autociv.session.formation.set.line_closed": "Space+4", "hotkey.autociv.session.formation.set.column_open": "Space+5", "hotkey.autociv.session.formation.set.line_open": "Space+6", "hotkey.autociv.session.formation.set.flank": "Space+7", "hotkey.autociv.session.formation.set.skirmish": "Space+8", "hotkey.autociv.session.formation.set.wedge": "Space+9", "hotkey.autociv.session.formation.set.battle_line": "Space+0", "hotkey.autociv.session.formation.set.syntagma": "Space+'", "hotkey.autociv.session.formation.set.anti_cavalry": "", "hotkey.autociv.session.formation.set.phalanx": "", "hotkey.autociv.session.formation.set.scatter": "", "hotkey.autociv.session.formation.set.testudo": "", "hotkey.autociv.session.stance.set.violent": "Alt+1", "hotkey.autociv.session.stance.set.aggressive": "Alt+2", "hotkey.autociv.session.stance.set.defensive": "Alt+3", "hotkey.autociv.session.stance.set.passive": "Alt+4", "hotkey.autociv.session.stance.set.standground": "Alt+5", "hotkey.autociv.group.button.garrison": "Ctrl" -
[Poll] Reserve "1" hotkey for cycling civic centers?
nani replied to sternstaub's topic in General Discussion
Already implemented in autociv mod :===) Press Ctrl+ C and keep pressing same Ctrl + C to cycle. Edit: you can do the same for any buildings hotkeys. -
Hellooo @Hoze! If you want to add a button as a mod the same way autociv does it you can do this: 1. Look for the xml file that defines the buttons where you want to add the new button. 2. Create a copy of that file with same folder structure and same file name in your mod (we do this due to 0ad pyrogenesis engine limitaton, we can't create gui objects with javascript on the fly) 3. Add your button on the xml On the javascript side, you said you want to modify selection_panels.js . To do that create a new file with same folder structure with the name like this selection_panels~myMod.js We add ~ so that is loaded after selection_panels.js and then add suffix myMod so that you can identify the file is yours and not another mod or random file. Inside the file do any runtime modification necessary for you button Remember: the original file selection_panel.js will be executed before yours so code accordingly to that assumption.
-
This mod is in maintenance mode But will be updated for the following cases: Bug fixes Compatibility with new 0 A.D. versions Any reasonable pull request somebody might want to make Thanks to all the 0 A.D. players who found it useful. Nani
- 466 replies
-
- 5
-
-
-
- hotkeys
- autoassign civ
- (and 9 more)
-
One could also say this should be just a function defined in javascript `mod/common` that wraps the engine call in an unique function that would be used in other parts of the codebase instead of hardcoding the path in c++ for each namespace. But anyway, from a practical standpoint this also looks fine to me.
-
I would instead ask why is this being asked? Is it planned to be removed or limited in some way so the code is simplified or more secure?
-
https://github.com/nanihadesuka/autociv/search?q=ConfigDB_WriteFile Use case: to save custom user config.
-
I see it working now, thanks.
- 466 replies
-
- 2
-
-
- hotkeys
- autoassign civ
- (and 9 more)
-
I don't know why but seems I get the error "Invalid mod: Failed to get metadata_blob from modFile" this seems to be happening for other mods too.
- 466 replies
-
- hotkeys
- autoassign civ
- (and 9 more)
-
The bounty is the release with the fixes
- 466 replies
-
- 3
-
-
-
- hotkeys
- autoassign civ
- (and 9 more)
-
New update 26.0.1 Fixes: Error at options settings user.cfg reloading in lobby (mainlog.html) Han is now detected as civ for autociv selection
- 466 replies
-
- 3
-
-
- hotkeys
- autoassign civ
- (and 9 more)
-
mod.io version is a very old one, for most recent update go to: To disable corpses go to settings -> autociv tab -> max corpses -> write down: 0 The mod is compatible with multiplayer and other players not having the mod
-
I expected some bugs as I didn't test everything. @seeh @Kampot Please keep posting any bugs you encounter, will wait one week and fix all of them in one go.
- 466 replies
-
- 2
-
-
- hotkeys
- autoassign civ
- (and 9 more)
-
I don't mind, as you wish (mod.io right?)
- 466 replies
-
- hotkeys
- autoassign civ
- (and 9 more)
-
New update 26.0.0 Changes: Compatible with new 0 A.D. release version alpha 26
- 466 replies
-
- 5
-
-
- hotkeys
- autoassign civ
- (and 9 more)
-
Double press
- 466 replies
-
- hotkeys
- autoassign civ
- (and 9 more)
-
Control group
- 466 replies
-
- 1
-
-
- hotkeys
- autoassign civ
- (and 9 more)
-
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Ă .
- 466 replies
-
- hotkeys
- autoassign civ
- (and 9 more)
-
RANDOM MAP: Fert - King of the hill variant
nani replied to nani's topic in Scenario Design/Map making
That looks like a bug- 30 replies
-
- king of the kill
- random map
-
(and 1 more)
Tagged with:
-
RANDOM MAP: Fert - King of the hill variant
nani replied to nani's topic in Scenario Design/Map making
You should be able to capture the wonder if you have more than 10 units. The only thing you can't do is destroying the wonder or garrison units inside. The code for tiggers might have chnged in alpga 25 so some things might be broken.- 30 replies
-
- 1
-
-
- king of the kill
- random map
-
(and 1 more)
Tagged with:
-
Tell what mods you have: post a screen of your mods page. Explain how to reproduce the error, does it always happen, when, etc... anything unusual?
-
Why aren't players with multiple accounts banned?
nani replied to 1123456's topic in General Discussion
Elon Musk has rescinded the offer to buy 0 A.D. -
fgod-mod (for 0 A. D. A23) fully compatible with 0 A. D. players
nani replied to ffffffff's topic in Game Modification
Can't/wont, that would modify existing xml files that could break compatibility with other mods. Sorry