Anti-Door Block

Add Another Mod

 

Mod File number (downloads) -

MD5

Type -

Fair Play

Server / Client -

Server Side

Mod Sub Cat -

Anti-Doorblock

Mod Version -

1.1

Total Views -

Mod screen shot -

Anti Door Block

Mod PK3

PK3 MD5

Mod External Info -

http://www.x-null.net/forums/showthread.php?85-Anti-Door-Block/page3&highlight=anti+block+door

http://www.x-null.net/forums/showthread.php?85-Anti-Door-Block/page3&highlight=anti+block+door

armageddon and X-null

Game Type -

MOHAA

 

 

Mod Creator -

stranter

 

 

 

 

Mod Status -

Unknown

 

Team -

 

Theme -

Rating

Extra Credits -

 

Iinstall / info

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?)

**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:

______________________________________________________________________________________________

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:

**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:

______________________________________________________________________________________________

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:

Video