Solved !!!!!! A little problem in client code and GetRenderBounds override
Thanks Jay !!! -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Jose Luis Gonzalez Enviado el: jueves, 08 de junio de 2006 0:35 Para: [email protected] Asunto: RE: [hlcoders] Dog model problem in HL2DM SDK. Yeah ! no purple box in dog: http://img406.imageshack.us/img406/801/dognobox9re.jpg Maybe a spawn problem?. Is a CBaseAnimating character, any flag?. I'm using this in the Spawn function: Precache(); BaseClass::Spawn(); SetModel( DOG_ENTITY_MODEL ); SetCollisionGroup(COLLISION_GROUP_VEHICLE); SetSolid( SOLID_BBOX ); AddSolidFlags( FSOLID_NOT_STANDABLE ); SetMoveType( MOVETYPE_STEP ); AddSolidFlags( FSOLID_CUSTOMRAYTEST | FSOLID_CUSTOMBOXTEST ); //EnableServerIK(); InitBoneControllers( ); CreateVPhysics(); UTIL_SetSize(this,Vector(-36,-36,0),Vector(36, 36, 86)); m_takedamage= DAMAGE_YES; m_flRespawnTime=gpGlobals->curtime+7.0f; m_bSpawn=false; //CollisionProp()->SetSurroundingBoundsType( USE_HITBOXES ); SetActivity( ACT_IDLE ); SetThink( &MyDog::Think ); SetNextThink( gpGlobals->curtime); -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Jay Stelly Enviado el: miƩrcoles, 07 de junio de 2006 23:41 Para: [email protected] Asunto: RE: [hlcoders] Dog model problem in HL2DM SDK. first I would use cl_ent_rbox (or r_drawrenderbounds 1) to visualize the render box for the model. Maybe it's really small or something? Could be a problem with the entity you're using. It's hard to debug without more information, but it seems like the most likely issue is with culling. If setting r_portaltestents 0 fixes the problem, then you've got some kind of areaportal problem in the map. It could be a lot of other things, but those are my first two guesses anyway. Jay > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Jose Luis Gonzalez > Sent: Wednesday, June 07, 2006 11:02 AM > To: [email protected] > Subject: RE: [hlcoders] Dog model problem in HL2DM SDK. > > Here is the problem. Will be better if i show it with images: > > Dog Model rendered: > > http://img353.imageshack.us/my.php?image=dog17rz.jpg > > View raised: > > http://img414.imageshack.us/img414/9800/dog28oc.jpg > > > > -----Mensaje original----- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] En nombre de > Aaron Schiff Enviado el: miƩrcoles, 07 de junio de 2006 19:39 > Para: [email protected] > Asunto: Re: [hlcoders] Dog model problem in HL2DM SDK. > > -- > [ Picked text/plain from multipart/alternative ] I think it's > because dog's hull cuts short... > I've seen in Garry's Mod if you shoot a crossbow at the top > part of Dog, it goes through to the wall behind > > -- > ts2do > -- > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

