Duck Game

Duck Game

评价数不足
Duck Game Script Extender (DEPRECATED)
   
奖励
收藏
已收藏
取消收藏
Mods: Mod
文件大小
发表于
更新日期
246.313 KB
2016 年 11 月 13 日 下午 3:52
2016 年 11 月 22 日 下午 6:05
9 项改动说明 ( 查看 )

订阅以下载
Duck Game Script Extender (DEPRECATED)

描述
DEPRECATED SINCE HARD DEPENDENCIES DON'T WORK ANYMORE
will soon move somewhere else for modders to play around with.

Adds hooks and more capabilities for modding

This is a script extender to be used for modding duck game. It includes hooks to duck game's main update loop. This means that logic can be applied when any level is loaded, rather than just through editor items. Other mods may require this mod in order to function.

How to use (as a player):
just install this mod along with the mod that requires it, and you're good to go!

How to use (as a modder):
1) in the VS project for your mod, add DuckGameScriptExtender.dll as a reference (it will be under the workshop content folder for duck game)
2) set the reference to the DuckGameScriptExtender.dll to not copy locally. If you're not sure how to do this, this step is part of the official modding guide: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=484818341
3) [IMPORTANT] Add 'duckgamescriptextender' to HardDependencies in your mod's mod.conf. If you don't do this, your mod WILL crash the game if DuckGameScriptExtender is not installed.
4) All the events can be found through DuckGame.DGSE.DGSE_Events.instance. Hook into these and you're good to go! (do this in onPostInitialize, so it is guaranteed that the events are ready)
热门讨论 查看全部(2)
0
2016 年 11 月 22 日 下午 7:16
How It Works
Is actually ted
0
2016 年 11 月 22 日 下午 6:25
The Documentation
Is actually ted
12 条留言
Is actually ted  [作者] 2018 年 8 月 15 日 下午 2:43 
update: since hard dependencies seem to be gone for good I'm just putting the source of this inside each mod. Will throw a new workflow on github or something.
Zloty_Diament (Golden_Diamond) 2017 年 8 月 20 日 下午 7:39 
@JoeStyles01
That's what I would do. Then refeer to it in your mod
JoeStyles01 2017 年 7 月 26 日 上午 4:55 
Hi, I'm new to Duck Game Modding so I'm not sure how this would be implimented. Do I just copy the Source Code into my Mod as a new item?
PassMyBong 2017 年 7 月 21 日 下午 4:32 
whatre some duck game maods? im not gonna mod online bc i dont wanna lose duck game but i wanna know how to do it with my firneds and stuff
aidan 2017 年 6 月 15 日 下午 9:18 
Alright, still thanks
Is actually ted  [作者] 2017 年 6 月 15 日 下午 9:17 
actually hard dependencies are broken right now and im trying to figure out whats going on
aidan 2017 年 6 月 15 日 下午 9:16 
Thank you very much
Is actually ted  [作者] 2017 年 6 月 15 日 下午 8:38 
Adding to HardDependencies means that your mod.conf should look something like this:
<Mod>
<HardDependencies>duckgamescriptextender</HardDependencies>
<WorkshopID>799483864</WorkshopID>
</Mod>

Obviously with your own WorkshopID in there
aidan 2017 年 6 月 14 日 下午 4:57 
How do you add this to HardDependencies?
Knochio, Prof. Dr. Toterbaren 2016 年 12 月 4 日 下午 1:00 
The duck game modding scene is a damn desert. Thank you for building an oasis.