AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Destroying objects (https://forums.alliedmods.net/showthread.php?t=333188)

Cirovic 06-23-2021 16:56

Destroying objects
 
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?

DJEarthQuake 06-23-2021 18:39

Re: Destroying objects
 
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)

Cirovic 06-23-2021 18:48

Re: Destroying objects
 
idk what that means, when i shoot throught teammate i cannot break object

DJEarthQuake 06-23-2021 23:20

Re: Destroying objects
 
Was Friendly fire adjusted? Touch is like when walking across de_survivor and the ice breaks.

Cirovic 06-24-2021 03:02

Re: Destroying objects
 
Ff is on 0,its zombie escape.i need when they shoot to be destroyed. But cannot be destroyed if player is infrot object.

DJEarthQuake 06-24-2021 11:54

Re: Destroying objects
 
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.

Cirovic 06-24-2021 13:48

Re: Destroying objects
 
and how to fix my problem?

DJEarthQuake 06-24-2021 14:13

Re: Destroying objects
 
Shoot over teammates' head.

Cirovic 06-24-2021 14:22

Re: Destroying objects
 
haahhahahaha cmon be serious..

DJEarthQuake 06-25-2021 07:16

Re: Destroying objects
 
  • 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]); }


All times are GMT -4. The time now is 08:48.

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