AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Custom weapons (https://forums.alliedmods.net/showthread.php?t=156683)

misterx 05-10-2011 12:24

Custom weapons
 
Hi,

I was just wondering, how to add weapons to CS. I'm pretty sure it's possible - with a "hack".

.Dare Devil. 05-10-2011 14:18

Re: Custom weapons
 
you mean slowhack?
even slowhack it is not possible.

But if you script a new weapons then ....

SonicSonedit 05-10-2011 14:58

Re: Custom weapons
 
It's not a hack. You just change model/sounds/animations/fire speed/damage/reload speed and zoom - voila, new weapon. You can ever create nice realistic flamethrower, like I did :D

.Dare Devil. 05-10-2011 15:05

Re: Custom weapons
 
you cant change weapon hud sprite.
like if you press 1 you see that weapon icon :)

SonicSonedit 05-10-2011 15:36

Re: Custom weapons
 
Quote:

you cant change weapon hud sprite.
It's the only thing you can not change. You can't ADD weapons to CS, but you can REPLACE weapons.

nnajko 05-10-2011 17:22

Re: Custom weapons
 
Quote:

Originally Posted by SonicSonedit (Post 1467005)
It's the only thing you can not change. You can't ADD weapons to CS, but you can REPLACE weapons.

You can't change the sounds either. (?)

SonicSonedit 05-10-2011 18:07

Re: Custom weapons
 
nnajko
You can change every other thing except hud sprite icon (in weapon list).

ANTICHRISTUS 05-10-2011 18:42

Re: Custom weapons
 
to add a weapon: WeaponMod 1.0 Omega (read the last posts)

to change weapon sounds:
Quote:

Originally Posted by ANTICHRISTUS (Post 1442985)
...
...
Sound replacements V. 1.2 to replace all the networked sounds

ps. to replace the weapon's sounds is another story.
these sounds are included in the v_model and can't be changed
Code:

// 6 animation sequence(s)
$sequence "idle" "idle" fps 30
$sequence "reload" "reload" fps 30 {
  { event 5004 1 "weapons/ak47_clipout.wav" }
  { event 5004 17 "weapons/ak47_clipin.wav" }
  { event 5004 37 "weapons/ak47_boltpull.wav" }
 }
$sequence "draw" "draw" fps 23 { event 5004 5 "weapons/ak47_draw.wav" }
$sequence "fire1" "fire1" fps 30 { event 5001 0 "32" }
$sequence "fire2" "fire2" fps 30 { event 5001 0 "32" }
$sequence "fire3" "fire3" fps 30 { event 5001 0 "32" }

I don't know if the fire sounds can be changed, maybe no (AK47-1.wav & AK47-2.wav).
you can try the last plugin that I gave you.

best regard.


SonicSonedit 05-10-2011 18:59

Re: Custom weapons
 
You mean this? 107
Very poor-coded. Check my OSV-96: 73
As you can see, OSV-96 uses custom sounds and doesn't have any bugs from 107

ANTICHRISTUS 05-10-2011 19:07

Re: Custom weapons
 
I meant all the thread, and especially the nikonov. cause I love russian weapons :up:
and thanks for the other link.


All times are GMT -4. The time now is 04:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.