View Full Version : repalce basic lights by toggleable ones
SEBASTIEN-NOVA
03-06-2009, 12:58 PM
Ok I have those 68 pointlights actors that I would replace by pointlights toggleables actors with the same lighing properties in one clic, is it possible istead of redo all my lighting?
jayoplus
03-06-2009, 02:17 PM
Not possible.
SEBASTIEN-NOVA
03-06-2009, 02:19 PM
That's clear, thx !
Jetfire
03-06-2009, 03:36 PM
Impossible? :p You could try
-selecting all the lights you want to convert
-extract to .t3d
-open the .t3d in notepad or whatever
-find and replace all instances of the class name of each light to the class name of the toggleable light and save as .t3d
-delete all the original lights in the map
- import the .t3d into the map
The above *should* work, but who knows :)
jayoplus
03-06-2009, 03:46 PM
hehe... That just MIGHT work...
I'm actually going to try it :D
Edit:
Just tried something similar. I used two PointLightToggleable actors. Placed them in map, cut and paste into a blank Notepad.
Used Edit>Replace to rename all instances of PointLightToggleable to PointLight.
Cut from notepad and paste back in test map... And it seems to work. It pasted as regular point lights.
So Jetfire might be on to something here.
GL
SEBASTIEN-NOVA
03-06-2009, 05:10 PM
Hey, good idea, I test that right now, thx mates ;)
Powered by vBulletin® Version 4.1.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.