Crea
Expand Your World
Create and share new mods to expand your worlds: items, monsters, skills, races, realms, game systems. Anything and everything is possible.
了解更多
Skumbag 2014 年 11 月 3 日 下午 7:49
Where to start?
So I want to make an item mod, some mage gear, wondering what I need, and how to go about getting it, I've started learning Python, I've got notepad++, photoshop etc.

Any tools I need to get them in-game etc.

And any general help in creating items or short-cuts like pre-done code for an item template?
< >
正在显示第 1 - 15 条,共 19 条留言
stylez 2014 年 11 月 4 日 下午 4:55 
I followed this guide for creating a new item: http://siegegames.com/forums/index.php?threads/guide-creating-a-new-item.1644/. It might also help to look at a variety of existing items.

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).
Baxter900 4 2014 年 11 月 5 日 下午 3:05 
There's no preset templates, but copying and modifying files will give you what you need.

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.
Skumbag 2014 年 11 月 5 日 下午 3:06 
Oh great, I've just retextured the enchanted hood, but having trouble getting it to "Appear" in-game, thanks!
Baxter900 4 2014 年 11 月 5 日 下午 3:08 
Did you read the guide on how to add mod folders and such: http://siegegames.com/forums/index.php?threads/guide-how-to-install-a-mod-and-an-introduction-to-modding-in-crea.1642/

It details how to actually create a mod.
Skumbag 2014 年 11 月 5 日 下午 3:10 
Oh, thanks! Think I was just missing a couple files, I'll let you know how it went, and then I'll get Spriting and just change .pngs!

May even try to animate it :)
Skumbag 2014 年 11 月 5 日 下午 3:18 
In the registration.py folder, what should be there for an item? Sorry, I'm 100% noob to this :S
Skumbag 2014 年 11 月 5 日 下午 3:59 
If I post some of my code, could you tell me what I'm doing wrong? I have it all showing up in Crea, as in the mod is registering etc but I can't craft it, I have the code and everything though :S
Baxter900 4 2014 年 11 月 5 日 下午 4:01 
Yea I can help you with the code


In registration.py it should say Register(): pass (except with the proper whitespace)
Skumbag 2014 年 11 月 5 日 下午 4:10 
Yeah, I've got that, the blackhood.ce (the retex and restat of the enchanted hood) I have this

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),

]
)
Skumbag 2014 年 11 月 5 日 下午 4:21 
I have the mod activated, but it's not showing up in crafting or anything, I think it might be a naming problem or the from import script, but because I don't know, I'm not quite sure what I've done wrong
Baxter900 4 2014 年 11 月 5 日 下午 5:08 
can you give me the entire mod as a zip folder (use something like dropbox to upload it and share it), it's a lot more helpful to see everything.
Skumbag 2014 年 11 月 5 日 下午 5:11 
https://www.dropbox.com/sh/v96t12nhe56z67q/AAAXBUliLCC9NUTh07Mmdvtta?dl=0


Sorry for being a bother, no idea what I'm doing wrong ><
Skumbag 2014 年 11 月 5 日 下午 5:12 
Forgot to .zip it, sorry :S
Baxter900 4 2014 年 11 月 5 日 下午 6:13 
Its fine, dropbox can actually auto-zip it for you, taking a look right now!
Baxter900 4 2014 年 11 月 5 日 下午 6:55 
Alright, so there's 3 things I changed, only two of which were really 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
< >
正在显示第 1 - 15 条,共 19 条留言
每页显示数: 1530 50