Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Captain Louie
retired moderator
Original Poster
#1 Old 29th Apr 2009 at 3:18 AM Last edited by QBUILDERZ : 30th Apr 2009 at 9:38 PM.
Default Roof Pitch Adjuster
Hey Mootilda! I have loved your stuff for quite some time now, but I have a suggestion / idea that -probably- won't work, but would be nice to know if it would/wouldn't anyway. But, as you probably know, since night life we have been able to adjust roof slope with cheats, and in M&Gs maxis finally addressed this by giving us the angle chooser. But, anyway, my idea was, would it be at all possible to try and use this idea of changing roof heights for Uni and Basegame?

Now streaming on at Twitch.tv/SeveralNerds or UglyHoesConnect.com - whichever is easier for you to type in your browser.
Advertisement
Site Helper
#2 Old 29th Apr 2009 at 5:15 AM
I haven't looked into the roof structures at all, so I don't know off-hand whether this is possible or not. However, it's an interesting idea.
Site Helper
#3 Old 30th Apr 2009 at 5:25 PM
I think that it would be helpful if you changed the title to something about what the tool does; perhaps "Roof Angle Chooser"?
Captain Louie
retired moderator
Original Poster
#4 Old 30th Apr 2009 at 9:39 PM
No problem :p

Now streaming on at Twitch.tv/SeveralNerds or UglyHoesConnect.com - whichever is easier for you to type in your browser.
Blenderized to Pieces
retired moderator
#5 Old 7th May 2009 at 7:29 PM
The game allows you to change the roof slope for gable, shed, etc. roof. However, the fixed cone pieces are not adjustable. It would be great if we could crack the height problems/slopes on those.
Site Helper
#6 Old 8th May 2009 at 12:29 AM Last edited by Mootilda : 9th May 2009 at 10:35 PM.
The roof structure is pretty simple:
http://www.sims2wiki.info/wiki.php?title=ROOF

The X, Y, and Z (level) values for two opposite corners of the roof, plus 5 unknown values. It shouldn't take too much modding to figure out what all of the unknown values are.

The first unknown value is likely the roof type. The two end values, which are conditional upon the version number, are likely something to do with the roof slopes, since this feature was added in later versions of the game. If I'm correct, then there may be no way to set the roof pitch in the base game.

My guess is that the fixed roof pieces are not roofs, per se, but objects. If so, changing the height and slope of those "roof" pieces would involve creating new meshes, just as you would for any object.

[Update:]
A couple of quick tests found Roof Style (hip, gable, ...), Pattern (red, brown, blue, ...) and Pitch. There are still a couple of fields that I'm not sure about.

So, it looks like it is impossible to change the roof pitch unless the game handles version = 1 of this record. I'll have to check whether the base game can handle this version.
Test Subject
#7 Old 9th May 2009 at 8:46 PM
Quote: Originally posted by Mootilda
[Update:]
A couple of quick tests found Roof Style (hip, gable, ...), Pattern (red, brown, blue, ...) and Pitch. There are still a couple of fields that I'm not sure about.

So, it looks like it is impossible to change the roof pitch unless the game handles version = 2 of this record. I'll have to check whether the base game can handle this version.


Is it possible that the remaining values have something to do with pagoda roofs? I know the depth of the eaves is adjustable.
Site Helper
#8 Old 9th May 2009 at 10:35 PM Last edited by Mootilda : 9th May 2009 at 10:52 PM.
One of the fields is version 2 and later. I believe that version 2 appeared in Pets. The other has been there since the base game. When did pagoda roofs appear?

Is the depth of the eaves adjustable by something other than 1 tile increments? If not, then it may just be a different x, y coordinate.
Test Subject
#9 Old 10th May 2009 at 12:05 AM Last edited by snowmoon2001 : 10th May 2009 at 7:49 PM.
Quote: Originally posted by Mootilda
One of the fields is version 2 and later. I believe that version 2 appeared in Pets. The other has been there since the base game. When did pagoda roofs appear?

Is the depth of the eaves adjustable by something other than 1 tile increments? If not, then it may just be a different x, y coordinate.


Pagoda roofs came with BV. It's been a while since I built with them, but they're adjustable through a cheat which takes a decimal argument, and I think I recall using a fraction of a tile. I can double-check for you tomorrow.

ETA: The eaves can be adjusted to fractions of a tile. I tested up to 3.0, which is all I would practically use. Some fractions seem to be invalid (eave is set to the nearest whole tile) and others result in undesirable effects but the game doesn't throw any errors attempting to execute the instruction.

In case you want to investigate further, the x and y eave depth is independently adjustable, however I haven't had any luck setting different values for different roof segments. Like the old roofslope cheat, one x,y value pair rules for all pagoda roofs on the lot.

The relevant cheats are as follows:
floatprop pagodaEaveX
floatprop pagodaEaveY
Mad Poster
#10 Old 2nd Jun 2009 at 5:46 AM
Related thread linkage for roof-products modding:

lot files
http://www.sims2wiki.info/wiki.php?title=ROOF
http://www.sims2wiki.info/wiki.php?title=3ARY
http://www.sims2wiki.info/wiki.php?title=WGRA

attic wall
Modding InfoCenter - Partitions: walls, fences, fence arches
http://www.modthesims2.com/showthread.php?t=106473

shaders
http://www.sims2wiki.info/wiki.php?...Talk:ShaderRoof
http://www.sims2wiki.info/wiki.php?...Talk:ShaderWall
http://www.sims2wiki.info/wiki.php?...lk:ShaderWallPS

threads
Mod the Sims 2 > Modding and Creation > Sims 2 Creation > Modding Discussion > Research & Development
Roofs > Roofs - Engine-Generated Geometry (Maxis Roofs)
http://www.modthesims.info/showthread.php?t=318988
Mod the Sims 2 > Modding and Creation > Sims 2 Creation > Modding Discussion > Research & Development > modding - roof - material shader modded at the roof top texture definition
http://www.modthesims2.com/showthread.php?t=192699
Mod the Sims 2 > Social > Social Groups > Moo Tools > Roof Pitch Adjuster
http://www.modthesims.info/showthread.php?t=328329
Mod The Sims > Modding and Creation > Sims 2 Creation > Modding Discussion > How Do I Change The Defoult Roof Colors?
http://www.modthesims.info/showthread.php?t=225532

tutorials
Recolouring Roofs with Object Workshop (NEW Tutorial)
http://www.modthesims.info/showthread.php?t=103082
Site Helper
#11 Old 2nd Mar 2011 at 3:53 PM
Just a note: this still might be a useful tool. Nightlife allows you to change the slope of all roofs on the lot at once. However, internally, each roof section has a slope value. Therefore, this tool could be used to adjust the slope of individual roof sections from Nightlife on.
 
Back to top