Jump to content

Recommended Posts

Posted

Does anyone know where one might find a listing of cockpit arguments for BS-2 similar to those that have already been published for the warthog? Would be extremely valuable for mission building.

 

Thanks in advance.

Posted

Hey, thanks for the response.

 

Not really comfortable with Lua yet -- would much prefer having a list if at all possible, but if not, then I'll just have to poke around in the Lua files until I find what I'm looking for.

 

Thanks again

Posted

Ok -- That was helpful.

 

Well, after thrashing about a bit and not being able to find the file in question (clickabledata.lua) I did eventually find it: for those who are interested it can be found at:

 

X:\Game Directory\Scripts\Aircrafts

 

I also downloaded Lua for windows which makes looking through these files much easier than trying to interpret using wordpad.

 

I ultimately used the unimplemented MWS switch (arg 49; 0 = off, 1 = on) as a switch to let the server know when it was ok to look to see if the appropriate terms had been met to end a mission and load a subsequent one. Surprisingly, I could not find an argument for the cockpit door (open/close) anywhere. That is what I had originally intended to map to this function. If anyone happens to know or find out what the cockpit door argument is, I'd really love to know.

 

Thanks again for your input on this! :D

Posted

Is this what you're looking for?

 

left_door		= CreateGauge()
left_door.arg_number	= 533
left_door.input		= {0.0, 1.0}
left_door.output	= {0.0, 1.0}
left_door.controller	= controllers.left_door

 

From \Scripts\Aircrafts\Ka-50\mainpanel_init.lua

Posted
Is this what you're looking for?

 

left_door        = CreateGauge()
left_door.arg_number    = 533
left_door.input        = {0.0, 1.0}
left_door.output    = {0.0, 1.0}
left_door.controller    = controllers.left_door

 

From \Scripts\Aircrafts\Ka-50\mainpanel_init.lua

 

Yes, that appears to be the code I was looking for... Now to go try it out! You know with the number of arguments actually mapped it's no wonder a list was never produced... It would have been a substantial undertaking unto itself.

 

Cheers!

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...