SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
03-08-11, 12:38 PM | #29 |
Grey Wolf
Join Date: Jul 2006
Location: Germany
Posts: 902
Downloads: 10
Uploads: 1
|
As said before, that´s not my area of expertise. Besides I haven´t had a look at the game´s code for about a year now. But afaik there are different ways to make a crew member disappear.
1-If you choose to take the position of one specific crew member, the game engine switches to the respective cam. The important thing, the character must be invisible to "his" own cam/pov now. There´s a (cam-) parameter that can be set just for that particular reason. But the character remains still there, though invisible. 2-Set parameter to be visible/invisible below water. That´s how the deck crew basically works, IIRC. (If not, #3 applies for the deck crew) 3-Link the crew member to a specific state defined in the SMC (StateMachineControllers). Unfortunately the states defined are pre-set. There´s no such state like "surfaced" or submerged, which would make a lot of things easier to handle. At least I´ve never found it. 4-Link the crew member to an object that moves into/out of view when a certain condition is met. Such as the engine in FM_NI. 5-Now the unknown, at least unknown to me, the crew member appears/disappears according to a single bit/flag that will be set when fumbling with the crew management screen. Never checked it. But if it would be easy, somebody would have made it happen already. Now lads, that´s what I remember. Maybe this is total BS, maybe it´s not. Regards, DD
__________________
|
|
|