Difference between pages "Template:Navbox/Transport" and "Tutorial:Modelling for Networks"

From SC4D Encyclopaedia
< Template:Navbox(Difference between pages)
Jump to navigation Jump to search
sc4e>Jdenm8
(Ordered Port and Airport rows by capacity and not alphabetically.)
 
sc4e>Warrior
(Not really to do with the NAM mod, more about transit networks)
 
Line 1: Line 1:
{{Navbox
+
{{wikify}}
| title = [[:Category:Transport Buildings|Transport]]
+
 
| name = navbox/Transport
+
<span>Modeling pieces for the transit networks in SC4 is, in many regards, a completely different process than modeling buildings, and has more in common with automata modeling.  The models have to be designed and exported following very specific guidelines, which need to be followed carefully, or else the model will be completely unusable for transit purposes.  So, in order to help those out who are interested in making models for transit networks, I have listed the four most basic requirements below.  They apply to all transit models except bridge pieces.  See [[Bridge Modeling Tutorial]] for the correct specifications for bridges.</span>
| image = '''Transport Department''' [[Image:Jamil Herd.png]] [[Jamil Herd]]
+
 
| state = {{{state}}}
+
== The basic structure of transit models ==
| group1 = [[Transit Networks]]
+
<span>'''The model must consist of a series of segments, fitting within a 16 meter by 16 meter square frame (equivalent to 1 SC4 Tile).'''</span>
| list1 = [[Transit Network#Streets|Street]] • [[Transit Network#Roads|Road]] • [[Transit Network#One Way Roads|One Way Road]] • [[Transit Network#Avenue|Avenue]] • [[Transit Network#Elevated Highway|Elevated Highway]] • [[Transit Network#Ground Highway|Ground Highway]] • [[Transit Network#Real Highway|RHW]] • [[Rail]] • [[Subway]] • [[Elevated Rail]] • [[Monorail]]
+
<span>For models covering more than one tile (puzzle pieces/interchanges), the game will reassemble these segments into the full model through the use of a specific IID scheme and appropriate entries in the IntersectionOrdering RUL (RUL 0x10000000). Each segment will need to be rendered/exported on its own (without the other pieces present), centered at the "zero point" (x=0, y=0, otherwise the piece will be offset and cannot be pathed properly).  This is perhaps the most important initial guideline to follow, as if it is not adhered to, the model will be unusable and in order to make it usable, you will have to split the model up after the fact, which can be an extremely time-consuming process.</span>
| group2 = [[:Category:Road Buildings|Road Buildings]]
+
 
| list2 = <dpl>category=Road Buildings
+
== Size Restrictions ==
shownamespace=true
+
<span>'''The overall model (with all segments combined) can be no larger than 16 SC4 tiles by 16 SC4 Tiles.'''</span>
mode=inline
+
<span>This is a limitation of RUL 0x10000000.  Anything larger will need to be split into multiple pieces.</span>
inlinetext={{*}}
+
 
skipthispage = no
+
== True 3-Dimensional Export ==
</dpl>
+
<span>'''The model must be rendered/exported in True 3D.'''</span>  
| group3 = [[:Category:Rail Buildings|Rail Buildings]]
+
<span>As you may know, the standard BAT export procedure reduces the model to a series of isometric faces, which are assembled in composite by the game to form the building/prop/etc.  However, the game does not handle transit models in the same manner, and when exported as per the normal BAT process, they will look correct from one angle, but will look incorrect from any others.  There are two methods to get around this:</span>  
| list3 = <dpl>category=Rail Buildings
+
 
shownamespace=true
+
<span>a) Temporarily replace the BuildingMill.ms script (for gmax, this will be found in your gmax\gamepacks\BAT\scripts folder) with the modified one, which will force the BAT to export in True 3D instead of isometric composites. 
mode=inline
+
b) Export the model as a .3ds mesh file, which can be directly imported into the Reader, skipping the rendering process altogether.  This is more difficult to do with Gmax (since it cannot export this format), but it is possible from 3DS Max, Milkshape3D or from the free, open-source program [http://www.blender.org Blender].
inlinetext={{*}}
+
 
skipthispage = no
+
== Polygon Count Limit ==
</dpl>
+
<span>'''The model must have fewer than 500-600 polygons.'''</span>
| group4 = [[:Category:Light Rail Buildings|Light Rail Buildings]]
+
True 3D models are actually higher in poly count upon arriving in game than standard BAT models, as they haven't been reduced to isometric faces, and thus, are more taxing on the game and system resources.  If this limit is exceeded, pieces of the model will disappear when it is placed in game, or, in some cases, the game can crash outright.  Thus, the model needs to be as simple as possible--Planes are the preferred basic objects to use when creating transit models, as they will hide unnecessary faces.</span>  
| list4 = <dpl>category=Light Rail Buildings
+
 
shownamespace=true
+
<span>If there's something extra that you really just have to have on the model, it can be rendered separately through the standard BAT process (remember to switch back to your old BuildingMill.ms file beforehand), turned into a Prop and added to the piece via Type21 (T21) Exemplar.</span>  
mode=inline
+
 
inlinetext={{*}}
+
== Ground-Level Models ==
skipthispage = no
+
Models for ground-level puzzle pieces are actually produced directly in the Reader (with the Vert tab) and not in the BAT, and consist of nothing but a 4-polygon flat plane with textures applied to them.  All 3-dimensional detail for ground-level puzzle pieces is best added through T21 Exemplar.</span>
</dpl>
+
 
| group5 = [[:Category:Monorail Buildings|Monorail Buildings]]
+
[[Category:Transit Networks]]
| list5 = <dpl>category=Monorail Buildings
 
shownamespace=true
 
mode=inline
 
inlinetext={{*}}
 
skipthispage = no
 
</dpl>
 
| group6 = [[:Category:Ferry Buildings|Ferry Buildings]]
 
| list6 = <dpl>category=Ferry Buildings
 
shownamespace=true
 
mode=inline
 
inlinetext={{*}}
 
skipthispage = no
 
</dpl>
 
| group7 = [[:Category:Port Buildings|Port Buildings]]
 
| list7 = [[Port (Unimplemented)]] • [[Major Port (Unimplemented)]] • [[Seaport]]
 
| group8 = [[:Category:Airport Buildings|Arport Buildings]]
 
| list8 = [[Small Landing Strip]] {{*}} [[Medium Landing Strip]] {{*}} [[Large Landing Strip]] {{*}} [[Small Municipal Airport]] {{*}} [[Medium Municipal Airport]] {{*}} [[Large Municipal Airport]] {{*}} [[Small International Airport]] {{*}} [[Medium International Airport]] {{*}} [[Large International Airport]]
 
| group9 = [[:Category:Network Elements|Network Elements]]
 
| list9 = [[Puzzle Piece]] • [[Bridges]]
 
| group10 = Other Maxis Buildings
 
| list10 = <dpl>category=Maxis Building Sets
 
shownamespace=false
 
mode=inline
 
inlinetext={{*}}
 
skipthispage = no
 
</dpl>
 
}}
 

Revision as of 23:28, 30 August 2008

Modeling pieces for the transit networks in SC4 is, in many regards, a completely different process than modeling buildings, and has more in common with automata modeling. The models have to be designed and exported following very specific guidelines, which need to be followed carefully, or else the model will be completely unusable for transit purposes. So, in order to help those out who are interested in making models for transit networks, I have listed the four most basic requirements below. They apply to all transit models except bridge pieces. See Bridge Modeling Tutorial for the correct specifications for bridges.

The basic structure of transit models

The model must consist of a series of segments, fitting within a 16 meter by 16 meter square frame (equivalent to 1 SC4 Tile). For models covering more than one tile (puzzle pieces/interchanges), the game will reassemble these segments into the full model through the use of a specific IID scheme and appropriate entries in the IntersectionOrdering RUL (RUL 0x10000000). Each segment will need to be rendered/exported on its own (without the other pieces present), centered at the "zero point" (x=0, y=0, otherwise the piece will be offset and cannot be pathed properly). This is perhaps the most important initial guideline to follow, as if it is not adhered to, the model will be unusable and in order to make it usable, you will have to split the model up after the fact, which can be an extremely time-consuming process.

Size Restrictions

The overall model (with all segments combined) can be no larger than 16 SC4 tiles by 16 SC4 Tiles. This is a limitation of RUL 0x10000000. Anything larger will need to be split into multiple pieces.

True 3-Dimensional Export

The model must be rendered/exported in True 3D. As you may know, the standard BAT export procedure reduces the model to a series of isometric faces, which are assembled in composite by the game to form the building/prop/etc. However, the game does not handle transit models in the same manner, and when exported as per the normal BAT process, they will look correct from one angle, but will look incorrect from any others. There are two methods to get around this:

a) Temporarily replace the BuildingMill.ms script (for gmax, this will be found in your gmax\gamepacks\BAT\scripts folder) with the modified one, which will force the BAT to export in True 3D instead of isometric composites. b) Export the model as a .3ds mesh file, which can be directly imported into the Reader, skipping the rendering process altogether. This is more difficult to do with Gmax (since it cannot export this format), but it is possible from 3DS Max, Milkshape3D or from the free, open-source program Blender.

Polygon Count Limit

The model must have fewer than 500-600 polygons. True 3D models are actually higher in poly count upon arriving in game than standard BAT models, as they haven't been reduced to isometric faces, and thus, are more taxing on the game and system resources. If this limit is exceeded, pieces of the model will disappear when it is placed in game, or, in some cases, the game can crash outright. Thus, the model needs to be as simple as possible--Planes are the preferred basic objects to use when creating transit models, as they will hide unnecessary faces.

If there's something extra that you really just have to have on the model, it can be rendered separately through the standard BAT process (remember to switch back to your old BuildingMill.ms file beforehand), turned into a Prop and added to the piece via Type21 (T21) Exemplar.

Ground-Level Models

Models for ground-level puzzle pieces are actually produced directly in the Reader (with the Vert tab) and not in the BAT, and consist of nothing but a 4-polygon flat plane with textures applied to them. All 3-dimensional detail for ground-level puzzle pieces is best added through T21 Exemplar.