Mafia Scene - Mafia I & II Game Fan Site

Modders Corner => Mafia Editing => Mafia mods => Topic started by: -EvilRed- on October 23, 2011, 12:22:09 PM

Title: Question.
Post by: -EvilRed- on October 23, 2011, 12:22:09 PM
Hello folks, i have a little question about modding mafia, see, im like building this new gasstation, everythings fine, the gasstation is there like its supposed to, but theres only one little problem, the collision stuff from the last gas station is still there and theres like invisible poles.




So my question is simple, is it possible to change the collision thingys, so that i can collide with the gasstation i made, not the one that used to be there.


 




Thanks,


 


 


 




-EvilRed
Title: Question.
Post by: AsaSK on October 23, 2011, 06:16:02 PM
You need to download ASM's Mafia World Editor and press Shift + C to show collisions.




Then just delete them after you'd selected them  <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">


 




http] (//2aehifsv)
Title: Question.
Post by: Matteo on October 23, 2011, 06:48:32 PM
The Shift + C has never worked for me on ASM's world editor. Maybe because I have a 64 bit machine, but I can press shift +c all day and i get nothingÃâà so I useÃâà my more laborious method using TreeRe_Lite)eng (download here) (http://www.mediafire.com/download.php?wym2b8oqdt5mhwq:33hw68ys) or it may be on this sites downloads as well.Ãâà I am sure there are better tools, techniques, whatnot for doing this, but I am just a cheeseburger modder, and this works.


 




Here is the way I do it.


 


 




Step One Determine the location of the collison with Capone, Mafia Con or what ever tool you are using.




(Side note there is a way to do this with mafia con by itself, but I never save freeride with mafiaÃâà con, because it's glitchy and saves things in a way I can never put back)




(//www.sierra-valley.com/images/col1.jpg&key=9ab14e4fd0a1680797878fa05fc4d886deca1b2f5af8450762927cb059df2fc1)


 


 


 


 




Step 2




(//www.sierra-valley.com/images/col2.jpg&key=ff23ddd3623fd4978dc26495dfd9a9a2a0bb33547e41a2758cb4135546040883)




Using Tree Re_ LiteÃâà search the location for collisions and remove the collisions that you want gone.




Always back up the tree.klz you are working on and you could remove something, like the ground and not be able to get it back. Also never close, or look in other locations until you are satisfied that you have it the way you want it, as once you change search parameters, you cannot restore an undone collision The red zero clears a collision the green arrow restores it


 




This is a hunt search test and redo scenario as you can see the collisions are not marked


 




Usually what you are looking to change is in the cube or plane sections....only rarely in the 4ds.Ãâà Trees Columns and Stuff like boxes are usually in the rotational cube section. In this case the rotationals are probably the gas pumps


 




you will probably have to hunt around the location trying new locations to get all the collisions


 


 


 




Step 3


 




Add collisions, again there are many ways to do this, I favor braingibs invisible wall technique because I favor bscriptview4 and capone (for location) as my favorite modding tools


 




You'll have to download some invisible wall models, here is a small file with a wall and a floor download invisible wall sections (http://www.mediafire.com/download.php?d3t32s2j2toszmv:33hw68ys)




The picture below shows my flowershop/gambling hall missionÃâà the plain tan walls are the invisible wall section (one is highlighted in red) they are invisible in game. The walls are completely sizeable into cube shapes or whatever.....note if you make the too big the ends of the collisions get mushy, so keep them at or under 8 x 8 x 8Ãâà and use several if you have to.


 




(//www.sierra-valley.com/images/col3.jpg&key=c8a9f7ad7f69b7025bac6a1d20650ca223880bf1b117152ef20cfed8b3ec47aa)
Title: Question.
Post by: -EvilRed- on October 23, 2011, 07:17:28 PM
Thanks for your replys, Asa the Shift + C doesnt seem to work , im running windows 7 32bit




And Matteo, i downloaded the Tree_Lite, but when i try to run it i get "Component̫̉MSCOMCTL.OCX̫̉ or one of its dependencies not correctly registered: a file is missing or invalid"
 Maybe i exctraced it to the wrong place or something or something is missing.


 




EDIT: Ran the TreeRE in windows xp compability mode, works  <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: Question.
Post by: AsaSK on October 23, 2011, 08:15:43 PM
Did you start up the program and load the mission?  <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: Question.
Post by: -EvilRed- on October 23, 2011, 08:19:19 PM
I managed to get the world editor collison thingy also working, it wasnt working if i executed it from editor.exe, but it works in Editor_37.exe




EDIT: BTW, is is possible to add collisons with the World Editor?
Title: Question.
Post by: AsaSK on October 23, 2011, 10:53:14 PM
Sure, just go to Create -> Collision and then choose a type. The first two are only a little bit different but AABB can't be rotated whereas XTOBB can  <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: Question.
Post by: -EvilRed- on October 25, 2011, 07:03:43 PM
Thanks again, im getting a hang of this, but is it possible to move the collisions and things with this programme.And if yes, then how, i just couldnt fiqure that out. And Matteo, thanks for you help also mate
Title: Question.
Post by: AsaSK on October 26, 2011, 11:37:06 AM
To move collisions and models press Ctrl + 3 and drag them.