How to add Weapons?

Results 1 to 8 of 8
  1. #1
    Apprentice kyoungmok915 is offline
    MemberRank
    Jan 2015 Join Date
    Korea, CanadaLocation
    22Posts

    How to add Weapons?

    Hi,

    I tried to add weapons (socom k, k1a, sig556, bh.magnum). I put pv,tv model and textures, dtx from sa_interface, sound, and added some scripts.

    I run it and SuddenAttack doesn't even start. I tried sdfsdf's method and SuddenAttack starts, but when I joined game and started, it crashed.

    By the way, I heard that there is a limit on adding weapons. (like 40 weapons?) How do I disable that limit?

    WEAPONS.TXT This is what I wrote on script for adding weapons.

    Help me please.


  2. #2
    LT-JT-Fanatic Zenshin112 is offline
    MemberRank
    May 2012 Join Date
    314Posts

    Re: How to add Weapons?

    /*
    ** Ammo26 - SA_Magnum_Ammo
    */

    [Ammo0]

    ID already in use.

    ** Ammo29 - SA_SIG556_Ammo
    */

    [Ammo3]

    ID already in use.


    ID 26 is missing.

    /*
    ** "SA_Magnum"
    */

    [Weapon1]

    ID already in use.


    For the future:

    Open your eyes. Copy and paste is not the solution for everything. I won't search such mistakes one more time.
    Every Weapon and/or Ammo needs his own ID, not used by any ther weapons. Butes are not debugable, so take time by doing such stuff, make backups.

    Sincerely Zenshin112

  3. #3
    Apprentice kyoungmok915 is offline
    MemberRank
    Jan 2015 Join Date
    Korea, CanadaLocation
    22Posts

    Re: How to add Weapons?

    Hi, Zenshin112

    I renamed all wrong IDs in script file. I could run SuddenAttack and there were the weapons I added.
    But the problem is, when I make a lobby and start the game, the game crashes.

    Why is it happening?

  4. #4
    LT-JT-Fanatic Zenshin112 is offline
    MemberRank
    May 2012 Join Date
    314Posts

    Re: How to add Weapons?

    Look into your mission-butes. For sure you made a mistake there.

  5. #5
    Apprentice kyoungmok915 is offline
    MemberRank
    Jan 2015 Join Date
    Korea, CanadaLocation
    22Posts

    Re: How to add Weapons?

    Quote Originally Posted by Zenshin112 View Post
    Look into your mission-butes. For sure you made a mistake there.
    Hi, Zenshin112

    I added my new weapons on DefaultWeapons in MISSION.txt and still the game crashed.
    I just followed Sdfsdf sdfsdf's tutorial. Is there any other tutorial for adding weapons?

  6. #6
    LT-JT-Fanatic Zenshin112 is offline
    MemberRank
    May 2012 Join Date
    314Posts

    Re: How to add Weapons?

    better you stop reading sdfsdf's tutorial he has no idea about anything. Like i already wrote several times.
    There is no tutorial. I think you forgot to add the "DefaultAmmo".

  7. #7
    Apprentice kyoungmok915 is offline
    MemberRank
    Jan 2015 Join Date
    Korea, CanadaLocation
    22Posts

    Re: How to add Weapons?

    Hi,

    Still doesn't work. I compared multiple clients and mine seems there is no problem and still game crashes if I join game with added weapons. Do I need to modify CShell.dll?

  8. #8
    LT-JT-Fanatic Zenshin112 is offline
    MemberRank
    May 2012 Join Date
    314Posts

    Re: How to add Weapons?

    debug it. But i think you made any mistake by the butes... if it crashes by starting the game it's either the fault of wrong data of missions or weapons.



Advertisement