oapi.get_cameratarget ()
Return a handle to the current camera target.
The camera target is not necessarily a vessel, and if it is a vessel, it is not necessarily the focus object (the vessel receiving user input).
Returns:
handle or nil handle to the current camera target (i.e. the object the...
the problem is with a texture.
I have 3 textures:
TEXTURES 3
Mako/MakoDash.dds D
Mako/MakoDash2.dds D
Mako/MakoPilot.dds
If I remove the third one FLAG 4 works fine.
I've tried it with and without textures. No luck with this mesh.
I use this flag on other meshes without issue.
EDIT
I forgot to mention that this is for a lua coded vessel and I'm running Orbiter on wine on FreeBSD, in case it matters.
I'm trying to use "FLAG 4" to stop the effects of lighting on a mesh group but it's not working.
the header for the group is:
LABEL fuelbar1
MATERIAL 5
TEXTURE 0
FLAG 4
GEOM 194 192
I've used this flag for groups in other meshes and it's fine but not this time.
Perhaps I have a misunderstanding...
I've made an alternate PL cargo module for the ShuttleA and I want to create a deflated chute, as a separate vessel, upon ground contact.
If I create it using "get_groundcontact()" it's created many meters away and underground.
If I do it using "clbk_consumebufferedkey()" it's fine.
I've coded...
Yes. This is the code I used. It is based on the Atlantis source code. I called everything directly from clbk_VCredrawevent() though I should have made a separate function.
local left_selection = {
[AID_MFD1_LBUTTONS] = true,
[AID_MFD1_RBUTTONS] = true
}
if left_selection[id] then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.