Andre Taulien

Results 87 comments of Andre Taulien

Can you try using the AI branch? I did a lot of work on rtti for worlds which has the init scripts ran because it didn't work.

It seems like this happens only on *some* `ModelScriptFile`-resources, `SCAVANGER` being one of them. If you just ignore those during loading, the world loads fine. I'll commit the workaround, but...

Finally got to test this! It is sooo cool to just type `insert WOLF` and have a wolf run around the oldmine! 😄

Right, bsf supports decals, doesn't it? That would be even better!

Technically, all objects are Vobs in the original game so every object can do the raycast. But I'm not sure whether the Vob-class itself does the cast or whether that's...

> If repeated sampling is necessary it would probably be the best to make my ShadowSampler class a component which is attached to the GameWorld scene object. We could then...

Ah, I took a quick look over your code now I understand the problem. You really need to do quite a lot of pre-processing which we obviously do not want...

> What we could also do (which aims in the same direction) is making the ShadowSampler itself a member of the game world and attach to each object a component...

I'm already sold on the proxy-component. It could also hold the last value for the child-objects to query. > Since instantiating objects is always (?) done from some method in...

> I think I misunderstood the point a bit (hence my EDIT after EDIT in the reply). We are discussing how the component finds the ShadowSampler right? Yes, exactly! It's...