7 Days to Die
Question About casinoCoin (Duke Coin)
Back at A16.4 I added an item called "emeraldCoin" it's the same as casinoCoin (Duke Coin) but you can't use to sell nor buy, instead, you used 20k casinoCoin to craft an emeraldCoin and vice-versa. I did that because I was playing moving around the world, acquiring stuff with traders and easily filling my inv with 20k duke coins. First of all, let me paste here the casinoCoin entry:


<item name="casinoCoin">
<property name="Tags" value="dukes"/>
<property name="HoldType" value="45"/>
<property name="Meshfile" value="#Other/Items?Misc/sackPrefab.prefab"/>
<property name="DropMeshfile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>
<property name="Material" value="MresourceScrapBrassSmall"/>
<property name="Weight" value="1"/>
<property name="Stacknumber" value="20000"/> <!-- STK resource -->
<property name="EconomicValue" value="5"/>
<property name="EconomicBundleSize" value="1"/>
<property name="SellableToTrader" value="false"/>
</item>


Now I notice some changes... There's no ID, I search around and I think this means we don't have to worry about with ID anymore, the game will auto-ID everything up to 32k, since I'm trying to add only one item, it doesn't matter =)
</items> <!-- Item limit: There can be 32k items in the game. IDs are generated internally on loading the game/items. -->


The second thing that I notice is the color pallet, I don't see the entry to color, back there the command was this one below, but I don't know if those commands still work, if not, how do I change item color?
<property name="Overlay0" value="casinoCoin" />
<property name="Overlay0Tint" value="32,32,32" />


One more thing is how to change the selling value? I'm not sure but <property name="EconomicBundleSize" value="1"/> could mean players could use to trade with the trader to buy stuff if I set this to 0, will I be able to use to purchase stuff? Remember, I don't want to use the Emerald Coin to purchase items, I want to use it as a "coin bag" to reduce the number of slots from Duke Coins. I already add the recipe for the item, but I didn't add the item as well.


The last thing (sorry for be too long) is that I don't know what those lines are, should I change or not, what they do?
<property name="Meshfile" value="#Other/Items?Misc/sackPrefab.prefab"/>
<property name="DropMeshfile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>


Thanks for the help.
< >
กำลังแสดง 1-7 จาก 7 ความเห็น
Did this just search golden ticket... mind you theres probably loads done this...
You could also just change the stack size in the items xml so that you dont need to add anything to the game.

<item name="casinoCoin">
<property name="Tags" value="dukes"/>
<property name="HoldType" value="45"/>
<property name="Meshfile" value="#Other/Items?Misc/sackPrefab.prefab"/>
<property name="DropMeshfile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>
<property name="Material" value="MresourceScrapBrassSmall"/>
<property name="Weight" value="1"/>
<property name="Stacknumber" value="20000"/> <!-- STK resource -->
<property name="EconomicValue" value="5"/>
<property name="EconomicBundleSize" value="1"/>
<property name="SellableToTrader" value="false"/>
</item>
โพสต์ดั้งเดิมโดย Sinbad:
You could also just change the stack size in the items xml so that you dont need to add anything to the game.

<item name="casinoCoin">
<property name="Tags" value="dukes"/>
<property name="HoldType" value="45"/>
<property name="Meshfile" value="#Other/Items?Misc/sackPrefab.prefab"/>
<property name="DropMeshfile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>
<property name="Material" value="MresourceScrapBrassSmall"/>
<property name="Weight" value="1"/>
<property name="Stacknumber" value="20000"/> <!-- STK resource -->
<property name="EconomicValue" value="5"/>
<property name="EconomicBundleSize" value="1"/>
<property name="SellableToTrader" value="false"/>
</item>
I do. All items (acceptable items) goes up to 32k, still isn't good enough because my friend and I live roaming around cities in the world, we "don't" craft either build, we buy everything we need. Our motorcycle almost holds 5 to 6 Duke Coin slots every time, sometimes we buy useless things just to get rid or get exp.
โพสต์ดั้งเดิมโดย D.A.R.K.:
I do. All items (acceptable items) goes up to 32k, still isn't good enough because my friend and I live roaming around cities in the world, we "don't" craft either build, we buy everything we need. Our motorcycle almost holds 5 to 6 Duke Coin slots every time, sometimes we buy useless things just to get rid or get exp.

Oh okay I misread, your saying all items only stack to 32k? I have my dukes set to 60k stacks
โพสต์ดั้งเดิมโดย Sinbad:
โพสต์ดั้งเดิมโดย D.A.R.K.:
I do. All items (acceptable items) goes up to 32k, still isn't good enough because my friend and I live roaming around cities in the world, we "don't" craft either build, we buy everything we need. Our motorcycle almost holds 5 to 6 Duke Coin slots every time, sometimes we buy useless things just to get rid or get exp.

Oh okay I misread, your saying all items only stack to 32k? I have my dukes set to 60k stacks
Back at A16.4 we couldn't surpass 32,768 because of the hexadecimal limitation, can we now? This could help, but still better to have a second coin to save slots.
โพสต์ดั้งเดิมโดย D.A.R.K.:
โพสต์ดั้งเดิมโดย Sinbad:

Oh okay I misread, your saying all items only stack to 32k? I have my dukes set to 60k stacks
Back at A16.4 we couldn't surpass 32,768 because of the hexadecimal limitation, can we now? This could help, but still better to have a second coin to save slots.

Well I was curious if that is what you meant, so I just tried 60k for duke coins on my current save and it infact did create 1 stack of 60k but im a poor sob and thats all I have so I couldnt test for higher but yes apparently you can stack atleast 60k dukes
แก้ไขล่าสุดโดย Sinbad; 6 พ.ย. 2019 @ 5: 21am
As for as im aware you can go as high as 1 million or around 1.2 million but to be safe 1m not confirmed but thats what ive heard...
< >
กำลังแสดง 1-7 จาก 7 ความเห็น
ต่อหน้า: 1530 50

วันที่โพสต์: 5 พ.ย. 2019 @ 12: 04pm
โพสต์: 7