View Full Version : Wilson's Sacred Plugins
Wilson [29th ID]
12-11-2009, 07:37 PM
As promised (http://dodplugins.net/forums/showpost.php?p=6703&postcount=9), here they are. (No I'm not paralysed. We moved to Darkest Hour (http://darkesthourgame.com).)
I haven't played DoD in over a year, and I don't even remember how to compile this stuff. Hopefully diamond can put this into an .amxx file and make it presentable.
Also, I don't remember how to use these plugins, so you'll have to look at the cvars (i remember that word!) and figure it out.
Obviously I'm not offering support on these as the 29th (http://29th.org) plays Darkest Hour (http://darkesthourgame.com) now, and I'm quite busy coding for that and our web site.
Okay I've included the flamethrower, shotgun, rifle grenades, and realism match. The thing with realism match, though, I've got several different versions. I included the all-in-one file, I think, but then I have another version called rMatch, which, if I remember correctly, I used to basically develop it into a class. I imagine I got it working - I just don't remember what I used on our server. So if rMatch doesn't work, try the all-in-one version. Oh, and yes there is an IP block in the plugin, so you'll have to add your server's IP in it to make it work (unless you can remove that part).
Models for the different plugins are in models.zip
Well, Enjoy :P
EDIT: Oh, and if I forgot any plugins send me an email at wilson@29th.org and I'll send it to you. Pretty sure these were all the big ones I didn't release.
diamond-optic
12-11-2009, 07:50 PM
thank you wilson :D
meathead
12-12-2009, 07:27 PM
Shot guns!! Woohoo!!!!
noddy
12-14-2009, 08:41 AM
Thanks Wilson, I never seen the shotgun plugin in action but I have heard about it :)
I notice that it requires dod_stocks so am I right thinking that this is the correct one http://www.dodplugins.net/forums/showthread.php?t=1101&highlight=dod_stocks
Yep, that is the stock. However one model is missing: p_trenchshotgun and although i have the plugin running, it does not seem to work.
noddy
12-14-2009, 11:05 AM
same here, I renamed p_shotgun1.mdl to p_trenchshotgun.mdl in the hope that it would suffice. I get the choice of bar or shotgun but no model change or anything else :(
D-O almost got the shotgun plugin to work perfect. You can try it at his PUB server, if its still running... The work that he did on it is some tricky stuff, lets hope he do a public release some day...
- Cheers
noddy
12-14-2009, 12:50 PM
thanks m8, I was hoping that it was just a compile and run job :(
webmaze
12-14-2009, 01:26 PM
let us hope somebody takes over the projects. i've tried ironsights, works like a charm and shotgun.
Zeta
diamond-optic
12-14-2009, 03:09 PM
i was up till bout 4am last night redoing the p model for the shotgun.. adjusting it so it sits in the players hands better.. as well as adding events for bullet eject (sadly the dod team, instead of adding a new event, replaced the shotgun shell eject with the mg shells eject, so i did it using the large rifle round, not as nice as a shotgun shell but its small anyway lol) and also added a muzzle flash and even tried adding the bazooka muzzleflash too which creates a nice dark puff of smoke at the barrel exit and back at the chamber lol.. (of course only visible with particlefx on lol) ..still gotta do some work on animations tho as sometimes it gets stuck in the shotgun animation when you switch weapons
plogan64
12-20-2009, 10:02 AM
Oh ya I've been waiting for the shotgun plugin for over a year. I see you have it running on your server, great job!! Will you be releasing it soon?
gunsofnavarone
12-21-2009, 10:13 AM
Yes, I think it would be a great addition. I've had a few folks on our server request a shotgun too.
Wilson [29th ID]
12-21-2009, 09:12 PM
i was up till bout 4am last night redoing the p model for the shotgun.. adjusting it so it sits in the players hands better.. as well as adding events for bullet eject (sadly the dod team, instead of adding a new event, replaced the shotgun shell eject with the mg shells eject, so i did it using the large rifle round, not as nice as a shotgun shell but its small anyway lol) and also added a muzzle flash and even tried adding the bazooka muzzleflash too which creates a nice dark puff of smoke at the barrel exit and back at the chamber lol.. (of course only visible with particlefx on lol) ..still gotta do some work on animations tho as sometimes it gets stuck in the shotgun animation when you switch weapons
lol I wish you would have IMd me, I think I just forgot to upload that model...but yours is probably better. Attached is the version I used.
Ba5ic
12-22-2009, 01:47 PM
Thanks Wilson, I never seen the shotgun plugin in action but I have heard about it :)
I notice that it requires dod_stocks so am I right thinking that this is the correct one http://www.dodplugins.net/forums/showthread.php?t=1101&highlight=dod_stocks
Major blonde moment here on my behalf, how do i install dod_stocks :S.
Thanks in advance.
You need to compile the plugin on your local machine. Just DL dod_stocks.inc and put it in \scripting\include with the other .inc files (:
Ba5ic
12-22-2009, 02:50 PM
Thanks Dr.G :)
Have a great xmas
Ba5ic
12-22-2009, 03:59 PM
Ok, the plugin is installed and running, two problems i have are as follows:
1. When you respawn with shotgun class, you cannot see the shotgun, you cannot see anything.
2. you cannot cycle through any weapons i.e. knife, nades pistol etc...
Any idea's?.
diamond-optic
12-22-2009, 05:42 PM
it doesnt work without changing some things..
the main thing i recall changing 1st was the spawn forward.. the dod spawn forward is junk, using hamsandwich instead works tho.. but thats just 1 of many changes it needs lol
meathead
12-23-2009, 01:25 AM
Waiting for your updates DO!
mtcomsys
12-25-2009, 03:47 PM
Can you guys help me setting up the realism match plugin from Wilson? I could only compiled one file. Im using amxx 1.81. I tried to but I failed. Thanks!
webmaze
01-19-2010, 11:09 AM
could somebody post a working version of the trenchgun plugin? i've seen it on avamods. or perhaps give us a hand or hints on how to fix it? kind regards.
Zeta
I only know one working version, and that is the one on avamods, and not public. And since its not public guess what, its either not finished to be so, or they will not share it...
{DwP} 325th ABN
01-19-2010, 11:10 PM
how about the iron sights is it working ok, and if so why the 3 sma. do you need all 3 of them and have to compile all 3 ? just wondering if i want to get into this one.
Stear
02-03-2010, 09:01 PM
Can someone get the realism Plugin working? I'd really love to have it (:
F10-DEATHWish
02-07-2010, 01:37 PM
Hey,
Has anyone been able to get the realism plugin working?
My skills in making plugins is very limited and this is
Far past me!
It would be great if someone could post up a working
complied version of it!
Thanks, DEATHWish
For making the shotgun plugins animations right, or not disturbs by other weapon animations. The fwd_UpdateClientData_Post forward needs to be updated to ignore messages send to BAR, BREN and SGT44.
->
new weapon = get_user_weapon(id, _, _);
if( weapon == DODW_BAR || weapon == DODW_STG44 || weapon == DODW_BREN)
{
set_cd( cd , CD_WeaponAnim , 0 );
return FMRES_SUPERCEDE;
}
One hint of many, i finally got it all working now. But it still needs some testing.
Can anyone do models around here? Id like to a v model that can simulate a butt stroke.
- Cheers
mtcomsys
02-08-2010, 06:23 PM
Dr. G, thank you for your information. Can you please be kind as to guide me how to use those codes? I have Wilson's plugins for the shotgun and I get a menu to choose the shotgun but not shotgun shows up. Thanks! :)
Stear
02-08-2010, 06:39 PM
There is a missing file in the rmatch, I'm trying to get ahold of Wilson and get the file, the file is called rmatch.inc
Or I Assume thats what it is.
Dr. G, thank you for your information. Can you please be kind as to guide me how to use those codes? I have Wilson's plugins for the shotgun and I get a menu to choose the shotgun but not shotgun shows up. Thanks! :)
Yes the menu works fine (: You "guide" yourself by reading some of the links here : http://www.dodplugins.net/forums/showthread.php?t=1695
diamond, can you tell me how you handle if a player drops a shotgun, and setting the right model and reconizing the weapon.
Nevermind D-O, got it right now. Damn this shotgun project is fun http://www.youtube.com/watch?v=I3_XqcGz7JQ muhahaha
diamond-optic
02-11-2010, 02:10 PM
hah nice.. guess i was late
skyler814
02-12-2010, 02:54 PM
i can not get the any of the plugins to compile can some one help me by explaining it plz:)
skyler814
02-13-2010, 04:49 AM
okay so iv goten them to compile with some help from a friend but nothing shows up i saw that some of you were doing work on them could one of you email what you got done id like to do some work on this too
skyler814
02-13-2010, 07:11 PM
y didnt u post plugins that work
Obviously I'm not offering support on these as the 29th plays Darkest Hour now, and I'm quite busy coding for that and our web site.
Might want to read the initial thread again and it may give you the answers you seek.
skyler814
02-14-2010, 01:03 AM
tank i have done this meny times over (reading the threed) and non of it tells me how im suppost to get this working
y didnt u post plugins that work
wow, for all the work youve put in youre pretty cocky huh
tank i have done this meny times over (reading the threed) and non of it tells me how im suppost to get this working
If you read through the thread you will notice some comments about D-O and Dr. G and basicly with that info you can get pretty far getting this plugin to work. For example, in one of the posts D-O mentions that the dod_spawn function being used is total shite, so instead use the hamsandwich function for spawn. Start with that.
One last thing, replying to yourself, making post after post is not going to speed things up. Sometimes plugins are kept private, although the source is out, i guess this is one of them.
noddy
02-14-2010, 11:48 AM
@skyler814
I think the real issue here is that lots of people want others to do all of the work for them and it is wearing a bit thin.
DO and Dr.G have given the clues to get the shotgun plugin working.
I have never written a plugin but by reading a little and looking at the way other plugins work I managed to get the shotgun working.
You either need to do the same or wait for someone to release a working version.
skyler814
02-14-2010, 03:27 PM
okay then tell me this wtf is spawn fowered and how do i change it to hamsandwich
diamond-optic
02-14-2010, 06:34 PM
1st off.. this is the 'tutorial' section.. which doesnt mean things are going to be complete or totally working...
2nd.. you have quite a rude and demanding attitude, and you shouldnt expect people to drop everything to please you
3rd.. if you dont know anything about how to hook the client spawn, I highly doubt you'll be fixing the plugins on your own
skyler814
02-14-2010, 07:09 PM
OKay D-O i wanting trying to be rude
i didnt know this was tutoial section
and i wasnt planing on fixing it my self
meathead
02-16-2010, 10:14 PM
Anybody running linux, got the shotgun working? DO- I dont rem if your windows or linux.
He's running Linux
Main Server Specs
Hardware:
>Processor: Quad Core
>Processor Speed: 3.0+ GHz
>RAM: 2+ GB
Software:
>Server OS: Linux x86
>HLDS Mod: DoD v1.3
>VAC Secure: Yes
>Metamod Version: v1.19p32
>AMXX Version: v1.8.1.3746
meathead
02-17-2010, 08:28 AM
Thanks! Almost got it, thanks to some friends Tank
F10-DEATHWish
02-18-2010, 03:24 PM
Hey Stear,
Any luck on getting that rmatch.inc file?
Anyone else have luck with the realism plugin?
Thanks.
webmaze
02-19-2010, 08:47 AM
Nevermind D-O, got it right now. Damn this shotgun project is fun http://www.youtube.com/watch?v=I3_XqcGz7JQ muhahaha
what did you use to make the doors explode?
Zeta
I think thats a simple func_breakable.
If you want an example, open dod_kalt in BSP viewer, locate the wall which you can blow up with a bazooka. The model has the function func_breakable, the health indicates how much damage it can take. I believe it also says something like material or type...there are different options like wood splinters, concrete rubble, glass etc.
webmaze
02-19-2010, 02:33 PM
thanks, it was a cool effect. i remember a plugin from cs to blow up doors with the hegrenade. kind regards.
Zeta
you need to get ent's with classname func_breakable and with material 1 (wood), and then the doors, those are easy. And ofcourse you need to check what the player is aiming at and his distance to it, unles you want people shooting doors down from miles away... Oh and i made a check to see if its a team door, if so its not shootable, mostly to protect spawn areas...
stock aimingAtDoor(id, const Float:UserOrigin[3])
{
new Float:origin[3];
fm_get_aim_origin(id, origin);
if(get_distance_f(origin, UserOrigin) >= MAX_DIST_TO_BREAK)
return
new ent = -1;
while( (ent = engfunc(EngFunc_FindEntityInSphere, ent, origin, MAX_SPHERE)) )
{
if( fm_is_ent_classname(ent, DOOR_CN) && pev_valid(ent))
{
new iUser ; iUser = (pev(ent, pev_iuser4))
if(iUser == TEAM_DOOR_MARK)
return
woodgibs(origin) ; set_entity_visibility(ent, 0)
set_pev(ent, pev_solid, SOLID_NOT) ; set_pev(ent, pev_iuser1, DOOR_ID)
#if TESTING
client_print(id, 3, "[%s] You hit : %s..", PLUGIN, DOOR_CN)
#endif
}
}
return
}
webmaze
02-19-2010, 10:02 PM
unfortunately far to complex for me but thanks. i'll give it a try with stripper. thanks for the prompt response.
Zeta
Fysiks
02-20-2010, 02:14 AM
I've got the gun shooting but many bugs still left. Many of which are probably beyond me but I might keep working.
mtcomsys
02-24-2010, 08:48 AM
Hey Stear,
Any luck on getting that rmatch.inc file?
Anyone else have luck with the realism plugin?
Thanks.
It seems there is a file missing. Im having the same problem to compile :(
Wilson [29th ID]
04-26-2010, 11:41 AM
unfortunately it looks like I never backed up rmatch.inc, which is a shame as that probably included the native functions. I don't remember. But I do remember there were two versions of my realism match plugin - a simple one that was all in one sma file, and another, more complex one, that had its own natives and such. So just use the more simple one
Wilson [29th ID]
04-26-2010, 06:08 PM
I just realised I never uploaded the 'simple' version of realism match. See attached.
If I remember correctly, it should run standalone.
F10-DEATHWish
04-26-2010, 06:15 PM
Thank you very much Wilson.
MOSdod
05-20-2010, 08:36 PM
I really need the shotgun plugin but when I tried to compile it, its gives me an error below:
Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
/home/groups/amxmodx/tmp3/phpWLF6BV.sma(10) : fatal error 100: cannot read from file: "dod_stocks"
Compilation aborted.
1 Error.
diamond-optic
05-20-2010, 10:27 PM
thats because the online compiler doesnt have the dod_stocks include.. have to compile it locally
MOSdod
05-21-2010, 05:27 AM
thats because the online compiler doesnt have the dod_stocks include.. have to compile it locally
ok, I got the dod_stocks.inc from http://www.dodplugins.net/forums/showthread.php?t=1101
but I don't know where to put that file in order to compile the shotgun.sma plugin
Do I have to add it in the bottom of the .sma plugin or place it somewhere ? I never came across a problem like this (at least for me cuz im a noob).
thanks
I can explain how to compile it offline, but once explained you'll notice the plugin as posted here wont work anyways. Like stated many times before, the only two working versions are the ones fixed by Diamond-Optic and Dr. G, both NOT for public release.
thats because the online compiler doesnt have the dod_stocks include.. have to compile it locally
Are you sure ?
diamond-optic
05-23-2010, 03:45 AM
oh well idk lol.. does it now? i thought it didnt lol
oh well idk lol.. does it now? i thought it didnt lol
That true, so just do it, ok ?
MOSdod
05-25-2010, 07:48 PM
when you think it'll be public so I can have it on the server.
I mean there is a topic on it and seemed like its for people to put on their server.
I really need the shotgun in my server. so if its not public why is it in here and looks promising with the .sma attached to it?
gunsofnavarone
05-25-2010, 08:14 PM
I don't know if you noticed this or not, but the category under which this thread is posted is "tutorials".
In my mind, this is where people who may be working on it might share what they've included in their work and may wish to share with others who may have a different way of doing it, or something else to add, or maybe even provide some guidance for another who has hit a snag in their scripting work.
From http://www.thefreedictionary.com/tutorial
tu·to·ri·al (t-tôr-l, -tr-, ty-)
adj.
Of or relating to tutors or a tutor.
n.
Something that provides special, often individual instruction, especially:
a. A book or class that provides instruction in a particular area.
b. Computer Science A program that provides instruction for the use of a system or of software.
HLowe
08-04-2010, 11:15 PM
I am having a problem getting dod_realismmatch to work on my server. I put dod_realismmatch.amxx in the plugins folder, edited the plugins.ini correctly and replaced it, and placed the realismmatch folder with the menus and what not in the scripting/include folder. Is there something I missed or did wrong? Thanks for the help.
gunsofnavarone
08-05-2010, 09:46 AM
One would almost have to question whether or not you actually did do things right. Why do I say this? Well, at what point did you think your question had anything to do with this particular thread? Why didn't you post your question in the thread where the plugin is at?
This particular thread deals with a tutorial on creating a shotgun plugin, and has nothing to do with the realism plugin which you reference.
How about trying again to show everybody that you're awake and that you have some level of credibility about what you're talking about?
One would almost have to question whether or not you actually did do things right. Why do I say this? Well, at what point did you think your question had anything to do with this particular thread? Why didn't you post your question in the thread where the plugin is at?
This particular thread deals with a tutorial on creating a shotgun plugin, and has nothing to do with the realism plugin which you reference.
How about trying again to show everybody that you're awake and that you have some level of credibility about what you're talking about?
Not to sound like a bad person but where else should he post that question? I think it is you who is not awake. If you look at the first page, the first post made by Wilson you will see a bunch of downloads/sources including rMatch....guess, rMatch stands for Realism Match.
This plugin does partially hold the key to fixing the shotgun plugin but this entire thread is a combination of new released plugins but not supported.
As to finally come to the question at hand....I do not see a SMA file called dod_realismmatch, ( I search dodplugins for it, no other plugin called like that either, or I missed something). So whatever you compiled, it cant be dod_realismmatch, more like rmatch.amxx.
What you need to do is compile this plugin offline/locally. The includes which you placed in scripting/includes are needed to compile this plugin offline.
So since your pluginname is off from what it should be, lemme ask this first: how did you compile?
HLowe
08-05-2010, 07:16 PM
Not to sound like a bad person but where else should he post that question? I think it is you who is not awake. If you look at the first page, the first post made by Wilson you will see a bunch of downloads/sources including rMatch....guess, rMatch stands for Realism Match.
This plugin does partially hold the key to fixing the shotgun plugin but this entire thread is a combination of new released plugins but not supported.
As to finally come to the question at hand....I do not see a SMA file called dod_realismmatch, ( I search dodplugins for it, no other plugin called like that either, or I missed something). So whatever you compiled, it cant be dod_realismmatch, more like rmatch.amxx.
What you need to do is compile this plugin offline/locally. The includes which you placed in scripting/includes are needed to compile this plugin offline.
So since your pluginname is off from what it should be, lemme ask this first: how did you compile?
First off, Gunsofnavarone, this thread as Tank said holds many plugins on it and since it is even in the Tutorials forum I figured my post wouldn't be too far-fetched to post here. Second, this isn't my first rodeo and I have over 10 plugins running on my server that I had no problems with getting on including the Flamethrower plguins mentioned in this topic.
Third, Tank if you look here: http://www.dodplugins.net/forums/showpost.php?p=14492&postcount=56 this is supposed to be the "simple" version of the Wilson's sacred realism match plugin and I am only assuming it uses the same "menu_mainmenu.inl" file that is located in the "rMatch/realismmatch" folders he posted here: http://www.dodplugins.net/forums/showpost.php?p=13831&postcount=1
Now, I tried using amxmodx.org's compiler to compile multiple plugins listed in this thread, and the only one that worked was Flamethrower. At first it didn't but then I got that wonderful message: "Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
/home/groups/amxmodx/tmp3/phplLHzJm.sma(7) : fatal error 100: cannot read from file: "dod_stocks"
Compilation aborted.
1 Error."
So I placed a new folder on my desktop (from which I tried uploading dod_flamethrower.sma) and named it scripting with a folder inside it named include and placed the dod_stock.inc in there and tried it again, and Voila! it worked. Then I tried dod_riflegrenades.sma in the same exact fashion and it gave me the same error above. I was confused. I am not sure what exactly to do with dod_riflegrenades.sma or dod_shotguns.sma because they will not compile and give me the same error message. As for dod_realismmatch.sma I got it to compile once but when I check my ingame console on which plugins are running it says dod_realismmatch.sma was a bad load? I have no idea how to fix this.
All I am really asking for is some suggestion about dod_realismmatch.sma on how to get it running in the server, and exactly how do I compile locally?
Thanks for any help!
P.S. Gunsofnavarone... you don't have to be like that man, especially when you are in fact wrong yourself. :D
Its IP locked - Remove line 57 or ignore it->
if( !valid_server() ) return PLUGIN_HANDLED;
dod_stocks.inc can be found in this forum section, see the sticky posts at the top.
gunsofnavarone
08-06-2010, 10:05 AM
You are right. 8 months and 8 pages later I forgot he posted for more than 1 item.
My apologies.
F10-DEATHWish
08-17-2010, 01:58 PM
I managed to get the realism plugin working.
Needs a lot of work as it was setup for wilson's server.
The plugin would suit a 24/7 realism server.
mtcomsys
08-17-2010, 03:28 PM
I managed to get the realism plugin working.
Needs a lot of work as it was setup for wilson's server.
The plugin would suit a 24/7 realism server.
Could you please share it with us? Thanks!
netmad
08-26-2010, 09:00 AM
dod_riflegrenade.sma complied to .amxx, but in Game Not work, Garand or Kar Class have no riflegrenade.
webmaze
10-14-2010, 11:54 AM
Hi, is anybody working on the trenchgun plugin? i've been trying to do what you've been writing here and it doesn't work. when changing the forward spawn to ham spawn i can finally walk, and sometimes i see the model but i can't shoot or anything.
could you please give me a hand? at least explain me what i should look to fix it. kind regards.
Zeta
gunsofnavarone
10-21-2010, 07:41 AM
I don't know anything about scripting for plugins, so I may be a bit off-base here, but you might want to get for example the flamethrower plugin.
Try to analyze that. I know shooting bullets and firing flames are 2 different things, but it's still a hand-held weapon. So you should at least be able to get it so that you can carry the weapon around without any problems (you said "sometimes" you see the model).
There is also one for the mortar. Though it is scripted that you need to be prone to shoot or fire it, it too should give you some sort of guide to scripting the firing of the weapon.
As I said, I don't know anything about scripting and I may be off-base with my suggestion, so forgive me if that is so. Just trying to be helpful.
The main idea about trying to learn something (anything) is finding examples that are somewhat related to what you are trying to accomplish and dissect and analyze that to try to determine how something is done.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.