Raised This Month: $95 Target: $400
 23% 

cs_assault camera fix and breakable bd ( EJ )


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Emp` (115)
hoboman
Senior Member
Join Date: Jul 2007
Old 03-04-2008 , 20:12   cs_assault camera fix and breakable bd ( EJ )
Reply With Quote #1

Description:
If the satellite dish on top of the CT truck is destroyed then the cams will give off sparks and will stop working for the remainder of the round. However, the cams will start working again next round.
Also allows the players to blow up the back door by throwing nades at it.
Cvars:
amx_breakable_backdoor x (1/0 - default is 1) - if set to 0 then the door cannot be blown off, otherwise it can be blown off with a nade
Notes:
- it is possible to specify how close the nade has to explode near the door for the door to be blown off by the #define EXPLODE_FROM_DOOR_RANGE in the .sma

Change log:
version 1.1
- converted to fakemeta for better plugin efficiency
- muted the creaking door sounds when the door is blown off
- changed the effect of the blown up door to make it fall apart into many wood gibs ( code taken from Ryan's Breakable doors: http://forums.alliedmods.net/showthread.php?p=62410 )
- did some code clean up

version 1.2
- changed and cleaned up the code a bit more
- added a cvar instead of the define to specify if the back door can be blown off
- added a define to specify how close the explosion has to be to the door for the door to be blown off
this is a port and a fix of: http://djeyl.net/forum/index.php?showtopic=8856
which was made for amx by EJ
Attached Files
File Type: sma Get Plugin or Get Source (assaultcams_fix.sma - 2417 views - 4.6 KB)
__________________

Last edited by hoboman; 04-07-2008 at 00:57.
hoboman is offline
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 03-04-2008 , 22:18   Re: cs_assault camera fix and breakable bd ( EJ )
Reply With Quote #2

nice plugin! GJ.
can you put a plugin too but without the back door blow up, i mind, only the camera fix.

+k
__________________
IneedHelp is offline
hoboman
Senior Member
Join Date: Jul 2007
Old 03-04-2008 , 22:24   Re: cs_assault camera fix and breakable bd ( EJ )
Reply With Quote #3

Quote:
Originally Posted by IneedHelp View Post
nice plugin! GJ.
can you put a plugin too but without the back door blow up, i mind, only the camera fix.

+k
lol, your karma is read so cannot effect my karma...

i removed all the blown off door parts, so this should probably work although it is untested

edit: I added a define in the .sma in the first post...edit it out to keep the back door from blowing up
Attached Files
File Type: sma Get Plugin or Get Source (cams_only_fix.sma - 1131 views - 2.0 KB)
__________________

Last edited by hoboman; 03-05-2008 at 03:50.
hoboman is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 03-05-2008 , 16:55   Re: cs_assault camera fix and breakable bd ( EJ )
Reply With Quote #4

Did you use any of Avalanches source for the back door dealie? I have his running, and i know brad was gonna make a better one, but he can delay things.

But good job. The only way i knew of disabling the cameras was thru editing the map itself, which I have a version of. And disabling the bloody ladder for those noob campers.
__________________
bmann_420 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-05-2008 , 17:19   Re: cs_assault camera fix and breakable bd ( EJ )
Reply With Quote #5

Quote:
Originally Posted by bmann_420 View Post
And disabling the bloody ladder for those noob campers.
Man, this ladder is usefull for Ts.
__________________
- tired and retired -
ConnorMcLeod is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-05-2008 , 17:20   Re: cs_assault camera fix and breakable bd ( EJ )
Reply With Quote #6

yeah like when you are searching for the last CT and ur the last T
and the CT gets the hostages and you find that out after you are outside
so you camp CT tower and wait for the player to exit through vents, backdoor, or the front door
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 03-05-2008 , 17:33   Re: cs_assault camera fix and breakable bd ( EJ )
Reply With Quote #7

lol, yea. But the noob ratio outweighed that, although that was back then. I have enabled it for now just for that reason. But i just usually camp the roof when im waiting for them to come out.[/offtopic]
__________________
bmann_420 is offline
hoboman
Senior Member
Join Date: Jul 2007
Old 03-05-2008 , 17:34   Re: cs_assault camera fix and breakable bd ( EJ )
Reply With Quote #8

Quote:
Originally Posted by bmann_420 View Post
Did you use any of Avalanches source for the back door dealie? I have his running, and i know brad was gonna make a better one, but he can delay things.

But good job. The only way i knew of disabling the cameras was thru editing the map itself, which I have a version of. And disabling the bloody ladder for those noob campers.
ummm....wuts a dealie? This is a partial port of an amx plugin, which was made all the way back in 2003, so I only modified EJ's code.

errr...not sure why you are talking about "disabling the cameras" since this plugin doesn't technically disable em ( well not perm anyways ), but changes their target to nothing if the dish is destroyed then returns their target back to the default next round.

I will be pissed though if this same result can be achieved just by editing something in the .bsp or something, lol
__________________

Last edited by hoboman; 03-05-2008 at 17:41.
hoboman is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 03-05-2008 , 17:46   Re: cs_assault camera fix and breakable bd ( EJ )
Reply With Quote #9

"back door dealie" = back door explosion to eliminate the door.(the one I use is from avalanche, and have used it for years) Sorry, i was talking like i talk in life, not so descriptive.

I disabled the cameras and ladder or whatever you want in the bsp including all doors, hell even made a de_assault.
__________________
bmann_420 is offline
hoboman
Senior Member
Join Date: Jul 2007
Old 03-06-2008 , 00:27   Re: cs_assault camera fix and breakable bd ( EJ )
Reply With Quote #10

lol...dunno if many people would find this plugin useful, but I run it on my 24/7 assault server so fuck you all

updatage!

Quote:
Change log:

version 1.1
- converted to fakemeta for better plugin efficiency
- muted the creaking door sounds when the door is blown off
- changed the effect of the blown up door to make it fall apart into many wood gibs ( code taken from Ryan's Breakable doors: http://forums.alliedmods.net/showthread.php?p=62410 )
- did some code clean up
__________________

Last edited by hoboman; 03-06-2008 at 00:40.
hoboman is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:55.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode