

LFCChameleon_Silk
Members-
Posts
356 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by LFCChameleon_Silk
-
yeah sounds like you could just wrap the missions in a function and then just call that function from within a loaded file using a miz trigger, only lines that are outside a function will be done when you load the file filewithmissionsitit.lua function startmission(whatmission) -- arg1 is the mission to run if whatmission == 1 then --do mission 1 stuffs trigger.action.setUserFlag(1,true) end if whatmission == 2 then --do mission 2 stuffs trigger.action.setUserFlag(2,true) end end then if you wanted at anytime to trigger the flag to change just: startmission(1) but it sounds like you want to load a whole new miz, try adding the load miz as a trigger in the ME and tie it to a flag and then use the above to trigger each condition to then load a miz file. either way it should work just depends on your approach.
-
reported Oil rig and Gas platform destroy/despawn error
LFCChameleon_Silk replied to Jagohu's topic in Object Bugs
bump, ED really needs to fix the issues with it not correctly assigning airdrome ID, spawning and destroying these objects and the other outstanding issues surrounding spawning of statics with heliports. -
63.231.253.4 Operation Grandstand (PUBLIC TEST) - DynaFrontII - wankercraft.org https://github.com/chameleonsilk/grandstand/releases Server will be up running public test version, the mission is available for any other server owners to run. just give me a shout on discord if you start running it religiously (Chameleon_Silk#2680) or by using this link https://discord.gg/c2tukKwVC5, I'd love to know your thoughts. I worked very hard on creating some unique sector control scripts, AI SEAD, AI CAS, AI HELO, AI GCICAP and AI Bombers, as well as a regenerating battlefield with dynamic spawning, dynamic leaders with over 78 template aircraft. It can be flown alone or with a squadron and supports PvP and PvE from either side. feel free to stop in do some sorties and give me your feedback/performance (fps) and any other things. ideas. whatever just holla. enjoy! been a long 2+ weeks putting this together.
-
63.231.253.4 Operation Grandstand (PUBLIC TEST) - DynaFrontII - wankercraft.org https://github.com/chameleonsilk/grandstand/releases Server will be up running public test version, the mission is available for any other server owners to run. just give me a shout on discord if you start running it religiously (Chameleon_Silk#2680) or by using this link https://discord.gg/c2tukKwVC5, I'd love to know your thoughts. I worked very hard on creating some unique sector control scripts, AI SEAD, AI CAS, AI HELO, AI GCICAP and AI Bombers, as well as a regenerating battlefield with dynamic spawning, dynamic leaders with over 78 template aircraft. It can be flown alone or with a squadron and supports PvP and PvE from either side. feel free to stop in do some sorties and give me your feedback/performance (fps) and any other things. ideas. whatever just holla. enjoy! been a long 2+ weeks putting this together. You can also help support my work through: https://www.patreon.com/csilk a few people suggested I set this up as they know how hard I have been working on DCS scripting through the years.
-
- 1
-
-
if anyone wants to add a new function to mist copy these into your MIST LUA (at least until Grimes adds it) function mist.getDeadMapObjsAtPoint(locations) -- location: a table or multiple tables formated in the style of a preplaced ME triggerZone -- returns: table of dead map objects (indexed numerically) local map_objs = {} for obj_id, obj in pairs(mist.DBs.deadObjects) do if obj.objectType and obj.objectType == 'building' then --dead map object for i = 1, #locations do if ((locations[i].point.x - obj.objectPos.x)^2 + (locations[i].point.z - obj.objectPos.z)^2)^0.5 <= locations[i].radius then map_objs[#map_objs + 1] = mist.utils.deepCopy(obj) end end end end return map_objs end function mist.flagFunc.mapobjs_dead_point(vars) --[[vars needs to be: location = a table or mutliple tables that are identical to a ME triggerzone flag = number, stopflag = number or nil, req_num = number or nil AND used by function, initial_number ]] -- type_tbl local type_tbl = { [{'locations'}] = {'table'}, flag = {'number', 'string'}, [{'stopflag', 'stopFlag'}] = {'number', 'string', 'nil'}, [{'req_num', 'reqnum'}] = {'number', 'nil'}, } local err, errmsg = mist.utils.typeCheck('mist.flagFunc.mapobjs_dead_point', type_tbl, vars) assert(err, errmsg) local locations = vars.locations local flag = vars.flag local stopflag = vars.stopflag or vars.stopFlag or -1 local req_num = vars.req_num or vars.reqnum or 1 local initial_number = vars.initial_number if not initial_number then initial_number = #mist.getDeadMapObjsAtPoint(locations) end if stopflag == -1 or (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then if (#mist.getDeadMapObjsAtPoint(locations) - initial_number) >= req_num and trigger.misc.getUserFlag(flag) == 0 then trigger.action.setUserFlag(flag, true) return else mist.scheduleFunction(mist.flagFunc.mapobjs_dead_point, {{locations = locations, flag = flag, stopflag = stopflag, req_num = req_num, initial_number = initial_number}}, timer.getTime() + 1) end end end here is an example of its use zoneUsed = 'some triggerZone' buildPsn = mist.getRandomPointInZone(zoneUsed, zoneUsed.radius) -- get a random point in that triggerZone area Strike_Area_Zone = { -- format a table to look exactly like a triggerZone but with the new point we want and the new desired radius to check for dead map objects point = {y = buildPsn.y, x = buildPsn.x, z = buildPsn.z}, radius = 10000 } mist.flagFunc.mapobjs_dead_point{locations = {Strike_Area_Zone}, flag = 1001, req_num = 1} -- when 1 map object is dead in that area toggle flag 1001 to be true it should also work with a list of tables like this: mist.flagFunc.mapobjs_dead_point{locations = {strike1, strike2,strike3}. flag = 1001, req_num = 1} Thanks Grimes for all your hard work, hope this helps someone else out. pay it forward. feel free to modify or use directly in any MIST update Grimes, much thanks!
-
yeah I had just started to dissect the function after a day of frustration once I realized the problem. I think it would be a good addition. Then I have to solve the problem of removing the statics that got hit from the map.. which I'm also a bit unclear about because it doesn't seem like dynaddstatic is giving it a name or group name (but I have yet to investigate the group data for them) on the bright side these are last of the obstacles left for my magnum opus mission and script.
-
Anyone have any ideas on how to pass a vec3 coordinate for mist.flagFunc.mapobjs_dead_zones? I know it accepts a table of zones or triggerZone string name but that is not suitable for what i want. Strike_Area_Zone = { point = {y = buildPsn.y, x = buildPsn.x, z = buildPsn.z}, radius = 10000 } I want to be able to define the area for it to check dynamically and not with a preset triggerzone, I can't pass my table above to it as it must not know of the triggerzone (since its dynamically created) I'm at a loss... spent all day trying to make my strike mission progress track. surely there is a way to either modify the function in MIST to accept a vec3. on another note what is up with not being able to name statics in the editor. what kind of madness is this? any takers? Grimes? anyone
-
good work IASGATG and its nice that there is a missile mod too, nothing wrong with choice.
-
just can't let that slide though..... windows firewall should never be disabled, I can show you lots of chatty NIC cards and jittery connections to prove that one... just by turning it off you gonna get so much stuff bouncing off the NIC from the internet.... better to just not shut it off. windumb or not, not everyone has firewalls on routers configured tightly to begin with just making the advice even more not so good. the rest of your message was fine though, very informative.
-
AI F-16 really challenging, dead if you get to merge though. I find MiG-21 loaded up with missiles and overmatched makes for the most fun though.
-
I must fight the urge to go no *bleep* sherlock. I don't know if you intentionally tried to rub me the wrong way but pah-lease spare me the A-B-C's been doing this long enough to know how to turn my radar on if you understand what I mean by that... also you tested at exactly mach 1?, you got all bases covered I guess, if I requested data for 1.356 mach would you have that on tap in 15 minutes too? :huh: was just saying check 40k launch to make sure its in line, you were originally only showing data from 10k launch. EDIT: not meaning to sound so harsh, better grab a coffee.
-
50 seconds or not you should still be looking at the performance up high as well as low, as it is already, the difference between a heads on 10k launch going mach 1 and a head on 40k launch going mach 1 is quite a big difference.
-
I dunno seems to perform basically like an AIM-9B with a range of 5km or so. just use the mirages awesome dogfighting ability to get in the saddle and pull up.
-
from what I understand the 530D performs better at higher altitudes and 10k is kinda low, so if your getting huge boost at low altitudes better check the missile mod at 40k launch and make sure the thing isn't going 150km :P
-
Advice for Nevada flights
LFCChameleon_Silk replied to DoctorStrop's topic in DCS: Ka-50 Black Shark
I have a 2 year old and a new born, I feel your pain... usually right as I am leaving the taxiway one of them wakes up. -
still would be a nice feature, not everyone is playing DCS on ultra real settings.... I know, I know. noobs However, I would still like to have options available, not everytime I fly am I looking for an ultra realistic battlefield sometimes I like to gun run a sam site for fun! srry for discussion hadn't realized this was in the bugs section.
-
[REPORTED]SU-25A missing texture
LFCChameleon_Silk replied to cro_mig_21's topic in Flaming Cliffs Bugs & Problems
hah my fave module and I never even noticed! -
I too am an owner, needs a lil polish but not nearly as bad as what some people go on about. I like it, good job.
-
DCS World 1.2 to 1.5 Now Available
LFCChameleon_Silk replied to SharpeXB's topic in DCS World 1.x (read only)
control mapping should migrate fine (no harm in loading your profile) with a few exceptions if they have changed any bindings or control names. a good example would be loading old mig-21 profile after they have changed the mig-21 list to have different names for some of the functions... and even then you would just have to go and adjust your profile and re-save. not supported by doesn't always mean it won't work but rather they would rather us redo everything so that we won't blame them for any control mapping issues we have, its to reduce support calls. what your probably confusing is copying of game files not controller bindings, if your dropping modules from 1.2 into 1.5 or 2.0 then they probably wouldn't function correctly. FYI, I'm using profiles that were created back in 1.12.8 in 2.0 so TLDR, try to load a profile and see if it takes (which it should np) -
Tactics against low flying Su27s
LFCChameleon_Silk replied to OnlyforDCS's topic in F-15C for DCS World
how slow are you going? thats the only thing I can think of that would negatively effect your DLZ, if your moving forward slowly and they are cruising they are going to get a launch first. would have to look at the tracks. -
grond units not firing?!?
LFCChameleon_Silk replied to LuSi_6's topic in User Created Missions General
artillery can be a pain to get to work, sometimes its something stupid like they are out of range or its to close etc, rather then it report this to the player instead it sits there refusing to fire but refusing to get into the firing range. make sure its not something like this. -
DCS NTTR 2.0 Missions
LFCChameleon_Silk replied to Justificus's topic in DCS: Nevada Test and Training Range
Not fully done but its working good enough for people to play if they wish. use radio menu during first 2 minutes before mission "launches", set difficulty of the enemy fighters, disable certain elements... uses my movement script and music script as well as MIST. The goal is to protect Groom Lake from the enemy attack. enemy attack direction is randomized to 8 different directions and mission has well over 250 triggers. Flyables: Ka50, F-15C, Su-27, MiG-29S, Su-25, Su-25T, A-10C Enjoy! DOWNLOAD: http://www.filedropper.com/gld101 will put it up on file repo once its complete.