View Full Version : DOD Advanced Deploy
Wilson [29th ID]
03-26-2007, 04:00 AM
DOD ADVANCED DEPLOY
by Wilson [29th ID]
www.29th.org -- Revolutionizing Day of Defeat Realism
DESCRIPTION
If you have ever played Day of Defeat: Source, you know
how Machine Gun's deploy differently than our game. They
work based on the surface they're being deployed on rather
than "whether or not it's a sandbag/window cill."
In DoD 1.3, MG's and BAR's require a specific object at
every "should be deployable" spot to tell the game you can
deploy there. Source does it based on physics (ie. is it a
flat surface)
Since the developers abandoned 1.3, the 29th ID created the
plugin that makes 1.3 match source yet again. You can now
deploy your MG or Heavy on damn near anything logical to
deploy on.
USAGE CVARS
dod_advanced_deploy <1/0>
Enables or disables the plugin.
dod_advanced_deploy_view <1/0>
Just as DoD:Source does, if the object upon which you're
deploying is lower than your normal height, you drop down
a bit to meet it. This will enable/disable that function.
UPDATES
19 APR 2007 -- Added compatibility for bots to stop errors
|OnEHiTwOnDeR|SoCal
03-26-2007, 04:03 AM
very nice once wilson props to ya
diamond-optic
03-26-2007, 11:30 AM
wow this sounds cool.. even tho i totally hate MGs and deployed FG42s lol
MBosta
03-27-2007, 01:12 PM
loving this plugin, nice work Cpt.
Tony Almeida
03-27-2007, 02:22 PM
Nice one! Thanks.
Well thought out and will definately be going onto my server later tonight. Thanks Wilson!
Kiel |17.SS|
03-29-2007, 06:27 PM
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.
Kiel |17.SS|
03-30-2007, 03:40 AM
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.
MBosta
03-31-2007, 01:17 PM
For an update Wilson, could you incorporate the Sten from the British Weapons. Noticed today on Flash i couldn't setup except for Sanbags.
TooLz
04-01-2007, 02:29 AM
You must mean the Bren, sten has no bipod.
Cya
Kiel |17.SS|
04-01-2007, 04:58 AM
Yeah, I noticed that too.
Hood [10th MD]
04-11-2007, 01:48 AM
Part in the code looks like this:
stock deployable_weapon( id ) {
new clip, ammo, wpn = get_user_weapon( id, clip, ammo );
if( wpn == DODW_30_CAL
|| wpn == DODW_MG34
|| wpn == DODW_MG42
|| wpn == DODW_BAR
|| wpn == DODW_FG42 ...
Add bren, so it looks like:
stock deployable_weapon( id ) {
new clip, ammo, wpn = get_user_weapon( id, clip, ammo );
if( wpn == DODW_30_CAL
|| wpn == DODW_MG34
|| wpn == DODW_MG42
|| wpn == DODW_BAR
|| wpn == DODW_FG42
|| wpn == DODW_BREN )
return 1;
return 0;
}
Done, works great.
Sweet plugin Wilson, wayyyy awesome.
Wilson [29th ID]
04-11-2007, 03:15 AM
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
Kiel |17.SS|
04-12-2007, 09:42 PM
Awesome, thanks.
sparky99
04-19-2007, 09:34 PM
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?
Thanks for updating still getting random errors..
L 04/23/2007 - 16:20:39: [FAKEMETA] Invalid entity
L 04/23/2007 - 16:20:39: [AMXX] Run time error 10 (plugin "dod_advanced_deploy.amxx") (native "pev") - debug not enabled!
L 04/23/2007 - 16:20:39: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Currently loaded plugins:
name version author file status
Admin Base 1.76d AMXX Dev Team admin.amxx running
Admin Commands 1.76d AMXX Dev Team admincmd.amxx running
Admin Help 1.76d AMXX Dev Team adminhelp.amxx running
Multi-Lingual Sys 1.76d AMXX Dev Team multilingual.am running
Menus Front-End 1.76d AMXX Dev Team menufront.amxx running
Commands Menu 1.76d AMXX Dev Team cmdmenu.amxx running
Players Menu 1.76d AMXX Dev Team plmenu.amxx running
Maps Menu 1.76d AMXX Dev Team mapsmenu.amxx running
Admin Chat 1.76d AMXX Dev Team adminchat.amxx running
Anti Flood 1.76d AMXX Dev Team antiflood.amxx running
Scrolling Message 1.76d AMXX Dev Team scrollmsg.amxx running
Info. Messages 1.76d AMXX Dev Team imessage.amxx running
Admin Votes 1.76d AMXX Dev Team adminvote.amxx running
NextMap 1.76d AMXX Dev Team nextmap.amxx running
Nextmap Chooser 1.76d AMXX Dev Team mapchooser.amxx running
TimeLeft 1.76d AMXX Dev Team timeleft.amxx running
Pause Plugins 1.76d AMXX Dev Team pausecfg.amxx running
DoD BlockExploits 1.4 AMXX DoD Team dod_blockexploi running
Dod Force Particl 1.1 AMXX DoD Team dod_forcepartic running
DoD Tackle 1.2b AMXX DoD Team dod_tackle.amxx running
Spawn Protection 7.0 Peli spawnprotection running
DOD Advanced Depl 1.0 29th ID dod_advanced_de running
DoD FadeToBlack F10 AMXX DoD Team dod_fadetoblack running
DoD EvilAdmin 0.5beta AMXX DoD Team dod_eviladmin.a running
DoD Gore Custom 1.7 AMXX DoD Team dod_gore_custom running
DoD Shell Shock 1.2 AMXX DoD Team & dod_shellshock. running
Dod Paratrooper 1.0 29th ID dod_paratrooper running
Ambient Light Lev 1.3 Rattler amx_lights.amxx running
DoD AdminSlots 0.6beta AMXX DoD Team dod_adminslots. running
DoD Map Configs 0.1 AMXX DoD Communi dod_mapcfg.amxx running
Dod MapSettings 1.0 29th ID dod_mapsettings running
Mortar Class 1.1 29th ID & Ludwig mortar_class.am running
32 plugins, 32 running
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.76d ini ANY ANY
[ 2] HLGuard RUN - hlguard_mm_night v1.9.n10 ini Chlvl Chlvl
[ 3] Fun RUN - fun_amxx_i386.so v1.76 pl1 ANY ANY
[ 4] DoD Fun RUN - dodfun_amxx_i386 v1.76b pl1 ANY ANY
[ 5] DoDX RUN - dodx_amxx_i386.s v1.76b pl1 ANY ANY
[ 6] FakeMeta RUN - fakemeta_amxx_i3 v1.76d pl1 ANY ANY
[ 7] Engine RUN - engine_amxx_i386 v1.76 pl1 ANY ANY
7 plugins, 7 running
(LINUX SERVER)
diamond-optic
04-19-2007, 09:48 PM
the plugin does allow bots..
so thats probably the problem.. as bots are screwy with a lot of things, especially when it comes to amxx..
wilson should probably filter them out.. as they dont really need it.. as mg bots are pretty lame to begin with lol..
Wilson [29th ID]
04-19-2007, 11:38 PM
updated - use download in original post now.
sparky99
04-22-2007, 04:18 AM
Thanks now the errors are much less, However we are getting some bizzar results..
invisable players.
invisable blocking non existant walls.
nades that float slowly to ground after throwing.
what seems to be random god-mode on players not ending.
I updated the post to show plugins (probably not compatible or may need rearranging) and metamod modules.
Too many plugins right?
all without any bots added but enabled.
Wilson [29th ID]
04-22-2007, 03:14 PM
That problem is extremely strange, but could no way have anything to do with this plugin.
diamond-optic
04-22-2007, 10:40 PM
lol most likely not
South
07-02-2007, 06:17 PM
Nevermind fixed it forgot to add amxx at the end lol noobish mistake
diamond-optic
07-02-2007, 06:23 PM
did you include the .amxx extension on the filename in plugins.ini?
knife108
09-22-2007, 12:37 AM
if someone close to me enough, i can deploy MG or BAR on his body even him left .
idk... MG or BAR can't be allowed to deploy on body ;)
Wilson [29th ID]
09-22-2007, 12:59 PM
I believe the translation of what knife108 just said is that if someone ducks in front of you, you can deploy on their head.
I 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).
I'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.
knife108
09-22-2007, 01:46 PM
;7646']
I'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.
I agree with this viewpoint :)
Panda
10-08-2007, 11:57 AM
wow ur a legend :P
{DwP} 325th ABN
10-17-2007, 08:16 PM
yes yes he is. great job wilson love it nicely done no doubts
sparky99
11-11-2007, 04:05 AM
Howdy, this was working before as you updated it, now with sturmbot after I updated amxmodx to 1.80 I get:
L 11/13/2007 - 05:01:45: [FAKEMETA] Invalid entity
L 11/13/2007 - 05:01:45: [AMXX] Displaying debug trace (plugin "dod_advanced_deploy.amxx")
L 11/13/2007 - 05:01:45: [AMXX] Run time error 10: native error (native "pev")
L 11/13/2007 - 05:01:45: [AMXX] [0] dod_advanced_deploy.sma::touching_sandbag (line 179)
L 11/13/2007 - 05:01:45: [AMXX] [1] dod_advanced_deploy.sma::hook_PlayerPreThink (line 79)
Is it that Zor's code was not in there as Admin models also get me a Seg Fault.
Ta muchly
** See Below post**
knife108
11-13-2007, 09:37 AM
Howdy, this was working before as you updated it, now with sturmbot after I updated amxmodx to 1.80 I get:
L 11/13/2007 - 05:01:45: [FAKEMETA] Invalid entity
L 11/13/2007 - 05:01:45: [AMXX] Displaying debug trace (plugin "dod_advanced_deploy.amxx")
L 11/13/2007 - 05:01:45: [AMXX] Run time error 10: native error (native "pev")
L 11/13/2007 - 05:01:45: [AMXX] [0] dod_advanced_deploy.sma::touching_sandbag (line 179)
L 11/13/2007 - 05:01:45: [AMXX] [1] dod_advanced_deploy.sma::hook_PlayerPreThink (line 79)
Is it that Zor's code was not in there as Admin models also get me a Seg Fault.
Ta muchly
use 1.76d and works fine on my server !
sparky99
11-17-2007, 07:28 PM
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.
Thanks for the other posts elsewhere in the forums for the answer.
**Update**
Damm I thought I had this licked with the Amxmodx 1.81 but checking the log and it has showed up again.
The plugin works but will give the above sequence of errors every now and then.
Anyone else seen this error?
Dumbass
01-03-2009, 08:52 PM
Interesting, but tested and you can deploy MG on soldiers or on some very vertical object (tree)... =/
diamond-optic
01-04-2009, 06:40 PM
yeah i noticed that too..
alot of times i can deploy where there isnt even anything infront of me at all
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.