View Issue Details

IDProjectCategoryView StatusLast Update
0001142Multi Theft Auto : San AndreasScriptingpublic2006-04-06 05:34
ReporterVandaliteAssigned ToChrML 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
PlatformAMD Athlon XPOSWindows XPOS VersionService Pack 2
Product Version 
Target VersionFixed in Version 
Summary0001142: Add setWeatherBlended to function list
Description

Chrml and i did some experiments, and we figured out exactly how the weather systems in SA actually work

(it seems the two weather arguments are actually a system for 'weather at beginning of hour' and 'weather at end of hour')

Chrml asked me to post this, so here i go

add a function to the lua AND the client (and its gonna be its own packet too..) so that you can run 'setNextWeather(weather)' and it will shift to that weather starting at the beginning of the next in-game hour.

the first arg (to SA's opcode) will be the current weather's second value (end of hour weather)
and the second arg will be the weather you want it to be at the end of the hour (specified in setNextWeather)

(using setWeather, and a dillignet timing, i was able to simulate sunny -> thunderstorm -> fogy -> sunny )

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change