Changes

Jump to navigation Jump to search
281 bytes added ,  19:45, 7 June 2017
Added the string IDs
Line 1: Line 1: −
A '''collection ID''' is an index number (position) into a global string table. It is typically used for lookbackstrings in [[GBX#Primitives|GBX]] files.
+
A '''collection ID''' is an identifier that specifies the environment for which an object was created.
 +
 
 +
Technically, the collection ID is stored in the class [[ManiaPlanet_internals#Id|CMwId]] as part of the structure [[ManiaPlanet_internals#Identifier|SGameCtnIdentifier]].
    
The following IDs have been identified:
 
The following IDs have been identified:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! ID !! Collection
+
! Collection
 +
! Number
 +
! Text
 +
! Stored as
 +
|-
 +
| Desert
 +
| 0
 +
| Speed
 +
| Text
 +
|-
 +
| Snow
 +
| 1
 +
| Alpine
 +
| Text
 +
|-
 +
| Rally
 +
| 2
 +
| Rally
 +
| Text
 +
|-
 +
| Island
 +
| 3
 +
| Island
 +
| Text
 +
|-
 +
| Bay
 +
| 4
 +
| Bay
 +
| Text
 +
|-
 +
| Coast
 +
| 5
 +
| Coast
 +
| Text
 +
|-
 +
| Stadium
 +
| 6
 +
| Stadium
 +
| Text
 +
|-
 +
| Basic
 +
| 7
 +
| Basic
 +
| Text
 +
|-
 +
| Plain
 +
| 8
 +
| Plain
 +
| Text
 +
|-
 +
| Moon
 +
| 9
 +
| Moon
 +
| Text
 +
|-
 +
| Toy
 +
| 10
 +
| Toy
 +
| Text
 +
|-
 +
| Valley
 +
| 11
 +
|
 +
| Number
 +
|-
 +
| Canyon
 +
| 12
 +
|
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 11 || Valley
+
| Lagoon
 +
| 13
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 12 || Canyon
+
| Arena
 +
| 14
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 13 || Lagoon
+
| TMCommon
 +
| 17
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 14 || Arena
+
| History
 +
| 100
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 17 || TMCommon
+
| Society
 +
| 101
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 100 || History
+
| Galaxy
 +
| 102
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 101 || Society
+
| Gothic
 +
| 200
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 102 || Galaxy
+
| Paris
 +
| 201
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 200 || Gothic
+
| Storm
 +
| 202
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 201 || Paris
+
| Cryo
 +
| 203
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 202 || Storm
+
| Meteor
 +
| 204
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 203 || Cryo
+
| SMCommon
 +
| 299
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 204 || Meteor
+
| Vehicles
 +
| 10000
 +
| Vehicles
 +
| Text
 
|-
 
|-
|style="text-align: right;"| 299 || SMCommon
+
| Orbital
 +
| 10001
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 10001 || Orbital
+
| Actors
 +
| 10002
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 10002 || Actors
+
| Common
 +
| 10003
 +
|  
 +
| Number
 
|-
 
|-
|style="text-align: right;"| 10003 || Common
+
| _Unassigned
 +
| -1
 +
| Unassigned
 +
| Text
 
|}
 
|}
    
[[Category:Internals]]
 
[[Category:Internals]]

Navigation menu