Pages: [1]
  Print  
Author Topic: What's that, Lassie? Someone needs help with his SMOD-T 5.56 nooby weapon?  (Read 191 times)
0 Members and 1 Guest are viewing this topic.
DEFCON 1

*

Offline Offline

Thank You
-Given: 0
-Receive: 0


« on: July 23, 2010, 03:47:51 AM »

I replaced my C4 script with that of the G3A3 from the leaked Smod-T 1, but for some reason, it spits out C4 at my feet instead of, you know, acting like a regular G3A3.

Yes, the script isn't set to spit out C4.
Logged
BIZ
8-Bit


*

*

Offline Offline

Thank You
-Given: 7
-Receive: 4


WWW
« Reply #1 on: July 23, 2010, 10:23:39 AM »

post the script.
Logged

this ain't motel 6, we don't keep the lights on for you homo tricks.
DEFCON 1

*

Offline Offline

Thank You
-Given: 0
-Receive: 0


« Reply #2 on: July 24, 2010, 03:20:12 AM »

Quote
WeaponData
{
   // Weapon data is loaded by both the Game and Client DLLs.
   "printname"         "#HL2_G3A3"
   "viewmodel"         "models/weapons/v_rif_famas.mdl"
   "playermodel"         "models/weapons/w_rif_famas.mdl"
   "anim_prefix"         "ar2"
   "bucket"            "2"
   "bucket_position"      "9"

   "clip_size"         "20"
   "clip2_size"         "-1"

   "default_clip"         "20"
   "default_clip2"         "-1"

   "primary_ammo"         "CustomAmmo3"
   "secondary_ammo"      "None"

   "weight"         "4"
   "item_flags"         "0"

   "CSViewModel"         "0"
   "LagScale"         "0.5"
   "CSWorldModel"         "0"

   // SMOD Ironsight setting.
   IronSight
   {
      "right"      "-0.72"
      "up"      "0.4"
      "fov"      "-10"      
   }

   Adjust
   {
      "right"      "-1.0"
      "up"      "0.8"
   }

   // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
   SoundData
   {
//      "reload"      "Weapon_Pistol.Reload"
      "reload_npc"      "Weapon_Pistol.NPC_Reload"
      "empty"         "Weapon_Pistol.Empty"
      "single_shot"      "Weapon_G3A3.Single"
      "single_shot_npc"   "Weapon_G3A3.Single"
   }

   // Weapon Sprite data is loaded by the Client DLL.
   TextureData
   {
      "weapon"
      {
         "file"      "sprites/hud_weapons_g3a3"
         "x"         "0"
         "y"         "0"
         "width"      "64"
         "height"   "16"
      }
      "weapon_s"
      {
         "file"      "sprites/hud_weapons_g3a3"
         "x"         "0"
         "y"         "0"
         "width"      "64"
         "height"   "16"
      }
      "ammo"
      {
            "font"      "WeaponIcons"
            "character"   "p"
      }
      "ammo2"
      {
            "font"      "WeaponIcons"
            "character"   "t"
      }
      "crosshair"
      {
            "font"      "Crosshairs"
            "character"   "Q"
      }
      "autoaim"
      {
            "file"      "sprites/crosshairs"
            "x"         "0"
            "y"         "48"
            "width"      "24"
            "height"   "24"
      }
   }
   
   "WeaponSpec"
   {
      //   0 : single
      //   1 : automatic
      //   2 : shotgun
      //   3 : autoshotgun
      "WeaponType"   "0"
      "FireRate"   "0.1"
      "UnderWater"   "0"

      //   Fire Mode
      //   1 : single ,  2 : burst ,  4 : automatic
      "FireMode"   "5"      

      "Options" {
      "FireSoundVolume"    "999999"            
         "ReloadSound"   "0"
         "LastFireSound"   "0"
         "TurnoffScope"   "0"
         "TurnoffIron"   "0"
         "TimeScale"   "0"
      }
   
      "Recoil" {
         "PunchPitch"   "-0.7 -0.8"
         "PunchYaw"   "-0.55 0.45"
         "EnableSnap"   "1"
         "SnapPitch"   "-1.30 -1.35"
         "SnapYaw"   "-0.0 0.0"
         "Crouch"   "0.7"
         "Amp"      "1.0"
         "PunchLimit"   "1.0"
      }
      
      "Spread" {
         "Default"   "0.2"
         "MaxSpread"   "0.2"
         "Run"      "0.0"
         "RunSpeed"   "100"
         "Crouch"   "0.8"
         "Fire"      "1"
      }
      
      "Bullet" {
         "AmmoType"   "ak47"
         "Damage"   "30"
         "ShotCount"   "1"
         "Tracer"   "1"
         "Force"      "1"
         "Penetrate"   "5"
      }

      "Npc" {
         "AnimType"   "AR2"
         "BurstMax"   "1"
         "BurstMin"   "1"
         "FireRate"   "0.1"
         "Range"      "4096"
         "MuzzleFire"   "1"
      }
   }
   
}


Logged
BIZ
8-Bit


*

*

Offline Offline

Thank You
-Given: 7
-Receive: 4


WWW
« Reply #3 on: July 24, 2010, 02:11:31 PM »

are you replacing the c4 all together?

If so try deleting its entry from the custom_Explosives.txt file.
Logged

this ain't motel 6, we don't keep the lights on for you homo tricks.
DEFCON 1

*

Offline Offline

Thank You
-Given: 0
-Receive: 0


« Reply #4 on: July 24, 2010, 04:36:35 PM »

are you replacing the c4 all together?

If so try deleting its entry from the custom_Explosives.txt file.

Did so, but reloading the file just game me invisible C4.

Starting a new game worked, oddly enough.
« Last Edit: July 24, 2010, 04:46:24 PM by DEFCON 1 » Logged
taisou

*

Offline Offline

Thank You
-Given: 1
-Receive: 1


« Reply #5 on: July 27, 2010, 04:13:07 AM »

I still have yet to get my hands on Smod:T-1 because its not posted anywhere, or at least i'm not looking in the right places, but could you tell me whether they did away with the Five-Seven? i've always hated that gun. I wanted them to replace the Kimber with a Colt, a true 1911 and the five-seven with a 92FS/M9 or any Beretta for that matter.

And yes, I tried replacing it myself only failing. I couldn't get the alignment right... Sad Ive temporarily given up because i'm in the middle of moving, but once i'm situated i'm going to try to reread the tutorials.
Logged

It's all fun and games until someone gets a boner.
Hitperson

*

Offline Offline

Thank You
-Given: 1
-Receive: 2


« Reply #6 on: July 27, 2010, 04:08:25 PM »

aligning weapons is easy.

what you do is go to the script and set the idle and iron sight positions to 0 and then run the "ironsite.cfg" ingame (or whatever it's name is) and possition the gun into the idle and iron sight positions you want and copy down the vaules to be entered into the weapons script.
Logged

Pages: [1]
  Print  
 
Jump to: