Mafia Scene - Mafia I & II Game Fan Site

Modders Corner => Mafia Editing => Mod Help => Topic started by: vapno92 on May 01, 2012, 02:54:53 PM

Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 02:54:53 PM
Hi guys! I'd like to ask, how do I edit load.def? I'm already working on my modification, where you are able to visit game locations. And a second question, is it possible to define used sky files or sky style?
Title: Editing load.def and sky textures?
Post by: Samo on May 01, 2012, 03:23:02 PM
define you mean change the sky?Yes it is.In most scenes the skybox is called in file called "zapad".All you need to do is change that model best in DCED on the sky you need.
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 04:16:24 PM
Thank You  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">  And what about that load.def file? I tried every .def editor and nothing works  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: Samo on May 01, 2012, 04:24:14 PM
What do you mean "load.def"?




Specify it  <img src="/wp-content/uploads/invision_emoticons/tongue.png" alt="(//tongue.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/tongue@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 04:43:37 PM
Information about loading screens are stored in tables/load.def file. I'd like to assign loading screens to my missions. I'm sure I already saw a mod, that have it's own mission folders and edit load.def, so it must be an abilitty to edit it  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: Samo on May 01, 2012, 04:50:18 PM
Never heard about it.




Ive created manually cutscenes in scene2.bin by scripting.




And i know that cutscenes are started from a script in missions.But we are not able to edit records.




Only options for cutscenes ive got on mind is to create one manually or start an existing one.
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 04:54:37 PM
Yeah, there are still lots of things, that aren't editable yet  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">




If anyone knows how to modify load.def, please tell me.
Title: Editing load.def and sky textures?
Post by: Samo on May 01, 2012, 04:58:00 PM
I see it as a text file.So you can edit it with notepad  <img src="/wp-content/uploads/invision_emoticons/biggrin.png" alt="(//bigsmile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x" width="20" height="20">  .




But we have no acces to some things since we dont have the original SDK.So things such as cutscenes are not completely editable.
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 06:53:15 PM
That would be great  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: Cole Phelps on May 01, 2012, 07:49:26 PM
I uploaded one, but it is still awaiting approval.


 




But now, here it is http] (//downloads/viewdownload/4-mafia-tools/50-mafia-def-editor)
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 07:55:49 PM
This one works only for textdb files  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: Cole Phelps on May 01, 2012, 08:01:27 PM
And about the sky, you must find which texture (from MAPS folder) is related to colour of the sky.


 




I think that this will help you http://depositfiles.com/files/mz0eqzi5x (http://depositfiles.com/files/mz0eqzi5x)
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 08:02:54 PM
I already know it  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">  But I'm trying to make a mod without corrupting original game files.
Title: Editing load.def and sky textures?
Post by: Cole Phelps on May 01, 2012, 08:16:02 PM
I know but you can install it in another location (e.g. Desktop) and check which file represents which sky.
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 08:31:03 PM
After searching deep in my hard drive, I found scene2.bin research documents. There are skies used in game, hope it will be usefull for somebody too  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">


 




o_m_8.4ds    Freeride




denjasno2.4ds    Freeride - Country




denjasno1.4ds    Mission 6




denjasno3.4ds    Mission 19.2




noczatazeno1.4ds Night




emeth.4ds    Mission 18




zapad1.4ds    Mission 2




o_m03.4ds    Mission 3




O_m___2.4ds    Mission 7




o_m_7a.4ds    Mission 7.2




o_m_10.4ds    Mission 10




o_m_12.4ds    Mission 12




o_m_13.4ds    Mission 13




o_m_14.4ds    Mission 14




o_m_16.4ds    Mission 16




o_m_17.4ds    Mission 17




o_m_19.4ds    Mission 19




O_m___.4ds    Mission 20




O_m___1.4ds    unused
Title: Editing load.def and sky textures?
Post by: Cole Phelps on May 01, 2012, 08:40:54 PM
What is 'noczatazeno1' ?
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 08:45:42 PM
It's not good visible in my post. Noczatazeno is Noc-ZataÃâ¦Ã¾eno in czech, which means Nigh-Cloudy in english.
Title: Editing load.def and sky textures?
Post by: Cole Phelps on May 01, 2012, 08:51:31 PM
Oh, I didn't know that you know Czech, Darren  <img src="/wp-content/uploads/invision_emoticons/tongue.png" alt="(//tongue.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/tongue@2x.png 2x" width="20" height="20">


 




Thanks for translating  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 09:04:12 PM
Cole: Thanks for uploading MLoadEditor for me again! This is exactly what I was looking for  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: Cole Phelps on May 01, 2012, 09:08:04 PM
Good editing, then  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">  I hope it will take some effects in your modding  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 09:11:01 PM
Yeah, it will be very usefull  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">  Anyway, I've got so much work to do, I don't have even name for my modification  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: Cole Phelps on May 01, 2012, 09:18:03 PM
Maybe that from your signature - Mafia Free Access Mod ?  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 09:46:58 PM
Yeah it would be great, I think  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">




I already saw at least two similiar modifications, but first one was just loading story missions and the second one was CityBars. Citybars is very good, but locations was like without life, abandoned... And there weren't all storyline locations, I want to add all game locations including that one little piece of Empire Bay  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: Cole Phelps on May 01, 2012, 09:55:39 PM
Quoteone little piece of Empire Bay

 




You mean that house where Tommy used to live after the trial ?  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 10:06:28 PM
Yeah, exactly that one little peace of steet in Empire bay. I think it will be interesting for somebody to go and walk around there.
Title: Editing load.def and sky textures?
Post by: Cole Phelps on May 01, 2012, 10:17:11 PM
Like this


 









<div></div>
Title: Editing load.def and sky textures?
Post by: vapno92 on May 01, 2012, 10:20:59 PM
Interesting video  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">  Something like that, I'll add some person, scripts. Like I said, I have much work to do.
Title: Editing load.def and sky textures?
Post by: Cole Phelps on May 01, 2012, 10:26:14 PM
That was made by Asa  :cool: