Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help MW3 Server Plugin
08-21-2012, 13:24
Post: #1
MW3 Server Plugin
Hello!
I'm tryin to make a great server and i don't want to disable secondary weapon the (primary is sniper) i need secondary but i don't want that people kill with it so i just wanna disable the damage of it!,i can't find this command in the SD_default so i think somebody can do a plugin for that (i would make it but i can't coding):/
Thanks for your attention!
Related links
Find all posts by this user
Add Thank You Quote this message in a reply
08-21-2012, 13:35
Post: #2
RE: MW3 Server Plugin
Hello,

I don't understand why you let the secondary weapon if you don't want them to kill with it...
It will make them confusing...
But if it still needed i can make that plugin.
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to narkos for this post:
Daintin (08-21-2012)
08-21-2012, 14:06
Post: #3
RE: MW3 Server Plugin
Why not just no ammo for secondary? If you want to disable damage of certain weapons you need to specify which weapons.

[Image: azuw.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to zxz0O0 for this post:
Daintin (08-21-2012)
08-21-2012, 16:32 (This post was last modified: 08-21-2012 16:39 by Daintin.)
Post: #4
RE: MW3 Server Plugin
Cause it's a Trickshot server and it needs for trickshotsSmile

it's a Trickshot server and it needs for trickshots

For all Secondary weapon machine pistols hangun others don't need

Oh and that would be great if u turn the damage of the semtext claymore etc flash stun ... except throiwing knife and one more question is that possible to restore the ammo after 30sec to maximum or something i'd be very grateful if u help me and respond thanks for your attention!
Related links
Find all posts by this user
Add Thank You Quote this message in a reply
08-21-2012, 17:25 (This post was last modified: 08-21-2012 18:19 by narkos.)
Post: #5
RE: MW3 Server Plugin
For the ammo, there is some unlimited ammo plugin already made on the forum... Just search a bit in the release section and you'll find what you need. (ie: http://www.itsmods.com/forum/Thread-Rele...lammo.html )

For the weapon that you want no damage:
- Make me a list of each weapon/equipment/offand.... that you want with "no damage" (ie: p99, semtex, etc).
- Visit a bit the MW3 forum section and give a "Thank you" to 10 threads that were usefull to you ( just clic the thank you button Wink )
- Then i'll be happy to do this plugin for you.

Cheers Wink
Ahahah Vodka! Let me fly Wink

@JariZ <3 and Thx a lot for the +rep Wink
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 2 users say Thank You to narkos for this post:
Daintin (08-21-2012), JariZ (08-21-2012)
08-21-2012, 19:07 (This post was last modified: 08-21-2012 19:09 by Daintin.)
Post: #6
RE: MW3 Server Plugin
Oke thank you but that plugin what u linked me only unlimited ammo and i just wanna get a restore ammo so it makes ammo maximum every 30 sec not for all time and u can reload etc with it
Weapon with no damage:
iw5_usp45, iw5_mp412, iw5_44magnum, iw5_deserteagle, iw5_p99,iw5_fnfiveseven,iw5_fmg9, iw5_g18, iw5_mp9, iw5_skorpion,
bouncingbetty_mp, frag_grenade_mp, semtex_mp, claymore_mp, c4_mp,flash_grenade_mp, concussion_grenade_mp, specialty_scrambler, emp_grenade_mp, smoke_grenade_mp, trophy_mp
But thank you so much for your help <3
Find all posts by this user
Add Thank You Quote this message in a reply
08-22-2012, 10:18 (This post was last modified: 08-22-2012 10:21 by narkos.)
Post: #7
RE: MW3 Server Plugin
I linked you an unlimited ammo plugin, but there are some more plugins for that...
- If you want to refill the ammo every 30 secs, we have to know the amount of ammo for each weapons, ammo and ammoclip (and the same with xmags). If i'm not wrong, nobody done this at the moment... (it takes some time to do it Wink )
So if you get the ammos infos for all weapons, i can implement it.

- About the "thank you" to 10 threads, you thanked 3 post in this tread, but where are the rest? The "thank you" we can see under the threads just hepl to motivate/thank modders for they work. You don't want to spen 10 minutes to do it? Coding the plugin you asked for takes a lot more time.

I have to finish an other plugin before doing this one, so i'll code it tomorrow if i can (and if the 10 thanks are given lol (not to me plz, to other modders)).
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to narkos for this post:
Daintin (08-22-2012)
08-22-2012, 11:19
Post: #8
RE: MW3 Server Plugin
@narkos maybe there is a function that returns weapon ammo clip size.
Related links

[Image: azuw.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
08-22-2012, 11:37
Post: #9
RE: MW3 Server Plugin
Hello,

@zxz0O0 i'm not sure if i understand correctly the meaning of what you says...
1. You think the is a game function to do that and maybe you can add it to the addon?
2. There is a way to do it with the actual addon?

For now i only get that way to start getting the infos (But it stills need new feature in the addon)

CSHARP Code
  1. public override OnPlayerSpawned(ServerClient Client)
  2. {
  3. // Get the weapon (primary)
  4. int weapon_id = Client.Other.PrimaryWeapon;
  5. int weapon_ammo = Client.Ammo.PrimaryAmmo;
  6. int weapon_ammo_clip = Client.Ammo.PrimaryAmmo;
  7.  
  8. // Now how to know the weapon name from the weapon id?
  9. // New function like GetWeaponName(weapon_id) to get the weapon name?
  10.  
  11. // Then with the weapon name we can found if it has xmags or not
  12. // Then store the ammo's infos.
  13. }
Find all posts by this user
Add Thank You Quote this message in a reply
08-22-2012, 14:41 (This post was last modified: 09-14-2012 14:16 by zxz0O0.)
Post: #10
RE: MW3 Server Plugin
There is WeaponClipSize("weapon_name") in GSC.

Edit: Found ClipSize function, will add in next update.

[Image: azuw.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to zxz0O0 for this post:
narkos (09-04-2012)
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  help mw3 no airwalk plugin SniperViper 2 64 05-19-2013 12:40
Last Post: Jone Calerone
  Infected Choose Plugin ? Hallla 3 95 05-12-2013 13:55
Last Post: Hallla
  Server Version 1.9.463 Hallla 7 251 05-09-2013 20:27
Last Post: hillbilly
  MW3 Server Version superg1973 4 285 05-06-2013 23:00
Last Post: e47
  Help Infected Shop Plugin Problem Hallla 2 114 05-06-2013 18:29
Last Post: Hallla
  problem to connect to server s.j-rez 0 125 04-17-2013 18:18
Last Post: s.j-rez
  Need Mw3 Server help. Black Void 1 215 04-08-2013 23:29
Last Post: Misterio
Video 3 server addon Jone Calerone 0 167 04-05-2013 19:21
Last Post: Jone Calerone
Question server moderator Jone Calerone 1 99 04-05-2013 00:47
Last Post: hillbilly
  Help MW3 HighJump speed plugin broken? MADD_DOGG 3 196 02-15-2013 21:03
Last Post: hillbilly

Forum Jump:


User(s) browsing this thread: 1 Guest(s)
Media Embeding by Simple Audio Video Embeder