Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: 1.85 coding  (Read 1419 times)

0 Members and 1 Guest are viewing this topic.

DeadMeatXM2

  • Guest
1.85 coding
« on: 15 Oct 2002, 16:42:10 »
Well since there are so many nice additions to the game coding in 1.85, i thought i'd start a thread listig them and how to go about using them.

The first on I have figured out how to use is the dynamic class list.

This does nothing other than create a different sub-class in the editor, to put your addons in, so don't go asking about mixing classes to create new aircraft, or vehicles with rockets...

It is implemented by adding these 2 lines of code after the displayname="..." in the config:

vehicleclass="name of your vehicle class"
side=x, where x is the side you want your unit for e.g. 1 for west.

working example is:

displayname="Soldier (SA80)
vehicleclass="DMX UK Infantry"
side=1

As and when other people figure out the other additions, feel free to post them here (hopefully this topic will get sticky'd)

cheers