Fusioncutter heal droids?, Change discharge effect? [SOLVED]

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

Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Fusioncutter heal droids?, Change discharge effect? [SOLVED]

Post by Deviss »

hello i continuos moding lol.
1° how modify the fussioncutter odf for this repair droids of the cis army and in case i will play how droid can repair me using the fussioncutter please help :)

2° how to change the discharge effect to other more real the same the discharge effect than have the rifle carbine from battlefront extreme mod

very thanks :D

Topic renamed -Staff
Last edited by Deviss on Wed Nov 19, 2008 6:49 pm, edited 1 time in total.
User avatar
vampire_lord
Rebel Sergeant
Rebel Sergeant
Posts: 216
Joined: Thu Mar 20, 2008 7:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City
Contact:

Re: 2 Quetions

Post by vampire_lord »

Here I go...

1.- You need to check all common ODFs before asking something like that, anyway, "DroidHealth = X", that's all you need to change, you can even make a fusion cutter for clones, it has been my plan for the medic class.

2.- I can't really understand your question...
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: 2 Quetions

Post by Deviss »

vampire_lord wrote:Here I go...

1.- You need to check all common ODFs before asking something like that, anyway, "DroidHealth = X", that's all you need to change, you can even make a fusion cutter for clones, it has been my plan for the medic class.

2.- I can't really understand your question...
1° this is my fussioncutter odf
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "repair"

[Properties]
ScoreForMedalsType = 10

MuzzleFlashEffect = "com_sfx_repair"
Discharge = "small_smoke_effect"

RoundsPerClip = "-1"
ReloadTime = "0.0"
HeatRecoverRate = "0.16"
HeatThreshold = "0.7"

AnimationBank = "tool"
FirePointName = "hp_fire"

ShotDelay = 0.2
TriggerSingle = "0"
HeatPerShot = "0.060"

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

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

LockOnRange = 4.0
LockOnAngle = 90.0

VehicleHealth = 200
BuildingHealth = 100
BuildingBuild = 50
BuildingRebuild = 50
DroidHealth = 200
MineHealth = -1000

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

FireEmptySound = "com_weap_inf_weapon_empty"
FireLoopSound = "com_weap_inf_fusioncutter_fire"
ReloadSound = ""
ChargeSound = ""
OverheatSound = "com_weap_energy_depleted"
OverheatSoundPitch = "0.5"
OverheatStopSound = ""
ChangeModeSound = ""
WeaponChangeSound = ""
JumpSound = "com_weap_inf_pistol_mvt_jump"
LandSound = "com_weap_inf_pistol_mvt_land"
RollSound = "com_weap_inf_pistol_mvt_roll"
//ProneSound = "com_weap_inf_pistol_mvt_lie"
SquatSound = "com_weap_inf_pistol_mvt_squat"
//StandSound = "com_weap_inf_pistol_mvt_getup"
and don't work :(
2° is to change the discharge's effect
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: 2 Quetions

Post by Tourny »

I made a deadly fusion cutter the same way. I think that the cutter IS healing your droids, it's just that the average droid has too much HP for 200 to do much.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: 2 Quetions

Post by Deviss »

Tourny wrote:I made a deadly fusion cutter the same way. I think that the cutter IS healing your droids, it's just that the average droid has too much HP for 200 to do much.
i changed 200 to 50 for don't work yet, the same for others droids how for my self
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: 2 Quetions

Post by Tourny »

Change the Droid health to 1000,
I don't think you can make the fusion cutter heal you if you're holding it, if that's what you meant. Same reason you can't shoot urself with a rifle.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: 2 Quetions

Post by Deviss »

Tourny wrote:Change the Droid health to 1000,
I don't think you can make the fusion cutter heal you if you're holding it, if that's what you meant. Same reason you can't shoot urself with a rifle.
i just try with droidhelth 1000 but don't work still
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: 2 Quetions

Post by Tourny »

Just answer yes or no for me please:

Is the droid's not healing the problem?

Are you trying to make it heal clones or something else besides droids?
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: 2 Quetions

Post by Deviss »

Tourny wrote:Just answer yes or no for me please:

Is the droid's not healing the problem?
yes this is the problem :)
computergeek
General
General
Posts: 770
Joined: Thu Jun 07, 2007 6:26 pm
Projects :: Halo Warthog vehicle for SWBF2
Games I'm Playing :: Bioware RPGs - Halo
xbox live or psn: No gamertag set
Location: Far Far away....

Re: 2 Quetions

Post by computergeek »

Ok so you want the droids to be healed by the fusion cutter?
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: 2 Quetions

Post by Tourny »

ok, so for #1 why don't you try this:

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

I know droids are under the health class droids but it's worth a shot.

for #2
Discharge = "small_smoke_effect"
You need to change "small smoke effect" to someting else. If, say you wanted the rocket launcher yo would copy the discharge from that.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: 2 Quetions

Post by Deviss »

Tourny wrote:ok, so for #1 why don't you try this:

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

I know droids are under the health class droids but it's worth a shot
don't work also :(
computergeek wrote:Ok so you want the droids to be healed by the fusion cutter?
yes, exactly
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: 2 Quetions

Post by Tourny »

In the script, did you tell the ReadDataFile to read the DC:SIDE? In this case it might not be munging the fusioncutter.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: 2 Quetions

Post by Deviss »

Tourny wrote:In the script, did you tell the ReadDataFile to read the DC:SIDE? In this case it might not be munging the fusioncutter.
i put dc:SIDE but i think this isn't the problem
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: 2 Quetions

Post by Tourny »

Thought not...
I really doubt this is a problem but are you sure "Repair" is an object class? Mostl ikely is. I can't check for myself at the moment though.

Are you modifying the existing fusion cutter files or are you building one from scratch?
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: 2 Quetions

Post by Deviss »

Tourny wrote:Thought not...
I really doubt this is a problem but are you sure "Repair" is an object class? Mostl ikely is. I can't check for myself at the moment though.

Are you modifying the existing fusion cutter files or are you building one from scratch?
i am modifying the existing fusion cutter for this repair the health of the cis droids and my self in this case but don't work yet
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: 2 Questions

Post by Tourny »

Is it possible that any of the child files might be overwriting the commands of the parent? :? I do not think that the problem lies in the fusion cutter file you posted, as I can find nothing wrong with it. Although in the past I have overlooked very very minute typos, a typo wold more likely crash the file. It would revert back to the defaults... Wait... That makes sense in your case...

But again. I don't think there is anything wrong with your ODF, but I have less experience than some of the other people here... :|
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Re: 2 Questions

Post by RED51 »

Here's the right code to make the fusion cutter heal droids, but, this will also heal enemy droids:
Hidden/Spoiler:
[code][WeaponClass]
ClassLabel = "repair"

[Properties]
ScoreForMedalsType = 3

MuzzleFlashEffect = "com_sfx_repair"
Discharge = "small_smoke_effect"

RoundsPerClip = "-1"
ReloadTime = "0.0"
HeatRecoverRate = "0.16"
HeatThreshold = "0.7"

AnimationBank = "tool"
FirePointName = "hp_fire"

ShotDelay = 0.5
TriggerSingle = "0"
HeatPerShot = "0.060"

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

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

LockOnRange = 4.0
LockOnAngle = 90.0

VehicleHealth = 200
BuildingHealth = 100
BuildingBuild = 50
BuildingRebuild = 50
DroidHealth = 0{@@@@@@@@@@@@@@@@@@@Change this to 100.
MineHealth = -1000[/code]
That should do the trick.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: 2 Questions

Post by Deviss »

RED51 wrote:Here's the right code to make the fusion cutter heal droids, but, this will also heal enemy droids:
Hidden/Spoiler:
[code][WeaponClass]
ClassLabel = "repair"

[Properties]
ScoreForMedalsType = 3

MuzzleFlashEffect = "com_sfx_repair"
Discharge = "small_smoke_effect"

RoundsPerClip = "-1"
ReloadTime = "0.0"
HeatRecoverRate = "0.16"
HeatThreshold = "0.7"

AnimationBank = "tool"
FirePointName = "hp_fire"

ShotDelay = 0.5
TriggerSingle = "0"
HeatPerShot = "0.060"

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

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

LockOnRange = 4.0
LockOnAngle = 90.0

VehicleHealth = 200
BuildingHealth = 100
BuildingBuild = 50
BuildingRebuild = 50
DroidHealth = 0{@@@@@@@@@@@@@@@@@@@Change this to 100.
MineHealth = -1000[/code]
That should do the trick.
it also don't work :( , and i have not ideas
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: 2 Questions

Post by MercuryNoodles »

I think the odf you posted originally is correct. However, it may not be munging the changes. Is that the common side's (parent) odf, or the CIS side's (child) odf? If it's the parent, make sure you're munging the Common side (as opposed to the Common folder) when you munge sides. If it's the child, the munge may have messed up, so try cleaning and remunging the CIS side.
Post Reply