See site in english Voir le site en francais
Website skin:
home  download  forum  link  contact

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: UUMU coding Mesh  (Read 3732 times)

0 Members and 1 Guest are viewing this topic.

Offline gattico

  • Sr. Member
  • ****
  • Posts: 339
  • Country: United States us
  • Karma: 16
05 February 2009, 16:24:55
Is it possible and if so.  how would one change the mesh to show an eva person in a vessel?  For instance if you enter the
Lunar rover, it has a new mesh with the eva person.  And when you exit the vessel it shows no one.


Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15410
  • Karma: 266
  • Hein, quoi !?
    • FsPassengers
Reply #1 - 05 February 2009, 16:37:19
It's possible but you must use the UMMU SDK and up to you to show or not the crew inside using Visibility flag of
Orbiter's SDK. In this case I think you can use te UMMU mesh with a copyright note in doc.

The (dead) project UCO & ABFO used this technique: (video)
http://www.dansteph.com/publie/UcoAbfoPreview.wmv

About UCO & ABFO
http://orbiter.dansteph.com/forum/index.php?topic=10852.msg175007#msg175007
Dan



Message modifié ( 05-02-2009 16:38 )


Offline gattico

  • Sr. Member
  • ****
  • Posts: 339
  • Country: United States us
  • Karma: 16
Reply #2 - 05 February 2009, 17:37:50
Is the project dead?  It looked very good.  I will look at the UMMU SDK for it.  I can get the people in the vessel.  But What do I make visible.  
  I think I may need to edit the mesh to have bend legs,....


update:

 I saw this:
int      GetCrewTotalNumber();               // return total men aboard

But I have this:
int crewaboard=GetCrewTotalNumber();

I get this error:
.\BUGGY1.CPP(129) : error C3861: 'GetCrewTotalNumber': identifier not found


I think if the crewaboard is 1 then a mesh with 1 eva will be displayed?


Quote
DanSteph wrote:
It's possible but you must use the UMMU SDK and up to you to show or not the crew inside using Visibility flag of
Orbiter's SDK. In this case I think you can use te UMMU mesh with a copyright note in doc.

The (dead) project UCO & ABFO used this technique: (video)
http://www.dansteph.com/publie/UcoAbfoPreview.wmv

About UCO & ABFO
http://orbiter.dansteph.com/forum/index.php?topic=10852.msg175007#msg175007
Dan



Post Edited ( 02-06-09 04:07 )


Offline woo482

  • Sr. Member
  • ****
  • Posts: 266
  • Karma: 0
Reply #3 - 09 February 2009, 01:46:18
sorry for going off topic but UCO is DEAD ? crap looks like I need to start making some meshes of cars for some one to code
for me :(


Offline gattico

  • Sr. Member
  • ****
  • Posts: 339
  • Country: United States us
  • Karma: 16
Reply #4 - 09 February 2009, 17:02:37
I think if i can figure this out then I will be able to add a eva person to your rover.


Offline woo482

  • Sr. Member
  • ****
  • Posts: 266
  • Karma: 0
Reply #5 - 09 February 2009, 18:57:40
Cool :) and I am doing a few RL things at the moment so I have not added any thing to the 3d model of a plane but I might try
and finish the MK2 of the rover in the next week


Offline gattico

  • Sr. Member
  • ****
  • Posts: 339
  • Country: United States us
  • Karma: 16
Reply #6 - 15 February 2009, 14:20:05
hey, I got it.  


loads both the meshes,  one visible the main one the crew not visible.

SetMeshVisibilityMode (AddMesh (oapiLoadMeshGlobal ("BUGGY1")), MESHVIS_ALWAYS); //Main ship mesh
SetMeshVisibilityMode (AddMesh (oapiLoadMeshGlobal ("space1999manbug")), MESHVIS_NEVER);

if ((Crew.GetCrewTotalNumber()>0))SetMeshVisibilityMode( 1, MESHVIS_ALWAYS );
      else  SetMeshVisibilityMode( 1, MESHVIS_NEVER );


If the crew is greater than 0 make the crew man visible. else not visible.


Offline gattico

  • Sr. Member
  • ****
  • Posts: 339
  • Country: United States us
  • Karma: 16
Reply #7 - 27 February 2009, 13:03:04
Here are 2 vessels that now the eva person disappears when you exit.  Also the buggy will not drive unless someone is in it.


One has a Space 1999 eva mesh

Of course you must have UMMU installed.  The airlock for the buggy is always open.


http://www.4shared.com/file/89773373/7e19e671/BUGGYummu3.html






Offline gattico

  • Sr. Member
  • ****
  • Posts: 339
  • Country: United States us
  • Karma: 16
Reply #8 - 19 April 2009, 04:18:00
I have in the past been able to use my mesh for a Ummu person by changing the UmmUsdk.h for that vessel

const char UmmuMeshUsed[NUMBER_OF_MMU_TYPE][25]={
"ummu/LISUMMU",   //passenger
"ummu/LISUMMU",   //captain
"ummu/LISUMMU",   //"astronaut",
"ummu/LISUMMU",   //"security",
"ummu/LISUMMU",   //"vip",
"ummu/LISUMMU",   //"Scientific",

I know that the LISUMMU is in the right directory Meshs\UmmU

But I can't get the Ummu guy to change.

« Last Edit: 19 April 2009, 04:18:00 by gattico »