[ASSETS] Zimber's Assets v1.10 [vampire/archer + Goodbye]
- zimberzimber
- Posts: 432
- Joined: Fri Feb 08, 2013 8:06 pm
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
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)
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)
My asset pack [v1.10]
Features a bit of everything!
Features a bit of everything!
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
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!]
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.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
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.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.
(Maps are blank in the preview if disabled, but scripts on those maps are unavailable, and can stop the game.)
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
I guess disabling unwanted WaterSurfaceComponents of non minimalSaveState objects would work too?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.
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!]
What about using an elevation check for the party to dynamically choose?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.
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
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...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.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
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...
- zimberzimber
- Posts: 432
- Joined: Fri Feb 08, 2013 8:06 pm
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
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 entirelyAndakRainor 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...
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
My asset pack [v1.10]
Features a bit of everything!
Features a bit of everything!
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: [ASSETS] Zimber's Assets v1.9 [Flute!]
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)
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)