-
Posts
531 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Chump
-
Looking for flying partner / team (To learn & play MP)
Chump replied to Wexler's topic in Multiplayer
Wexler, the 1/229th might be a good fit for you also. Experienced pilots to n00bs, all are welcome. http://1stcavdiv.conceptbb.com/ -
If you want to check the full screen box, just make sure that you leave some GUI running in the background (browser, editor, etc.). That should give you the ability to ALT-TAB again.
-
There is a thread about this issue here: https://forums.eagle.ru/showthread.php?t=215175
-
Inbox, clear. Desktop, clear. What OCD?
-
x52. Can't modify all buttons in DCS on x52
Chump replied to redmantab's topic in PC Hardware and Related Software
As NahkaSukka mentioned, look for the rotary settings under the Axis selection in the dropdown for the F5. -
@Dejjvid, glad it wasn't more serious and you are okay (things can be replaced, you cannot). I have to work tomorrow, but I have a feeling that I'm going to maybe eat something disagreeable tonight and need to take off around lunch time. ;)
-
Place smaller ships (speedboat) on rivers or lakes
Chump replied to philstyle's topic in DCS Core Wish List
There are a few threads about this topic. Here is one of them: https://forums.eagle.ru/showthread.php?t=163276 -
Something like this should work for you: local unit = Unit.getByName("myUnitName") if unit and unit:getLife() < 1 then trigger.action.setUserFlag("123", true) end
-
RIP Gospadin You will be missed but not forgotten.
-
I knew there was a thread about this around here somewhere: https://forums.eagle.ru/showthread.php?t=163276
-
This can be accomplished through LUA scripting, but not with normal ME placement.
-
You will need to set the pinkie switch to fallback mode for DCS to recognize it as a button. The ministick is a whole other thing. I have only had success turning it into a "button" that sends keystrokes that DCS picks up. I'm sure there is a way to do what you want, but I have not had luck with it. </2¢>
-
By event handler, I'm guessing that you mean a timed occurrence of executing this block of code? Last I knew, the mission editor trigger (continuous action) executes once per second. How often do you want it to run? IMO, this script should cause you no slowdown.
-
Now that I see your data structure, just do this: do for _, airborneUnitName in pairs(aircraftClientBlueNames) do local altitude = 2200 -- meters local uData = Unit.getByName(airborneUnitName) if uData then local pos = uData:getPosition().p if pos.y >= altitude then -- trigger.action.setUserFlag(50008, true) trigger.action.outText('Blue Client ' .. airborneUnitName .. ' is at 2200 meters altitude!', 5) -- trigger.action.outText(mist.utils.tableShow(aircraftClientBlueNamesAltitude), 6) end end end endYou don't need the contains method.
-
I had some time to look at it tonight. Here is a working script: do local aircraftClientBlueNames = {} local u = Unit.getByName("test") if u then aircraftClientBlueNames["test"] = u end local function contains(tbl, val) for k, _ in pairs(tbl) do if k == val then return true end end return false end for uName, uData in pairs(aircraftClientBlueNames) do local altitude = 2500 -- meters local airborneUnitName = uName if (contains(aircraftClientBlueNames, airborneUnitName)) then local pos = uData:getPosition().p local height = land.getHeight({x = pos.x, y = pos.z}) if pos.y - height >= altitude then trigger.action.setUserFlag(50008, true) trigger.action.outText('Blue Client ' .. airborneUnitName .. ' is at 2500 meters altitude!', 5) end end end endObviously I had to take some liberties, not knowing what your data structure looked like for aircraftClientBlueNames. I also modified your contains method to look up key instead of value (based on my data structure). You were using unit:getPosition() when unit wasn't declared also. I changed that to uData to use the aircraftClientBlueNames table data.
-
if pos.y - height > alt thenalt is not declared, but altitude is.
-
I am not familiar with an easy way to do this. I tried a few things: Looking for a simple Airport.setCoalition() command - NOGO Setting Airbase.getByName("Batumi").coalition - NOGO Setting env.warehouses.airports[12].coalition - NOGO Spawn a hidden ground vehicle on the airport coordinates and capture it - GO My script looked like this using MiST: local airbase = Airbase.getByName("Batumi") if airbase then local point = airbase:getPoint() local groupData = { country = country.id.RUSSIA, category = Group.Category.GROUND, hidden = true, units = { [1] = { x = point.x, y = point.z, type = "BTR-80" } } } mist.dynAdd(groupData) endAnyone else know of a way?
-
The easiest way I know of is to use MiST (https://forums.eagle.ru/showthread.php?t=98616). Try this (displays number of red units in countZone): assert(mist ~= nil, "MiST must be loaded prior to execution of this script!") function getCount() return #mist.getUnitsInZones(mist.makeUnitTable({"[red]"}), {"countZone"}) end function showCounts() local remaining = getCount() local destroyed = start - remaining trigger.action.outText(string.format("%i units destroyed. %i units remaining.", destroyed, remaining), 10, true) if remaining > 0 then timer.scheduleFunction(showCounts, {}, timer.getTime() + 300) end end start = getCount() showCounts()
-
My bad. Fixed it up for ya!
-
function getCount() local count = 0 for _, group in pairs(coalition.getGroups(coalition.side.RED)) do for _, unit in pairs(group:getUnits()) do if unit:isActive() and unit:getLife() >= 1 then count = count + 1 end end end return count end function showCounts() local remaining = getCount() local destroyed = start - remaining trigger.action.outText(string.format("%i units destroyed. %i units remaining.", destroyed, remaining), 10, true) if remaining > 0 then timer.scheduleFunction(showCounts, {}, timer.getTime() + 300) end end start = getCount() showCounts() This will show all players the count of red units in the game every five minutes.
-
Bonz, I play on my LAN using two PCs. Yes, you will need to buy a key for each PC of the airframe that you want to fly. If it is a two-seater, you will both need a key. If you want to fly separate, you will each need a key for the cockpit that you want to occupy. If your son in law wants to fly the Harrier and you don't care to, only he will need a key for it. In the mission editor, you can choose to put whichever planes/helos/etc. delight you the most. To fly them, you need your own key. I hope that this helps clear up the licensing question. To start/join a LAN game, use the Multiplayer option in the main menu and there will be LAN options.
-
I use BoA and have purchased almost everything put out by ED. It wasn't until recently that their fraud department called me inquiring about an overseas transaction. I told them that it was legit and they put some sort of flag on my account that now allows me to purchase from ED without hassle. Give them a call and speak to someone that knows what they are doing.
-
Input device TrackIr unplugged/plugged
Chump replied to Scoll's topic in Controller & Assignment Bugs
I believe that this is a problem with the new hot swap USB functionality out into DCS a while back. I have not seen any members of ED speak of this, but I know that a lot of us are still having issues with TIR disconnecting. -
If you plan to install it on your C drive, go for it. SSD is definitely the way to go. You don't have to get crazy like I did and have an SSD specifically for gaming. I was unsure of your setup, and we were only talking about the C drive. If that is the only drive you have, it will work fine to install DCS on. I have never used Zinstall and was pretty much forced to install a fresh OS, so I cannot speak about this.