Raised This Month: $51 Target: $400
 12% 

[HL2DM] Gravity Gun Only


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
el_matador
Junior Member
Join Date: Jan 2010
Old 04-12-2011 , 12:00   [HL2DM] Gravity Gun Only
Reply With Quote #1

Hi folks,

is there already a plugin for gravity gun only?
would appreciate it!

kind regards

el_matador
el_matador is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-13-2011 , 09:47   Re: [HL2DM] Gravity Gun Only
Reply With Quote #2

I don't know is there already exist plugin what remove weapons and so on, I didn't looked.

But I have done similiar plugin, what remove weapons what have added list.
- Two kind list, one remove weapons from map (they not spawn back) and other what remove weapons from players when they spawn.
- This plugin should work on other source game-mods, but I now done this for HL2MP.
- When use sm_hl2mp_remove_weapons_player,
it (should) only remove weapon from that player who spawn, not from players who already alive and gain that same weapon from map.
- Player maybe get glitch by weapon what have removed, they see holding a gun but they can't shoot



[HL2MP] Remove weapons
Quote:
sm_hl2mp_remove_weapons ""
// List weapons remove from map
sm_hl2mp_remove_weapons_player ""
// List weapons remove from player when spawn
So you want only gravityguns.
sm_hl2mp_remove_weapons "weapon_357 weapon_crossbow weapon_frag weapon_rpg weapon_ar2 weapon_crowbar weapon_pistol weapon_smg1 weapon_physcannon weapon_stunstick weapon_shotgun weapon_slam"

sm_hl2mp_remove_weapons_player "weapon_crowbar weapon_pistol weapon_smg1 weapon_stunstick weapon_frag"



List weapons what I have quicly found
Quote:
weapon_357
weapon_crossbow
weapon_frag
weapon_rpg
weapon_ar2
weapon_crowbar
weapon_pistol
weapon_smg1
weapon_physcannon
weapon_stunstick
weapon_shotgun
weapon_slam
Attached Files
File Type: sp Get Plugin or Get Source (hl2mp_removeweapons.sp - 784 views - 3.5 KB)

Last edited by Bacardi; 04-13-2011 at 10:01. Reason: change tiemr interval 1.0 to 0.3
Bacardi is offline
iSimon
Junior Member
Join Date: Aug 2010
Old 04-17-2011 , 17:32   Re: [HL2DM] Gravity Gun Only
Reply With Quote #3

You could take the CSS weapon restrictions mod and modify it to what weapons you want removed. Would take a bit of work, its a more advanced plugin, but it would be mostly just replacing names


http://forums.alliedmods.net/showthread.php?p=950174
__________________

iSimon is offline
Send a message via MSN to iSimon Send a message via Skype™ to iSimon
Reply



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 08:47.


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