![]() |
|
|
#1 |
|
Weapon Import - Invalid Property Value
Hello!
Recently, I've been attempting to import an original weapon - an original mesh with animations, with a 1rst person and attachment class, derived from the ShockRifle. Nothing too fancy, really. And it worked! The first time I did it. Its a long story, but I ended up deleting the successful weapon, and recreating it from scratch. About 5 times now, and it refuses to work again - that is to say, the code compiles with 13 warnings, and the mesh does not show up in game. I don't believe I've done anything differently, and yet I must be... Most of the warnings refer to "Invalid Property value in defaults" and "unresolved references" to my meshes and animation set. I've already done a search of various forums for this warning message, and the primary advice is: make sure your package is where it ought to be. But it is (I think): UTGame/Unpublished/CookedPC/CustomWeapons/blunder_pack.upk The uc files are located in: UTGame/Src/Blunderbuss/Classes This is an example of the code that references the mesh and anim sets: Code:
Begin Object Name=FirstPersonMesh SkeletalMesh=SkeletalMesh'blunder_pack.blunder_mesh' AnimSets(0)=AnimSet'blunder_pack.blunder_set' Animations=MeshSequenceA Rotation=(Yaw=-16384) FOV=60.0 End Object Let me know if you need any additional information.
__________________
"There is no excellent beauty that hath not some strangeness in the proportion." Sir Francis Bacon visit my official site - http://www.celestemasinter.com Game Design and UE3 Tutorials - download here |
|
|
|
|
|
|
#2 |
|
Ok, well, I think I solved my problem!
I thought I had already tried this a couple times, but... I guess I did it a little differently this time. Before compiling, I copied my CustomWeapons folder to Published>CookedPC> but! I didn't copy the Script file over at the same time! Seems to have done the trick. The compile went smoothly. I'll copy the script files over now.
__________________
"There is no excellent beauty that hath not some strangeness in the proportion." Sir Francis Bacon visit my official site - http://www.celestemasinter.com Game Design and UE3 Tutorials - download here |
|
|
|
|
![]() |
| Tags |
| defaults, import, invalid property, unresolved reference, weapon |
| Thread Tools | |
| Display Modes | |
|
|