some modification questions

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
cloneknight
Chief Warrant Officer
Chief Warrant Officer
Posts: 357
Joined: Sun Aug 20, 2006 11:39 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

some modification questions

Post by cloneknight »

here we go >.>
1) How can i change the color of the flame-thrower to shoot green flames and shoot farther

2) How do i lower the glow of the sky (alpha i think?)

3) how do i get sniper scopes to scroll back and forth

4) how do i get the emp-launcher to shoot the shockey missiles (like bf1)
Hidden/Spoiler:
i know its alot, i just cant seem to get them to work, i have been trying for a while.
i would be so greatful if you can help me
thanks for your help
CloneKnight
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 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: The lost world of pickels
Contact:

Re: some modification questions

Post by woner11 »

For number 1, all you have to do is modify the tga file of the flames and change that to green. To shoot farther that is covered in the odf. Here are the values for the range.
Hidden/Spoiler:
MinRange = "0"
OptimalRange = "4"
MaxRange = "10"
Just modify these to your pleasure.

2. That is done in the sky file Which is located F:\BF2_ModTools\data_
***\Worlds\***\world1 (*** stands for your 3-letter map name). Use the ambient function (it might be alpha though.
Hidden/Spoiler:
Texture("sky_endor.tga");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
TerrainColorDarkening();
3. To get sniper scopes to scroll back in forth use this function. Remember you must have the zoom rate function higher than zero.
Hidden/Spoiler:
ReticuleInAimingOnly = 1
SniperScope = 1
ZoomFirstPerson = 1
ZoomMin = "2.0"
ZoomMax = "50.0"
ZoomRate = "10.0"
4.If by shockey missles you mean the electric thing, that is just a simple manner of changing an effect. You must change this in the com_weap_inf_rocket_launcher_exp.odf file.
Before:
Hidden/Spoiler:
[ExplosionClass]
ClassLabel = "explosion"

[Properties]
Damage = "400.0"

DamageRadiusInner = "1.0"
DamageRadiusOuter = "3.0"

Push = "10.0"
PushRadiusInner = "4.0"
PushRadiusOuter = "4.0"

Shake = "0.5"
ShakeLength = "0.60"
ShakeRadiusInner = "8.0"
ShakeRadiusOuter = "12.0"

Effect = "com_sfx_weap_flame_exp_md"
WaterEffect = "com_sfx_watersplash_lg"

LightColor = "255 220 100 255"
LightRadius = "7.0"
LightDuration = "1.0"

VehicleScale = "0.0"
PersonScale = "1.0"
DroidScale = "1.0"
AnimalScale = "1.0"
BuildingScale = "0.25"

SoundProperty = "com_weap_rocket_small_exp"
The effect that I would use is probably sky_sfx_inf_damage_electricity.fx or something with lightning. So it would look like:
Hidden/Spoiler:
ExplosionClass]
ClassLabel = "explosion"

[Properties]
Damage = "400.0"

DamageRadiusInner = "1.0"
DamageRadiusOuter = "3.0"

Push = "10.0"
PushRadiusInner = "4.0"
PushRadiusOuter = "4.0"

Shake = "0.5"
ShakeLength = "0.60"
ShakeRadiusInner = "8.0"
ShakeRadiusOuter = "12.0"

Effect = "sky_sfx_inf_damage_electricity"
WaterEffect = "com_sfx_watersplash_lg"

LightColor = "255 220 100 255"
LightRadius = "7.0"
LightDuration = "1.0"

VehicleScale = "0.0"
PersonScale = "1.0"
DroidScale = "1.0"
AnimalScale = "1.0"
BuildingScale = "0.25"

SoundProperty = "com_weap_rocket_small_exp"
Any heighlighted line of any color is what is being focused on and is what is important. With the exeception of the first one because everything is important there.
cloneknight
Chief Warrant Officer
Chief Warrant Officer
Posts: 357
Joined: Sun Aug 20, 2006 11:39 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: some modification questions

Post by cloneknight »

thanks for responding so fast and answering all my questions.
ill try out them and get back if i have any problems.


EDIT
i cant find the flame tga

and when i change effect to "sky_sfx_inf_damage_electricity" there is no effect at all

sorry for x2 post
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 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: The lost world of pickels
Contact:

Re: some modification questions

Post by woner11 »

You might not have those, those are custom, I was just showing it needed to be some kind of lightning. For that effect change it to arccaster_lightning. The flame tga is in F:\BF2_ModTools\data_***\Common\effects. Browse through there and you'll find it.
Post Reply