Difference between revisions of "III/VC SCM"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 8: Line 8:
 
  (02 00 01)h + 32 bit int    Jump to fourth segment
 
  (02 00 01)h + 32 bit int    Jump to fourth segment
 
  byte                        Segment id
 
  byte                        Segment id
  32 bit int                MAIN size
+
Some data
  32 bit int                Largest mission size
 
  32 bit int                Number of missions
 
 
   (mission addresses)        32 bit addresses * number of missions
 
   (mission addresses)        32 bit addresses * number of missions
 
  (MAIN code)                  MAIN section, equal to size defined earlier
 
  (MAIN code)                  MAIN section, equal to size defined earlier
 
  (mission code)              The mission data, missions stored at offsets defined earlier
 
  (mission code)              The mission data, missions stored at offsets defined earlier
  
NOTE: this document may be missing some data
+
NOTE: this document is missing some data
  
 
[[Category:Mission Script]]
 
[[Category:Mission Script]]

Revision as of 16:43, 15 November 2005

(02 00 01)h + 32 bit int     Jump to second segment
byte                         Padding
  (Global vars)              Space for variable saving
(02 00 01)h + 32 bit int     Jump to third segment
byte                         Segment id
  32 bit int                 Number of models
  (model names)              24 byte model names * number of models(model 0 not used)
(02 00 01)h + 32 bit int     Jump to fourth segment
byte                         Segment id

Some data

  (mission addresses)        32 bit addresses * number of missions
(MAIN code)                  MAIN section, equal to size defined earlier
(mission code)               The mission data, missions stored at offsets defined earlier

NOTE: this document is missing some data