[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4771: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4773: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4774: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4775: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
Skyline Forums • View topic - Skyline abilities - help pls
Help with your scripting

Skyline abilities - help pls

Skyline abilities - help pls

Postby Robo25 » 23 Sep 2019, 11:35

I just seen Skyline and need to know a few things about it before using - does it:

1. allow changes to weather events during runtime from code - ie not just start and stop storms, but change the parameters of the storm during runtime also from code.

2. access to time of day and able to use that time to link to events in the game

3. able to speed up time with sun rotation etc when needed like sleeping etc

4. does it has an inventory system to use or do you need to code that yourself ?

5. able to separate rain effects from inside or underneath a building ?

Thanks for anyone in advance for answering my questions.
Robo25
Skyline Novice
 
Posts: 3
Joined: 23 Sep 2019, 11:24

Re: Skyline abilities - help pls

Postby SolarPortal » 23 Sep 2019, 11:47

Weather system is one of those things in the works.
however we do have a tod system and use it to turn lights on or off depending on whether its night or day, so the same things could be used to for anything else.

Yes you will be able to speed up the rotation of the sun for passing time etc...

Skyline is currently undergoing a major engine change for v2, but unfortunately it has been delayed due to it only being developed by 2 people in a family run business and currently we have life changing events at home.. this is not to say the engine is no longer being developed, but instead it is just slower.

inventory system is also being developed alongside an entire player code for tp or fp. Its easy enough to make roll your own though.

Thanks for posting and appreciate you coming to the forums. Have a great day! :)



Twitter:
Instagram:
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Skyline abilities - help pls

Postby epsilonion » 26 Sep 2019, 18:00

Skyline Help:

User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Skyline abilities - help pls

Postby Robo25 » 15 Oct 2019, 11:09

sound great thanks.
I'm currently using CopperCube6 and the Skyline weather system looks a lot better (main part of my game).

CopperCube6 only lets you turn weather effects on and off, not adjust anything other than that during runtime so bit limited.
I had to code my own time of day in that but according to what you have shown you already have that setup and linked to weather systems in game. The actual 24 hr time can be found via the functions you mentioned so great..

Last few questions: can the parameters of the weather selected be changed during runtime - ie increase storm ferocity over time or is it also just turn on or off once setup ?
Do you have the ability to adjust separate sound effects volume during runtime ? or is it fixed in game once setup apart from system volume ?

thanks again..
Robo25
Skyline Novice
 
Posts: 3
Joined: 23 Sep 2019, 11:24

Re: Skyline abilities - help pls

Postby epsilonion » 16 Oct 2019, 13:03

Glad I can help, I am on my way out so this will be short (without examples) if you need some I can provide them when I get back in.

Last few questions: can the parameters of the weather selected be changed during runtime - ie increase storm ferocity over time or is it also just turn on or off once setup ?
Do you have the ability to adjust separate sound effects volume during runtime ? or is it fixed in game once setup apart from system volume ?


The weather can be changed at whatever time you like, its controlled by lua like particles for rain can be increased etc.
The volumetric clouds feature is due to make a comeback and when it is back has quite a few options that are accessible via lua also, this makes a huge difference when it comes to overcast or stormy conditions etc because the clouds are rendered below the skybox and looks like there are to layers of cloud (old version) where once moves faster than the other (again you can adjust the multiplier to gain or lose speed) but thats due to make a come back soon I hope.

Sound can be raised via lua so when a storm comes the sounds can be made louder (in your case), this again is all controlled via LUA.

Particle hooks -
in here you can create, delete, increase/decrease emitter speed, particle speed etc etc

Sound hooks -
In here you can create 2D sounds or 3D sounds (one is directional the other plays all around at same volume), increase/decrease volume, set pitch, max distance etc etc.
Skyline Help:

User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative


Return to Lua Scripting

Who is online

Users browsing this forum: No registered users and 6 guests