{"id":15672215,"url":"https://github.com/cssxsh/znt-evolution","last_synced_at":"2025-03-30T05:25:27.296Z","repository":{"id":256734079,"uuid":"856260077","full_name":"cssxsh/ZNT-EVOLUTION","owner":"cssxsh","description":"Zombie Night Terror MOD Loader","archived":false,"fork":false,"pushed_at":"2024-10-19T00:16:34.000Z","size":224,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T07:45:00.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cssxsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-12T09:13:46.000Z","updated_at":"2024-10-19T00:16:37.000Z","dependencies_parsed_at":"2024-09-12T20:28:11.243Z","dependency_job_id":"6bedbe45-7020-4f93-a087-fa0531e4c475","html_url":"https://github.com/cssxsh/ZNT-EVOLUTION","commit_stats":null,"previous_names":["cssxsh/znt-evolution"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssxsh%2FZNT-EVOLUTION","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssxsh%2FZNT-EVOLUTION/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssxsh%2FZNT-EVOLUTION/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssxsh%2FZNT-EVOLUTION/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cssxsh","download_url":"https://codeload.github.com/cssxsh/ZNT-EVOLUTION/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246280878,"owners_count":20752202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T15:22:29.426Z","updated_at":"2025-03-30T05:25:27.271Z","avatar_url":"https://github.com/cssxsh.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZNT-EVOLUTION\n\n## 项目环境变量\n\n* `ZNTGamePath` 游戏文件目录\n\n## 插件文件结构\n\n```text\nZombie Night Terror\n├───znt.exe\n├───BepInEx\n│   ├───plugins\n│   │   ├───ZNT-Evolution-Core\n|   |   |   └───ZNT-Evolution-Core.dll\n│   │   └───\u003c...\u003e\n│   └───\u003c...\u003e\n├───znt_Data\n│   ├───Apply\n│   │   ├───stand_smoke\n│   │   └───\u003c...\u003e\n│   ├───Brush\n│   │   ├───arknights_311\n│   │   └───\u003c...\u003e\n│   ├───Decor\n│   │   ├───fire_copter\n│   │   └───\u003c...\u003e\n│   ├───StreamingAssets\n│   │   ├───MOD.strings.bank\n│   │   ├───Gunner.bank\n│   │   └───\u003c...\u003e\n│   └───\u003c...\u003e\n└───\u003c...\u003e\n```\n\n## 导入流程\n\n### 主要资源\n\n- [x] FMODAsset 声音资源\n- [x] tk2dSpriteCollectionData 精灵图资源\n- [ ] ~~VisualEffect~~\n- [x] tk2dSpriteAnimation 精灵图动画\n- [x] ExplosionAsset 爆炸\n- [x] PhysicObjectAsset 物理对象\n- [x] CharacterAnimationAsset 动作-动画\n- [x] CharacterAsset 角色资源\n- [x] Rotorz.Tile.Brush 笔刷\n- [x] UnityEngine.Sprite 预览\n- [x] LevelElement 关卡单位\n\n### 导入方法\n\n- `AssetBundle.LoadFromFile`\n\n`AssetBundle` 的 assets 文件需要其中有一个 AssetBundle 类型的对象定义索引\n\n- [LevelElementLoader](./docs/LevelElementLoader.md)\n\n`LevelElementLoader` 插件实现的关卡单位加载器\n\n## 开发记录\n\n### 游戏实体位置\n\n- `GameScene:/Elements/TileSystems/Gameplay/`\n- `DontDestroyOnLoad:/`\n\n### 创建实体\n\n[CustomAssetObject](docs/CustomAssetObject.md)\n\n- `CustomAssetObject.CreateGameObject`\n\n### 创建精灵图集\n\n[tk2dSpriteCollectionData](docs/tk2dSpriteCollectionData.md)\n\n- `tk2dSpriteCollectionData.CreateFromTexture`\n- `new GameObject(\"SpriteCollection\").AddComponent\u003ctk2dSpriteCollectionData\u003e()`\n\n### 创建声音\n\n[FMODAsset](docs/FMODAsset.md)\n\n- `FMODUnity.RuntimeManager.LoadBank`\n- `Bank.getEventList`\n\n支持从 `znt_Data/StreamingAssets/xxx.bank` (File) 和 `AssetBundle` (TextAsset) 导入 `Bank`  \n`FMODAsset` 创建后还需要加入 `FmodAssetIndex`\n\n### 创建动画\n\n[tk2dSpriteAnimation](docs/tk2dSpriteAnimation.md)\n\n- `new GameObject(\"Animation\").AddComponent\u003ctk2dSpriteAnimation\u003e()`\n\n### 创建关卡单位\n\n[LevelElement](docs/LevelElement.md)\n\n`LevelElement` 创建后需要加入 `LevelElementIndex`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssxsh%2Fznt-evolution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcssxsh%2Fznt-evolution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssxsh%2Fznt-evolution/lists"}