Forcefire: Howto

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Forcefire: Howto

Post 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?? :(
-Yock-

RE: Forcefire: Howto

Post by -Yock- »

Put this force power as a secondary weapon while you are wielding a lightsaber and the animation should work
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

RE: Forcefire: Howto

Post by DarthD.U.C.K. »

I want to make a new weapon called forcefire, the flamethrower as forceweapon !
-Yock-

Post by -Yock- »

What do you mean with force weapon? Is it a force power, or a weapon that uses stamina as fuel? (fuel :lol:)
Razgriz

Post by Razgriz »

yea you kind of lost me here...
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post 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.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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:
CarbineImpulse

Post by CarbineImpulse »

Like the emperors force lightning bolts but with fire I assume.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post 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!
Post Reply