AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   its possible make a model shootable on all body independent of his size [Script] ? (https://forums.alliedmods.net/showthread.php?t=88589)

AlejandroSk 03-26-2009 20:03

its possible make a model shootable on all body independent of his size [Script] ?
 
its possible?

BOYSplayCS 03-26-2009 20:04

Re: its possible make a model shootable on all body independent of his size [Script]
 
It already is?

Wait, what? Be more clear on your question.

AlejandroSk 03-26-2009 21:03

Re: its possible make a model shootable on all body independent of his size [Script]
 
i want to know if its possible to make a model shootable on every body independent if the mdoel is oversized

SnoW 03-27-2009 03:46

Re: its possible make a model shootable on all body independent of his size [Script]
 
If you meant that is it possible to create an entity, that everyone can shoot and it takes damage, even the model would be diffrent size than the solid area, ye it's possible. The sizes aren't related to the model with any way.

AlejandroSk 03-27-2009 15:06

Re: its possible make a model shootable on all body independent of his size [Script]
 
if i have for example model garg , its very big , and im using on cs 1.6 , how can i make this shootable on all body?

SonicSonedit 03-27-2009 15:09

Re: its possible make a model shootable on all body independent of his size [Script]
 
try making player's entity bigger. (change player's size)

SnoW 03-27-2009 15:14

Re: its possible make a model shootable on all body independent of his size [Script]
 
Well now I understand you. The "shootable" was little confusing.
Aye what Sonic Said.
Code:

//id is playerid obviously
engfunc(EngFunc_SetSize, id, {100.0, 100.0, 100.0}, {100.0, 100.0, 100.0});

That would be a big box, but you get the idea.

AlejandroSk 03-27-2009 15:25

Re: its possible make a model shootable on all body independent of his size [Script]
 
Quote:

Originally Posted by SnoW (Post 790423)
Well now I understand you. The "shootable" was little confusing.
Aye what Sonic Said.
Code:

//id is playerid obviously
engfunc(EngFunc_SetSize, id, {100.0, 100.0, 100.0}, {100.0, 100.0, 100.0});

That would be a big box, but you get the idea.

can you be more.... descriptive ?

SnoW 03-27-2009 17:45

Re: its possible make a model shootable on all body independent of his size [Script]
 
PHP Code:

/*
Players' real sizes are 16, 16, 32 -16, -16, -32
You probably understand the sizes, like following code at least should make player(or his solid area) two times higher.
*/
#include <amxmodx>
#include <fakemeta>
public plugin_init()
     
register_clcmd("test""test");
public 
test(id)
{
     
engfunc(EngFunc_SetSizeid, {16.016.064.0}, {-16.0, -16.0, -64.0});
     
//...



DruGzOG 03-27-2009 18:31

Re: its possible make a model shootable on all body independent of his size [Script]
 
I think he means the hitboxes, can you change it with a plugin with a skin that has hitboxes completely wrong


All times are GMT -4. The time now is 08:52.

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