Page 1 of 2

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

Posted: Tue Nov 18, 2008 6:42 pm
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

Re: 2 Quetions

Posted: Tue Nov 18, 2008 7:40 pm
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...

Re: 2 Quetions

Posted: Tue Nov 18, 2008 7:44 pm
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

Re: 2 Quetions

Posted: Tue Nov 18, 2008 7:47 pm
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.

Re: 2 Quetions

Posted: Tue Nov 18, 2008 7:54 pm
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

Re: 2 Quetions

Posted: Tue Nov 18, 2008 7:56 pm
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.

Re: 2 Quetions

Posted: Tue Nov 18, 2008 8:12 pm
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

Re: 2 Quetions

Posted: Tue Nov 18, 2008 8:16 pm
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?

Re: 2 Quetions

Posted: Tue Nov 18, 2008 8:17 pm
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 :)

Re: 2 Quetions

Posted: Tue Nov 18, 2008 8:21 pm
by computergeek
Ok so you want the droids to be healed by the fusion cutter?

Re: 2 Quetions

Posted: Tue Nov 18, 2008 8:24 pm
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.

Re: 2 Quetions

Posted: Tue Nov 18, 2008 8:31 pm
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

Re: 2 Quetions

Posted: Tue Nov 18, 2008 8:35 pm
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.

Re: 2 Quetions

Posted: Tue Nov 18, 2008 8:36 pm
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

Re: 2 Quetions

Posted: Tue Nov 18, 2008 8:45 pm
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?

Re: 2 Quetions

Posted: Tue Nov 18, 2008 8:57 pm
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

Re: 2 Questions

Posted: Tue Nov 18, 2008 11:39 pm
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... :|

Re: 2 Questions

Posted: Wed Nov 19, 2008 12:32 am
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.

Re: 2 Questions

Posted: Wed Nov 19, 2008 8:21 am
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

Re: 2 Questions

Posted: Wed Nov 19, 2008 11:24 am
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.