Raised This Month: $32 Target: $400
 8% 

Destroying objects


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cirovic
Senior Member
Join Date: Sep 2019
Old 06-23-2021 , 16:56   Destroying objects
Reply With Quote #1

When i want to destroy some box, or any breakable object, and if some players stand next to it, they are blocking it, and i cannot destroy that object, on 32 players that is huge problem.. any help?
Cirovic is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 06-23-2021 , 18:39   Re: Destroying objects
Reply With Quote #2

Have you tried the break on touch attribute?

If unable to remake map.

Code:
#include amxmodx #include engine_stocks #include hamsandwich #define charsmin -1 new break_ent public plugin_init() {     register_plugin("Touch break breakables", "SPiNX", "06-2021");     break_ent = find_ent_by_class(charsmin, "func_breakable");     RegisterHamFromEntity(Ham_Touch, break_ent, "@somefcn") } @somefcn(break_ent, player)     ExecuteHam(Ham_TakeDamage,break_ent,break_ent, player,1.0,DMG_CRUSH|DMG_ALWAYSGIB)
__________________

Last edited by DJEarthQuake; 06-25-2021 at 10:28.
DJEarthQuake is offline
Cirovic
Senior Member
Join Date: Sep 2019
Old 06-23-2021 , 18:48   Re: Destroying objects
Reply With Quote #3

idk what that means, when i shoot throught teammate i cannot break object
Cirovic is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 06-23-2021 , 23:20   Re: Destroying objects
Reply With Quote #4

Was Friendly fire adjusted? Touch is like when walking across de_survivor and the ice breaks.
__________________
DJEarthQuake is offline
Cirovic
Senior Member
Join Date: Sep 2019
Old 06-24-2021 , 03:02   Re: Destroying objects
Reply With Quote #5

Ff is on 0,its zombie escape.i need when they shoot to be destroyed. But cannot be destroyed if player is infrot object.
Cirovic is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 06-24-2021 , 11:54   Re: Destroying objects
Reply With Quote #6

FF must be on or lob a grenade. Running as designed IMHO. Somebody might be able to make the players while FF is into noclip with bullets only. We do it with map making on fences etc. Unsure the 'best' way to make that happen at the moment via AMXx.
__________________

Last edited by DJEarthQuake; 06-24-2021 at 11:59.
DJEarthQuake is offline
Cirovic
Senior Member
Join Date: Sep 2019
Old 06-24-2021 , 13:48   Re: Destroying objects
Reply With Quote #7

and how to fix my problem?
Cirovic is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 06-24-2021 , 14:13   Re: Destroying objects
Reply With Quote #8

Shoot over teammates' head.
__________________

Last edited by DJEarthQuake; 06-24-2021 at 14:13.
DJEarthQuake is offline
Cirovic
Senior Member
Join Date: Sep 2019
Old 06-24-2021 , 14:22   Re: Destroying objects
Reply With Quote #9

haahhahahaha cmon be serious..
Cirovic is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 06-25-2021 , 07:16   Re: Destroying objects
Reply With Quote #10

  • Jump or duck shot.
  • When standing next to it and blocked use grenades.
  • Remove them if unable to touch them otherwise.

Code:
#include amxmodx #include engine_stocks new const breakable[][]={"func_breakable","func_pushable"}; public plugin_init() {     register_plugin("Remove Breakables", "SPiNX", "06-2021");     for(new ent;ent < sizeof breakable;++ent)         remove_entity_name(breakable[ent]); }
__________________

Last edited by DJEarthQuake; 06-25-2021 at 07:34.
DJEarthQuake is offline
Reply



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 11:36.


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