Raised This Month: $ Target: $400
 0% 

Entity infiltrate walls


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Gadzislaw007
Senior Member
Join Date: Nov 2009
Old 07-30-2010 , 17:38   Entity infiltrate walls
Reply With Quote #1

Sometimes, when I stand close to wall and i plant an entity with movetype_toss the entity starts to fall really slow and when it touches floor it does not stop, but still fall.... If I stay far from a wall I can plant it properly, mine stops at floor.
Is that normal? How can I fix it?

PHP Code:
public set_mine(id) {
  new 
Float:StartOrigin[3]

 
  new 
PlayerOrigin[3]
  
get_user_origin(idPlayerOrigin1)

  
StartOrigin[0] = float(PlayerOrigin[0])
  
StartOrigin[1] = float(PlayerOrigin[1])
  
StartOrigin[2] = float(PlayerOrigin[2]-25)

  new 
MineEnt create_entity("info_target")

  
  
entity_set_string(MineEntEV_SZ_classname"landmine")
  
entity_set_model(MineEnt"models/w_landmine_zlw.mdl")
  
entity_set_edict(MineEntEV_ENT_ownerid)
  
entity_set_int(MineEntEV_INT_movetypeMOVETYPE_TOSS)
  
  
DispatchSpawn(MineEnt)
  
  
entity_set_origin(MineEntStartOrigin)
  
entity_set_size(MineEntFloat:{-35.0, -35.0, -1.0}, Float:{35.035.02.0})
  
entity_set_int(MineEntEV_INT_solid2)
  
  

   



Last edited by Gadzislaw007; 07-30-2010 at 17:44.
Gadzislaw007 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 00:17.


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