Funkcje scaleformów
Przeszukaj movie scaleform z GTA V i funkcje, które możesz na nich wywołać przez BeginScaleformMovieMethod, razem ze znanymi listami parametrów.
To narzędzie i jego opis są na razie po angielsku.
To narzędzie jest wyłączone na czas konserwacji
Wyłączyliśmy je na chwilę. Reszta strony działa normalnie, a narzędzie wróci samo.
Calling a scaleform function
Scaleform movies are the Flash (ActionScript 2) UI files GTA V uses for HUD pieces, phones, big messages, computer screens and more. You load a movie, call one of its functions with parameters, then draw it every frame:
local scaleform = RequestScaleformMovie("MIDSIZED_MESSAGE")
while not HasScaleformMovieLoaded(scaleform) do Wait(0) end
-- SHOW_SHARD_MIDSIZED_MESSAGE(bigText, msgText, colID, useDarkerShard, useCondensedShard)
BeginScaleformMovieMethod(scaleform, "SHOW_SHARD_MIDSIZED_MESSAGE")
ScaleformMovieMethodAddParamTextureNameString("MISSION PASSED")
ScaleformMovieMethodAddParamTextureNameString("You delivered the car")
ScaleformMovieMethodAddParamInt(2)
ScaleformMovieMethodAddParamBool(false)
ScaleformMovieMethodAddParamBool(false)
EndScaleformMovieMethod()
while true do
DrawScaleformMovieFullscreen(scaleform, 255, 255, 255, 255, 0)
Wait(0)
endParameter natives
| Native | Use for |
|---|---|
ScaleformMovieMethodAddParamInt | Integers, enums, colour ids. |
ScaleformMovieMethodAddParamFloat | Positions, scales, alpha. |
ScaleformMovieMethodAddParamBool | Flags such as isVisible. |
ScaleformMovieMethodAddParamTextureNameString | Plain strings, texture dictionary and texture names. |
ScaleformMovieMethodAddParamPlayerNameString | Player names and short strings. |
BeginTextCommandScaleformString + EndTextCommandScaleformString | Long text, text labels and ~r~ style formatting. |
Things to know
- This list is generated from decompiled movies. Not every function does something in-game. UPPERCASE functions are the public API and usually work; lowercase ones are internal but sometimes work too.
- Parameter types are not in the data, only names. The builder guesses them from the name.
- Pause menu and other frontend movies can't be drawn with
DrawScaleformMovie; they useBeginScaleformMovieMethodOnFrontendand are mostly undocumented. - Release a movie you no longer need with
SetScaleformMovieAsNoLongerNeeded. - The page keeps
?movie=and?fn=in the URL so you can link a function.
Data: Vespura (tomgrobbe.com), from decompiled scaleform scripts.
Więcej narzędzi: dokumentacja
Interaktywna mapa
Cała mapa GTA V w przeglądarce: mapa 2D z koordami i świat 3D, po którym możesz poruszać się freecamem albo chodzić.
Przeglądarka animacji
Odtwarzaj animacje z GTA V na pedzie freemode w 3D. Wszystkie słowniki i klipy z gry, do tego sceny synchroniczne z dwoma pedami i ich propami.
Przeglądarka przerywników
Każdy przerywnik z GTA V z aktorami, długością, cięciami kamery i napisami, plus podgląd 3D tych, które wyeksportowaliśmy.
