Author Topic: 2 Questions  (Read 2167 times)

CarbineXT

  • Stingray
  • Posts: 64
2 Questions
« on: September 05, 2006, 06: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.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: 2 Questions
« Reply #1 on: September 05, 2006, 06:29:22 PM »
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.

CarbineXT

  • Stingray
  • Posts: 64
Re: 2 Questions
« Reply #2 on: September 06, 2006, 01:52:24 PM »
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.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: 2 Questions
« Reply #3 on: September 06, 2006, 02:10:24 PM »
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.

CarbineXT

  • Stingray
  • Posts: 64
Re: 2 Questions
« Reply #4 on: September 06, 2006, 02:22:54 PM »
The only lighting system is the sun.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: 2 Questions
« Reply #5 on: September 06, 2006, 03:26:04 PM »
My guess is that it was getting lit by reflected light.  Perhaps reflected light does not apply to entities.

CarbineXT

  • Stingray
  • Posts: 64
Re: 2 Questions
« Reply #6 on: September 06, 2006, 06:53:30 PM »
But it isn't meant to be lit at all inside...apart from the internal lights.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: 2 Questions
« Reply #7 on: September 06, 2006, 06:57:10 PM »
So shot 40 is what you want?  Then what's the issue?

CarbineXT

  • Stingray
  • Posts: 64
Re: 2 Questions
« Reply #8 on: September 06, 2006, 08:34:39 PM »
40 is what I want, and 39 is what happens when I make it a func_train. Sorry for the misunderstanding.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: 2 Questions
« Reply #9 on: September 07, 2006, 02:29:46 AM »
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.

CarbineXT

  • Stingray
  • Posts: 64
Re: 2 Questions
« Reply #10 on: September 07, 2006, 02:12:26 PM »
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?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: 2 Questions
« Reply #11 on: September 07, 2006, 03:03:36 PM »
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.