All Activity
- Past hour
-
The messages are dated 2022, but I wasn't sure if anyone had noticed this. Sorry if I'm late.
-
Again? @Stan` @Itms
-
Hey, someone is/was selling 0 A.D. on Steam! There are tons of comments on how someone posted 0 A.D. and is charging for it. Is this old news? Or does someone need to solve this? Here is a link to the page: https://steamcommunity.com/app/2158440.
- Today
-
How to Load a Local Mod in 0 AD (Snap Version)
Perzival12 replied to lilypoppy's topic in General Discussion
Your mod is incompatible because you need to set a version that it runs in. For example: “requires”: [0.27.0]. This should fix your problem. I modded Petra a few months ago, here are some tips: before you do anything to it, use Find and Replace to replace anything that says PETRA with FELIX, and anything that says petra or petrabot with felix or felixbot. Then, start messing around by changing numbers and values. - Yesterday
-
How to Load a Local Mod in 0 AD (Snap Version)
lilypoppy replied to lilypoppy's topic in General Discussion
Sorry, I hadn’t noticed the Development & Technical section. -
lilypoppy started following How to Load a Local Mod in 0 AD (Snap Version)
-
How to Load a Local Mod in 0 AD (Snap Version)
lilypoppy replied to lilypoppy's topic in General Discussion
To continue, here are my tests /home/felix/snap/0ad/657/.config/0ad/mods/public/FelixBot/ ├── mod.json └── simulation/ └── ai/ └── felixbot.js mod.json (minimal valid example): { "name": "FelixBot", "title": "Felix-bot", "version": "1.0", "description": "Custom AI bot for 0 AD by Félix", "author": "Félix", "requires": [] } snap run 0ad -- -mod=public -mod=FelixBot TIMER| InitVfs: 332.118 us FILES| Main log written to '/home/felix/snap/0ad/657/.config/0ad/logs/mainlog.html' FILES| Interesting log written to '/home/felix/snap/0ad/657/.config/0ad/logs/interestinglog.html' TIMER| CONFIG_Init: 2.54065 ms Sound: AlcInit success, using OpenAL Soft FILES| Hardware details written to '/home/felix/snap/0ad/657/.config/0ad/logs/system_info.txt' TIMER| write_sys_info: 16.674 ms FILES| UserReport written to '/home/felix/snap/0ad/657/.config/0ad/logs/userreport_hwdetect.txt' TIMER| RunHardwareDetection: 6.27691 ms TIMER| InitRenderer: 48.9268 ms TIMER| ps_console: 2.4843 ms TIMER| ps_lang_hotkeys: 1.28745 ms TIMER| pregame/mainmenu.xml: 73.157 us TIMER| common/modern/setup.xml: 114.106 us TIMER| common/modern/styles.xml: 125.51 us TIMER| common/modern/sprites.xml: 860.851 us TIMER| modmod/styles.xml: 32.384 us TIMER| modmod/modmod.xml: 10.4945 ms TIMER| common/modern/setup.xml: 101.322 us TIMER| common/modern/styles.xml: 133.014 us TIMER| common/modern/sprites.xml: 880.314 us TIMER| modmod/styles.xml: 30.226 us TIMER| incompatible_mods/incompatible_mods.xml: 843.469 us TIMER| shutdown Renderer: 351.773 us TIMER| shutdown SDL: 8.589 ms TIMER| shutdown UserReporter: 4.32417 ms TIMER| shutdown ConfigDB: 76.396 us TIMER| resource modules: 231.48 ms TIMER TOTALS (7 clients) -
lilypoppy joined the community
-
Hey! I’m diving into making my own AI bot and want to start by copying the Petra bot, then renaming it so I can experiment with it. The catch? I’m running 0 AD via Snap on Linux, so paths are a bit tricky. I’ve tried putting my mod in ~/snap/0ad/657/.config/0ad/mods/public/, but the game doesn’t detect it. Anyone here worked with local mods on Snap? How do you launch the game with a custom mod using -mod or other tricks so it actually loads? Also, any tips for safely copying Petra’s bot to start tinkering would be awesome. Really appreciate any help—I just want to play with bot AI!
-
Age of Empires 2 Definitive Edition
Genava55 replied to Lion.Kanzen's topic in Introductions & Off-Topic Discussion
-
nani started following Thoughts on adding a second modding language Lua (luajit)
-
General Modding Help Thread
wowgetoffyourcellphone replied to Perzival12's topic in Game Modification
I did nothing special, except use SpawnEntityonDeath, so it must've been subtly broke at that time. At the time I showed off the feature, nobody said, hey wait a minute that shouldn't work! Lol -
For AO, reducing from 2048 to 1024 doesn't introduce too many artifacts. Imagine how big the structure is on screen for 99% of a match. It'll probably take up not much more than 256^2 on a typical 1080p monitor at any given time, so a 1024 AO map is most likely adequate. For the trees, it might be cool to put a dummy object there when baking to simulate the presence of the average sized or smallest size cypress that goes there, but that step is up to you.
-
If you start the campaign automatically there might be a way to force gamesettings.
-
Well it needs to be checked. Usually the least textures the better. They don't need it but it doesn't hurt to try. Also you might get away by tweaking the UV2 to give more space to some stuff.
-
Yeah, the civ is set permanently, but normally when you start a match, you pick an AI. However, my map is for a campaign I am making, where you start the campaign and the level starts automatically, so there is no place where the player picks an AI. So, rather than use TriggerHelper to handhold the AI and decide it’s every move, I want to specify an AI and just let it play.
-
Well if you have questions do not hesitate Mmh if the map type is scenario and assuming it's correctly set in the XML you shouldn't be able to change it but I'm not sure. Maybe it only applies to civs.
-
Hey, on a different topic, how do I force an AI in a scenario or campaign? I set an AI (Petra bot) and added an AI seed, but it still doesn’t work.
-
Yeah, I have no idea how to do that. I’m not much of a Java coder. My attempts at reverse engineering code succeed about 1/3 of the time.
-
Well you could add it (copy the code) to a modded component and do some stuff on death. With a list of tokens (templates)
-
Yeah, I’m not sure how to integrate QuickSpawn (which is a map program) into an entity. Thanks anyways!
-
Has Building capture been eliminated in A27
LienRag replied to Old Roman's topic in General Discussion
Indeed it does; thanks anyway. But I still get the error message sometimes... weird ! -
SpawnEntityOnDeath definitely doesn't work, so I think @wowgetoffyourcellphone did something different or it was broken without being all to obvious back then. If you want to add a unit as if trained for example, so that the simulation knows of it, and place it where the old one died instead. An example is QuickSpan in binaries/data/mods/public/maps/scenarios/pickup_test_map_triggers.js.
-
Civ: Germans (Cimbri, Suebians, Goths)
real_tabasco_sauce replied to wowgetoffyourcellphone's topic in Delenda Est
If you look at the actor for the encampment, it is an example of how you can use props to let an actor conform to the terrain. -
Civ: Germans (Cimbri, Suebians, Goths)
real_tabasco_sauce replied to wowgetoffyourcellphone's topic in Delenda Est
@nifa I like the direction with the wonder. If the ship settings were supposed to be a monument or memorial, then perhaps we can imagine some decor that would be fitting. We may not even need the ship inside as the rocks were arranged in the shape of a ship. -
I deleted it from the unit, but I can add it back in and post the unit here for you to look at.
-
Latest Topics
