Data Posted September 23, 2018 Share Posted September 23, 2018 i would like to make an explosive round similar to the explosive bolt but for the hunting rifle anyone know or made one? ive tried copyinging the explosive bolts into a new item, renaming it and adding it to the hunting rifles ammo choice but it just fires as a normal round Link to comment Share on other sites More sharing options...
Komplex Posted October 9, 2018 Share Posted October 9, 2018 Explosive ammo "Tutorial" Its pretty simple... Here is the little "Tutorial"... The most important thing first backup your item.xml !! Now we can edit it. The first few changes are the Class in Ak47, HuntingRifle and Sniper to Launcher like this: and of Course add your ammo name in this case i called it 762HEI. <property name="Class" value="Launcher"/> <!-- Class for Projectile based weapons --> <property name="Magazine_items" value="762mmBullet,762HEI"/> <!-- just the ammo of the weapon (you can add more) --> Next we have to adept the 762mm_Bullet to the new Setup. just add this lines: <property class="Action1"> <property name="Class" value="Projectile"/> <!-- Class for Physicsbased Projektiles --> <property name="Velocity" value="100"/> <!-- Speed of the Projektile --> <property name="FlyTime" value="1.2"/> <!-- minimum time in air to make damage and or explode --> <property name="LifeTime" value="8"/> <!-- how long it can fly (Like the Range)--> </property> And the last change is my exploding Ammo you can just add it to the end of your file... <item id="1600" name="762HEI"> <property name="CustomIconTint" value="0000ff"/> <!-- nice blue coloure to the inventory icon --> <property name="CustomIcon" value="762mmBullet"/> <!-- icon of 762mm ammo --> <property name="Meshfile" value="Items/Weapons/Ranged/HuntingRifle/762mm_bulletPrefab"/> <!-- 3d mesh in world --> <property name="Material" value="metal"/> <!-- some thing for sound --> <property name="HoldType" value="21"/> <!-- how you hold it in the hand --> <property name="Stacknumber" value="500"/> <!-- stack limit --> <property name="CraftingSkillGroup" value="craftSkillGuns"/> <!-- skill increase if you craft it --> <property name="EconomicValue" value="190"/> <!-- buy price in vendors --> <property class="Action1"> <property name="Class" value="Projectile"/> <property name="Explosion.ParticleIndex" value="4"/> <!-- which Prefab/particle is used --> <property name="Explosion.RadiusBlocks" value="2"/> <!-- damage radius for blocks --> <property name="Explosion.BlockDamage" value="50"/> <!-- damage for blocks in the center of the explosion --> <property name="Explosion.RadiusEntities" value="5"/> <!-- damage radius for entities --> <property name="Explosion.EntityDamage" value="350"/> <!-- damage for entities in the center of the explosion. Zombies take 2x this damage. --> <property name="Velocity" value="50"/> <!-- the same like the other one --> <property name="FlyTime" value="1.2"/> <property name="LifeTime" value="8"/> </property> <property name="Group" value="Ammo/Weapons"/> </item> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.