Page 1 of 1

Forcefire: Howto

Posted: Wed Feb 14, 2007 1:16 pm
by DarthD.U.C.K.
I want to make an attack, called Forcefire. It should be Bobas flamethrower
but with an other weaponmodel like forcepush (no rifle, a simple handmove like forceattacks)
but i dont know how to make this. here are the weapons .odf files

bobas flamethrower:

Code: Select all

[WeaponClass]
ClassParent         = "com_weap_inf_flamethrower"
GeometryName        = "imp_weap_inf_rifle.msh"

[Properties]
HUDTag              = "hud_imp_flamethrower"
GeometryName        = "imp_weap_inf_rifle"
HighResGeometry     = "imp_1st_weap_inf_rifle"
OrdnanceName        = "imp_weap_hero_flamethrower_ord"
//FirePointName       = "hp_fire"

//******************************************************
//***************   SOUND       ****************
//******************************************************

FireSound           = "flame_on"
ReloadSound         = "com_weap_inf_reload_med"
ChangeModeSound     = "com_weap_inf_equip_med"
FireEmptySound      = "com_weap_inf_ammo_empty"
WeaponChangeSound   = "com_weap_inf_equip_med"
JumpSound           = "com_weap_inf_rifle_mvt_jump"
LandSound           = "com_weap_inf_rifle_mvt_land"
RollSound           = "com_weap_inf_rifle_mvt_roll"
//ProneSound          = "com_weap_inf_rifle_mvt_lie"
SquatSound          = "com_weap_inf_rifle_mvt_squat"
//StandSound          = "com_weap_inf_rifle_mvt_getup"


forcepush:

Code: Select all

[WeaponClass]

ClassLabel 			= "cannon"

[Properties]
IconTexture			= "HUD_all_rifle_icon"


//GeometryName 			= "rep_weap_inf_rifle"

//ChargeUpEffect		= "com_sfx_chargeup"
//MuzzleFlash			= "med_muzzle_flash"
//Discharge			= "med_smoke_effect"

RoundsPerClip 			= "75"
ReloadTime 			= "5.0"
HeatRecoverRate			= "0.15"
HeatThreshold			= "0.3"

ZoomMin				= "2.0"
ZoomMax				= "2.0"
ZoomRate			= "0.0"

MinRange		= "8"
OptimalRange		= "12"
MaxRange		= "16"

AnimationBank		= "melee"
//Use the lightsabre force-push animation
FireAnim			= "2"
//FirePointName			= "hp_fire"

WEAPONSECTION			= 1


ModeTexture			= "HUD_weap_semiauto"
//ModeTextureColor		= "42 235 42 100"
//ReticuleTexture			= "reticule_04"
OrdnanceName 			= "rep_weap_inf_forcepush_ord"

TriggerSingle			= "1"
ShotDelay 			= "0.1"
HeatPerShot			= "0.075"
MaxPressedTime			= "0.0"

PitchSpread			= "0.5"
YawSpread			= "0.5"

SpreadPerShot		= "1.1"//1.2
SpreadRecoverRate	= "4.8"//0.08
SpreadThreshold		= "1.6"//0.03
SpreadLimit		= "6.0"

StandStillSpread	= "0.0"//0.4
StandMoveSpread	= "0.0"//0.9
CrouchStillSpread	= "0.0"//0.1
CrouchMoveSpread	= "0.0"//0.6
ProneStillSpread	= "0.0"
ProneMoveSpread		= "0.0"

LockOnRange			= "30.0"
LockTime 			= "0.0"
AutoAimSize			= "2.0"

SalvoCount			= "1"
ShotsPerSalvo			= "1"
SalvoDelay			= "0.0"
InitialSalvoDelay		= "0.4"
SalvoTime			= "0.0"

TargetEnemy			= "1"
TargetNeutral			= "0"
TargetFriendly			= "0"

TargetPerson			= "1"
TargetAnimal			= "1"
TargetDroid			= "1"
TargetVehicle			= "1"
TargetBuilding			= "1"


which lines i have to add/edit?? :(

RE: Forcefire: Howto

Posted: Wed Feb 14, 2007 1:31 pm
by -Yock-
Put this force power as a secondary weapon while you are wielding a lightsaber and the animation should work

RE: Forcefire: Howto

Posted: Wed Feb 14, 2007 2:04 pm
by DarthD.U.C.K.
I want to make a new weapon called forcefire, the flamethrower as forceweapon !

Posted: Wed Feb 14, 2007 4:26 pm
by -Yock-
What do you mean with force weapon? Is it a force power, or a weapon that uses stamina as fuel? (fuel :lol:)

Posted: Wed Feb 14, 2007 8:44 pm
by Razgriz
yea you kind of lost me here...

Posted: Fri Feb 16, 2007 1:00 pm
by MercuryNoodles
We're talking about using the Push power, but instead of throwing opponents around, it shoots out a jet of flames from the user's palm, hence the name Force Fire.

Basically, I think you would only have to replace the ordinance name with the flame thrower ordinance, add in the FireSound line, and add/edit lines using the flamethrower parent as a guide so it behaves correctly.

Posted: Fri Feb 16, 2007 4:41 pm
by Qdin
but.. didn't he also say that he wanetd it as the primary weapon? :? If I remember right it'll cause problems :roll:

Posted: Fri Feb 16, 2007 4:48 pm
by CarbineImpulse
Like the emperors force lightning bolts but with fire I assume.

Posted: Sat Feb 17, 2007 10:26 am
by MercuryNoodles
No, there was no mention of it being a primary weapon. D.U.C.K. has the right idea, but seemed confused about how exactly to execute it.

Exactly!