43 Commits

Author SHA1 Message Date
mrSkortch
9bfeca1495 v60
-Fixed issue with country names in the editor not matching enum country
name values. For example "Best Korea" could not match with "BEST_KOREA".
Thanks lukrop of this fix
-Fixed locality issue with mist.getNorthCorrection
-Added function mist.utils.unitToWP
-added function mist.utils.vecToWP

Both of these functions deal with creating a WP table from the passed
values. unitToWP also returns a speed variable based on the current
velocity of the unit.
2015-12-23 22:14:51 -07:00
mrSkortch
5af7e9d7b4 v59
-removed the new 3rd variable from mist.utils.getDir and just made the
2nd variable optional instead
-Added check to DB update functions to only update if data from the
group has changed from what is currently in the
DB. This fixes an issue I had where some data was lost if you spawned a
group normally after mission start and then
used a respawn, clone, or teleport function on said group
-fixed issue with dynAdd functions naming a group with the country ID
insead of country name
-added mist.getAvgPoint(). Function is similar to mist.getAvgPos except
it uses raw vec2/3 coordinates instead of
units
-added mist.utils.roundTbl() Has the same input values as
mist.utils.round except it accepts a table and it rounds all
numbers in the first level of the table to the passed percision.
2015-10-24 01:51:02 -06:00
mrSkortch
d9f5f24632 Minor additions to existing functions
-added optional variable to mist.utils.getDir() If present this function
will return the "raw" heading, this is useful in assigning the heading
variable within a task.

-mist.utils.makeVec3 now supports being given a table in WP format.
Specifically it now coverts a table {x, y, alt) to vec3
2015-10-21 03:32:01 -06:00
mrSkortch
71de3f5b53 v4 hotfix 1
v4 hotfixes
2015-10-15 00:04:39 -06:00
mrSkortch
40100072a8 Merge pull request #18 from ciribob/master
Fix for Vec3 related typo in groupRandomDistSelf
2015-10-14 23:08:24 -06:00
Ciaran Fisher
d636f64cbd Not sure if this is a bug...
Not sure if this is a bug
2015-10-14 11:22:18 +01:00
mrSkortch
ee76538575 v56
Minor bug fix for dynAdd functions with regard to new countries in the
simulator
2015-10-03 19:45:00 -06:00
mrSkortch
5e40137af4 v4 Release
Commits for a v4 release
2015-10-02 02:27:47 -06:00
mrSkortch
065c28a697 v53
Assorted Changes and fixes
2015-09-16 03:25:11 -06:00
mrSkortch
4ff458534f r52
Minor fixes
2015-08-07 00:56:30 -06:00
mrSkortch
2f02c4041c v51
Fixed issue with message system
Added check for message systems to not send messages to combined arms if
CA slots are not in a mission.
2015-06-17 22:08:10 -06:00
mrSkortch
278216aabb v50
wtf git. why did you delete that line?
2015-05-18 20:17:30 -06:00
mrSkortch
08e4cb6334 v49
Fixed issued for flagFunc.group_alive and group_dead. Issue caused by a
bug in DCS. Had to write minor workaround.
2015-05-18 03:03:46 -06:00
mrSkortch
0e6f9d12cc v48_3.7 RC
Re-exported DB files

Lots 0 Changes
2015-05-13 01:57:08 -06:00
mrSkortch
663ccbc084 v46
added a bunch of mist.time funcs

messed with message handling a little bit.
2015-05-09 01:09:10 -06:00
mrSkortch
b82ade5d21 v45
Display refactor, minor fixes
2015-05-07 00:11:15 -06:00
mrSkortch
941ff9708c v44
fixed a few boneheaded bugs
2015-03-24 00:31:17 -06:00
mrSkortch
8dc51dbc83 v43
Minor fixes to getPayload, dynAdd, and dynAddStatic
2015-03-20 17:12:01 -06:00
mrSkortch
e18778bc7d r42
fixed bug with unit speed not getting added to DBs if spawned

added mist.getRandomPointInZone
2015-03-13 17:19:16 -06:00
mrSkortch
822dea7ae7 r41
Fixed some non localized values, thanks etcher3rd

Also added an extra check for the flagfuncs to not repeatedly reset a
flag to true if the flag is already.
2015-03-04 20:41:37 -07:00
mrSkortch
332c8aaaf0 r40
Fixed a bug with spawning aircraft altitude type being switched to radio
instead of baro

Added extra checks to make sure a group or unit returned is actually
there.
2015-03-02 17:11:12 -07:00
mrSkortch
fb32d2309a started making changes for next main release
numerous untested changes added. so yea, errors may (will) occur. Changes made while on vacation (damn you rain!) but reflect changes I've had on my mind or created in separate files. 

Mission file searching functions now search by Id instead of group or unit names. The name input variable hasnt changed, value gets converted to Id automatically if found. Functions now also accept a numerical groupId or unitId. 
getPayload
getGroupPayload
getGroupPoints
getGroupRoute

Added planned changes for message display v4. Added some code but it is dormant.
2015-02-03 00:09:05 -07:00
mrSkortch
b2080628fe r38
Fixed bug with optional variables in coordinate message functions
2015-01-29 18:28:49 -07:00
mrSkortch
36d7a0c3bc hotfix, again
Sigh
2014-10-09 17:54:59 -06:00
mrSkortch
56931faa42 Fixed an oops
country data now created correctly
2014-10-01 17:38:48 -06:00
mrSkortch
dbe7497ff2 .36 fix 2014-09-10 00:55:31 -06:00
mrSkortch
a57342b184 hotfixs
commented out error reporting in pointInPolygon for now
2014-09-05 17:52:02 -06:00
mrSkortch
2dc78dbd4c hotfix 2014-09-05 17:45:27 -06:00
mrSkortch
a1b24e629e 3.5 Release Files 2014-09-02 01:51:09 -06:00
mrSkortch
c73ebbec43 v34 fixes
v34 fixes, yay
2014-08-30 20:44:27 -06:00
mrSkortch
17c4464600 mist 3.5 rc
Possible release version of mist 3.5. or maybe just rename it mist 4.0
2014-08-29 02:38:47 -06:00
mrSkortch
0fdd9a4a58 strings in flagFuncs
Forgot about adding this. Derp
2014-08-25 19:04:23 -06:00
mrSkortch
22d5b00d49 Documentation Minor changes
Doc file and pdf. Minor changes to mist.lua
2014-08-24 00:48:25 -06:00
mrSkortch
c50463a7c8 final 3.5 features
Now bug fixes and documentation
2014-08-23 21:53:22 -06:00
mrSkortch
7f9fc1d50e moar coroutines 2014-08-21 22:45:17 -06:00
mrSkortch
4e898bfaf5 Re-factor DB Stuff
Re-factored a bunch of DB stuff

mist.dbUpdate() split into two functions

co-routine introduced for adding data to db files

moved a bunch of stuff around
2014-08-21 02:03:55 -06:00
mrSkortch
89cb721384 added mist.getUnitsInPolygon
like getUnitsInZones this function returns a table of unit objects
2014-08-10 02:06:45 -06:00
mrSkortch
8b545fc6b2 Added 5 funcs for 3.5 2014-08-10 00:34:16 -06:00
mrSkortch
b5bd16b3b1 added 4 funcs for 3.5 2014-08-03 23:30:48 -06:00
mrSkortch
2b29f19fd1 sigh 2014-08-01 22:32:21 -06:00
mrSkortch
8e45225735 Figuring this out 2014-08-01 22:29:07 -06:00
mrSkortch
d30a56997b Changed version num 2014-08-01 22:11:24 -06:00
mrSkortch
0ceadb0f2e Updated other files 2014-08-01 21:19:05 -06:00