Page 249 of 396

Re: Ask a simple question, get a simple answer

Posted: Mon Jul 16, 2018 9:12 pm
by THOM
So - this doesn't work:

Code: Select all

self:setParam("clouds2Map", "assets/textures/env/sky_cloudy_rim_2.tga")
Because the engine expects as the second parameter a number, not a string...

Re: Ask a simple question, get a simple answer

Posted: Mon Jul 16, 2018 9:15 pm
by minmay
You need to use setTexture(), not setParam().

Re: Ask a simple question, get a simple answer

Posted: Thu Jul 19, 2018 2:33 pm
by Pompidom
I have started to build a big cathedral/church thingie.
Now I noticed when making big rooms there is a black wall after 7 squares where everything including lights simply disappears in a black hole.
Any way to increase viewing distance in indoor maps without adding a sky object?

https://ibb.co/nGT5zJ 7 squares from the wall
https://ibb.co/dotPRy 8 squares from the wall

So far the only work around I have found is to add a sky object with all components disabled except the sky.
This works, there is no daylight since the light component is disabled, however this causes much stress on performance since visibility is maxed out.
And depending on the time of day the room looks different or foggy or red in case it's evening time and blueish during night time.

https://ibb.co/cW15Yd

Re: Ask a simple question, get a simple answer

Posted: Thu Jul 19, 2018 4:09 pm
by kelly1111
viewtopic.php?f=22&t=7998#p80940

this will solve the problem I think

Re: Ask a simple question, get a simple answer

Posted: Thu Jul 19, 2018 4:42 pm
by Pompidom
Sadly, it doesn't, the draw distance is still locked at 7 squares :(

For now it works with a partially disabled sky object and it looks okayish.
I'll see what i can do to improve things after I have finished the roof.

https://ibb.co/hBNPby

Re: Ask a simple question, get a simple answer

Posted: Thu Jul 19, 2018 7:41 pm
by minmay
I go over how to deal with the default far clip in this post.

Re: Ask a simple question, get a simple answer

Posted: Sat Jul 21, 2018 3:23 pm
by Pompidom
Definitely will give this a try. Thank you :)

I started reading through this entire topic to search for possible stuff I can use but fell asleep after 50 pages. One day I will find hopefully find the time to read through it all.

Since my mod is demon hell spawn oriented in certain maps, I started to make a demon kitchen where human corpses lay on tables and placing furnaces on which meat food items are being grilled, a blood bath that contains all drained blood spawning blood demons and that sort of things. It's already in demo 0.02.

Log1 has corpses on a vertical spike. Are there any custom assets like that out there that are usable for this setting? I'm also looking for a big mirror to walk through in an upside down dimension.

Re: Ask a simple question, get a simple answer

Posted: Tue Jul 24, 2018 12:15 pm
by kelly1111
Can someone tell me how to get hudprinted text in a different color?
How do I script that?

Re: Ask a simple question, get a simple answer

Posted: Tue Jul 24, 2018 3:50 pm
by Pompidom
You asked this question back a year ago. The answer was no. :lol:

Re: Ask a simple question, get a simple answer

Posted: Tue Jul 24, 2018 4:46 pm
by kelly1111
I tend to do that :shock:
Its 32 degrees in here and I am toast.

Next time ill check my own historical questions first