Raised This Month: $ Target: $400
 0% 

Entity solidity problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 07-28-2011 , 12:35   Entity solidity problem
Reply With Quote #1

Hey I've had a little problem with my entity, I was just watching Hawks tutorial on entities
So I decided to try it out but for some reason my entity isn't solid

I've check the dump file of the model to make sure that the size is correct.
I've also asked in the thread but yeah someone said I had to make a movetype,
didn't work either

So please someone who can help me with this problem?

PHP Code:
public spawn_entity(id)
{
    new 
Origin[3]
    
get_user_originidOrigin)
    
    new 
Float:SpawnOrigin[3]
    
IVecFVecOriginFloat:SpawnOrigin )
    
    new 
Ent create_entity"info_target" )
    
entity_set_stringEnt,EV_SZ_classname,g_Classname )
    
entity_set_modelEnt,g_Model )
    
entity_set_intEnt,EV_INT_solid,SOLID_BBOX )
    
entity_set_intEnt,EV_INT_movetype,MOVETYPE_NONE )
    
entity_set_sizeEnt,Float:{-43.7,-118.1,0.0},Float:{43.1,117.5,98.7} )
    
entity_set_edictEnt,EV_ENT_owner,id )
    
entity_set_originEntSpawnOrigin )

Erox902 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 01:06.


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