AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Breakable Doors (v1.1) (https://forums.alliedmods.net/showthread.php?t=6597)

Ryan 10-08-2004 00:41

Breakable Doors (v1.1)
 
1 Attachment(s)
Breakable Doors
Written by: Ryan

It's here, Breakable doors for AMXX! This is a conversion of my (lesser known) AMX plugin of the same name.

This plugin, quite simply, allows players to destroy doors by throwing grenades at them. The range of the grenade from the door is customizable in the source code.

Currently, there is only support for rotating doors, but sliding doors should be breakable by next version.

This plugin is compatible with AMXX 0.20, and should also be compatible with AMXX 0.16.

INSTALLATION INSTRUCTIONS:
  1. copy breakable_doors.amxx to your /plugins folder.
  2. add breakable_doors.amxx to your plugins.ini file.
  3. make sure you have the <engine> module running by uncommenting the proper line in your modules.ini file.
* NOTE * This plugin is enabled by default, to disable it simply add mp_breakabledoors 0 to your custom map configuration file(s).

http://www.war3x.net/misc/breakabledoors.jpg

Enjoy!

*EDIT1* Screenshots added and source code fixed.
*EDIT2* Installation instructions modified to include <engine> module.

Johnny got his gun 10-08-2004 02:12

:gyar: gyar matey

Ryan 10-08-2004 02:42

get_keyvalue doesnt work. I've tried it on the func_door ents and it will return absolutely nothing.

oh and.. what was the error? you pasted the exact same lines of code twice..

and what is that plugin_modules forward for??

The plugin is solid. If you were implying that i should pause the plugin there's really no need because I'm basically setting the cvar to 0 which will ignore all of the events the script catches.

LizardKing 10-08-2004 03:04

failed to compile for .20
notify author :(

i saw this in the amx forums, never used it, but i was hoping somone would port it.
/home/users/amxmodx/tmp/phpZtz1KM.sma(298) : error 017: undefined symbol "g_iTotaldoors"

1 Error.
Could not locate output file /home/users/amxmodx/public_html/websc/phpZtz1KM.amx (compile failed).

Johnny got his gun 10-08-2004 04:40

The require_module native is a clean way to tell admins that they must have this and that module installed for your plugin. It's made in the hope of getting less "my plugins won't load!" in the support forum. As said, I usually still forget to add these lines in my plugins.

The difference is you have a small d where it should've been a big D. :-)

Ryan 10-08-2004 08:49

oh jeez, how silly of me. post updated.

LizardKing 10-08-2004 14:41

i tried this plugin on assault. I turned mp_breakabledoors 1. and i used He_arena. I throw nades all day long at the door and nothing happened :(
maybe cuz im using that chickin_nade_fakemeta plugin too??

Ryan 10-08-2004 17:53

be sure you have engine module running.

*** Main post edited to contain screenshots and source code fixed. ***

martinrb 10-08-2004 17:58

@ Lizard

did u try it on the doors upstairs at T-start or on the one at the side entrance??

Quote:

Originally Posted by ryan
Currently, there is only support for rotating doors, but sliding doors should be breakable by next version.


LizardKing 10-09-2004 03:10

Quote:

Originally Posted by martinrb
@ Lizard

did u try it on the doors upstairs at T-start or on the one at the side entrance??

Quote:

Originally Posted by ryan
Currently, there is only support for rotating doors, but sliding doors should be breakable by next version.


yes i did, i threw like 50 nades at the side door,and nothing happened.
and yes i have engine module active for i use other plugins that require it.


All times are GMT -4. The time now is 04:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.