![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
03-12-10, 01:27 AM
|
#1 | |
|
Black Magic
![]() |
Quote:
explain what you mean by a dummy 3D object. I've seen these before in SH3/4 but never really understood what they were for. |
|
|
|
03-12-10, 01:54 AM
|
#2 | ||
|
Captain
![]() Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
|
Quote:
The import keyword in python only imports the Globals from that script into your script so you can call those globals by their name. It has nothing to do with anything else.The Z order is the one from the tree you see in the menu editor. If you want to bring a page closer to the player, drag it down in that tree. The Z order is saved in data\Menu\Pages\menu_1024_768.ini (so you include that file too in your mod). The menu items also have methods for the z-order: MakeSureIsBehindOfZOrder, MakeSureInFrontOfZOrder, SendToBackZOrder and BringToFrontZOrder. BringToFrontZOrder must NOT be used on menu pages (will cause BIG bugs). Mihai
__________________
Kilroy was here |
||
|
|
03-12-10, 01:59 AM
|
#3 | |
|
Captain
![]() Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
|
Quote:
For you, it means you need to find an already existing dummy object on sub's hierarchy (there are plenty of those) and attach your controller to it.
__________________
Kilroy was here |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
