AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Enable bomb plant on whole map (https://forums.alliedmods.net/showthread.php?t=335369)

eSTu 11-29-2021 07:46

Enable bomb plant on whole map
 
Hi, title says it all.

I want to make one of the bomb sites big enough to cover whole map OR create new entity that will cover whole map.

I know how to create new entity but idk how to set or change the entity size (width, length , height).

eyal282 11-29-2021 10:55

Re: Enable bomb plant on whole map
 
Quote:

Originally Posted by eSTu (Post 2764615)
Hi, title says it all.

I want to make one of the bomb sites big enough to cover whole map OR create new entity that will cover whole map.

I know how to create new entity but idk how to set or change the entity size (width, length , height).

My Useful Commands plugin makes each teleport entity have another entity that resets a bomb to the last known position. Use this logic to make a bomb site larger. I think you should check these two:

Member: m_vecMins (offset 8) (type vector) (bits 0) (NoScale)
Member: m_vecMaxs (offset 20) (type vector) (bits 0) (NoScale)

DDG their names to learn how they work.

BeepIsla 11-29-2021 12:45

Re: Enable bomb plant on whole map
 
mp_plant_c4_anywhere 1

eSTu 12-01-2021 08:39

Re: Enable bomb plant on whole map
 
Quote:

Originally Posted by BeepIsla (Post 2764648)
mp_plant_c4_anywhere 1

Oh, I didn't know there is command like that. That works fine for me.


All times are GMT -4. The time now is 23:25.

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