this is because you will need to define those youself, if you look in the large function in the code, the one that is several thousand lines long, you will see the defines basicly you should define each possible space for you inventory. such as left ear, right ear and so on. I think i forgot a few. Here is the function "attach item". Please remember that these are based on vertex animations, so if you have not modeled your armor pieces correclt this function will not work:
Code:
function attach_item()
{
set (my, PASSABLE);
my.scale_x = 2;
my.scale_y = 2;
my.scale_z = 2;
wait(1);
c_updatehull(my,1);
while(player != NULL)
{
vec_set(my.x, player.x);
vec_set(my.pan, player.pan);
my.frame = player.frame;
my.nextframe = player.nextframe;
wait(1);
proc_mode = PROC_LATE;
}
}




BTW this is not a demo, this is just an inventory system, and without filling in the proper spaces for models, etc. it wont work right.

Last edited by oldschoolj; 09/28/07 10:45.

you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly