Page 6 of 11
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
Posted: Sat Jan 07, 2017 5:12 am
by zimberzimber
How will it interact if there are multiple objects having a water surface component on the same level?
If I were to implement your suggestion, there will be 3 water surface components on the same level. (Fountain, watering station, and water surface object)
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
Posted: Sat Jan 07, 2017 12:07 pm
by AndakRainor
Good point. Until yesterday, I used the previous code on a single object per map (ocean object). I did it because I had to place those at non zero elevations sometimes (and then reflection was wrong). From what I see, for the WaterSurface component, the last object added to a map wins. I will try to see if I can find a solution to this. That said, the onInit function can be added to one global WaterSurface object, and its elevation will no longer be ignored when placed in the editor...
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
Posted: Sat Jan 07, 2017 10:57 pm
by minmay
On any particular frame, the game will use one or zero WaterSurfaceComponents and one or zero SkyComponents and ignore the rest. Zero if there's no such component on the map, one if there is. When there are multiple on the current map, the way it decides which one to use is predictable, but it's not particularly easy to predict (saving/loading is a concern) and there's no good reason to: just use one per level, and if you need to switch two or more WaterSurfaceComponents/SkyComponents out with each other for some reason, just move them to other maps and back.
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
Posted: Sat Jan 07, 2017 11:42 pm
by Isaac
minmay wrote:... if you need to switch two or more WaterSurfaceComponents/SkyComponents out with each other for some reason, just move them to other maps and back.
It sounds like it might be useful for mods to have a utility level; inaccessible except for off-world storage, including script objects. In a big project (like ORRR3), this would allow the map to run in the editor [preview] with just the utility level, and the few being worked on.
(Maps are blank in the preview if disabled, but scripts on those maps are unavailable, and can stop the game.)
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
Posted: Sun Jan 08, 2017 1:56 am
by AndakRainor
minmay wrote:On any particular frame, the game will use one or zero WaterSurfaceComponents and one or zero SkyComponents and ignore the rest. Zero if there's no such component on the map, one if there is. When there are multiple on the current map, the way it decides which one to use is predictable, but it's not particularly easy to predict (saving/loading is a concern) and there's no good reason to: just use one per level, and if you need to switch two or more WaterSurfaceComponents/SkyComponents out with each other for some reason, just move them to other maps and back.
I guess disabling unwanted WaterSurfaceComponents of non minimalSaveState objects would work too?
That said, we still have the minor problem of not being able to have a different reflection plane for objects at different elevations... Unless we use invisible floor triggers or something to change it dynamically, I think we just have to avoid such map design.
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
Posted: Sun Jan 08, 2017 2:00 am
by Isaac
AndakRainor wrote:...we still have the minor problem of not being able to have a different reflection plane for objects at different elevations... Unless we use invisible floor triggers or something to change it dynamically, I think we just have to avoid such map design.
What about using an elevation check for the party to dynamically choose?
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
Posted: Sun Jan 08, 2017 2:00 am
by minmay
AndakRainor wrote:That said, we still have the minor problem of not being able to have a different reflection plane for objects at different elevations... Unless we use invisible floor triggers or something to change it dynamically, I think we just have to avoid such map design.
I doubt it would be worth the performance cost anyway. Reflection works by rendering the scene again, if you have two reflection planes you'd need to render it three times total instead of two...
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
Posted: Fri Jan 27, 2017 5:03 pm
by AndakRainor
So I am currently redecorating my volcanic island with your tile set. I see you don't have exits objects in it, is there a reason for it? I will need it so I'll start with a retextured forest tunnel and see if it looks good...
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
Posted: Fri Jan 27, 2017 6:02 pm
by zimberzimber
AndakRainor wrote:So I am currently redecorating my volcanic island with your tile set. I see you don't have exits objects in it, is there a reason for it? I will need it so I'll start with a retextured forest tunnel and see if it looks good...
Oh, I probably forgot about it when overriding materials for all the beach rock objects. And since I don't use it on the map (because I have a transition from caves to volcanic) I forgot about it entirely

But yeah, the solution would be taking an underwater forest exit and overriding materials for it.
Will add an exit, stairs up/down, and a volcanic cave in the next version. (Nothing special, just more retextures probably)
Also, a spoiler for next version

Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
Posted: Fri Jan 27, 2017 6:34 pm
by AndakRainor
Simply amazing idea
Could it be possible to do the same for insectoids since we have insect monsters models available too?
(Minotaurs and humans would be more difficult to make)