Aller au contenu

Photo

Getting a weapon into a container placeable


4 réponses à ce sujet

#1
Belgian Waffles

Belgian Waffles
  • Members
  • 149 messages
ok this is a total noob question but I could not find it in the tutorial wiki, how do you get a weapon that's created into a container placable (Ex: a longsword into a sack, small)

#2
CID-78

CID-78
  • Members
  • 1 124 messages
go to the Container placeables properties and under stats you see "inventory list" press the "..." button and start putting your item into that interface.



or you can put it there by script,

#3
DavidSims

DavidSims
  • BioWare Employees
  • 196 messages
The simplest way is to have a unique template for the container. Unfortunately there is no way to manipulate the inventory of an object on the instance level, so if you put a sword in the generic small sack, it will be in every generic small sack.



To make a new template, go to the pallet window, right click and select new placeable. Use the placeable editor, select inventory list and add whatever items you want. You'll want to select the appearance type as well (making sure it's a container type) and give it a name.



You could also add the item through scripting, but there's really no reason to do that unless you want to change what's in the chest based on something the player does.

#4
Belgian Waffles

Belgian Waffles
  • Members
  • 149 messages
Thanks you guys

#5
NErWOnek

NErWOnek
  • Members
  • 220 messages
Also another thing, there are at least 3 mods out there that are using scripts to generate new random items but it's really tricky. One simple mistake and You can start placing items in the wrong places and then "invisible object" things appear and block Your way during the game.

Example:

Return to Korcari Wilds 1.2

Advanced Tactics 3.0 (The latest version fixes it)

Loot and Gamebalance Revision (still kinda buggy)