Raised This Month: $115 Target: $400
 28% 

[TUT] Customizing/Modifying weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
thEsp
Veteran Member
Join Date: Aug 2017
Location: Gjilan, Albania
Old 04-28-2019 , 19:12   [TUT] Customizing/Modifying weapons
Reply With Quote #1

This is a simple tutorial which is about modifying weapons in Counter Strike
It's not really complicated as it sounds, but requires some basic knowledge (Medium to intermediate)
There MAY be better ways or options, but this is just an average tutorial.
I have commented most of the lines, and possibly even used stupid terms, so please don't mind me for that. [email protected]

This features:
  • Custom sound(s)
  • Custom model(s)
  • Custom secondary attack
  • Custom magazine/clip size

For sample purposes I've added these:
Explosion at the point where shooting
Delay between each shot (Could be used for making semi-automatic weapons)
Aug/Sg530 zooming style
50 bullets per mag

Basically I replaced Galil contents with H&K(Heckler & Koch AG36,sophisticated German AR) ones.

While there is a explosion, it won't do damage, and only specific weapons can be changed(For example if you're using a skin made for AK47, it won't work with other weapons)

I will try to expand this tutorial(or create new one) and overlap what I said above^ whenever I have free time...

Bugs may exist (I only know one. If you pick a dropped Hk/Galil it's mag size will be set to selected amount; WHICH by default is 50.)

Actual Code
Attached Files
File Type: zip samples.zip (2.91 MB, 37 views)
__________________

Last edited by thEsp; 06-12-2019 at 12:51. Reason: removed a useless line
thEsp is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 05-05-2019 , 13:10   Re: [TUT] Customizing/Modifying weapons
Reply With Quote #2

Is it possible to customize reload sound?
For a project I want some people not to hear them and some people can.


Grtz,
Xalus
__________________
(Working on) Bomberman
- Powerups - Multiple-worlds - 78% -
Xalus is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-05-2019 , 14:40   Re: [TUT] Customizing/Modifying weapons
Reply With Quote #3

Quote:
Originally Posted by Xalus View Post
Is it possible to customize reload sound?
For a project I want some people not to hear them and some people can.


Grtz,
Xalus
You have to disable client prediction and manually play the sounds only to people that should hear them.
__________________
HamletEagle is online now
thEsp
Veteran Member
Join Date: Aug 2017
Location: Gjilan, Albania
Old 05-05-2019 , 17:15   Re: [TUT] Customizing/Modifying weapons
Reply With Quote #4

Several days or weeks have passed since I uploaded the thread, I've collected some 'enough' information, and I'll probably do a totally new tutorial. I'll keep thinking what I need to add and/or fix.
__________________
thEsp is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 05-06-2019 , 05:26   Re: [TUT] Customizing/Modifying weapons
Reply With Quote #5

Quote:
Originally Posted by Xalus View Post
Is it possible to customize reload sound?
For a project I want some people not to hear them and some people can.


Grtz,
Xalus
I've asked the same question a long time ago,and yes it is possible.
Will try to find that topic.
__________________
Check my new Zombie Mod (2019)
Look at the video below to see gameplay

https://www.youtube.com/watch?v=U4mf9obA6x0

Last edited by Krtola; 05-06-2019 at 05:27.
Krtola is offline
Send a message via Skype™ to Krtola
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:46.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode