I tried to get the player to do the whole animation I designed for him but he only does part of it then stops long before frame 79 his animation is 100 frames . When I tried to do a new weapon it didn't show up but I had an invisible weapon up untill the reload and kept getting an error from the global/weapons.scr and after the reload was suppose to happen I had no weapon at all not even an invisible one . What am I missing ? The animation loads into lightray ok and plays the whole length .p38_reload viewmodel/pistol/reload_p38.skc crossblend 0.3
{
server
{
first reloadweapon // tell the weapon that we're reloading
//0 attachmodel models/ammo/p38_clip.tik tag_weapon_left // put the ammo clip in the left hand
79 weaponcommand mainhand clip_fill //25 weaponcommand mainhand clip_fill // put the clip ammo into the gun
//40 removeattachedmodel tag_weapon_left 0 models/ammo/p38_clip.tik // remove the clip model from the left hand
}
}
Player animation
Moderator: Moderators
Player animation
What controls how long the player reload animation is . I am helping out some one get a weapon into the game . I tried to do it as a new weapon but that didn't work out so I am replaceing the p38 . I got it all to work only the reload animation for the gun lasts longer than the players reload animation even though they are the same length . I tried to edit the models\player\base\anims_pistol.txt
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
I don't know what I did right but got it to work . The only thing is if I change the name in the tik from "Walther P38" or "Colt 45" then the weapon won't show . If I change the name in spearhead the weapon will show and works ok but no bullets in the hud , hud is ok if I don't change the name but shows p38 or colt 45 as the name .



