View previous topic :: View next topic |
Author |
Message |
Smelson
Junior Member


Joined: 06 Feb 2018 Posts: 28
62 Bank Notes
Items
|
|
Hi, Everyone. For my mod, I've created a new menu. On 1.0. and 1.1. version, but I've got a problem...
In 1.1:
In 1.0.
How to fix this? |
|
Back to top |
|
 |
ASM.
Mafiascene Veteran Modder


Joined: 10 Jan 2014 Posts: 327
677 Bank Notes
Items
|
|
Looks like messed up camera settings (FOV and far plane distance).
Do you get the same issues if you run that level as regular in-game mission? |
|
Back to top |
|
 |
Smelson
Junior Member


Joined: 06 Feb 2018 Posts: 28
62 Bank Notes
Items
|
|
ASM. wrote: | Looks like messed up camera settings (FOV and far plane distance).
Do you get the same issues if you run that level as regular in-game mission? |
No, I do not. If I delete the camera "camera_start", FOV and distance will be OK, but the camera starts in X - 0, Y - 0, and Z - 0. |
|
Back to top |
|
 |
ASM.
Mafiascene Veteran Modder


Joined: 10 Jan 2014 Posts: 327
677 Bank Notes
Items
|
|
Sounds like the camera object is borked in some way even though it's odd why v1.1 doesn't mind then.
Do you mind PMing me the mission so I can have a look? |
|
Back to top |
|
 |
Smelson
Junior Member


Joined: 06 Feb 2018 Posts: 28
62 Bank Notes
Items
|
|
ASM. wrote: |
Do you mind PMing me the mission so I can have a look? |
menu |
|
Back to top |
|
 |
ASM.
Mafiascene Veteran Modder


Joined: 10 Jan 2014 Posts: 327
677 Bank Notes
Items
|
|
From the looks of it I'd say the camera settings for 00menu are hardcoded in v1.0: I reduced the view distance to 2 units in vanilla 00menu but the change did not have any effect. It does work as expected on v1.2, though.
You might be able to adjust the settings manually by calling camera_setrange from a script that's run at mission start. However I haven't been able to get it to work in my tests so far.  |
|
Back to top |
|
 |
|
|