View Issue Details

IDProjectCategoryView StatusLast Update
0004138New Feature Requests[All Projects] Generalpublic2017-06-18 20:56
Reporterlucasc190Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0004138: [Request] Enable fog in interiors
Description

Something like:
setInteriorFog(bool enabled)

If "enabled" is true, should set the bytes at both 00716CB1 and 00716CC6 to "90 90 90 90 90 90" (6 NOP's) and when "enabled" is false, should restore 00716CB1 to "0F 85 A4 00 00 00" and 00716CC6 to "0F 85 8F 00 00 00" (their default values). This would allow the fog from weather id 9 to appear on interiors while it is enabled.

This would be especially useful for outdoor places that are not on interior 0 and custom maps that use interiors.

TagsNo tags attached.

Relationships

related to 0004276 feedbacklucasc190 Source patches Interior Weather Patch (Issue #0004138) 

Activities

Talidan

2009-03-30 18:08

administrator   ~~0008692

Is there something more generic? I would like to see all weather effects working in Interiors - currently its the cleanest way for mappers to clear the SA map. The weather effects are the only real disadvantage of that.

lucasc190

2009-03-31 09:49

reporter   ~~0008700

I found these:

Rain Lines:
0x0072B010 (6 nop bytes) (default: 0072B010 - 0f 85 0d 06 00 00 - jne 0072b623) (seems to jump if camera interior not 0)

Fuzzy Rain Effect:
0x00705042 (2 nop bytes) (default: 00705042 - 75 3c - jne 00705080) (seems to jump if camera interior not 0)

Rain Fog:
0x0072A9DE (6 nop bytes) (default: 0072A9DE - 0f 85 7a 05 00 00 - jne 0072af5e) (seems to jump if player interior not 0)
0x0072AA01 (6 nop bytes) (default: 0072AA01 - 0f 85 57 05 00 00 - jne 0072af5e) (seems to jump if camera interior not 0)

Rain Sound Effects:
0x0072B9C8 (6 nop bytes) (default: 0072B9C8 - 0f 85 1b 01 00 00 - jne 0072bae9) (seems to jump if camera interior not 0)

Lightning:
0x005055C2 (2 nop bytes) (default: 005055C2 - 75 6a - jne 0050562e) (seems to jump if camera interior not 0)

Talidan

2009-04-03 05:27

administrator   ~~0008709

As lil_Toady suggested, the best solution is to update setWeather:

bool setWeather ( int weatherID, bool interiors )

Or something along those lines.

lucasc190

2009-04-03 17:26

reporter   ~~0008710

That makes sence.

eAi

2009-05-11 02:23

administrator   ~~0009190

There's a pending patch for this - #4276

Dutchman101

2014-08-08 20:06

updater   ~~0021689

bump, this would still be usefull.

Issue History

Date Modified Username Field Change