I'm pretty much a noob to LUA. So if you don't want to be bothered with noob questions, dont read on Here my questions: 1. How can I run the OutSim.lua (contained in ..\BeamNG.drive\alpha_prerace\lua\vehicle) so that it outputs the time every 100 ms? 2. Where can I find the telemetry values, which are currently not implemented in the script? Thank you for your help in advance!
Come on, guys, it can't be that no one knows anything about how to run such a lua script! I will not bother you with more n00b questions after this one! Promised
Re: So here is how you run outsim.lua • Enable the use of LuaSocket by right clicking on BeamNG.drive in your Steam inventory > click properties > set launch options & enter "-luasocket" • In your directory ..\Steam\SteamApps\common\BeamNG.drive\lua\vehicle modify the file default.lua: remove the two "--" in front of: --outsim = require("outsim") --outsim.init() --outsim.updateGFX(dt) • Enable the script in outsim.lua by changing local OutSim_Enabled = true • Run the game and enjoy! In the current outsim.lua the data structure is not filled with data except time. So you may also want to fill the data structure with values in the lua script. You can also run your own lua script by modifying default.lua and adding the filename 3× similarly to above.
Re: And here the accompanying video… …showing the successful connection between BeamNG.drive and SimTools. SimTools then controls a motion platform that mimics the movements/acelerations of the car.
Re: And here the accompanying video… Oh shit! I assume that you are using the values from the g-meter. Please be careful to not crash while in that machine.
Re: And here the accompanying video… yaw-dropping, thanks for sharing Mind to share the lua code you used, maybe we can improve it together with you?
oh my god! thats amazing man great work. mind sharing some rig info? price, parts, wheel etc. just the basics nothing to detailed. I see your a SimTools staff member, thanks for your hard work on this, and SimTools bud
:O... Was thinking good lord i hope they have coded limitations to g forces.. Gives you that real and true feeling to not want to wreck haha...
WoW! That is amazing! Never even seen a setup like that. You really have taken gaming to the next level!
Yeah that does look cool and would be good for flying programs as well. I just don't know if I would want to be bouncing around so much. How much approximately was that setup, I would guess 6K? [Edit] Searched a little and found this one http://www.profisim.cz/race-3/ that is about 11K without computer or monitors of course. I guess the kits could be the way to go.
so you guys are going to be fixing it though? (even if not for a while) sweet, nice to know the facebook thing didn't stop you guys
Re: default.lua missing (EDIT: has been replaced by "main.lua") In the latest build it seems "default.lua" has been removed. Is there another way to start the "outsim.lua" scipt? EDIT: Sorry, apparently "main.lua" does the job now
Can someone help me get outsim working in 2016? I found outsim in BeamNG.drive\lua\vehicle\extensions but I have no idea how Lua works...