Lightsabre Color

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

User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Lightsabre Color

Post by Fiodis »

Unless you have a lot of cloth in your map, you don't need it.
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Lightsabre Color

Post by Coley »

ok, thanks.
With obiwan works that.
It can be, that that what I now tell is something different.
If I try it with aayla, that errorlog comes:

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Combo.cpp(3462)
Combo[ba944832] failed to add for weapon rep_weap_lightsaber_aalya map aalya_sabre -> Combo[4ff8ba9d]

Is that odf wrong?
Hidden/Spoiler:
[WeaponClass]

ClassLabel = "melee"
ClassParent = "com_weap_inf_lightsaber"

[Properties]

GeometryName = "rep_weap_inf_lightsabre"
ComboAnimationBank = "human_sabre melee rep_hero_aalya"

NumDamageEdges = "2"

OffhandFirePointName = "hp_fire hp_weapons"
LightSaberLength = "1.0"
LightSaberWidth = "0.08"
LightSaberTexture = "greenlightsabre"
LightSaberTrailColor = "82 255 7 128"

OffhandGeometryName = "rep_weap_aalya_lightsabre"
OffhandFirePointName = "hp_fire_lightsabre"
LightSaberLength = "1.0"
LightSaberWidth = "0.08"
LightSaberTexture = "greenlightsabre
LightSaberTrailColor = "82 255 7 128"
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: Lightsabre Color

Post by genaral_mitch »

Is that the stock aayla lightsaber?
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Lightsabre Color

Post by Coley »

Erm, no :D
But they use the same combo...
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Lightsabre Color

Post by Fiodis »

It looks exactly like the stock except that it's missing a quotation mark.
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 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: Atlanta, GA xfire=myers73 IngameName=mYers

Re: Lightsabre Color

Post by myers73 »

no, what i would suggest is just copy over that part from the eli lua and paste it overtop of that part in the c lua you are working on, its what i did for my map and works like a charm, and i have 10+ melee users out at once.
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Lightsabre Color

Post by Coley »

OMG!
Thanks Fiodis xD
Try it
Post Reply