KnightHawk75 -> RE: IntelliSense for CMO via VSCode Sumneko and Emmy (11/14/2021 3:57:21 AM)
|
Sumneko CMO Library Updated for CMO 1.04 - build 1147.35 I have tested this with Sumneko 2.4.0 and vscode 1.59.1, 2.4.7 I think is current sumneko extention build and it should work fine, but I wanted to bang out this update first before touching\updating my vscode and extentions environment to the latest. Attachment: CMO_1147_35-posted_11-13-2021.zip (~63k) - distribution includes latest and basically same sample workspace as original. To update one only needs copy the contents of CMO_1147 over the existing old files, actually really only need copy CMO_1147\library\CMO_FuncsAndClasses.lua over where ever you put your install as it's all that's really changed. Idk if there is an equivalent recent pro release that these updates apply to as well but I'm assuming most of these are either there already or will be very shortly, but here is the changelog(also included in the zip): 11-13-2021 (change in CMO Builds 1147.31 through 1147.35) ---- Unit Wrapper/Object: +airbornetime_v property (thank you thank you thank you!) ~airbornetime property tweaked comment. (removed notice about lack of _v version) +readytime_v property (thank you thank you thank you!) ~readytime property tweaked comment. (removed notice about lack of _v version) +crew property +jammed property (This is gonna be sooo useful!) +jammer property (This also makes life sooo much easier for certain things) +groundspeed property +pitch property ~filterOnComponent() method - updated for optional dbid second param. (handy) +angleOnBowToUnit() method +getUnitMagazine() method (handy) ^ Added related CMO__DeviceMagazine class and properties. Added setExactWeaponQuantity() method to CMO__DeviceMagazine class. Added related CMO__TableOfDeviceWeaponLoads alias for table of <number,DeviceWeaponLoaded> Added related CMO__DeviceWeaponLoaded class and properties (for .weapons table entries as it's different from regular CMO__WeaponLoaded table as it's missing wpn_type). +getUnitMountMagazine() method (handy) CMO__Loadout Wrapper/Object: +setExactWeaponQuantity() method (boy will these make life easier) Scenario Wrapper/Object: +fields property +ContentTag property (included but I purposely didn't go into detail) +GameMode property byte (don't know what values represent yet have to playtest) +GameStatus property byte (don't know what values represent yet have to playtest) +ResetLossExp() method +ResetScore() method Contact Wrapper/Object: + lastDetections property table (so stoked this exists now!!!!!) + CMO__ContactDetection class containing properties for each lastDetection table entry (though little unclear what the values for special_mode are just yet as haven't had chance to play around much yet). + CMO__TableOfContactDetections alias representing table of <number,CMO__ContactDetection> Other: +Added CMO__DeviceMount definition (wasn't really necessary atm but maybe in future) ~tweaked a few field types for CMO__WeaponLoaded (couple of things were marked as strings when they were ints/numbers) ~minor text\descriptions tweaked in a few other places. ~updated build numbers and release info in the header of CMO_FuncAndClasses.lua ~changelog added to distribution. ---- If at least one of you could update and verify that thing seems to be working with this release and just post that when you have time, that would be helpful. Then I'll update the top post with the attachment from this post so there aren't too many different versions floating around over time (then again maybe it's useful having at least the last 2 around? [&:]). Much thanks to the dev team for all the recent additions, most of them I know were fulfilling specific user requests.
|
|
|
|