安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题




As far as getting your item in-game, it's pretty automatic. Once you have all the files set up, the Research tab will automatically show the materials that comprise your item as being researchable (assuming your craft & innovate level are high enough).
Here are some files to look at specifically:
Assume core/item/ is in front of all of these additionally * means any of them;
armor/chest/*.ce
armor/leg/*.ce (also look in core/customization/pants/skirt.png, they're the same image slicing for frames)
armor/head/*.ce
weapon/wand/*.ce
Thos are all you should need to create a wizard set!!!
If you don't know what something in one of the files is, look in the guide Stylez posted, it lists everything you need to know about creating items.
It details how to actually create a mod.
May even try to animate it :)
In registration.py it should say Register(): pass (except with the proper whitespace)
from mods.blackhood import
from mods.blackhood import Item, Attribute, StatAttribute, RollAttribute
from siege.util import Vector
blackHood = Item(
name = "BlackHood",
unique = True,
price = 9999
)
blackHood.craftable(
category = "Armor",
subcategory = "Head",
level = 2,
experience = 20,
serviceRequired = "Workstation",
materials = [
Material('cloth', quantity=1),
]
)
blackHood.equippable(
slot = "head",
levelRequired = 1,
visuals = [
Substitute('helmet', origin=Vector(0, -1)),
Hide('hair_top')
],
attributes = [
StatAttribute('DEF', valueRange=( 5 )),
],
potentialRange = (7, 7),
potentials = [
StatAttribute('DEF', valueRange=(5), weight=100),
StatAttribute('INT', valueRange=(15), weight=60),
StatAttribute('MIND', valueRange=(20), weight=60),
StatAttribute('HP', valueRange=(50, 100), weight=20),
StatAttribute('SP', valueRange=(50, 100), weight=20),
]
)
Sorry for being a bother, no idea what I'm doing wrong ><
The first was that you had the .ce files in the root of the folder, they won't be detected in the root, I instead put them in standard item folders.
The second was that your import lines were really weird. You were trying to import something from black_hood.template.template (which didn't even exist, you should have imported from core.template.template) and you were importing something thats actually in core.template.item from that. You were also missing the other 5 functions you needed to import.
The last thing I did was I cleaned up your locale file for you, what you had before worked, but was far from ideal.
Here's the working version: https://www.dropbox.com/s/gvhzuxo0tmyhbo2/black_hood.zip?dl=0