PDA

View Full Version : weapon sockets for custom animations?



alvarofer0020
02-05-2010, 08:56 PM
hi i have added one of my custom weapons to UDK with some bones and alredy add the sockets but i cant play the custom animations i added to the weapon i have alredy added the animset to UTWeap_uzi and added the socket i the udk but when i shot just nothing happend here is my code
i have before added a custom weapon with custom animations and it works but it was a copy of the shockrifle i have sucesfully make the base of the weapon code but i cant make it play my custom animations so please help:confused:


class UTWeap_uzi extends UTWeap_uzi_base;




defaultproperties
{


Begin Object Name=FirstPersonMesh // First person settings
SkeletalMesh=SkeletalMesh'lascosasdeljuego.uzi'
AnimSets(0)=AnimSet'lascosasdeljuego.uzianimacione s'
End Object

Name="Default__UTWeap_assaultrifle"
ObjectArchetype=UTWeapon'UTGame.Default__UTWeapon'
WeaponProjectiles(1)=class'UTProj_bala'



Begin Object Name=PickupMesh
SkeletalMesh=SkeletalMesh'lascosasdeljuego.uzi'
End Object

AttachmentClass=class'UTAttachment_uzi'







WeaponRange=50



PickupSound=SoundCue'A_Pickups.Weapons.Cue.A_Picku p_Weapons_Link_Cue'

AmmoCount=120
LockerAmmoCount=20
MaxAmmoCount=120
MaxDesireability=0.7
AIRating=+0.3
CurrentRating=+0.3



FireInterval(0)=+0.10 // Done in Seconds (0.10 is 600 RPM)
FireInterval(1)=+0.10







GroupWeight=0.5








MuzzleFlashSocket=MuzzleFlashSocket
PlayerViewOffset=(X=16.0,Y=-18,Z=-18.0)



{