FAQFAQ    Board RulesBoard Rules    SearchSearch    LotteryLottery    RouletteRoulette    UsergroupsUsergroups
     RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Shop    Log inLog in 
View posts since last visit View your posts View unanswered posts

Mafia 1 - change the sky texture in a single misssion?

 
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Modding
View previous topic :: View next topic  
Author Message
falkvard

New Member
New Member


Joined: 04 Nov 2017
Posts: 4

21 Bank Notes
Items

PostPosted: Fri Nov 10, 2017 12:22 pm    Post subject: Mafia 1 - change the sky texture in a single misssion? Reply with quote

Hello Mafia 1 modders and fans. First off Im wondering if people still play and mod this game? This site and many modders' YT channels and webpages went kind of silent since 2015.

Anyway, to my question - I know you can change the texture by replacing it in the "maps" directory, but that changes it for all the missions that use it. What I would like to do is to change the texture which an individual mission loads.
In the tutorial mission, there is this "back" entity. If you play with it, changing colors and brightness, the sky changes accordingly. But I was not able to find the path to the texture in order to change it.
Any ideas?
Back to top
View user's profile Send private message
T3mas1

Junior Member
Junior Member


Joined: 11 Jul 2015
Posts: 86
Location: Czech Republic
193 Bank Notes
Items

PostPosted: Fri Nov 10, 2017 7:20 pm    Post subject: Mafia 1 - change the sky texture in a single misssion? Reply with quote

You need to find the sky box frame (that is a model) in the mission. Just check all the frames in MWE - delete every frame till you reach the point when the sky disappears, take one step back (I believe that is not possible in MWE, so remember the position of the frame in the list or something) and remember the name of the frame, overload the mission and find the sky box frame and edit its properties, the model it uses in particular (rename it) - you can choose any skybox you want. You can find the names of skyboxes in one russian props shower kind of program which you must have come across if you have been modding Mafia for a longer time, dunno what it is called nomore.
Back to top
View user's profile Send private message
AsaSK

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 24 Feb 2013
Posts: 619
Location: London, England
9830 Bank Notes
Items

PostPosted: Sat Nov 11, 2017 12:08 am    Post subject: Mafia 1 - change the sky texture in a single misssion? Reply with quote

In DC||ED, you can look at the Objects>Model Objects dropdown menu and the skybox model is usually named something like 'denjasmo', 'zapad' or 'o_m_xxxxxx' (or 'nocazetno' if it's the nighttime skybox).
_________________

The official Mafioso Mod thread

Last edited by AsaSK on Wed Nov 15, 2017 8:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
falkvard

New Member
New Member


Joined: 04 Nov 2017
Posts: 4

21 Bank Notes
Items

PostPosted: Sat Nov 11, 2017 8:35 am    Post subject: Mafia 1 - change the sky texture in a single misssion? Reply with quote

wow, thank you for the quick replies. Both are very useful.
Back to top
View user's profile Send private message
ASM.

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 10 Jan 2014
Posts: 116

263 Bank Notes
Items

PostPosted: Sun Nov 19, 2017 4:05 pm    Post subject: Re: Mafia 1 - change the sky texture in a single misssion? Reply with quote

T3mas1 wrote:

Just check all the frames in MWE - delete every frame till you reach the point when the sky disappears, take one step back (I believe that is not possible in MWE, so remember the position of the frame in the list or something) and remember the name of the frame, overload the mission and find the sky box frame and edit its properties, the model it uses in particular (rename it) - you can choose any skybox you want.

Actually you don't need to delete frames. Frames selected from the frame list are rendered accordingly in the scene view so you just need to iterate the list and stop once the desired object (i.e. the skybox in this case) turns up red in the scene view.

That being said I have to admit that selection of Backdrop sector objects is not particularly well solved in MWE. Crying
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Modding All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Generation Time: 0.019 | Queries: 19