How do I make this light 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

Post Reply
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

How do I make this light effect? [Solved]

Post by jojo3450 »

Is there a way to get the light effect beam light as seen here Image
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: Light effect

Post by hunpeter12 »

You can do it with .odf lights. Look in the BF2_lightning.doc in BF2_ModTools/documentation. You will find what you need there.
Last edited by hunpeter12 on Sat May 23, 2015 3:52 pm, edited 1 time in total.
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

Re: Light effect

Post by jojo3450 »

k thanks
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

Re: Light effect

Post by jojo3450 »

is there a way to add more light to the same .msh

Code: Select all

AttachOdf = "dea1_light_panel_green"
AttachToHardPoint = "hp_light"
AttachToHardPoint = "hp_light1"

//AttachEffect = "prop_panelspark"
//AttachToHardPoint = "hp_panel"
//AttachToHardPoint = "hp_panel1"
I added AttachToHardPoint = "hp_light1" so that it can also be added but doesn't work, how can I add more lights to a .msh
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: Light effect

Post by hunpeter12 »

I think you should add it for every hard point like this:

Code: Select all

AttachOdf = "dea1_light_panel_green"
AttachToHardPoint = "hp_light"

AttachOdf = "dea1_light_panel_green"
AttachToHardPoint = "hp_light1"
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

Re: Light effect

Post by jojo3450 »

thanks it worked
Post Reply