View Full Version : Dod Technician (Bazooka Plus Carbine)
Wilson [29th ID]
12-20-2006, 05:26 AM
The long awaited...
/* TECHNICIAN
* Created by the 29th Infantry Division
* www.29th.org
* www.dodrealism.branzone.com -- Revolutionizing Day of Defeat Realism
*
* DESCRIPTION
* -Will give the Bazooka class an m1 carbine instead of a pistol, and the
* panzerjaeger class an mp40 instead of a pistol. Uses limited magazines
* for secondary weapons to provide balance.
*
* CVARS
* -dod_technician <1/0>
* Enables or disables the plugin
*
* CREDITS
* -Sgt. Theel
* -2Lt. Nobles
* -DOD: Source...for the idea
* -Rukia for pdata and teaching me how to be a man
*
* FAQ
* -Can I customise this to give different multiple weapons?
* Answer: Theoretically yes. This is the foundation of a dual weapons plugin
* and could be transformed into such
* -Will this plugin make me better at Day of Defeat?
* Answer: No, if you such you will still continue to suck. But this will give you
* and extra weapon.
*
* KNOWN BUGS
* -Drop both weapons, pick up carbine, and press slot2.
* It will give you another carbine with full ammo until you switch weapons
*
*/
Just to give you a heads up, this plugin is actually really useful, and makes the Rocket class actually practical.
Box Cutter
12-20-2006, 07:15 AM
OMG, I have been waiting for you to release this baby. I think I actually had a dream about it lastnight. I am going to install and play with it now. Thanks a bunch for the early Christmas present Wilson.
Box Cutter
12-20-2006, 08:57 AM
I had a chance to play around with this and I am very pleased with it. I did notice a few things that I'm sure you know about but just incase I will mention what I experienced.
If you use your wheel mouse to cycle through your weapons once you switch off of the bazooka you have to wheel mouse up in order to get back to the bazooka, if you scroll down it will never show up.
Once you spawn you are given the correct stock amount of bazooka ammo but once you switch off of it and come back you only have what is in the chamber. In order to reload you have to switch off and back to it and you will have one in the chamber again. The same happens with the carbine. In the end you basically have unlimited ammo for both when you repeat this cycle.
If you run the nade-for-all plugin like I do you lose the grenade when cycling through your weapons with the wheel mouse. Not a huge deal so I just set the CVAR to 0 for rockets.
It can get a little confusing when cycling from the carbine to the bazooka and back because the weapon images (whatever their called) move around and sometimes still shows the pistol.
Thanks again for the plugin Wilson. It is definately an original idea and a lot will be happy that this capability has been brought to DoD 1.3
diamond-optic
12-20-2006, 09:03 PM
OMG WILSON!!! look at this mistake!!
Answer: No, if you such you will still continue to suck. But this will give you
* and extra weapon.
pfff typo :-P lol
Wilson [29th ID]
12-20-2006, 10:52 PM
Hah.
Box cutter, not sure what you mean about the chamber ammo thing. We've ran this in my server for months and never found that problem. The only known bugs deal with dropping and picking back up.
The scrolling part is simply not possible - I use the number keys to switch, but you have to understand that this does not actually give you 2 weapons at once from a technical aspect. It gives you a Bazooka, Pistol, Knife - when you grab pistol, it strips you and gives you Carbine, Pistol, Knife. It re-routes the weapon_colt and weapon_bazooka etc to the plugin's version of switching weapons.
In other words behind the scenes a lot more stuff is going on.
Box Cutter
12-21-2006, 12:45 AM
Well I know some people alternate from primary to knife or pistol using their wheel mouse and not by pressing 1, 2 , or 3, so I thought I'd mention it before anyone else wondered the same.
With the ammo situation I might not be explaining it well. When you spawn you have one rocket ready to fire and 5 extra. If you switch to say carbine or knife and switch back to the bazooka you don't have the 5 additional rockets anymore, only the one ready to fire. Once you fire it you have to switch back to knife or carbine then back to the bazooka to get another round. Again you only get one at a time and if you keep repeating this to get another rocket you never run out, it is unlimited, just one at a time.
Perhaps another plugin is causing this to happen, I dont know. If anyone else has experienced this please say so.
Well I know some people alternate from primary to knife or pistol using their wheel mouse and not by pressing 1, 2 , or 3, so I thought I'd mention it before anyone else wondered the same.
With the ammo situation I might not be explaining it well. When you spawn you have one rocket ready to fire and 5 extra. If you switch to say carbine or knife and switch back to the bazooka you don't have the 5 additional rockets anymore, only the one ready to fire. Once you fire it you have to switch back to knife or carbine then back to the bazooka to get another round. Again you only get one at a time and if you keep repeating this to get another rocket you never run out, it is unlimited, just one at a time.
Perhaps another plugin is causing this to happen, I dont know. If anyone else has experienced this please say so.
Sorry Box. I meant to jump in on this last night, but got sidetracked.
Wilson, he is 100% correct. I have the same issues with the plugin. BTW I believe that Box and I are on GS and therefore Linux.... I dont know if this is something related to that or not, just thought to mention it.
Great plugin otherwise. Would love to see it refined.
Thanks!
!TK!- Cold Blooded
12-22-2006, 05:10 AM
Great plugin man! Brought more fun to the Bazookas. And hey I can't complain about unlimited ammo :D
TigerMan4
01-03-2007, 02:15 AM
yeah...unlimmited ammo , all you have to do is scroll back and forth and you dont even have to reload , and you get unlimmited ammo and I noticed you dont get nades , and you cant pick up any other wepon if you drop your zook or 2nd wepon.
other than that , people love , but those are the bugs I see.
1)unlimmited ammo
2)cant pick up other guns
3)no nades
Wilson [29th ID]
01-03-2007, 08:31 AM
Hmm, definitely not the version I'm using. I'll try the version I uploaded and see how different it is. I'll have this up to date shortly.
Also the zook class doesn't get nades anyway..are you giving it nades with some other plugin?
TigerMan4
01-03-2007, 09:57 AM
I have the "nade for all" plugin on my server.
Also , the Piat class on britt maps gets the Sten as a secondary wepon.
I checked the sma and it doesnt list a version in it.
I think I downloaded it off of "allied modders" but I`m not 100% sure.
but yeah , even if you hit #3 and then #1 again or Q for quick switch ( i use my scroll wheel to back and forth between guns ).
if you scroll back and forth you get another round in the chamber or full clip in the gun and it never reloads , its just there ready to go.
Bullet_Fodder of TPG3v3 was in last night and was saying..."wtf I have unlimited ammo but I cannot reload" meaning if you hit the "R" you cant reload that way , you have to scroll or hit your # keys to switch guns to reload.
***another thought came to mind *** is there a glitch on Avalanche where if the allies fire into the window over their first , it kills people at the base of the redroom stairs ?..I have only noticed this since I installed the plugin , you don`t hear any bang , you just die by zook when its fired into that window...but then again , no body on allies uses the zook untill now that they got unlimmited ammo.
Yes there is a nade/zooka bug there...its bad...but its not part of this plugin its part of DoD
Cheers!
diamond-optic
01-03-2007, 09:22 PM
i get people sitting there firing rockets over and over into that window and constantly killing ppl thru the floor in the apts..
wish there was something that could be done bout that lol
hmm actually maybe sticking like a func_wall in the floor (setting its bbox size to cover the whole area) might block the explosion from going thru the wall.. maybe ill give it a try if i ever feel motivated enough to actually do something lol
Wilson [29th ID]
01-03-2007, 10:19 PM
Nono, you guys don't understand. It's not a glitch - it's how the bazooka works - in real life the ceiling would collapse and kill them. That's hwo the zook works, by splash damage with ceilings and walls. That's how you kill people with it - it's not a glitch it's the beauty of it. No worse than camping somewhere with an mg.
TigerMan4
01-03-2007, 11:14 PM
but what about the crazy unlimited ammo problem ?
;3235']Nono, you guys don't understand. It's not a glitch - it's how the bazooka works - in real life the ceiling would collapse and kill them. That's hwo the zook works, by splash damage with ceilings and walls. That's how you kill people with it - it's not a glitch it's the beauty of it. No worse than camping somewhere with an mg.
Wait, so you are saying that by firing into the window over 1st... it kills everyone at the base of the REDROOM stairs and thats how its supposed to work????
I understand splash damage, but this is clearly a bug.
diamond-optic
01-04-2007, 12:06 AM
yes but ive never seen it happen nearly that much in any other spot.. like ive hit walls where i knew someone was directly behind it and it doesnt do any dmg at all...
and you gotta consider how you can shoot a rocket 3 ft next to someone in the open and most of the time it does barely any damage (which is one reason i asked zor to make the rocket explosion forward.. to try and increase the splash radius.. if i ever feel like it lmao)
yes but ive never seen it happen nearly that much in any other spot.. like ive hit walls where i knew someone was directly behind it and it doesnt do any dmg at all...
and you gotta consider how you can shoot a rocket 3 ft next to someone in the open and most of the time it does barely any damage (which is one reason i asked zor to make the rocket explosion forward.. to try and increase the splash radius.. if i ever feel like it lmao)
Start feeling like it lol!
TigerMan4
01-09-2007, 09:40 AM
this plugin is still awesome , however the unlimmited ammo deal has made it completely unfair when playing dod_glider.
is there anyway to fix the ammo problem ?
jason
01-09-2007, 01:28 PM
Ya it is an awesome plugin.....ya the splash damage with zooka always been like that. People have always used the splash damage affect esp in ava. But it makes sense that a zooka would collaspe walls. That would be kool LOL if it worked that way and you could shoot walls down on top of people and it would show it. Think people have to remember this is an old game and you cant expect perfect realism.
My logs are steadily filling up with this:
L 01/11/2007 - 00:12:39: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 01/11/2007 - 00:13:57: [FAKEMETA] Invalid entity
and it randomly crashes my server. I really like the plugin but in needing to keep my pub server stable, I am having to drop this until it gets refined. Any clues on how to fix it??
Thanks in advance wilson
diamond-optic
01-12-2007, 09:00 PM
try added debug after it in your plugins.ini and it should print more details to the error logs (as in what exactly is invalid.. and what line in the plugin its on)
try added debug after it in your plugins.ini and it should print more details to the error logs (as in what exactly is invalid.. and what line in the plugin its on)
Will do that now.
L 01/13/2007 - 00:14:28: [AMXX] Displaying debug trace (plugin "dod_technician.amxx")
L 01/13/2007 - 00:14:28: [AMXX] Run time error 10: native error (native "pev")
L 01/13/2007 - 00:14:28: [AMXX] [0] dod_technician.sma::fn_Touch (line 126)
L 01/13/2007 - 00:15:06: [FAKEMETA] Invalid entity
Wilson [29th ID]
01-13-2007, 09:51 PM
Fixed. Forgot to check if the ent was valid - thanks for the catch.
TigerMan4
01-14-2007, 01:28 AM
will this fix the "unlimmited ammo" problem ?
;3578']Fixed. Forgot to check if the ent was valid - thanks for the catch.
No Wilson, thank you!!!;)
TigerMan4
01-16-2007, 10:06 AM
found another problem with the plugin.
when I play kalt , if I use the panzer or the zook and I use my scroll wheel to exploit the unlimmited ammo glitch in the plugin ( only on kalt now ) I get kicked for chat flood overflow or somthing like that , it did it 3 times in a row last night so I switched guns and used my scroll wheel to toggle scope and such and it worked fine with no kicking.
only the zooks kick me in kalt with the unlimmited ammo glitch scroll wheel action.
Kiel |17.SS|
02-03-2007, 05:15 PM
Has this been updated yet?
Wilson [29th ID]
02-09-2007, 06:41 PM
Now I realise why it works for me and other people but not for a few of you. It was the linux offset (or lack thereof)
FIXED!
!TK!- Cold Blooded
02-09-2007, 08:40 PM
I used to have the unlimited ammo problem but I installed AmxModX 1.76c and now it works fine (no unlimited ammo). Just thought I would pass that along.
knife108
08-22-2007, 11:54 AM
L 08/22/2007 - 18:58:03: [DODX] Invalid player 19
L 08/22/2007 - 18:58:03: [AMXX] Run time error 10 (plugin "dod_technician.amxx") - debug not enabled!
L 08/22/2007 - 18:58:03: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
should i enable the debug mode on dod_technician.amxx ?
and will it increase the CPU load ?
blobby
08-22-2007, 01:58 PM
Well i was gonna say try compile it your self and don't dl the compiled version dl the source code instead m8.
diamond-optic
08-22-2007, 07:28 PM
same as the other thread.. enabling it shouldnt cause any problems and will tell exactly where the error is...
tho rare invalid player errors arent a big concern.. but its always nice to fix them
Wilson [29th ID]
08-23-2007, 09:54 AM
I'm in the process of rewriting this anyway, since I now know how to actually give a player more than one primary weapon :D
knife108
08-24-2007, 06:33 AM
;7278']I'm in the process of rewriting this anyway, since I now know how to actually give a player more than one primary weapon :D
That's a Crazy idea :D
TigerMan4
10-10-2007, 11:52 PM
I have 1.76d and I still have unlimmited ammo, i just tested it.
Wilson [29th ID]
10-11-2007, 09:08 PM
;7278']I'm in the process of rewriting this anyway, since I now know how to actually give a player more than one primary weapon :D
It's about 80% complete.
Box Cutter
11-10-2007, 04:51 PM
Hey Wilson, whats the progress on this puppy now? Sorry, just excited! = )
Gardzfield
03-06-2008, 04:25 PM
Hi Wilson,
I'm running under the 1.76c AmxMoDx version.
When I switch to the bazzooka, ammo don't be restored.
Any Idea ?
PS : I've compiled myself the plugin.
Waiting to read you.
Wilson [29th ID]
03-07-2008, 05:49 AM
Put it in debug mode and check the error logs for any errors that may be occuring.
I will get around to finishing version 2 and posting it soon I promise :P
Wilson [29th ID]
04-05-2008, 04:52 PM
This plugin is discontinued. Go here (http://dodplugins.net/forums/showthread.php?t=1233) for its replacement.
meathead
12-03-2008, 01:03 AM
This is the only plugin I have still having errors. Works fine, just an error in the logs every day.
L 12/02/2008 - 16:32:45: [AMXX] Displaying debug trace (plugin "dod_rocketclass.amxx")
L 12/02/2008 - 16:32:45: [AMXX] Run time error 10: native error (native "dod_get_user_class")
L 12/02/2008 - 16:32:45: [AMXX] [0] dod_rocketclass.sma::dod_client_spawn_delayed (line 71)
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.