SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: {TcF}Dr.Penguin on September 30, 2012, 10:57:52 AM

Title: Changing the lightsaber.
Post by: {TcF}Dr.Penguin on September 30, 2012, 10:57:52 AM
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.
Title: Re: Changing the lightsaber.
Post by: Sereja on September 30, 2012, 11:07:52 AM
Here the bug:

GeometryName    = "cis_icon_magnastaff"

icons, are usualy is not geometry.
Title: Re: Changing the lightsaber.
Post by: {TcF}Dr.Penguin on September 30, 2012, 11:20:59 AM
Thank you!!!!!
Title: Re: Changing the lightsaber.
Post by: {TcF}Dr.Penguin on September 30, 2012, 11:43:58 AM
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?
Title: Re: Changing the lightsaber.
Post by: Led on September 30, 2012, 02:35:43 PM
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?
Title: Re: Changing the lightsaber.
Post by: {TcF}Dr.Penguin on September 30, 2012, 03:06:46 PM
I put them in my MSH folder.
Title: Re: Changing the lightsaber.
Post by: SleepKiller on September 30, 2012, 03:09:10 PM
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.
Title: Re: Changing the lightsaber.
Post by: Kit Fisto on September 30, 2012, 03:15:37 PM
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...
EhPortal 1.34 © 2024, WebDev