Results 1 to 4 of 4
  1. #1
    ImSpartacus's Avatar
    Join Date
    Jul 2014
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Question Is it possible to create new weapon mods?

    First off, I sincerely appreciate the efforts of this community. I came here for a quick script to unlock a few weapon mods that the RNG stubbornly denied me and I stayed for this forum's excellent content & creative spirit.

    I've always thought it sucks that the m308 has no 20-round mag option despite that being a pretty realistic magazine size for the m14.

    Is it possible to create a new weapon mod such as a 20-round m308 mag?

    I understand that it would almost certainly have to use the stock mag's graphical assets. I'd be satisfied if this new mod was shoehorned into the game as a new mod under an existing category (such as putting it in Gadget or Custom). I'd also be satisfied if I had to copy the entire m308 and make an identical weapon except for magazine size. I wouldn't be satisfied with a bottomless clip mod.

    Thanks in advance for the guidance!

  2. #2
    SheepyJr's Avatar
    Join Date
    Jan 2013
    Gender
    female
    Posts
    86
    Reputation
    10
    Thanks
    8
    PD2Hook.yml
    Code:
    - ['lib/managers/weaponfactorymanager', yourscript.lua
    Replace yourscript.lua.

    Script
    Code:
    table.insert(tweak_data.weapon.factory.wpn_fps_ass_m14.uses_parts, "wpn_fps_upg_m4_m_quad")
    Now you can buy a CAR quadstacked mag for your M308.

  3. The Following User Says Thank You to SheepyJr For This Useful Post:

    ImSpartacus (07-31-2014)

  4. #3
    ImSpartacus's Avatar
    Join Date
    Jul 2014
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    I appreciate your help!

    I'm getting variations of the following error message:

    Code:
    Scripts\AUTOONCHEATSINGAME.lua:1: attempt to index global 'tweak_data' (a nil value)

  5. #4
    SheepyJr's Avatar
    Join Date
    Jan 2013
    Gender
    female
    Posts
    86
    Reputation
    10
    Thanks
    8
    Quote Originally Posted by ImSpartacus View Post
    I appreciate your help!

    I'm getting variations of the following error message:

    Code:
    Scripts\AUTOONCHEATSINGAME.lua:1: attempt to index global 'tweak_data' (a nil value)
    Do not use Pirate Perfection's persist-script.
    Create a new .lua file and make sure to re-edit the line of code in the PD2Hook.yml

Similar Threads

  1. [SCRIPT] How to find new weapons/mods/masks
    By dougbenham in forum Payday 2 Hacks & Cheats
    Replies: 76
    Last Post: 07-11-2014, 03:59 PM
  2. [Discussion] It's possible to put new weapons ingame?
    By SGTFranko in forum CrossFire Mods & Rez Modding
    Replies: 9
    Last Post: 07-09-2012, 11:12 AM
  3. Weapon Mods Possible?
    By Shuboodle in forum Vindictus Help
    Replies: 1
    Last Post: 01-20-2012, 01:04 PM
  4. New weapon mods
    By Fantasi in forum Combat Arms Mod Discussion
    Replies: 2
    Last Post: 11-25-2011, 01:21 PM
  5. PSPiso's New Year’s Weapon MOD Pack
    By Kuro Tenshi in forum Combat Arms EU Mods & Rez Modding
    Replies: 130
    Last Post: 03-24-2010, 03:51 PM