custom Events + HUD scripting

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
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

custom Events + HUD scripting

Post by Anakin »

Hi,

i'm working on an hud file and wonder, what kind of language it is.
There is this line:

Code: Select all

EventColor("player1.weapon1.target.teamColor")
I would really like to change the team color, but it is impossible, because hard coded.
But what about an work around:

Define a new Event: player1.weapon1.target.newColor. And set this color to green and red, or what ever.

But I have no idea, if this is possible and how or where to implement this new event. So I hope someone can explain the SWBFII events.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: custom Events + HUD scripting

Post by Marth8880 »

I'm like, 95% sure there's no way we can define new HUD events, sadly. :(

What *would* be useful though is a complete list of the existing ones. :o
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: custom Events + HUD scripting

Post by Anakin »

Yes, such a list would be great.

Do you know an event for enable and disable zooming??
I tried the one from the iron sight, but did not work
Post Reply