Digital Paint Discussion Board
Development => Mapping => Topic started by: CarbineXT on September 05, 2006, 08:20:28 PM
-
Hello all,
Firstly, is it possible to make entities lit? Eg, func_train.
Secondly, is it possible to move non-fired grenades in a teleporter like manner? Because I have a carrier that takes people and some grens along, the people and the object get teleported back to where they are meant to be - but the grens merely fall to the ground.
Thanks.
-
Entities will be lit by whatever the environment is where they are created. If you mean have a light on the entity and move along with it, then no. As for the teleports with trains -- it is what it is for now. I wouldn't use it because it seems to have some bugs.
-
There is definitely something that isn't being lit with the func_train. Take a look at these two pics, 39 is before - and in 40 - all I did was make the object you're inside a func_train.
Big difference, light is not being applied correctly.
-
What is lighting the object in the first picture? Both are lit by the blue lights, but I don't see any other light sources.
-
The only lighting system is the sun.
-
My guess is that it was getting lit by reflected light. Perhaps reflected light does not apply to entities.
-
But it isn't meant to be lit at all inside...apart from the internal lights.
-
So shot 40 is what you want? Then what's the issue?
-
40 is what I want, and 39 is what happens when I make it a func_train. Sorry for the misunderstanding.
-
What I've done before is create the func_train in its own room -- outside of the map somewhere -- and tweak the lighting on it. It looks like what's happening is that the func_train isn't casting shadows on itself. I think there's a compiler option in arghrad to make entities cast shadows. I would think if the whole thing is one func_train, though, that it would self shadow.
-
I tried that and now it's closer to what it's meant to be. It's now totally black inside, except for the windows and lights. The lights alone are blue, and they're not casting light around. Any fix?
-
You'll have to look at the arghrad documentation ( http://www.planetquake.com/arghrad ). I think there's a command line option for entities to emit light. You'll need to create a custom batch file with that option added in.