This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I've been trying to attach a riot shield to a gun. I'm trying to do this by making the riot shield an attachment, and then making a gun with the attachment on it. Is this even possible? Is there a better way to do it?
Heres the necessary code:
The attachment:
RIOT: Item_Information: Attachments: Type: accessory Toggle_Delay: 5 Sounds_Toggle: NOTE_STICKS-1-2-0Riot_Shield:Enable: trueDo_Not_Block_Projectiles: falseDo_Not_Block_Melee_Attacks: trueDurability_Based_On_Damage: falseDurability_Loss_Per_Hit: 0Forcefield_Mode: falseOnly_Works_While_Blocking: trueSounds_Blocked: BLOCK_ANVIL_LAND-3-1-0 Sounds_Break: BLOCK_ANVIL_LAND-1-1-0
The Gun:
M16RIOT: Item_Information: Item_Name: "&eM-16 - Assault Variant" Item_Type: 31~2 Item_Lore: "&eFully automatic with high power.|&eControls are inverted." Attachments: Type: main Info: "RIOT" Toggle_Delay: 5 Sounds_Toggle: NOTE_STICKS-1-2-0 Sounds_Acquired: BAT_TAKEOFF-1-1-0 Shooting: Right_Click_To_Shoot: true Cancel_Left_Click_Block_Damage: true Cancel_Right_Click_Interactions: true Recoil_Amount: 1 Projectile_Amount: 1 Projectile_Type: snowball Projectile_Speed: 50 Projectile_Damage: 3 Bullet_Spread: 2 Sounds_Shoot: IRONGOLEM_HIT-1-2-0,SKELETON_HURT-1-2-0,SKELETON_WALK-1-2-0 Sneak: Enable: true No_Recoil: true Bullet_Spread: 1 Fully_Automatic: Enable: true Fire_Rate: 7 Reload: Enable: true Reload_Amount: 30 Reload_Duration: 50 Sounds_Out_Of_Ammo: ITEM_BREAK-1-1-0 Sounds_Reloading: FIRE_IGNITE-1-1-4,DOOR_OPEN-1-2-6,FIRE_IGNITE-1-1-36,HURT_FLESH-1-0-37,DOOR_CLOSE-1-2-38 Firearm_Action: Type: slide Close_Duration: 9 Close_Shoot_Delay: 12 Sound_Close: PISTON_RETRACT-1-2-0,PISTON_RETRACT-1-2-3 Scope: Enable: true Zoom_Amount: 3 Zoom_Bullet_Spread: 0 Sounds_Toggle_Zoom: ENDERDRAGON_WINGS-1-2-0 Abilities: Reset_Hit_Cooldown: true Hit_Events: Enable: true Sounds_Shooter: SHOOT_ARROW-1-2-0
The error in console:
[CrackShot] Enabling CrackShot v0.98.7
[CrackShot] The weapon 'Enable' does not have a value for Item_Type.
[CrackShot] The weapon 'Enable' does not have a value for Item_Name.
[CrackShot] The weapon 'Do_Not_Block_Projectiles' does not have a value for Item_Type.
[CrackShot] The weapon 'Do_Not_Block_Projectiles' does not have a value for Item_Name.
[CrackShot] The weapon 'Do_Not_Block_Melee_Attacks' does not have a value for Item_Type.
[CrackShot] The weapon 'Do_Not_Block_Melee_Attacks' does not have a value for Item_Name.
[CrackShot] The weapon 'Durability_Based_On_Damage' does not have a value for Item_Type.
[CrackShot] The weapon 'Durability_Based_On_Damage' does not have a value for Item_Name.
[CrackShot] The weapon 'Durability_Loss_Per_Hit' does not have a value for Item_Type.
[CrackShot] The weapon 'Durability_Loss_Per_Hit' does not have a value for Item_Name.
[CrackShot] The weapon 'Forcefield_Mode' does not have a value for Item_Type.
[CrackShot] The weapon 'Forcefield_Mode' does not have a value for Item_Name.
[CrackShot] The weapon 'Only_Works_While_Blocking' does not have a value for Item_Type.
[CrackShot] The weapon 'Only_Works_While_Blocking' does not have a value for Item_Name.
[CrackShot] The weapon 'Sounds_Blocked' does not have a value for Item_Type.
[CrackShot] The weapon 'Sounds_Blocked' does not have a value for Item_Name.
[CrackShot] The weapon 'Sounds_Break' does not have a value for Item_Type.
[CrackShot] The weapon 'Sounds_Break' does not have a value for Item_Name.
[CrackShot] Gun-mode activated. Boop!
Anything helps. Thank you!
To post a comment, please login or register a new account.