PDA

View Full Version : DoD Class 03/22/07 v0.9c


Allenwr
03-22-2007, 11:15 AM
A long time ago, I saw a plugin that you choose the class of what ever team you are on... This is better. You are allowed to have any weapon, from any team, any time. Simply By typing the Name of the gun you want or selecting from a menu.

Commads:
say /weaponname (eg: mg42,fg42)
say /classmenu
say /allies /axis /british /axis-para (brings up a list with picture of each weapon from that class/team)

Cvar(s):
sv_dodclass 1/0

Bugs:
None reported

Suggestions:
All ideas are welcome.

To do list:
Admin Only?

The zip file contains a precomplied version of the plugin(v0.9c) as well as the source(v0.9c) and the 4 .txt files for the MOTD the images so you can choose to host them yourself and a preview .html file of the MOTDs.

A side note, I am hosting all of the images include in the zip on my own site so to save you people some effort.

Edit: Wilson invited me here so I am still learning the rules of the forums.

TooLz
03-22-2007, 04:41 PM
Excellent work, I was the maker of the original Weapons Mod, even just recently finished my Weapons Mod 2.0, Looks like you did a good job on the mod, I'd suggest integrating the weapons mod 2.0 as part of this so that people could either change their class or pick up the weapon while walking around.

The purpose of my Weapons Mod was to allow people to change between weapons while in action, for example, I am walking around with a K98, I get someone closer range shooting at me which would be difficult to get with the K98, I would type /bar and receive a bar and go around that corner and kill them easily.

I think that would be something we could work together to make this mod a even better. Drop me a PM and we can talk on either MSN Messenger or AIM if you're interested.

Cya

Allenwr
03-22-2007, 06:37 PM
I have made something similar, but as I guess the idea/plugin was abused severely... I can upload my other scripts that I have made which are dod specific.... and you could look at them...

CityRat
05-25-2007, 12:15 AM
I seem to get a bad load....

Placed dodclass.amxx in Plugins Folder
Added dodclass.amxx in plugins.ini
Placed dodclass folder (with the text files) in configs folder

maybe it hasnt been tested on a linux server?

Allenwr
06-08-2007, 02:38 PM
Its possible, but I think it has been put on a linux server...

noob question, but did you enable all of the modules?

Wilson [29th ID]
06-08-2007, 08:09 PM
There's a muuuuch easier way to do this.

Use VGUIMenu message and hook the cls_ commands!

=|[76AD]|= TatsuSaisei
06-08-2007, 08:50 PM
;6181']
Use VGUIMenu message and hook the cls_ commands!

..in case he, or OTHERS are unaware of how to specifically do this.. please enlighten us ...

CityRat
06-08-2007, 10:03 PM
Ill check but Im pretty sure they are...but as my college professor would say. Always start with the basics. Its like someone saying my pc isnt working...did you turn it on? ohh ya. LOL

Ill look at it again later tonight...and please enlighten us.

diamond-optic
06-09-2007, 01:29 AM
we definitly need an updated list of all the messages and their arguments and such.. the old excel file is a bit outdated.. ive filled in some of the blanks with stuff ive found out using different messages but theres plenty i never put any details in about and i know between all of us.. we can probably get together a much better list of them..

CityRat
06-11-2007, 06:51 AM
Hmm seems I had an older outdated version....

Works fine tho be nice to type /bar and spawn the weapon at any time or use the /classmenu and recieve the gun before you have to respawn. Is their an easy way to change this so you can spawn the weapon at any time without having to wait till you die and respawn?

diamond-optic
06-11-2007, 10:23 AM
Hmm seems I had an older outdated version....

Works fine tho be nice to type /bar and spawn the weapon at any time or use the /classmenu and recieve the gun before you have to respawn. Is their an easy way to change this so you can spawn the weapon at any time without having to wait till you die and respawn?

http://www.dodplugins.net/forums/showthread.php?t=699

CityRat
06-11-2007, 03:43 PM
Ya but that doesnt have the classmenu.....

Be nice to type /weapon or do classmenu and select what gun you want and spawn with it instantly. With weaponmod2 you dont have a classmenu or weaponmenu. Now with dod_class you get /weapon and weapon menu but u cant spawn with the gun instantly you have to wait till you die and respawn.
Need to combine both plugins lol....

Allenwr
06-20-2007, 07:59 PM
I did that type of plugin once, but it was severely abused and I lost my source code. And as Wilson I believe keeps saying use the VGUI, I dont know how I told you that, if you wanna help me thats great otherwise, give me a cookie.

int
04-02-2008, 06:34 PM
hmm plugin dont work for me
the server starts to lagg or overflow dunno what it is when the server tries to spawn my player

in spec I can use the menus without probs

Hood [10th MD]
04-04-2008, 01:38 AM
I made something more or less the same (the code wasn't as pretty - very nice) which used dod_set_user_class and didn't correct for models, and I was always very puzzled to see allied looking axis.

Great job! I may think about replacing weapons mod with this. Although I really like not having to reload and just getting a new weapon instead...

int
04-05-2008, 09:48 AM
i cant fix the lagg hmm