This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:basics [2026/05/03 22:46] – added "states" section jenovavirus | tutorial:basics [2026/05/25 23:19] (current) – added more notes about AI jenovavirus | ||
|---|---|---|---|
| Line 69: | Line 69: | ||
| ===== Game parts ===== | ===== Game parts ===== | ||
| ==== AI ==== | ==== AI ==== | ||
| - | All enemies and NPCs have an AI. The .luabnd | + | All enemies and NPCs have an AI that determines when an enemy takes which action. \\ |
| + | DS1: The .lua bnd files are in the " | ||
| + | DS3+: The .hks files are in the " | ||
| + | ER: " | ||
| + | |||
| + | The .hks files can be manually decompiled with a tool as well. After that you can just use the decompiled version for the game as it will work just fine. \\ | ||
| ==== Characters ==== | ==== Characters ==== | ||
| Line 107: | Line 112: | ||
| The HUD elements and icons are in the " | The HUD elements and icons are in the " | ||
| The " | The " | ||
| + | In ER the goods param holds the IconID for the " | ||
| The " | The " | ||
| Line 115: | Line 121: | ||
| All files regarding maps are in the " | All files regarding maps are in the " | ||
| - | MSB: \\ | + | MSB: These are map metadata files. They hold the information what entity type (e.g. navmesh, object etc.) is located where (region, coordinates, |
| - | Navmesh: | + | Navmesh: |
| - | Object: \\ | + | Objects/AEG: Objects are assets (e.g. a cupboard, a chair) and since ER they were replaced by AEGs which are just an optimized version |
| + | AETs: They are texture types used since ER and can be used for any map or object in the game directly. Textures are normally " | ||
| Line 127: | Line 134: | ||
| DS1: ESD (chr/ | DS1: ESD (chr/ | ||
| DS2: EMEVD () \\ | DS2: EMEVD () \\ | ||
| - | DS3/BB/ER: HKS (action/ | + | DS3/BB/ER: HKS (action/ |
| Using " | Using " | ||
| - | HKS is normally compiled Lua (a script language) but they were decompiled by modders and can be downloaded from the tools page. They can be edited and then used just like that instead of the original files and the games will load them fine. \\ | + | HKS is normally compiled Lua (a script language) but they were decompiled by modders and can be downloaded from the tools page. They can be edited and then used just like that instead of the original files and the games will load them fine. The beh (behaviour) files can be converted with hkxpack-souls. \\ |
| ==== Scripts / Emevd ==== | ==== Scripts / Emevd ==== | ||