AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Replace Body with Foot (https://forums.alliedmods.net/showthread.php?t=196570)

malec321 09-22-2012 19:17

[HELP] Replace Body with Foot
 
So I want to make it where instead of registering something with EV_INT_BODY i want it to register with just the feet of the body

Code:

entity_get_int(ent, EV_INT_body);
I want something like

Code:

entity_get_int(ent, EV_INT_foot);
How would I go by doing that?

Thanks!

f55z55p 09-22-2012 20:03

Re: [HELP] Replace Body with Foot
 
Quote:

Originally Posted by malec321 (Post 1804257)
So I want to make it where instead of registering something with EV_INT_BODY i want it to register with just the feet of the body

Code:

entity_get_int(ent, EV_INT_body);
I want something like

Code:

entity_get_int(ent, EV_INT_foot);
How would I go by doing that?

Thanks!

entity_get_int(ent, EV_INT_body, intvalue)
entity_set_int(ent, EV_INT_body, intvalue)

its only that way, anyway have you open model with jed model viewer?
you can see there are bodyparts and skins
bodyparsts are like models parts
skins are texture, example one model is in green texture so you can add red texture and change green skin to red skin.

player models there are normaly only 2 choosable bodyparts "player" and "backpack"
if you want to do that you need to edit model.

malec321 09-22-2012 21:11

Re: [HELP] Replace Body with Foot
 
Got you alright I'm gonna give that a try

micapat 09-23-2012 11:51

Re: [HELP] Replace Body with Foot
 
@f55z55p : Have you a example of a model which contains two different skin ( And if it possible to upload it here .. ) ? Thanks.

f55z55p 09-23-2012 16:49

Re: [HELP] Replace Body with Foot
 
jbextreme have player model who have even more than 2 skins.
http://forums.alliedmods.net/showthr...hlight=extreme
I think i know that youre planning to do : )

micapat 09-23-2012 16:53

Re: [HELP] Replace Body with Foot
 
It can be nice if player can customize their characters and weapons :) But I need to learn to use MilkShape :X

Thank you :D

f55z55p 09-23-2012 17:00

Re: [HELP] Replace Body with Foot
 
Quote:

Originally Posted by micapat (Post 1804893)
It can be nice if player can customize their characters and weapons :) But I need to learn to use MilkShape :X

Thank you :D

skins means model textures
bodyparst means model parts

anyway i always put all models inside of one model by using bodyparts.
Even v_weapons.
So yeah.

Using skins you can make animated texture model :)


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

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