Changes

Jump to navigation Jump to search
28 bytes added ,  12:46, 5 November 2007
GMF -> GMF
Line 100: Line 100:  
Attach = Generic_F says what type of attachement point will it be. Possible values are base_f, base_n, axle_f, axle_m, generic_f, generic_m. I can say Generic_F goes to extenders, Base_F goes to chassis, and Axle_F goes to motors.
 
Attach = Generic_F says what type of attachement point will it be. Possible values are base_f, base_n, axle_f, axle_m, generic_f, generic_m. I can say Generic_F goes to extenders, Base_F goes to chassis, and Axle_F goes to motors.
   −
== 7) Finishing the GMF and compiling ==
+
== 7) Finishing the [[GMF]] and compiling ==
Make sure that in the GMF file at the bottom in the RBCollection section the values correspond to the collision and display mesh names.
+
Make sure that in the [[GMF]] file at the bottom in the RBCollection section the values correspond to the collision and display mesh names.
    
[[Image:3dstut9.PNG]]
 
[[Image:3dstut9.PNG]]
   −
Open up the GMF compiler, and make sure Compile on the bottom is checked. In the source filebox select the reference.gmf file. In destination select a file called just anyway you want it to be, but it'd better be short and without spaces. I'll call mine star.gmf. Click on Compile, and hopefully it should compile with no warnings. If not, make sure the GMF file is not messed up, and there aren't any unnecessary whitespaces in it.
+
Open up the [[GMF]] compiler, and make sure Compile on the bottom is checked. In the source filebox select the reference.gmf file. In destination select a file called just anyway you want it to be, but it'd better be short and without spaces. I'll call mine star.gmf. Click on Compile, and hopefully it should compile with no warnings. If not, make sure the [[GMF]] file is not messed up, and there aren't any unnecessary whitespaces in it.
    
== 8) Installing the component into RA2 ==
 
== 8) Installing the component into RA2 ==
   −
Make directory in RA2\Components called like the GMF, eg. star. Copy the compiled GMF in there, and slo create a star_preview.bmp (or whatever_preview.bmp). The preview image will be the preview image in the component selecter, it must be 96x72.  
+
Make directory in RA2\Components called like the [[GMF]], eg. star. Copy the compiled [[GMF]] in there, and slo create a star_preview.bmp (or whatever_preview.bmp). The preview image will be the preview image in the component selecter, it must be 96x72.  
    
next, in the Components directory create a file called star.txt (or whatever.txt). THis'll be our file defining the component. I'll pase my example here:
 
next, in the Components directory create a file called star.txt (or whatever.txt). THis'll be our file defining the component. I'll pase my example here:
Line 148: Line 148:  
dir - the name of the component directory
 
dir - the name of the component directory
   −
model - the name of the compiled GMF file
+
model - the name of the compiled [[GMF]] file
    
description - the component description.
 
description - the component description.
9

edits

Navigation menu