Hi,
I've been looking into making a MeleeGame, which would basically change a few defaultproperties in KFGunGame.KFGG
I tried stuff but the further I got was spawning with the weapons then crashing everything on the first kill.
This is where I were:
crash:
Am I completely off the track ?
I've been looking into making a MeleeGame, which would basically change a few defaultproperties in KFGunGame.KFGG
I tried stuff but the further I got was spawning with the weapons then crashing everything on the first kill.
This is where I were:
Spoiler!
Code:
class KFMeleeGame extends KFGungame.KFGG;
defaultproperties
{
ShortWeaponList(0)="KFMod.Machete"
ShortWeaponList(1)="KFMod.Machete"
ShortWeaponList(2)="KFMod.Machete"
ShortWeaponList(3)="KFMod.Machete"
ShortWeaponList(4)="KFMod.Machete"
ShortWeaponList(5)="KFMod.Axe"
ShortWeaponList(6)="KFMod.Axe"
ShortWeaponList(7)="KFMod.Axe"
ShortWeaponList(8)="KFMod.Axe"
ShortWeaponList(9)="KFMod.Katana"
ShortWeaponList(10)="KFMod.Katana"
ShortWeaponList(11)="KFMod.Katana"
ShortWeaponList(12)="KFMod.Katana"
ShortWeaponList(13)="KFMod.Scythe"
ShortWeaponList(14)="KFMod.Scythe"
ShortWeaponList(15)="KFMod.Scythe"
ShortWeaponList(16)="KFMod.Scythe"
ShortWeaponList(17)="KFMod.ClaymoreSword"
ShortWeaponList(18)="KFMod.ClaymoreSword"
ShortWeaponList(19)="KFMod.ClaymoreSword"
ShortWeaponList(20)="KFMod.ClaymoreSword"
ShortWeaponList(21)="KFMod.ClaymoreSword"
}
crash:
Spoiler!
Code:
Getting Rid of weapon GG-VR_GridMadness_Tiny.Machete
MacheteFire GG-VR_GridMadness_Tiny.Machete.MacheteFire0 (Function Engine.WeaponFire.Spawn:0007) Accessed None 'Weapon'
MacheteFire GG-VR_GridMadness_Tiny.Machete.MacheteFire0 (Function KFMod.KFMeleeFire.Timer:0406) Accessed None 'Weapon'
MacheteFire GG-VR_GridMadness_Tiny.Machete.MacheteFire0 (Function KFMod.KFMeleeFire.Timer:0427) Unknown code token CE
Executing UObject::StaticShutdownAfterError
MacheteFire GG-VR_GridMadness_Tiny.Machete.MacheteFire0 (Function KFMod.KFMeleeFire.Timer:0427) Unknown code token CE
[/spoiler]
Am I completely off the track ?
Last edited: