So this is my xml for a starter bundle, but how to "spawn" the MP5N WITH attachments, like suppressor, optic, lamp etcetc....
Not like other "item" in my inventory from bundle.
From the bundle, give me the weapon with the accessories on it.
Not like other "item" in my inventory from bundle.
From the bundle, give me the weapon with the accessories on it.
Code:
<configs>
<append xpath="/items">
<!-- PLAYER STARTING ITEM BUNDLE -->
<item name="PlayerStarterKit">
<property name="Extends" value="noteTestersDelightAdmin"/>
<property name="DisplayInfo" value="PlayerStarterKit"/>
<property name="DescriptionKey" value="PlayerStarterKitDesc"/>
<property class="Action0">
<property name="Class" value="OpenBundle"/>
<property name="Delay" value="0"/>
<property name="Sound_start" value="wrench_harvest"/>
<property name="Create_item" value="armorScavengerHelmet,armorScavengerOutfit,armorScavengerGloves,armorScavengerBoots,medicalBandage,meleeToolTorch,vehicleBicyclePlaceable,medicalFirstAidKit,medicalSplint,meleeWpnBladeT1HuntingKnife,meleeToolPickT1IronPickaxe,meleeToolAxeT1IronFireaxe,meleeToolShovelT1IronShovel,drinkJarPureMineralWater,foodSteakAndPotato,MP5N,ammo9mmBulletBall"/>
<property name="Create_item_count" value="1,1,1,1,3,1,1,2,1,1,1,1,1,2,2,1,450"/>
</property>
</item>
<item name="PlayerHazardNote">
<property name="CustomIconTint" value="1e8300" />
<property name="Extends" value="noteDuke01"/>
<property name="CreativeMode" value="Player"/>
<property name="DisplayInfo" value="PlayerHazardNote"/>
<property name="DescriptionKey" value="PlayerHazardNoteDesc"/>
<property name="CustomIcon" value="challengeQuestMaster"/>
</item>
</append>
</configs>
That is, so not like "Create_item" value=".......EOTech_EXPS3, pistolSuppressor,TAFlashLight(barrel),......." but to have these accessories on the weapon.