Roofs - Engine-Generated Geometry (Maxis Roofs)
Quote: Originally posted by J. M. Pescado
As far as I can tell, roof behavior is hardcoded
|
resonated here, too
Quote: Originally posted by J. M. Pescado
The most annoying thing about roofs is the way it pointlessly demands you to move EVERY SINGLE OBJECT ON THE FLOOR just so you can then put them all back afterwards, even if move_objects is on.
|
One has to finish the roof-tool-based roof before the placement of objects and modular/connecting stairs.
SimArchitect,
May join Mod the Sims 2 > Social > Social Groups > Moo Tools
May check out Roof Pitch Adjuster
"hardcoded" here likely means codes implemented in the "exe", "dll" or else files. I personally believe such modding is not the goal of this site. :rolleye:
Thus, not much can be done about certain hardcoded
roof components here.
The followering is just a generally known roadmap for infos pertaining to TS2 roof.
It seems to me that the roof' are composed of the followings (please keep in mind, some of the followerings are speculations based on what i've known):
1. the roof meshes (not counting the attic walls or other roof components):
It's believed that the roofs have their own hard-coded equations for assigning/computing temporary vertex for graphical presentation based on some sets of x and y coordinates and other parameters recorded in a lot, given what's found in the AB9406AA roof file in a given saved-at-least-once lot package file. The same file apparently holds other data like the roof pattern (eg. the roof recolours), the roof style (eg. cone, octagon),. roof pitch; angle of slope.
It assumed that there're some modular components as well as the non-modular components (esp. those with odd shapes or the edgy ones.)
wiki source:
http://www.sims2wiki.info/wiki.php?title=ROOF
We may be able to change the roof pitch, roof angle, x and ycoordinates, and afew more features of built roof-tool-based roofs in lot package files.
2. the roof recolours for roof pattern:
Basically it's a set of some graphical elements, as texture files and their reference files to the game engine, for the roof. We can add in customly made roof recolours.
3. the roof shader file:
This file has several shaders responsible to various graphical states and presentation of roofs:
a. roof-structures: the roof top, RoofUnder, RoofTrim (as seen in roof recolours, coz these shaders decide how those textures are drawn in-game)
roof shader modding:
http://www.modthesims2.com/showthread.php?t=192699
b. the roof preview materials
c. the roof bump mapping
d. various snowed roof states
e. misc. like highlight or else
http://www.sims2wiki.info/wiki.php?...Talk:ShaderRoof
We can alter how the roof are drawn out in-game.
4. the attic wall
This is actually a special type of the general walls. Many of its special definitive properties related to the build tools are enlisted in the
wall.txt
Partitions:
Modding
InfoCenter - Partitions: walls, fences, fence arches
http://www.modthesims2.com/showthread.php?t=106473
Wall and WAllPS shaders accounts for the graphical states and components (including but not limited to wallpaper, wallpaer bumpping, etc) for all walls in-game including attic walls.
http://www.sims2wiki.info/wiki.php?...Talk:ShaderWall
http://www.sims2wiki.info/wiki.php?...lk:ShaderWallPS
We can alter some wall properties of attic walls and their graphical presentations.
5. 3D arrays (2A51171B) Instances ID 0x09, 0x0A, or 0x0B, has some related values to closed-rooms done by roof-tool-based roofs
http://www.sims2wiki.info/wiki.php?title=3ARY
We may alter the light, load, and place properties of roof rooms.
6. WGRA files can have specific pattern(s) of data and values for attic wall
http://www.sims2wiki.info/wiki.php?title=WGRA
We may alter the locations of attic walls or even somedays switch it to other wall types relatively safely.
7. There may still be something not stated in this list.
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