Difference between revisions of "VERSION"

From 3DGE Wiki
Jump to: navigation, search
 
Line 1: Line 1:
= #VERSION =
+
=#VERSION=
  
'''Description:'''
+
<b>Description:</b> <br>
 +
This entry specifies the version of 3DGE that the RTS is for.
 +
It should be at the top of your script, but below #[[CLEAR_ALL]] (if used).
  
This entry specifies the version of EDGE that the RTS is for. It should be at the top of your script, but below #[[CLEAR_ALL]] (if used).
+
It's intended to keep users from running your script if they
 +
have an older version of 3DGE, and hence an older version of the
 +
RTS parser which may be incompatible with your script.
  
It's intended to keep users from running your script if they have an older version of eDGE, and hence an older version of the RTS parser which may be incompatible with your script.
+
'''Example:'''
 +
  ''#VERSION 1.36''
  
'''This directive is in-use for 3DGE v2.0.1, as it will not detect any VERSION string lower than EDGE 1.31.'''
+
 
 +
<div style="background: #f2e0ce; border: 2px solid #bfb1a3; padding: 0.6em; margin-top: 0.8em;">'''This directive is in-use for 3DGE v2.0.1, as it will not detect any VERSION string lower than EDGE 1.31 and segfault. To load mods not designed for EDGE 1.31 and up, change the directive, but note that this is unsupported.'''</div>

Latest revision as of 16:27, 8 June 2015

#VERSION

Description:
This entry specifies the version of 3DGE that the RTS is for. It should be at the top of your script, but below #CLEAR_ALL (if used).

It's intended to keep users from running your script if they have an older version of 3DGE, and hence an older version of the RTS parser which may be incompatible with your script.

Example:

  #VERSION 1.36


This directive is in-use for 3DGE v2.0.1, as it will not detect any VERSION string lower than EDGE 1.31 and segfault. To load mods not designed for EDGE 1.31 and up, change the directive, but note that this is unsupported.