----- Original Message ----- From: To: Sent: Friday, October 18, 2002 12:38 AM Subject: BI Studios speaks about some of the new features and fixes Capt Moore here... I had some questions about the new features of the 1.85 patch. Suma and company had this to say about the new features or fixes that I didn't understand or needed clarifying. Q: 1.82 - New: Scripting: Functions loadFile and preprocessFile added. A: It allows you to load content of a file located in the mission directory into memory (into a string value). Most commonly this is used to load fucntion code, as seen in several Q: 1.82 - New: Scripting: Functions loadFile and preprocessFile added. A: This can be used to create your own functions (even with user-defined macros when you use preProcessFile). SQF is its recommended file-extension. Read a lot more about this here: http://www.flashpoint1985.com/cgi-bin/ikonboard301/ikonboard.cgi?s=3dae3efd03eaffff;act=ST;f=7;t=21144 Q: 1.82 - Improved: Editor: Vehicle classes (Armored, Car, ...) are now fully dynamic. A: You can define your own classes on the same level as Armored and Car. You could e.g. make a class called AdamCars. Q: 1.80 - Added: functions velocity, setVelocity A: Functions used to set and get the speed of an object. These functions use vectors to calculate velocity and use an array of the following format [X,Z,Y]. If you want to make a unit called Test fly up in the air use something like: "Test setVelocity [0,0,10]" where the 10 can the changed to change the upward speed. Read more about it in the comref. Q: 1.82 - Fixed: Transfer of user defined animations through network in MP A: This means opening/closing doors (and similiar user defined animations) is transferred across network. Q: 1.82 - New: Addon dependencies can be declared using requiredAddons[] section of CfgPatches. Q: Can you please give an example on why this would be used? or the use of it? Normally addon loading order is undefined. This makes problems when you want to use some classes defined in one addon in some other. First who reported this problem was Kegetys, who made addon that inherited some classes from Resistance addon "o". In some cases his addon worked fine, in other it did not - depending on which addon was loaded first. Check this forum topic for more information: http://www.flashpoint1985.com/cgi-bin/ikonboard301/ikonboard.cgi?act=ST;f=4;t=17468