News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 31st May 2009, 06:44 PM   #1
ephemeratics
Registered User
 
ephemeratics's Avatar
 
Join Date: May. 19th, 2009
Posts: 11
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
Any ideas?
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
ephemeratics is offline   Reply With Quote
Old 31st May 2009, 09:09 PM   #2
ephemeratics
Registered User
 
ephemeratics's Avatar
 
Join Date: May. 19th, 2009
Posts: 11
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
ephemeratics is offline   Reply With Quote
Reply

Tags
defaults, import, invalid property, unresolved reference, weapon

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:13 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer