PDA

View Full Version : Scripting problem



Krallis
11-04-2008, 11:33 AM
Ok ive compiled my script and I get these erroro.
Which confuses me because I have got sounds with that name in my package and I used impact hammer code and most of the defauly properties it doesnt understand are the default hammer ones.

Whats up.
The weird thing is it compiles because the errors are just warnings. However the weapon does not show up under teh UTweaponlocker to be placed as a weapon.


Warning/Error Summary
---------------------

C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(630) : Warning, ClassProperty UTGame.UTWeapon:AttachmentClass: unre
solved reference to 'class'UTGame.UTAttachment_Lightsaber''
C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(630) : Warning, Invalid property value in defaults: Attachme
ntClass=class'UTGame.UTAttachment_Lightsaber'
C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(636) : Warning, ObjectProperty UTGame.UTWeapon:WeaponFireSnd.Weapon
FireSnd: unresolved reference to 'SoundCue'WP_Lightsaber.Sounds.ltsaberbodyhit01
''
C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(636) : Warning, Invalid property value in defaults: WeaponFi
reSnd[0]=SoundCue'WP_Lightsaber.Sounds.ltsaberbodyhit01'
C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(637) : Warning, ObjectProperty UTGame.UTWeapon:WeaponFireSnd.Weapon
FireSnd: unresolved reference to 'SoundCue'WP_Lightsaber.Sounds.ltsaberbodyhit01
''
C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(637) : Warning, Invalid property value in defaults: WeaponFi
reSnd[1]=SoundCue'WP_Lightsaber.Sounds.ltsaberbodyhit01'
C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(638) : Warning, ObjectProperty UTGame.UTWeapon:WeaponPutDownSnd: un
resolved reference to 'SoundCue'WP_Lightsaber.Sounds.SaberOn''
C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(638) : Warning, Invalid property value in defaults: WeaponPu
tDownSnd=SoundCue'WP_Lightsaber.Sounds.SaberOn'
C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(639) : Warning, ObjectProperty UTGame.UTWeapon:WeaponEquipSnd: unre
solved reference to 'SoundCue'WP_Lightsaber.Sounds.SaberOff''
C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(639) : Warning, Invalid property value in defaults: WeaponEq
uipSnd=SoundCue'WP_Lightsaber.Sounds.SaberOff'
C:\Program Files\Unreal Tournament 3\Development\Src\Lightsaber\Classes\UTWeap_L
ightsaber.uc(743) : Warning, Unknown property in defaults: WeaponFireWaveFo
rm=ForceFeedbackWaveformShooting1

Success - 0 error(s), 12 warning(s)

Execution of commandlet took: 3.59 seconds

C:\Program Files\Unreal Tournament 3\Binaries>

marilol
11-04-2008, 12:06 PM
Its not finding your WP_Lightsaber, try put that in unpublished, not in any other sub folders, or if its in oublkished try in custom weapons or packages subfolder.

Also, you have utgame.ut...

whats your script package called, it should be setup like so:

lightsaber -> Classes -> UtAttachment_Lightsaber

So when you reference it: Lightsaber.UTAttachment_Lightsaber.

So where the Lightsbaer. is just put your script folders name.