[Snippet] Change Default Spawn Items
Hello All,
Been messing with the DNC Source (RageZone Community Edition) been working on a few things with it and my friend was asking how do you change the default spawn items. I looked into and I've worked out how to do it in theory I haven't tested it however.
Step 1:
Open you Database viewer I'm using Navicat Premium and navigate to your WarZ DB and connect.
Step 2:
Dropdown WarZ to reveal dbo then dropdown dbo to reveal Functions your looking for WZ_CharCreate
In this Function your looking for something that looks like
PHP Code:
insert into UsersInventory (CustomerID, CharID, BackpackSlot, ItemID, LeasedUntil, Quantity)
Once you see the list of the 4 items your now able to modify your spawn items to your content however never change it to more than 4 items and never change the slots or it can bug out I think.
That's the end of the Tut hope you enjoyed :)