Anti Door Block
Fair Play

Anti Door Block

Creator

stranter

Version

1.1

Game Type

MOHAA

Reborn Compatible

All

Description

MoH:AA Anti-Doorblock Version 1.0 - 04/06/10 Serverside mod to prevent doorblocking Based off some code from modtheater (think it may have been Elgan?)

Installation Guide

**Update 1.1** Add scripts for all stock maps in the game by armageddon MoH:AA Anti-Doorblock Version 1.0 - 04/06/10 Serverside mod to prevent doorblocking Based off some code from modtheater (think it may have been Elgan?) ZzZzZzZz-Doorblock.pk3 Contains anti-doorblock scripts for: dm/mohdm1 dm/mohdm4 dm/mohdm7 obj/obj_team2 obj/obj_team3 obj/obj_team4 These havnt really been tested particularly much, so some may not work properly. If there are any bugs or you have any suggestions contact me at: mail@stranter.co.uk ______________________________________________________________________________________________ Creating your own doorblock script for a custom map: Locate the custom map's .bsp and .scr file For example in user-obj_canal.pk3 in the maps/obj/ folder you will see the two files that are needed Using mohbsptomohmap.exe (in the zip) convert the .bsp file to a .map file Using Radiant (http://www.filefront.com/4603757/MOH-Radiant/) open the .MAP file you just converted In radiant click "Edit -> Entity info..." in the top menu strip Run MOHRadiant Coord Grabber.exe It will print out a list of doors coordinates from Radiant Copy the coordinates out of the console program (Right click->Mark, select the text, then press Enter) Next open "blank_doorblock_script.scr" (In the zip) Paste the coordinates you just copied over the line that says: //Put the coordinates from the program here And you can update the header comment MAP NAME HERE - e.g. dm/mohdm1 with the map name, if you wish. Now save that .scr file as a new file with a sensible name For example if my map was obj_canal, obj_obj_canal.scr may be a good filename Now you need to open the .scr file that you extracted from the custom maps pk3 file In that search for the line "exec global/DMprecache.scr" Underneith that line add the following code: //*** Doorblock Fix exec global/doorblock/file_you_made.scr Where you replace "file_you_made" with the file you saved above (from blank_doorblock_script.scr) Save that file. Now put the file you just saved into "ZzZzZzZz-Doorblock.pk3/maps/type/" Where /type/ is obj or dm, depending on what your map is Put the "file_you_made" (from blank_doorblock_script.scr) into "ZzZzZzZz-Doorblock.pk3/global/doorblock/" folder, now, upload the pk3 to your server, and doorblocking *should* work for that map. If not, try modifying the coordinates, or the bounds of the trigger. As stated above, for any help, contact at: mail@stranter.co.uk

Configuration

**Update 1.1** Add scripts for all stock maps in the game by armageddon MoH:AA Anti-Doorblock Version 1.0 - 04/06/10 Serverside mod to prevent doorblocking Based off some code from modtheater (think it may have been Elgan?) ZzZzZzZz-Doorblock.pk3 Contains anti-doorblock scripts for: dm/mohdm1 dm/mohdm4 dm/mohdm7 obj/obj_team2 obj/obj_team3 obj/obj_team4 These havnt really been tested particularly much, so some may not work properly. If there are any bugs or you have any suggestions contact me at: mail@stranter.co.uk ______________________________________________________________________________________________ Creating your own doorblock script for a custom map: Locate the custom map's .bsp and .scr file For example in user-obj_canal.pk3 in the maps/obj/ folder you will see the two files that are needed Using mohbsptomohmap.exe (in the zip) convert the .bsp file to a .map file Using Radiant (http://www.filefront.com/4603757/MOH-Radiant/) open the .MAP file you just converted In radiant click "Edit -> Entity info..." in the top menu strip Run MOHRadiant Coord Grabber.exe It will print out a list of doors coordinates from Radiant Copy the coordinates out of the console program (Right click->Mark, select the text, then press Enter) Next open "blank_doorblock_script.scr" (In the zip) Paste the coordinates you just copied over the line that says: //Put the coordinates from the program here And you can update the header comment MAP NAME HERE - e.g. dm/mohdm1 with the map name, if you wish. Now save that .scr file as a new file with a sensible name For example if my map was obj_canal, obj_obj_canal.scr may be a good filename Now you need to open the .scr file that you extracted from the custom maps pk3 file In that search for the line "exec global/DMprecache.scr" Underneith that line add the following code: //*** Doorblock Fix exec global/doorblock/file_you_made.scr Where you replace "file_you_made" with the file you saved above (from blank_doorblock_script.scr) Save that file. Now put the file you just saved into "ZzZzZzZz-Doorblock.pk3/maps/type/" Where /type/ is obj or dm, depending on what your map is Put the "file_you_made" (from blank_doorblock_script.scr) into "ZzZzZzZz-Doorblock.pk3/global/doorblock/" folder, now, upload the pk3 to your server, and doorblocking *should* work for that map. If not, try modifying the coordinates, or the bounds of the trigger. As stated above, for any help, contact at: mail@stranter.co.uk

Credits

All credits to stranter, elgan and armageddon from X-null Website

Engine & Patch Compatibility

Community-tested verification on official patches & Reborn

0.0
0 reviews

Community Rating & Discussions

Rate this mod and share feedback or installation tips with fellow players.

Your Rating:
Leave a Comment / ReviewLog in to join the discussion
Loading discussions...

Downloads

601

Total Downloads

Date Added

September 25, 2012

Download

Filedoorblock.zip
Size3.57 KB
Download Mod External Link

Mod Information

RebornAll

Support

armageddon and X-null