• Create Account

### #ActualSammieo

Posted 19 March 2013 - 02:00 PM

EDIT: Collision cylinder is aligned just fine now: my problem was I wasn't using extreme enough units. Lowering the unreal units into the negatives did me just fine.

I've edited the scaling and the model's now at a size that I want it! Only one problem remains - playing animations.

As for the animations, I'm getting a really strange error with PlayAnim: I know my animation names and package names are correct, but with Unrealscript

Pawn.Mesh.PlayAnim( BirdPawn(Pawn).Boobooday_Packed_WalkOnLand, , True ); //causes an error

Just gives me the error:

Unrecognised member "Boobooday_Packed_WalkOnLand" in class "BirdPawn"

(If you're wondering why I'm saying Boobooday_Packed instead of BooboodayPacked, it's because that's my re-imported package.)

I'm not sure if there's some variable I'm meant to assign for the animation or what, since I don't have anything like that in the code; I still have that BirdWalkAnim name var lying around, but I'm not sure how to it - do you mean to just call that whenever I use PlayAnim?

All the other resources I've found on the topic seem to point me to Kismet, but with only two days to learn it in, I'd love it if Unrealscript could cover me.

### #5Sammieo

Posted 19 March 2013 - 04:01 AM

I've edited the scaling and the model's now at a size that I want it! Only two problems remain - playing animations and fixing the collision cylinder.

For the collision cylinder, I tried editing the Z translation like you suggested, with this code:

Begin Object Name=WPawnSkeletalMeshComponent
SkeletalMesh=SkeletalMesh'BirdPackage.Boobooday_Packed'
AnimSets(0)=AnimSet'BirdPackage.Armature'
Animations=MeshSequenceA
AnimTreeTemplate=None
Translation=(Z=2.0)
Materials(0)=Material'EditorMaterials.WidgetMaterial_X'
LightEnvironment=MyLightEnvironment
Scale3D=(X=5.00,Y=5.00,Z=5.25)
End Object

But it didn't work. No matter how much I raise or lower it, it's still hovering at the same spot! Oh dear - am I trying the wrong code here?

As for the animations, I'm getting a really strange error with PlayAnim: I know my animation names and package names are correct, but with Unrealscript

Pawn.Mesh.PlayAnim( BirdPawn(Pawn).Boobooday_Packed_WalkOnLand, , True ); //causes an error

Just gives me the error:

Unrecognised member "Boobooday_Packed_WalkOnLand" in class "BirdPawn"

(If you're wondering why I'm saying Boobooday_Packed instead of BooboodayPacked, it's because that's my re-imported package.)

I'm not sure if there's some variable I'm meant to assign for the animation or what, since I don't have anything like that in the code; I still have that BirdWalkAnim name var lying around, but I'm not sure how to it - do you mean to just call that whenever I use PlayAnim?

All the other resources I've found on the topic seem to point me to Kismet, but with only two days to learn it in, I'd love it if Unrealscript could cover me.

### #4Sammieo

Posted 19 March 2013 - 03:57 AM

I've edited the scaling and the model's now at a size that I want it! Only two problems remain - playing animations and fixing the collision cylinder.

For the collision cylinder, I tried editing the Z translation like you suggested, with this code:
Begin Object Name=WPawnSkeletalMeshComponent		  SkeletalMesh=SkeletalMesh'BirdPackage.Boobooday_Packed'		  AnimSets(0)=AnimSet'BirdPackage.Armature'		  Animations=MeshSequenceA		  AnimTreeTemplate=None		  Translation=(Z=2.0)		  Materials(0)=Material'EditorMaterials.WidgetMaterial_X'		  LightEnvironment=MyLightEnvironment		  Scale3D=(X=5.00,Y=5.00,Z=5.25)    End Object

But it didn't work. No matter how much I raise or lower it, it's still hovering at the same spot! Oh dear - am I trying the wrong code here?

As for the animations, I'm getting a really strange error with PlayAnim: I know my animation names and package names are correct, but with Unrealscript
Pawn.Mesh.PlayAnim( BirdPawn(Pawn).Boobooday_Packed_WalkOnLand, , True ); //causes an error
Just gives me the error:

Unrecognised member "Boobooday_Packed_WalkOnLand" in class "BirdPawn"

I'm not sure if there's some variable I'm meant to assign for the animation or what, since I don't have anything like that in the code; I still have that BirdWalkAnim name var lying around, but I'm not sure how to it - do you mean to just call that whenever I use PlayAnim?

All the other resources I've found on the topic seem to point me to Kismet, but with only two days to learn it in, I'd love it if Unrealscript could cover me.

### #3Sammieo

Posted 19 March 2013 - 03:46 AM

I've edited the scaling and the model's now at a size that I want it! Only two problems remain - playing animations and fixing the collision cylinder.

For the collision cylinder, I tried editing the Z translation like you suggested, with this code:
Begin Object Name=WPawnSkeletalMeshComponent		  SkeletalMesh=SkeletalMesh'BirdPackage.Boobooday_Packed'		  AnimSets(0)=AnimSet'BirdPackage.Armature'		  Animations=MeshSequenceA		  AnimTreeTemplate=None		  Translation=(Z=2.0)		  Materials(0)=Material'EditorMaterials.WidgetMaterial_X'		  LightEnvironment=MyLightEnvironment		  Scale3D=(X=5.00,Y=5.00,Z=5.25)    End Object

But it didn't work. No matter how much I raise or lower it, it's still hovering at the same spot! Oh dear - am I trying the wrong code here?

As for the animations, I'm getting a really strange error with PlayAnim: I know my animation names and package names are correct, but with Unrealscript
Pawn.Mesh.PlayAnim( BirdPawn(Pawn).Boobooday_Packed_WalkOnLand, , True ); //causes an error
Just gives me the error:

Unrecognised member "Boobooday_Packed_WalkOnLand" in class "BirdPawn"

I'm not sure if there's some variable I'm meant to assign for the animation or what, since I don't have anything like that in the code; I still have that BirdWalkAnim name var lying around, but I'm not sure how to it - do you mean to just call that whenever I use PlayAnim?

All the other resources I've found on the topic seem to point me to Kismet, but with only two days to learn it in, I'd love it if Unrealscript could cover me.

### #2Sammieo

Posted 19 March 2013 - 03:46 AM

I've edited the scaling and the model's now at a size that I want it! Only two problems remain - playing animations and fixing the collision cylinder.

For the collision cylinder, I tried editing the Z translation like you suggested, with this code:
Begin Object Name=WPawnSkeletalMeshComponent		  SkeletalMesh=SkeletalMesh'BirdPackage.Boobooday_Packed'		  AnimSets(0)=AnimSet'BirdPackage.Armature'		  Animations=MeshSequenceA		  AnimTreeTemplate=None		  Translation=(Z=2.0)		  Materials(0)=Material'EditorMaterials.WidgetMaterial_X'		  LightEnvironment=MyLightEnvironment		  Scale3D=(X=5.00,Y=5.00,Z=5.25)    End Object

But it didn't work. No matter how much I raise or lower it, it's still hovering at the same spot! Oh dear - am I trying the wrong code here?

As for the animations, I'm getting a really strange error with PlayAnim: I know my animation names and package names are correct, but with Unrealscript
Pawn.Mesh.PlayAnim( BirdPawn(Pawn).Boobooday_Packed_WalkOnLand, , True ); //causes an error
Just gives me the error:

Unrecognised member "Boobooday_Packed_WalkOnLand" in class "BirdPawn"

I'm not sure if there's some variable I'm meant to assign for the animation or what, since I don't have anything like that in the code; I still have that BirdWalkAnim name var lying around, but I'm not sure how to it - do you mean to just call that whenever I use PlayAnim?

All the other resources I've found on the topic seem to point me to Kismet, but with only two days to learn it in, I'd love it if Unrealscript could cover me.

### #1Sammieo

Posted 19 March 2013 - 03:44 AM

I've edited the scaling and the model's now at a size that I want it! Only two problems remain - playing animations and fixing the collision cylinder.

For the collision cylinder, I tried editing the Z translation like you suggested, with this code:

Begin Object Name=WPawnSkeletalMeshComponent
SkeletalMesh=SkeletalMesh'BirdPackage.Boobooday_Packed'
AnimSets(0)=AnimSet'BirdPackage.Armature'
Animations=MeshSequenceA
AnimTreeTemplate=None
Translation=(Z=2.0)
Materials(0)=Material'EditorMaterials.WidgetMaterial_X'
LightEnvironment=MyLightEnvironment
Scale3D=(X=5.00,Y=5.00,Z=5.25)
End Object

But it didn't work. No matter how much I raise or lower it, it's still hovering at the same spot! Oh dear - am I trying the wrong code here?

As for the animations, I'm getting a really strange error with PlayAnim: I know my animation names and package names are correct, but with Unrealscript

Pawn.Mesh.PlayAnim( CrowPawn(Pawn).Boobooday_Packed_WalkOnLand, , True ); //causes an error

Just gives me the error:

Unrecognised member "Boobooday_Packed_WalkOnLand" in class "CrowPawn"

I'm not sure if there's some variable I'm meant to assign for the animation or what, since I don't have anything like that in the code; I still have that BirdWalkAnim name var lying around, but I'm not sure how to it - do you mean to just call that whenever I use PlayAnim?

All the other resources I've found on the topic seem to point me to Kismet, but with only two days to learn it in, I'd love it if Unrealscript could cover me.

PARTNERS