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

how to attacker the monster without hitbox?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rsdtt
Senior Member
Join Date: Oct 2009
Old 05-24-2014 , 03:15  
Reply With Quote #1

I mean some monster's models hitbox under its skin, when I attacker the skin part under the hitbox,

RegisterHam(Ham_TraceAttack, "func_wall", "fw_TraceAttack") dosen't work,

and the Ham_TakeDamage is same too.

it just like hit something else

sorry for my bad english , I mean the hitbox inside in its skin
__________________
I am learning sm now

Last edited by YamiKaitou; 05-24-2014 at 07:42.
rsdtt is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 05-24-2014 , 21:29   Re: how to attacker the monster without hitbox?
Reply With Quote #2

Is it NPC?
__________________
What are you looking for here?
DavidJr is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 05-25-2014 , 22:22   Re: how to attacker the monster without hitbox?
Reply With Quote #3

Quote:
Originally Posted by DavidJr View Post
Is it NPC?
no
Code:
i_Ent = engfunc(EngFunc_CreateNamedEntity,engfunc(EngFunc_AllocString,"func_wall"));
engfunc(EngFunc_SetModel,i_Ent,"models/zbs_bossl_big05.mdl");
engfunc(EngFunc_SetSize, i_Ent, Float:{ -32.0, -50.0, 0.0 }, Float:{ 32.0, 50.0, 150.0 } );
engfunc(EngFunc_SetOrigin, i_Ent, m_origin );
set_pev(i_Ent,pev_solid,SOLID_SLIDEBOX);
set_pev(i_Ent,pev_movetype,MOVETYPE_NOCLIP);
__________________
I am learning sm now
rsdtt is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 05-26-2014 , 22:55   Re: how to attacker the monster without hitbox?
Reply With Quote #4

Tracelines just hits, in case of studio model, it's hitboxes
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 05-26-2014 , 23:42   Re: how to attacker the monster without hitbox?
Reply With Quote #5

Quote:
Originally Posted by meTaLiCroSS View Post
Tracelines just hits, in case of studio model, it's hitboxes
when hit the skin, just like hit steel
__________________
I am learning sm now
rsdtt is offline
Reply



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 07:19.


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