garryrot / ODefeat

A Ostim addon that adds Defeat functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ODefeat

Ostim Defeat Mod

Adds defeat mechanics to the game.

Requirements

Contributing

Fork and make a PR, just make sure it's tested before you PR.

Event System

Modular post-defeat events are pulled from json files stored in Data/Meshes/ODefeatData/Events/*.json

They are formatted like so:

{
  "Simple Slavery Enslavement": {
    "Form": "__formData|SimpleSlavery.esp|0x00492E",
    "modEventName" : "SSLV Entry",
    "Weighting": 69,
    "Description" : "After a defeat, you wake up in the Simple Slavery auction house as the next item to be sold."
  }
}

Breaking this down, you can see:

  • Event Name: At the top, this is what will be displayed in the MCM.
  • Form: A formid that can be used to check if the relative mod is installed. This can be whatever you want really.
  • modEventName: The name of the modevent this post-defeat event should fire.
  • Weighting: Default weighting for this event to be shown on the MCM.
  • Description: Describes the event to the user, shown in the info section at the bottom of the MCM when moused over.

About

A Ostim addon that adds Defeat functionality.

License:MIT License


Languages

Language:Papyrus 100.0%