Module: Counter-Strike Weapon Mod [1.7.1]
1 Attachment(s)
Description
So you want counter-strike weapon mod that adds new weapons in game? → Credits Goes To These Projects Authors ______________________________________
Tutorial GitHub Mini Wiki Creating Weapon Through File:
Spoiler
Creating Weapon Through Plugin:
Spoiler
Requirements ↪ MetaMod↪ AMX MOD X (Recommended 1.8.2 or higher) ChangeLog
Spoiler
How To Use Way A: Enable 'sv_cheats' and type give <Weapon Model Name> Author Check Poster Platforms Windows/Linux (ReGameDLL/reHLDS is not required) How To Install First Download (Includes ChangeLog) [Direct Link], Then Add 'cswm' in 'modules.ini'. Examples (Older versions) Support For Other Mods (Put Plugin Before CSWM Plugins In 'plugins.ini') |
Re: Module: Counter-Strike Weapon Mod [CSWM][V1.45 Beta]
Nice job, i will move my Ion Cannon project to here when i available free time.
|
Re: Module: Counter-Strike Weapon Mod [1.5 R]
r there all the name such as weapon name or ammo name support UTF-8 ?
|
Re: Module: Counter-Strike Weapon Mod [1.5 R]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.5 R]
Wow! Good job! :D
|
Re: Module: Counter-Strike Weapon Mod [1.5 R]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
That looks nice. What's the NPC mod going to look like? Smart AI? NPC interaction? Monster mod?
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
So can I just create a new grenade type, and is it gonna have its own slot?
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
Tried to build some weapons from cs:go, then noticed it's windows only :/ Can we expect linux support?
And what will get_user_weapon(id) return when I've selected custom weapon? |
Re: Module: Counter-Strike Weapon Mod [1.6 R]
Quote:
EDIT: I think compiling on windows to get linux library is impssible. Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
Quote:
PHP Code:
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
Quote:
things would mess up. |
Re: Module: Counter-Strike Weapon Mod [1.6 R]
CSWM will conflict with other plugins and cause server crash
PHP Code:
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
Quote:
Your code is incorrect at: Code:
if (!is_user_bot(id) && g_hambots && !cvar_botquota) Code:
if (!is_user_bot(id) || g_hambots || !cvar_botquota) |
Re: Module: Counter-Strike Weapon Mod [1.6 R]
One more issue, client get into buy menu will crash client side. (After update to 1.6.1)
|
Re: Module: Counter-Strike Weapon Mod [1.6 R]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.6.3]
off-topic sorry
where did you learn using C++ to make CS modules ? |
Re: Module: Counter-Strike Weapon Mod [1.6.3]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.6.3]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.6.3]
I've learned HLSDK by creating modifications of halflife via its code, and learned C++ via GOOGLING
|
Re: Module: Counter-Strike Weapon Mod [1.6.3]
ok
|
Re: Module: Counter-Strike Weapon Mod [1.6.3]
Quote:
For example i wanna make dual mp5 weapon. How? i see no replacement for Dual-Elites weapon. |
Re: Module: Counter-Strike Weapon Mod [1.6.3]
Quote:
RegisterWeaponForward on primary attack post and then send weapon animation. animation will be left or right depends on which was previous. you can do this by using custom entity variable than is not used by original dll. for example EV_INT_iuser4/pev_iuser4 and set 1/0. 0 will be left 1 will be right. Example: Code:
MyHookedForward(Weapon) |
Re: Module: Counter-Strike Weapon Mod [1.6.3]
Quote:
BTW this is just a basic weapon replacement:
Spoiler
Can you make a complete documentation of this module, your wiki seems to be out dated. |
Re: Module: Counter-Strike Weapon Mod [1.6.3]
Quote:
PS: I will test module on rehlds/hlds & regame/game. |
Re: Module: Counter-Strike Weapon Mod [1.6.3]
Quote:
it capped value at 90? why not go more than that? Nevermind, my bad.. i need to create custom ammo first. Looking forward for your new update. |
Re: Module: Counter-Strike Weapon Mod [1.6.3]
Oh lol, why the hell am I using the old hl weaponmod from a decade ago when there's this. This works so much better!
P.S. there seems to be some sort of conflict with ConnorMcLeod's bpammo_features.amxx P.S.2 for some reason GiveWeaponByName() doesnt seem to work? P.S.3 I noticed a few pretty nasty bugs, I'd say this is not yet ready for use, but theres definitely potential in there, I hope version 1.7.0 fixes these |
Re: Module: Counter-Strike Weapon Mod [1.7]
Pleas add function pev_viewmodel2 + pev_skin (textured pack) funcion
https://image.prntscr.com/image/HyZA...UAGS8wzJZw.png |
Re: Module: Counter-Strike Weapon Mod [1.7]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.7]
What code would you use to change the texture of a weapon?
|
Re: Module: Counter-Strike Weapon Mod [1.7]
Quote:
this worked with weapmodel (p_*) but should work on viewmodel too this also changed player's submodel (if there is) |
Re: Module: Counter-Strike Weapon Mod [1.7]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.7]
Ok, I did it easily. But I want to you add to module something.
I use your module for lasermine plugin, and it was successful. But this is not a weapon. Oke this is specific a weapon but, when I take another weapon, this shouldn't remove on player. That's why, can you add free Weapon Type? Not pistol, not ShotGun, only free weapon type. And How can move weapon to Slot5? Don't look to ammo. I haven't written yet. |
Re: Module: Counter-Strike Weapon Mod [1.7]
Quote:
|
Re: Module: Counter-Strike Weapon Mod [1.7]
Can you add native like GiveWeaponByName? It will not be sending drop command to player. Because I wrote somethings and I approached.
Code:
public plugin_precache() Does this have anything to do with it? https://github.com/CodeGhosty/CSWM/b.../CSWM.cpp#L989 --- And I think you can add SlotID to weapons. Because u added hud to weapons. I'm waiting next version. A very successful module. |
Re: Module: Counter-Strike Weapon Mod [1.7]
1 Attachment(s)
I wrote a pistol, that's name is Magic Wand. It has got unlimited ammo. When I writing I hope I didn't make a mistake.
I found v model on internet. I made p and w models with MilkShape. I taken effects in codes from SweetMilitary. |
All times are GMT -4. The time now is 04:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.