Changing the lightsaber.

Started by {TcF}Dr.Penguin, September 30, 2012, 10:57:52 AM

Previous topic - Next topic
September 30, 2012, 10:57:52 AM Last Edit: September 30, 2012, 11:01:04 AM by {TcF}Dr.Penguin
I'd like to change countduku's lightsaber to a force pike or some other type of weapon, but when I changed the ODF To this

[WeaponClass]

ClassLabel      = "melee"

[Properties]
IconTexture     = "HUD_all_rifle_icon"


GeometryName    = "cis_icon_magnastaff"
AnimationBank   = "lightsabre"

MuzzleFlash     = "med_muzzle_flash"
Discharge       = "med_smoke_effect"

RoundsPerClip   = "75"
ReloadTime      = "5.0"


//ReloadSound       = "laserreload"
//ChangeModeSound   = "com_weap_inf_blaster_rifle_modechange"
HitSound            = "imp_weap_lightsabre_hit"
//DeflectSound        = "imp_weap_lightsabre_deflect"
//WeaponChangeSound = "com_weap_inf_laser_weaponchange"

LockOnRange         = "1.0"
LockTime            = "0.4"
AutoAimSize         = "1.0"

MinRange            = "0"
OptimalRange        = "1.5"
MaxRange        = "3"


FirePointName       = "hp_fire_lightsabre"

SwingTime           = "0.7 0.5 imp_weap_lightsabre"
Texture = "redlightsabre"

It crashes for no reason D:

I was using this asset:  http://www.gametoast.com/forums/viewtopic.php?f=64&t=18720

Thank you very much.

Here the bug:

GeometryName    = "cis_icon_magnastaff"

icons, are usualy is not geometry.
Beauty is, the way to perfection.

Glory to Ukraine!  :mf:


It still crashes the .ODF is:
[WeaponClass]

ClassLabel      = "melee"

[Properties]
IconTexture     = "HUD_all_rifle_icon"


GeometryName    = "weap_inf_magnastaff"
AnimationBank   = "lightsabre"

MuzzleFlash     = "med_muzzle_flash"
Discharge       = "med_smoke_effect"

RoundsPerClip   = "75"
ReloadTime      = "5.0"


//ReloadSound       = "laserreload"
//ChangeModeSound   = "com_weap_inf_blaster_rifle_modechange"
HitSound            = "imp_weap_lightsabre_hit"
//DeflectSound        = "imp_weap_lightsabre_deflect"
//WeaponChangeSound = "com_weap_inf_laser_weaponchange"

LockOnRange         = "1.0"
LockTime            = "0.4"
AutoAimSize         = "1.0"

MinRange            = "0"
OptimalRange        = "1.5"
MaxRange        = "3"


FirePointName       = "hp_fire_lightsabre"

SwingTime           = "0.7 0.5 imp_weap_lightsabre"
Texture = "redlightsabre"

Could it be because this asset isn't online compatable? Or am I doing something wrong?

Did you actually get the magnastaff assets, or are you just typing something in and hoping that the assets will magically appear in your munge folder?
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet


Some models only work in SWBFII and will crash SWBFI, it could be you have just found one such model. I know however that I had that magna staff working a while back, I don't know why it wouldn't work for you. The only problem I had was the texture being screwed up but that was an easy fix.

Napseeker got a magnastaff to work in his Final Battle @ Utapau. Maybe you can d/l it and look in the credits to see what model he used...