xmoonproductions.org
https://www.xmoonproductions.org/

Ambient Improvements
https://www.xmoonproductions.org/viewtopic.php?f=6&t=3368
Page 1 of 1

Author:  BubbaGump [ Thu Oct 09, 2014 6:43 am ]
Post subject:  Ambient Improvements

Okay, this is for the ambient parts of the game. Like the televisions, displays, and the pictures on the walls. I would like a way to customize what is on those.

For the television it should use a third party library like libVLC. The license is LGPL and it can play just about any video/music format out there. Instant in game media player. It has modes for providing frames suitable for using as a texture on a surface. I have played with this in other game engines. Also, this could allow for play lists to be played too.

Next is we should be able to change the pictures on the walls or even add slide shows of pictures. For fun you could even have it able to switch to preview/dev shots from your website. So in game we can see cool stuff being added.

Another would be to change textures on objects like the blanket in your house. That would be fun! I think modding would help for this in the future, but in game tweaking of simple things like this would be more immersive.

These simple kind of ambient changes will make the game a LOT more fun. I would love to play some erotic song or movie play list in the background.

You could work this into the game play. Like the Sam could get pissed when you change the video playing in the gym. If you give the option to say, "it is a BDSM video" she might get turned on and get embarrassed, but let you leave it on.

Author:  TheMohawkNinja [ Thu Oct 09, 2014 2:48 pm ]
Post subject:  Re: Ambient Improvements

BubbaGump wrote:
For the television it should use a third party library like libVLC. The license is LGPL and it can play just about any video/music format out there. Instant in game media player. It has modes for providing frames suitable for using as a texture on a surface. I have played with this in other game engines. Also, this could allow for play lists to be played too.


Already able to be done in 3.0. There are code examples on the forum.

BubbaGump wrote:
Next is we should be able to change the pictures on the walls or even add slide shows of pictures. For fun you could even have it able to switch to preview/dev shots from your website. So in game we can see cool stuff being added.


Another would be to change textures on objects like the blanket in your house. That would be fun! I think modding would help for this in the future, but in game tweaking of simple things like this would be more immersive.[/quote]

Probably also easy to change, since it would just be a matter of changing a file path, but I haven't seen any proof of this.

Author:  BubbaGump [ Thu Oct 09, 2014 8:29 pm ]
Post subject:  Re: Ambient Improvements

TheMohawkNinja wrote:
Already able to be done in 3.0. There are code examples on the forum.

Ah, cool. For that particular feature it would be nice if this is like an "in game" player with a dialog to control the playlist. But doing through scripting is fine and if there is enough scripting features then we could make an in game player.

TheMohawkNinja wrote:
Probably also easy to change, since it would just be a matter of changing a file path, but I haven't seen any proof of this.

Yeah, I figured being able to add objects with textures will be a big part of the scripting. I just wanted to ask for it upfront. People love to customize!

Author:  BubbaGump [ Thu Oct 09, 2014 8:40 pm ]
Post subject:  Re: Ambient Improvements

Ooh, that gives me an idea!

Lets say there is a standard object called a "television" you can put in a scene. Now if I script a custom television I would have to add it to every scene I want it in. So what if the scripting code had an override directory that would allow you to specify a replacement for generic objects/scripts. I could then script a playlist dialog for the television object, put it in the override directory and every scene that includes a television would substitute the custom one instead. This feature would also benefit from having a whitelist or blacklist option to control which scenes are updated.

Author:  TheMohawkNinja [ Thu Oct 09, 2014 10:48 pm ]
Post subject:  Re: Ambient Improvements

BubbaGump wrote:
Ooh, that gives me an idea!

Lets say there is a standard object called a "television" you can put in a scene. Now if I script a custom television I would have to add it to every scene I want it in. So what if the scripting code had an override directory that would allow you to specify a replacement for generic objects/scripts. I could then script a playlist dialog for the television object, put it in the override directory and every scene that includes a television would substitute the custom one instead. This feature would also benefit from having a whitelist or blacklist option to control which scenes are updated.


I don't think you will be able to added functions to the scripting library (which is the technical way of describing what you want). It would be a neat idea, but that would probably require knowledge of C++, and not just the scripting language.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/