The Doomlad Posted January 8, 2019 (edited) So I've been trying to find a way to add air control into my map to make platforming better. I found a page on Zdoom wiki for a mapinfo change but when I put in the command "aircontrol = 1" into the lump nothing changes. No one seems to have an answer online and the ones I have found are to vague to work with. This is the Zdoom wiki page I was looking at https://zdoom.org/wiki/MAPINFO/Map_definition. EDIT: So I found the fix 6 minutes after posting this. Add a script to you map like this script 999 enter { SetAirControl (0.87); } The issue is that it does not recognize it at a value of 1 so just use anything slightly lowered Edited January 8, 2019 by Customgtp The issue is fixed 1 Quote Share this post Link to post
Bauul Posted January 8, 2019 Just to check, with the Mapinfo, were you fully defining the map or just literally typing "AirControl=1" into an otherwise empty lump? Also, in your ACS, you would have needed "1.0" for it to work, rather than just "1". 0 Quote Share this post Link to post
BadLuckBurt Posted January 8, 2019 Thanks for posting the solution, I wish more people did that :) 0 Quote Share this post Link to post
Empyre Posted January 8, 2019 You probably need 1.0 rather than 1 in MAPINFO, too. That is because all numbers in Doom are stored the same way, as integers. "Real" numbers are stored in an integer variable as fixed point, where about half the bits are before the decimal point and the rest are after, and the decimal is fixed, always at the same place. If you put the integer value 1 in the variable, but the variable is then read as a fixed point value, it will be a very tiny fraction. The opposite is true, too: if you put 1.0 in a variable but it is then read as an integer, it will be a pretty big number. 1 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.