DOD Advanced Deploy
by Wilson [29th ID] · 2007-03-26 · 33 replies · 33116 views · 486 downloads
From the first post
rn by Wilson [29th ID]
rn www.29th.org -- Revolutionizing Day of Defeat Realism
rn
rn DESCRIPTION
rn If you have ever played Day of Defeat: Source, you know
rn how Machine Gun's deploy differently than our game. They
rn work based on the surface they're being deployed on rather
rn than "whether or not it's a sandbag/window cill."
rn
rn In DoD 1.3, MG's and BAR's require a specific object at
rn every "should be deployable" spot to tell the game you can
rn deploy there. Source does it based on physics (ie. is it a
rn flat surface)
rn
rn Since the developers abandoned 1.3, the 29th ID created the
rn plugin that makes 1.3 match source yet again. You can now
rn deploy your MG or Heavy on damn near anything logical to
rn deploy on.
rn
rn USAGE CVARS
rn dod_advanced_deploy <1/0>
rn Enables or disables the plugin.
rn
rn dod_advanced_deploy_view <1/0>
rn Just as DoD:Source does, if the object upon which you're
rn deploying is lower than your normal height, you drop down
rn a bit to meet it. This will enable/disable that function.
rn
rn
rn
rn UPDATES
rn 19 APR 2007 -- Added compatibility for bots to stop errors
Added later in the thread
| lle_smokegreande2.zip | Archive | 24 KB | 9 dl | Download |
| lle_dod_advanced_deploy.zip | Archive | 7 KB | 7 dl | Download |
| lle_drop_grrenades_v0.8_1.zip | Archive | 12 KB | 5 dl | Download |
The thread
All 34 posts from 16 people on DOD Advanced Deploy, kept as they were written.
Threads: 57
Joined: Oct 2005
DOD ADVANCED DEPLOYrn by Wilson [29th ID]rn www.29th.org -- Revolutionizing Day of Defeat Realismrn rn DESCRIPTIONrn If you have ever played Day of Defeat: Source, you know rn how Machine Gun's deploy differently than our game. They rn work based on the surface they're being deployed on rather rn than "whether or not it's a sandbag/window cill."rnrn In DoD 1.3, MG's and BAR's require a specific object at rn every "should be deployable" spot to tell the game you canrn deploy there. Source does it based on physics (ie. is it a rn flat surface)rnrn Since the developers abandoned 1.3, the 29th ID created the rn plugin that makes 1.3 match source yet again. You can now rn deploy your MG or Heavy on damn near anything logical to rn deploy on.rn rn USAGE CVARSrn dod_advanced_deploy <1/0>rn Enables or disables the plugin.rn rn dod_advanced_deploy_view <1/0>rn Just as DoD:Source does, if the object upon which you're rn deploying is lower than your normal height, you drop down rn a bit to meet it. This will enable/disable that function.rnrnrnrn UPDATESrn 19 APR 2007 -- Added compatibility for bots to stop errors
Threads: 37
Joined: Mar 2007
very nice once wilson props to ya
Threads: 103
Joined: May 2005
wow this sounds cool.. even tho i totally hate MGs and deployed FG42s lol
Threads: 30
Joined: Sep 2006
loving this plugin, nice work Cpt.
Threads: 7
Joined: Jan 2007
Nice one! Thanks.
Threads: 11
Joined: Aug 2006
Well thought out and will definately be going onto my server later tonight. Thanks Wilson!
Threads: 12
Joined: Jul 2006
Ah I've always thought about why you could only deploy your MG in windows and sandbags, or when youre proned. Nice plugin. I'm going to test is asap.
Threads: 12
Joined: Jul 2006
Ah I love it. I tested it out in Sturm, and it worked beautifully. There were some spots that allowed you to deploy, that I was a little confused about. But other than that, it worked great! Thanks Wilson.
Threads: 30
Joined: Sep 2006
For an update Wilson, could you incorporate the Sten from the British Weapons. Noticed today on Flash i couldn't setup except for Sanbags.
Threads: 11
Joined: Oct 2005
You must mean the Bren, sten has no bipod.rnrnCya
Threads: 12
Joined: Jul 2006
Yeah, I noticed that too.
Threads: 7
Joined: Nov 2006
Part in the code looks like this:rn
stock deployable_weapon( id ) {rn new clip, ammo, wpn = get_user_weapon( id, clip, ammo );rn if( wpn == DODW_30_CALrn || wpn == DODW_MG34rn || wpn == DODW_MG42rn || wpn == DODW_BARrn || wpn == DODW_FG42 ...rnrnAdd bren, so it looks like:rnstock deployable_weapon( id ) {rn new clip, ammo, wpn = get_user_weapon( id, clip, ammo );rn if( wpn == DODW_30_CALrn || wpn == DODW_MG34rn || wpn == DODW_MG42rn || wpn == DODW_BARrn || wpn == DODW_FG42 rn || wpn == DODW_BREN )rn return 1;rn return 0;rn}rnrnDone, works great.rnSweet plugin Wilson, wayyyy awesome.Threads: 57
Joined: Oct 2005
Yeah, that's exactly what I did Hood, and didnt' get a chance to upload. Just do what hood said and it'll fix the bren thing :P
Threads: 12
Joined: Jul 2006
Awesome, thanks.
Threads: 49
Joined: Jan 2006
The person who runs our server says we are getting hundreds of fake Entity errors every second using Sturmbot. Is the plugin ignoreing bots or can it be changed to allow the bots to correctly deploy?nnThanks for updating still getting random errors..nnL 04/23/2007 - 16:20:39: [FAKEMETA] Invalid entitynL 04/23/2007 - 16:20:39: [AMXX] Run time error 10 (plugin "dod_advanced_deploy.amxx") (native "pev") - debug not enabled!nL 04/23/2007 - 16:20:39: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).nnnCurrently loaded plugins:nname version author file statusnAdmin Base 1.76d AMXX Dev Team admin.amxx runningnAdmin Commands 1.76d AMXX Dev Team admincmd.amxx runningnAdmin Help 1.76d AMXX Dev Team adminhelp.amxx runningnMulti-Lingual Sys 1.76d AMXX Dev Team multilingual.am runningnMenus Front-End 1.76d AMXX Dev Team menufront.amxx runningnCommands Menu 1.76d AMXX Dev Team cmdmenu.amxx runningnPlayers Menu 1.76d AMXX Dev Team plmenu.amxx runningnMaps Menu 1.76d AMXX Dev Team mapsmenu.amxx runningnAdmin Chat 1.76d AMXX Dev Team adminchat.amxx runningnAnti Flood 1.76d AMXX Dev Team antiflood.amxx runningnScrolling Message 1.76d AMXX Dev Team scrollmsg.amxx runningnInfo. Messages 1.76d AMXX Dev Team imessage.amxx runningnAdmin Votes 1.76d AMXX Dev Team adminvote.amxx runningnNextMap 1.76d AMXX Dev Team nextmap.amxx runningnNextmap Chooser 1.76d AMXX Dev Team mapchooser.amxx runningnTimeLeft 1.76d AMXX Dev Team timeleft.amxx runningnPause Plugins 1.76d AMXX Dev Team pausecfg.amxx runningnDoD BlockExploits 1.4 AMXX DoD Team dod_blockexploi runningnDod Force Particl 1.1 AMXX DoD Team dod_forcepartic runningnDoD Tackle 1.2b AMXX DoD Team dod_tackle.amxx runningnSpawn Protection 7.0 Peli spawnprotection runningnDOD Advanced Depl 1.0 29th ID dod_advanced_de runningnDoD FadeToBlack F10 AMXX DoD Team dod_fadetoblack runningnDoD EvilAdmin 0.5beta AMXX DoD Team dod_eviladmin.a runningnDoD Gore Custom 1.7 AMXX DoD Team dod_gore_custom runningnDoD Shell Shock 1.2 AMXX DoD Team & dod_shellshock. runningnDod Paratrooper 1.0 29th ID dod_paratrooper runningnAmbient Light Lev 1.3 Rattler amx_lights.amxx runningnDoD AdminSlots 0.6beta AMXX DoD Team dod_adminslots. runningnDoD Map Configs 0.1 AMXX DoD Communi dod_mapcfg.amxx runningnDod MapSettings 1.0 29th ID dod_mapsettings runningnMortar Class 1.1 29th ID & Ludwig mortar_class.am runningn32 plugins, 32 runningnnmeta listnCurrently loaded plugins:n description stat pend file vers src load unlodn [ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.76d ini ANY ANYn [ 2] HLGuard RUN - hlguard_mm_night v1.9.n10 ini Chlvl Chlvln [ 3] Fun RUN - fun_amxx_i386.so v1.76 pl1 ANY ANYn [ 4] DoD Fun RUN - dodfun_amxx_i386 v1.76b pl1 ANY ANYn [ 5] DoDX RUN - dodx_amxx_i386.s v1.76b pl1 ANY ANYn [ 6] FakeMeta RUN - fakemeta_amxx_i3 v1.76d pl1 ANY ANYn [ 7] Engine RUN - engine_amxx_i386 v1.76 pl1 ANY ANYn7 plugins, 7 runningnn(LINUX SERVER)
Threads: 103
Joined: May 2005
the plugin does allow bots.. nnnso thats probably the problem.. as bots are screwy with a lot of things, especially when it comes to amxx..nnwilson should probably filter them out.. as they dont really need it.. as mg bots are pretty lame to begin with lol..
Threads: 57
Joined: Oct 2005
updated - use download in original post now.
Threads: 49
Joined: Jan 2006
Thanks now the errors are much less, However we are getting some bizzar results..rnrninvisable players.rninvisable blocking non existant walls.rnnades that float slowly to ground after throwing.rnwhat seems to be random god-mode on players not ending.rnI updated the post to show plugins (probably not compatible or may need rearranging) and metamod modules.rnrnToo many plugins right?rnrnall without any bots added but enabled.
Threads: 57
Joined: Oct 2005
That problem is extremely strange, but could no way have anything to do with this plugin.
Threads: 103
Joined: May 2005
lol most likely not
Threads: 0
Joined: Jul 2007
Nevermind fixed it forgot to add amxx at the end lol noobish mistake
Threads: 103
Joined: May 2005
did you include the .amxx extension on the filename in plugins.ini?
Threads: 10
Joined: Apr 2006
if someone close to me enough, i can deploy MG or BAR on his body even him left .rnrnidk... MG or BAR can't be allowed to deploy on body ;)
Threads: 57
Joined: Oct 2005
I believe the translation of what knife108 just said is that if someone ducks in front of you, you can deploy on their head.rnrnI remember trying to fix this initially, but it messed up like 5 other things, so it was either leave this in or have 5 things messed up. Looking back, I think the way to fix it would be to check the point contents of the lower trace and see if it's a human (if there is even a const for that).rnrnI'll get to it eventually but don't get set on it. No one ever deploys on another person; it requires too much teamwork and it's so rare..just don't sweat it.
Threads: 10
Joined: Apr 2006
;7646']rnI'll get to it eventually but don't get set on it. No one ever deploys on another person; it requires too much teamwork and it's so rare..just don't sweat it.rnrnrnI agree with this viewpoint :)
Threads: 2
Joined: Mar 2007
wow ur a legend :P
Threads: 12
Joined: Aug 2006
yes yes he is. great job wilson love it nicely done no doubts
Threads: 49
Joined: Jan 2006
Howdy, this was working before as you updated it, now with sturmbot after I updated amxmodx to 1.80 I get:nnL 11/13/2007 - 05:01:45: [FAKEMETA] Invalid entitynL 11/13/2007 - 05:01:45: [AMXX] Displaying debug trace (plugin "dod_advanced_deploy.amxx")nL 11/13/2007 - 05:01:45: [AMXX] Run time error 10: native error (native "pev")nL 11/13/2007 - 05:01:45: [AMXX] [0] dod_advanced_deploy.sma::touching_sandbag (line 179)nL 11/13/2007 - 05:01:45: [AMXX] [1] dod_advanced_deploy.sma::hook_PlayerPreThink (line 79)nnnIs it that Zor's code was not in there as Admin models also get me a Seg Fault.nnTa muchlynn** See Below post**
Threads: 10
Joined: Apr 2006
Howdy, this was working before as you updated it, now with sturmbot after I updated amxmodx to 1.80 I get:rnrnL 11/13/2007 - 05:01:45: [FAKEMETA] Invalid entityrnL 11/13/2007 - 05:01:45: [AMXX] Displaying debug trace (plugin "dod_advanced_deploy.amxx")rnL 11/13/2007 - 05:01:45: [AMXX] Run time error 10: native error (native "pev")rnL 11/13/2007 - 05:01:45: [AMXX] [0] dod_advanced_deploy.sma::touching_sandbag (line 179)rnL 11/13/2007 - 05:01:45: [AMXX] [1] dod_advanced_deploy.sma::hook_PlayerPreThink (line 79)rnrnrnIs it that Zor's code was not in there as Admin models also get me a Seg Fault.rnrnTa muchlyrnrnrnuse 1.76d and works fine on my server !
Threads: 49
Joined: Jan 2006
The problem went away with the new build of AmxModx 1.81, which also fixed my admin model problem with Seg Faulting on linux since updating.rnrnThanks for the other posts elsewhere in the forums for the answer.rnrn**Update**rnrnDamm I thought I had this licked with the Amxmodx 1.81 but checking the log and it has showed up again.rnThe plugin works but will give the above sequence of errors every now and then.rnrnAnyone else seen this error?
Threads: 2
Joined: Dec 2008
Interesting, but tested and you can deploy MG on soldiers or on some very vertical object (tree)... =/
Threads: 103
Joined: May 2005
yeah i noticed that too.. nnalot of times i can deploy where there isnt even anything infront of me at all
Threads: 0
Joined: Mar 2014
Hi,rni fixed the runtime error 10 problem. Try to upload the source but have no button to upload a Attachment? So, if anyone want to get my version as source or as binary, send me a private message.rnrnHave a nice day...rnlle
Threads: 49
Joined: Jan 2006
Thanks mate.

