AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Accurate hitbox ( models..) (https://forums.alliedmods.net/showthread.php?t=134554)

5c0r-|3i0 08-06-2010 07:20

Accurate hitbox ( models..)
 
I saw a vid . And I didn't figure out how to do that . Can anyone show me how to it .
Thanks in advance :3
I was thinking about set model as an entity..when entity is damaged , player loses HP ?? Is that way will do the job ?

Emp0wer 08-06-2010 15:00

Re: Accurate hitbox ( models..)
 
That is the players with not default models. Amn't I right?

DruGzOG 08-06-2010 16:26

Re: Accurate hitbox ( models..)
 
Quote:

Originally Posted by Emp0wer (Post 1263512)
That is the players with not default models. Amn't I right?

Yeah. I'd like to know how this is possible as well. I need it for a mod.

5c0r-|3i0 08-06-2010 19:54

Re: Accurate hitbox ( models..)
 
Yeah....Custom player models...Some are bigs , some are small :) .

Leon M. 08-10-2010 04:08

Re: Accurate hitbox ( models..)
 
Any ideas? Is there a plugin that contains a fix for the hitzones?

vaan123 08-25-2010 10:44

Re: Accurate hitbox ( models..)
 
id like to have this too, can this still be made? anyone?

Emp0wer 08-27-2010 06:12

Re: Accurate hitbox ( models..)
 
Maybe setting player size would help?

hzqst 08-27-2010 06:36

Re: Accurate hitbox ( models..)
 
PHP Code:

const OFFSET_MODELINDEX 491
new mdl_index 

PHP Code:

mdl_index engfunc(EngFunc_PrecacheModelyourplayermodel

then
PHP Code:

engfunc(EngFunc_SetClientKeyValueidengfunc(EngFunc_GetInfoKeyBufferid), "model""yourmodel")
set_pdata_int(idOFFSET_MODELINDEXmdl_indexOFFSET_LINUX

is enough

Mini_Midget 08-27-2010 12:15

Re: Accurate hitbox ( models..)
 
What is OFFSET_LINUX?

Arkshine 08-27-2010 12:18

Re: Accurate hitbox ( models..)
 
5 for player. 4 for weapon.


All times are GMT -4. The time now is 00:17.

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