View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002134 | FSSCP | SEXPs | public | 2010-02-20 18:32 | 2011-09-23 15:08 | ||||
Reporter | blowfish | ||||||||
Assigned To | The_E | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 3.6.11 | ||||||||
Target Version | Fixed in Version | 3.6.13 | |||||||
Summary | 0002134: set-fov SEXP at beginning of mission has no effect | ||||||||
Description | If a set-fov SEXP is used at the beginning of a mission, it will not change the mission's FOV. | ||||||||
Additional Information | It consistently does this with ( true ), ( has-time-elapsed 0 ), ( has-arrived-delay 0 "Alpha 1" ), basically anything that puts it at the beginning of the mission. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|
blowfish (reporter) 2010-04-12 00:15 |
I suspect that this might have to do with the default FOV being set AFTER the first round of SEXP evaluations. |
FUBAR-BDHR (developer) 2010-04-12 05:07 |
Not a solution but it might be a workaround and confirm if that is the problem. Try setting a player entry delay if it's single player and using the has-arrived-delay alpha 1. |
CommanderDJ (developer) 2011-09-23 03:36 |
Just tested it, and this is still present in r7768. FUBAR's suggestion has no effect, the FOV is still not set. |
CommanderDJ (developer) 2011-09-23 10:40 |
With true and has-time-elapsed 0, this now works. I tracked it to sexp_set_fov() getting a NULL camera pointer (because the game runs sexp evaluation code before it does rendering setup stuff, as explained by The_E, so there's no camera for it to use). A quick fix by The_E solved this issue. Still no luck with has-arrived-delay on the player, as in that case sexp_set_fov() never actually gets called. |
The_E (administrator) 2011-09-23 15:08 |
Committed in revision 7777 (wooo) |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-02-20 18:32 | blowfish | New Issue | |
2010-04-12 00:15 | blowfish | Note Added: 0011875 | |
2010-04-12 05:07 | FUBAR-BDHR | Note Added: 0011876 | |
2011-09-23 03:36 | CommanderDJ | Note Added: 0012845 | |
2011-09-23 10:40 | CommanderDJ | Note Added: 0012847 | |
2011-09-23 15:08 | The_E | Note Added: 0012848 | |
2011-09-23 15:08 | The_E | Status | new => resolved |
2011-09-23 15:08 | The_E | Fixed in Version | => 3.6.13 |
2011-09-23 15:08 | The_E | Resolution | open => fixed |
2011-09-23 15:08 | The_E | Assigned To | => The_E |