UnReal World > Modding

Adding in new Items question

(1/2) > >>

Xellophane:
Hey all, I'm messing around with the modding that is possible in the game and wanted to make sure I hadn't run into a quirk before I investigated further.

Whenever I add in a new entry such as this for example's sake:

--- Code: ---.Fiber Cord. "BASE ITEM"  *TIMBERCRAFT* [effort:1] [phys:hands] /60/ %-40% |-2|
{Fiber Strip} (3) [remove]
{Knife} <Small knife>
--- End code ---
and do not put the "BASE ITEM" into the entry, the item will not show up as an entry in the menu. From my understanding I should be able to, am I misunderstanding that?
The game does seem to detect that the item is there, as it'll read the item after it if it has "BASE ITEM" as #2 in the list. To clarify, if I have two items, 'Fiber Strip' and 'Fiber Cord'; if 'Fiber Strip' does not have the "BASE ITEM" tag while 'Fiber Cord' does, 'Fiber Strip' will not show up in the menu while 'Fiber Cord' does as the entry after 'Fiber Strip'.

Privateer:
 Hello :D

 I think a simple misunderstanding of what was meant by "BASE ITEM".
~Base item~ this is an object in the game that can be created, it also serves as a base for the; type, material, weight, purpose etc.

So for your code;
.Fiber Cord.  "Cord" etc etc

would be the proper usage.
 This will create an item called "Fiber Cord" the item will be Cord behind the scenes unless you change other properties.

Have fun

 Oh btw for a good list of all the items (well the vast majority) the file "create_objects.txt" has it for whatever version you are running.

Xellophane:

--- Quote from: Privateer on January 17, 2018, 04:09:40 AM --- Hello :D

 I think a simple misunderstanding of what was meant by "BASE ITEM".
~Base item~ this is an object in the game that can be created, it also serves as a base for the; type, material, weight, purpose etc.

So for your code;
.Fiber Cord.  "Cord" etc etc

--- End quote ---

I was using "BASE ITEM" as a variable to provide an example, my apologies for not being more clear about that. The overall question was if it would be possible to create an item without using that... tag? definition? I'm not sure what to refer to it as. Thank you for that list too.

Privateer:
You can create base items without it
.Cord.

You can not create something "new" without basing it on an ingame item to start.

Xellophane:
Oh. Well that makes things more interesting from a design perspective. So it's a modding quirk and not a bug. Thank you for the help ^.^

Navigation

[0] Message Index

[#] Next page

Go to full version