STEAM 组
Griftlands Modding Beta GLMODDING
STEAM 组
Griftlands Modding Beta GLMODDING
1
游戏中
23
在线
成立于
2020 年 8 月 25 日
所有讨论 > 综合讨论 > 主题详情
Conga Dispenser 2021 年 6 月 12 日 下午 12:31
Is there a modding guide explaining what everything means in the code?
You can probably tell by the title, but I'm new to Lua and Griftlands modding. I'm currently trying to go through the mods to make a few negotiation concepts I have come up with with a friend.

Specifically I'm looking for:
How to draft cards that I made.
How to change attack of cards based on Influence.
How to make cards spend Influence.
How to make custom core arguments for opponents. (ex. heal or deal damage when various conditions are met)
How to make a custom core argument similar to Rook's.

I don't want just "do exactly this for this one card" I want to know how to implement it to any card I would want. Thanks for the help.
< >
正在显示第 1 - 1 条,共 1 条留言
Mcrizzle 2021 年 6 月 12 日 下午 2:49 
before you do anything else, it's absolutely vital you right click on Griftlands, click Properties, and then in the General tab, type --debug into the Launch options. This gives you all kinds of dev tools that makes modding easier. The most basic ways to use dev powers is ctrl + click on various things to bring up information, ctrl + ` to bring up console, ctrl + r to restart your game quickly, and ` in the main menu to bring up various testing modes.

As for your other questions, you will find it helpful to look at the code of other mods. The Shel's Adventure mod is a demonstration from the devs on how to implement new characters. You can find the mod files in Griftlands>Manage>Browse Local Files>click back in file path to workshop>content>folders contain mods by IDs. The base card files are under Griftlands>Manage>Browse Local Files>data_scripts>scripts>content> and both attack and negotiation. You can extract these 2 folders to your desktop for easier use. Look for cards that have elements you need, and then try to find which parts do what and use them for your own.

Griftlands modding is a lot to get into alone, you can try joining the unofficial discord (code GdrBVHF) which has a small but dedicated community of modders. We don't mind hand holding every once in a while, we all were there at one point. You can also DM me personally for help if you'd like, though keep in mind my modding knowledge is a bit limited. Playr 10#6710
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50

所有讨论 > 综合讨论 > 主题详情
发帖日期: 2021 年 6 月 12 日 下午 12:31
回复数: 1