Jump to content
  • Topics

  • Posts

    • https://gitea.wildfiregames.com/0ad/0ad/wiki/Modding_Guide And also you have the full 0ad Wiki here: https://gitea.wildfiregames.com/0ad/0ad/wiki
    • Is there a basic, somewhat beginner modding guide somewhere?
    • I was analyzing the commit from @Freagarach for regeneration to make some tooltips on it. Since there was an issue opened by @wowgetoffyourcellphone, and other modders might find it interesting, never know. @Emacz @Lopess It's possible now to give some arbitrary timer to resources for regeneration or decay, given certain states. For example, if you want dead animals to have some kind of decay you can do this: <ResourceSupply> [...] <Change> <Rotting> <!-- Add your new effect, name it however you want --> <Value>-1</Value> <Interval>2000</Interval> <State>dead</State> <!-- Add a state, "dead" or "alive" --> </Rotting> </Change> </ResourceSupply> The other interesting state supported is if the resource is currently being gathered or not (notGathered or gathered). <Spawn> <Value>1</Value> <Interval>2000</Interval> <State>notGathered</State> </Spawn> Above a current implementation in vanilla for Fishs. Below the results : Tooltips I added to ModernGUI for now.
    • Is there a way to change certain map settings (like rain, darkness, or fog) during the game?
×
×
  • Create New...