Raised This Month: $51 Target: $400
 12% 

[H3LP] Check if space is empty (+ increment)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 12-26-2018 , 07:27   [H3LP] Check if space is empty (+ increment)
Reply With Quote #1

I am developing npc mod and want to check specified place for emptiness, what i was doing for this was:
* Create temporary entity
* Set basic things to entity (Solidity, movetype...)
* Set Starting size for entity
* Gain size (From both side mins & maxs) via loop and check everytime for space emptiness using TRACE_MONSTER_HULL function

This worked partly => pev_maxs was buggy, it was looping infinitely for size gain (pev_mins worked OK)

Anyone knows how to do this via entity without this problem or without entity, only with size.
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 12-26-2018 at 07:29.
Ghosted is offline
 



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 22:59.


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