Raised This Month: $ Target: $400
 0% 

DoD One Weapon Mod


Post New Thread Reply   
 
Thread Tools Display Modes
UPADuck
Junior Member
Join Date: Jan 2008
Old 01-09-2008 , 14:39   Re: DoD One Weapon Mod
Reply With Quote #21

author MIA?
Has anyone got this plugin to work on a linux server?
UPADuck is offline
Mosalar
Senior Member
Join Date: Jul 2004
Location: Tampa Fl
Old 03-23-2008 , 15:35   Re: DoD One Weapon Mod
Reply With Quote #22

Anyone willing to take a look at this? It works fine on a windows server, but crashes on a linux.
Mosalar is offline
jezcwb
New Member
Join Date: Jul 2008
Old 07-22-2008 , 02:36   Re: DoD One Weapon Mod
Reply With Quote #23

i have a big problem, only that weapons dont work...

Weapon values
19 German Nades
20 US Nades

log :
L 07/22/2008 - 03:27:40: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 11 on
L 07/22/2008 - 03:27:40: [SM] Native "GetPlayerWeaponSlot" reported: "Weapon_GetSlot" not supported by this mod

what i need do to fix that??
jezcwb is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-22-2008 , 09:57   Re: DoD One Weapon Mod
Reply With Quote #24

Hmm, attached is the plugin I made for Mosalar as a replacement. It's not perfect, it has quite some calculations in OnGameFrame But it works, and it also has a feature to set everyone's health, so you can use it as kind of a dodgeball plugin. I just made it quickly, so I don't really intend to support it.

sm_oneweapon_health (0/amount of health, default 0)
Amount of health to give to everyone. 0 is disabled.

sm_oneweapon_weapon ("none"/classname of weapon, default "none")
Class name of the weapon to give to everyone. "none" is disabled.

This is a list of the weapon classnames, hope I did them all right:
  • weapon_30cal
  • weapon_amerknife
  • weapon_bar
  • weapon_bazooka
  • weapon_basebomb
  • weapon_c96
  • weapon_colt
  • weapon_frag_ger
  • weapon_frag_us
  • weapon_garand
  • weapon_k98
  • weapon_k98_scoped
  • weapon_m1carbine
  • weapon_mg42
  • weapon_mp40
  • weapon_mp44
  • weapon_p38
  • weapon_pschreck
  • weapon_smoke_ger
  • weapon_smoke_us
  • weapon_spade
  • weapon_spring
  • weapon_thompson
Attached Files
File Type: sp Get Plugin or Get Source (oneweapon.sp - 641 views - 3.7 KB)
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 07-22-2008 at 12:13.
DJ Tsunami is offline
uragan
Junior Member
Join Date: May 2008
Old 07-22-2008 , 17:17   Re: DoD One Weapon Mod
Reply With Quote #25

Is at this mod a wepon remover?
So if weapons are at ground, will this removed??

If now, can you please help me.
I need a script to remove the weapons on ground. ONLY this.
without other mods

Will be nice, thx
uragan is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-22-2008 , 18:34   Re: DoD One Weapon Mod
Reply With Quote #26

This gives everyone the same weapon and removes the weapons when someone dies. The same thing DoD One Weapon Mod does, so.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
uragan
Junior Member
Join Date: May 2008
Old 07-23-2008 , 07:12   Re: DoD One Weapon Mod
Reply With Quote #27

DJ Tsunami, i have a gungame server.
And i need new a script to remove all the weapons on the ground.
If i set your script, than i cant select other weapons, or player cant get new weapons after a kill.

so a request to you, to make a weapon remove script, please
I think you have to copy only the commands.
I would of course do it myselft, by i dont understand the language c++.
I had started to learn it, but at the moment i have to the time for it.
uragan is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-24-2008 , 16:40   Re: DoD One Weapon Mod
Reply With Quote #28

http://ampaste.net/m6c0a96b7

Or use my DoD:S GunGame plugin
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
uragan
Junior Member
Join Date: May 2008
Old 07-25-2008 , 09:14   Re: DoD One Weapon Mod
Reply With Quote #29

Tsunami, thanks a lot )
very nice script

I will test your Gungame, maybe its a little better than the EventScript code )
But i cant edit the script sourcemod code (example new features update)(, ES is a little easier ;)
uragan is offline
GTFO. al
New Member
Join Date: Oct 2008
Old 10-19-2008 , 13:49   Re: DoD One Weapon Mod
Reply With Quote #30

Quote:
Originally Posted by DJ Tsunami View Post
Hmm, attached is the plugin I made for Mosalar as a replacement. It's not perfect, it has quite some calculations in OnGameFrame But it works, and it also has a feature to set everyone's health, so you can use it as kind of a dodgeball plugin. I just made it quickly, so I don't really intend to support it.

sm_oneweapon_health (0/amount of health, default 0)
Amount of health to give to everyone. 0 is disabled.

sm_oneweapon_weapon ("none"/classname of weapon, default "none")
Class name of the weapon to give to everyone. "none" is disabled.

This is a list of the weapon classnames, hope I did them all right:
  • weapon_30cal
  • weapon_amerknife
  • weapon_bar
  • weapon_bazooka
  • weapon_basebomb
  • weapon_c96
  • weapon_colt
  • weapon_frag_ger
  • weapon_frag_us
  • weapon_garand
  • weapon_k98
  • weapon_k98_scoped
  • weapon_m1carbine
  • weapon_mg42
  • weapon_mp40
  • weapon_mp44
  • weapon_p38
  • weapon_pschreck
  • weapon_smoke_ger
  • weapon_smoke_us
  • weapon_spade
  • weapon_spring
  • weapon_thompson
have this working on my server giving everyone the kar98 rifle only...

anyone know how to also give riflenades associated with that weapon? or know of any other plugin that would allow me to only give kar98k and stuff like riflenades and spades to everyone?

Last edited by GTFO. al; 10-19-2008 at 13:52.
GTFO. al is offline
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 02:14.


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