DoD Plugins

Go Back   DoD Plugins > DoD Plugins > Developers Plugins > Fun Plugins

Fun Plugins Plugins that might not be totally realistic, but still pretty damn fun anyway

» Navigation
 > FAQ
» Forum Actions
» Programming
 > VERC
» Server Links
For Linking to Us
AvaMods
=|[76AD]|=
GameSpy Rangers
{DFH} Clan
AMX Mod X
Reply
 
Thread Tools Display Modes
  #1  
Old 07-31-2008, 07:03 AM
dodsynthetic's Avatar
dodsynthetic dodsynthetic is offline
developer
Developer
 
Join Date: Mar 2007
Location: BFO
Posts: 276
Syn's Weapon Mod v3.003

Syn's Weapons Mod v3.003/4

NOTE THE VER 004 IS A MODDED VERSION BY FYSIKS.
CHEERS!
Zor

This weapons mod allows clients to get any chosen primary gun they want with a pile of additional options and features. It effectively does the same thing as Toolz weaponmod but through completely different methods and fixes the /say command issue as well the inherent issue where client's don't get a weapon due to lag/packet loss when using the give_item() function.

===========================
v3.003 Changes
===========================
- Fixed depoloyable guns being able to be deployed anywhere. Oops! XD However, proned deployed MGs will have to un-deploy to get a new gun. Ones deployed on entities like sand bags do not.

===========================
v3.002 Changes
===========================
- Fixed random HLDS crash issue caused by improperly removing weapon entities by using Ham_RemovePlayerItem.
- Fixed problems with key binds not working and other issues due to private data calls on invalid entities resulting in abnormal plugin termination.
- Fixed client's getting stuck in deployed view mode when changing to different guns while previously using a deployed MG.
- Fixed non chosen weapon entity blocking. It appears I broke it at some point without realizing it.
- Refined weapon entity removal system.
- Fixed disabled weapons not actually being disabled.

===========================
Features
===========================
- Provides client access to all primary guns in DoD.
- Can allow client's to spawn with their chosen weapon via the /gunsave feature.
- Clients always get their chosen weapon irregardless of the quality of their internet connection.
- You do not need to be on your primary weapon to change weapons.
- Allows setting class restrictions according to map config or by plugin CVARs which act as global settings for all maps. Either method can be set to automatically update the normal DoD class choice menu.
- Optional dropped weapon removal mode to keep the server clean.
- Dropped weapons near a player's pickup range are not picked up when a player chooses a weapon.
- Weapons can be individually disabled allowing only access via normal DoD class choice menu.
- Built in help features.

===========================
Notes
===========================
- Credit goes to Toolz for his/her original plugin idea.
- When enabling class restrictions on a currently running round where previously disabled, a map change or server restart is recommended as active class counts will be inaccurate if you don't.
- When using class restrictions and mirroring to the DoD class menu selections, the "There is currently x player(s) of this class on your team" count will be inaccurate but being as no one probably cares about this anyway, I didn't bother to correct it and it alleviates having to send more data to clients.
- Tested on AMXMODX 1.8.1

===========================
Say Commands
===========================
/gunlist - Displays a list of all the gun names.
/gunbinding - Displays help on how to bind guns to a key.
/gunmenu - Displays a gun choice menu players can use to select their wanted gun.
/gunsave - Will toggle saving last gun choice for a player removing the need to manually request it.

===========================
CVARs
===========================
swm_wm | 0 = off | 1 = on
- Enables or disables the weaponsmod plugin. Default on.

swm_changes | x
- Sets how times a player can change their weapons between respawn/rounds. Default 2.

swm_delay | x
- Sets delay in seconds before a player can get another weapon after choosing one. Setting this too low will allow clients to continually get guns and could eat your server alive. AMXMODX flood protection will limit the abillity of setting as well. Default 5.

swm_max_weaponname | replace "weaponname" with corresponding weapon name | 0 = disable weapon
- Replace weaponname with the weapon's name. Allows you to specify a max for each weapon. These are the internal class maximums for use when class restrictions are enabled and class restriction type is set to global. Default 5 for all classes.

swm_disable_"weaponname" | 0 = disable | 1 = enable
- Disables a specific weapon when you want to force players to use the default DoD class menu. Default is disabled for all weapons.

swm_help | 0 = off | 1 = on
- Allows players to say /gunlist in chat to receive a list of all the available gun choices. Default on.

swm_class_restrict | 0 = off | 1 = on
- Enables or disables whether class restrictions are enforced. Default off.

swm_restrict_type | 0 = per map | 1 = global
- Lets you choose restrictions per a map's config or through global max weapon CVARs. Default per map. Default per map.

swm_menu_restrict | 0 = off | 1 = on
- Enables or disables setting server class restrictions which effect the state of class choices in the default DoD class menu. This is not to be confused with the weapons mod menu. Default off.

swm_gunsave | 0 = off | 1 = on
- Enables or disables the automatic last weapon chosen giving on respawn system. Default on.

swm_notify | 0 = off | 1 = on
- Enables or disables telling new joining players of this weapons mod features. Default on.

swm_remove | 0 = off | 1 = on
- Enables or disables removing all weapon entities. This will remove any and all weapons that aren't being used by a player. Default off.

swm_give_menu | 0 = off | 1 = on
- Enables or disables the weapons mod weapon give menu. Default on.

===========================
Installation
===========================
- Compile the .sma | An online compiled version can be found here on the same page you
downloaded this from.
- Copy the compiled .amxx file into your addons\amxmodx\plugins folder
- Add the name of the .amxx file to the bottom of your addons\amxmodx\configs\plugins.ini
- Change the map or restart your server to start using the plugin!
Attached Files
File Type: txt version_history.txt (8.3 KB, 60 views)
 
 Source (44.9 KB, 254 views)
 
 Source (45.1 KB, 58 views)
__________________
I once played DoD. XD

Last edited by Zor; 10-24-2015 at 09:58 PM.
Reply With Quote
  #2  
Old 08-14-2008, 03:29 PM
Pings Pings is offline
Junior Member
 
Join Date: Dec 2007
Posts: 14
So when you use /gunlist is that like the /classmenu in other peoples weapon mods? Do you spawn with a weapon that you chose off /gunlist, or is just a list? Also does this mod spawn weapons? Like DoD Weapons Mod 2.0.
Reply With Quote
  #3  
Old 08-14-2008, 10:27 PM
{DwP} 325th ABN's Avatar
{DwP} 325th ABN {DwP} 325th ABN is offline
Senior Member
 
Join Date: Aug 2006
Posts: 230
nice synthetic just put it in and it works great. i knew from the bots menu it would be good. nice job dude
Reply With Quote
  #4  
Old 08-15-2008, 01:08 AM
dodsynthetic's Avatar
dodsynthetic dodsynthetic is offline
developer
Developer
 
Join Date: Mar 2007
Location: BFO
Posts: 276
@ Pings > The gun list just lists the gun names if someone doesn't know what they are. I also plan on adding the option for players to always spawn with their chosen weapon. This spawns a weapon at the client's location that continue to move with the player until they get it so lag isn't an issue.

@ ABN > Thanks XD

@ Everyone > There is an issue of weapons following players though. While not a big deal, I'm going to fix that on the next update along with adding a gun menu so players don't have to use say commands if they don't want to.
__________________
I once played DoD. XD
Reply With Quote
  #5  
Old 08-15-2008, 04:08 AM
Tank's Avatar
Tank Tank is offline
Senior Member
 
Join Date: Jan 2007
Location: Enschede, The Netherlands
Posts: 580
We have been running this plugin for a while now and like any plugins Syn has recently published to the public, it works like a charm, the only issue which Synthetic already noted is the weapons following you but in the heat of battle you will hardly notice.

Once every 50 gun changes, you will notice your gun won't change, just hit the key (G by default) to drop your main weapon and the changes will work again.

@ Synthetic; for the gunmenu, perhaps you could ask TatsuSaisei for the *.sma for the gunmenu used by us. Too bad I only have the *.amxx version otherwise I would've given you that to see how he did it. Might perhaps not be a bad idea (although will cost you some more time) to combine those two plugins.
__________________

<a href="steam://connect/64.34.171.29:27015"><img src="http://cache.www.gametracker.com/server_info/64.34.171.29:27015/b_560x95.png" alt="" /></a>


Visit us at Bad Ass Mofo's
Reply With Quote
  #6  
Old 08-15-2008, 10:51 PM
{DwP} 325th ABN's Avatar
{DwP} 325th ABN {DwP} 325th ABN is offline
Senior Member
 
Join Date: Aug 2006
Posts: 230
quick question does this plug not let you have a weapon if it is restricted, say if i have only 2 mg42 will it let you have one. if not this may be somthing we could add. that way you dont have 10 mg42 running around. just didnt know if it did that or not. my clan loves it syn again kick ass job
Reply With Quote
  #7  
Old 08-16-2008, 01:22 PM
Tank's Avatar
Tank Tank is offline
Senior Member
 
Join Date: Jan 2007
Location: Enschede, The Netherlands
Posts: 580
Well basicly, looking at the cvars the weapons are either enabled or disabled.

Let's say you limited the mg42 by putting it into your configs/maps/dod_map.cfg this will have no effect. So lets say you limited the mg42 on 2 but enabled the weapon in weapons mod, you can have as much mg42's as you want.

So for the moment either disable the mg42 through cvar and limit the class or allow as much as mg42's as possible.

Could be a good add although I forsee a lot of work. Good find.
__________________

<a href="steam://connect/64.34.171.29:27015"><img src="http://cache.www.gametracker.com/server_info/64.34.171.29:27015/b_560x95.png" alt="" /></a>


Visit us at Bad Ass Mofo's
Reply With Quote
  #8  
Old 08-16-2008, 03:16 PM
{DwP} 325th ABN's Avatar
{DwP} 325th ABN {DwP} 325th ABN is offline
Senior Member
 
Join Date: Aug 2006
Posts: 230
yeah thats what i dont want to do, is go and put all those cvars in. but at least it could be done. hell even if it you have to do that. it is still kick ass
Reply With Quote
  #9  
Old 08-16-2008, 09:09 PM
dodsynthetic's Avatar
dodsynthetic dodsynthetic is offline
developer
Developer
 
Join Date: Mar 2007
Location: BFO
Posts: 276
That's not a bad idea ABN. Something like only following the weapon restrictions from a map's config?
__________________
I once played DoD. XD
Reply With Quote
  #10  
Old 08-16-2008, 09:14 PM
{DwP} 325th ABN's Avatar
{DwP} 325th ABN {DwP} 325th ABN is offline
Senior Member
 
Join Date: Aug 2006
Posts: 230
it would be nice and would keep alot of extra work out of the cvars side. dont know how easy it would be. but im sure you could pull it off. just to follow the servers weapons restrictions. just a thought
Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
DoD Weapon Jam (v3.0) diamond-optic Realism Plugins 26 10-04-2009 10:44 PM
DoD One Weapon Mod Hell Phoenix Fun Plugins 65 01-10-2009 05:42 PM
3.1b weapon COF and weighting WARDOG Chat 0 01-05-2009 03:21 PM
DoD Weapon Suicide (v1.0) diamond-optic Other Plugins 0 07-27-2008 08:26 PM
DoD One Weapon Mod Hell Phoenix SourceMod Plugins 2 08-13-2007 02:23 PM

» Donations
If you like this website, and would like to give something in return, you can make a donation. Your donation will be used to pay for hosting service, domain, & maintenance costs only!

$

Select your donation amount and then press the Donate button.




» Log in
User Name:

Password:

Not a member yet?
Register Now!
Powered by vBadvanced CMPS v3.2.3

All times are GMT -3. The time now is 05:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
dodplugins.net