Skip to content

Commit

Permalink
deploy: 4d279ae
Browse files Browse the repository at this point in the history
  • Loading branch information
x87 committed Oct 29, 2024
1 parent d8d3c8d commit 0d5bc26
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 12 deletions.
51 changes: 40 additions & 11 deletions assets/gta_iv/gta_iv.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"meta": {
"last_update": 1727874566192,
"version": "0.85",
"last_update": 1730202946490,
"version": "0.86",
"url": "https://library.sannybuilder.com/#/gta_iv"
},
"extensions": [
Expand Down Expand Up @@ -229,7 +229,12 @@
],
"name": "ACTIVATE_SCRIPTED_CAMS",
"num_params": 2,
"short_desc": "Activates the scripted camera"
"short_desc": "Activates the scripted cameras",
"class": "Camera",
"member": "ActivateScripted",
"attrs": {
"is_static": true
}
},
{
"name": "ACTIVATE_VECTOR_MAP",
Expand Down Expand Up @@ -4686,7 +4691,13 @@
}
],
"name": "CLEAR_NAMED_CUTSCENE",
"num_params": 1
"num_params": 1,
"class": "Cutscene",
"member": "ClearNamed",
"short_desc": "Ends the specified cutscene, freeing game memory",
"attrs": {
"is_static": true
}
},
{
"name": "CLEAR_NETWORK_RESTART_NODE_GROUP_LIST",
Expand Down Expand Up @@ -13108,16 +13119,16 @@
{
"output": [
{
"name": "_p1",
"type": "int",
"name": "languageId",
"type": "Language",
"source": "var_any"
}
],
"name": "GET_CURRENT_LANGUAGE",
"num_params": 1,
"class": "Game",
"member": "GetCurrentLanguage",
"short_desc": "Returns the current language set in the menu language settings",
"short_desc": "Returns the current language",
"attrs": {
"is_static": true
}
Expand Down Expand Up @@ -20822,7 +20833,12 @@
],
"name": "INIT_CUTSCENE",
"num_params": 1,
"short_desc": "Loads a cutscene with the name"
"short_desc": "Loads a cutscene with the name",
"class": "Cutscene",
"member": "Init",
"attrs": {
"is_static": true
}
},
{
"name": "INIT_DEBUG_WIDGETS",
Expand Down Expand Up @@ -36537,7 +36553,8 @@
"member": "SetHeading",
"attrs": {
"is_static": true
}
},
"short_desc": "Sets the game camera heading"
},
{
"input": [
Expand All @@ -36547,7 +36564,13 @@
}
],
"name": "SET_GAME_CAM_PITCH",
"num_params": 1
"num_params": 1,
"class": "Camera",
"member": "SetPitch",
"short_desc": "Sets the game camera pitch",
"attrs": {
"is_static": true
}
},
{
"name": "SET_GAME_CAMERA_CONTROLS_ACTIVE",
Expand Down Expand Up @@ -42532,7 +42555,13 @@
}
],
"name": "START_CUTSCENE_NOW",
"num_params": 1
"num_params": 1,
"class": "Cutscene",
"member": "StartNow",
"attrs": {
"is_static": true
},
"short_desc": "Loads and then starts the cutscene"
},
{
"name": "START_END_CREDITS_MUSIC",
Expand Down
3 changes: 3 additions & 0 deletions assets/gta_iv/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
},
"default": {
"ABORT_SCRIPTED_CONVERSATION": "Conversation.AbortScripted(false);",
"ACTIVATE_SCRIPTED_CAMS": "Camera.ActivateScripted(true, true);",
"ADD_LINE_TO_CONVERSATION": "Conversation.NewScripted();\nConversation.AddNewSpeaker(0, ExamplePed1, \"ROMAN\");\nConversation.AddNewSpeaker(1, ExamplePed2, \"NIKO\");\nConversation.AddNewSpeaker(2, ExamplePed3, \"JACOB\");\nConversation.AddLine(0, \"R1_AA\", \"PDB_ADDR_3\", 0, 0);\nConversation.AddLine(1, \"R1_BA\", \"SG_TIT\", 0, 0);\nConversation.AddLine(2, \"R6_AA\", \"MO_ANISO\", 0, 0);\nConversation.StartScript(true, true);\nwhile (Conversation.IsScriptedOngoing()) {\n wait(0);\n}\nText.ClearPrints();",
"ADD_LINE_TO_MOBILE_PHONE_CALL": "Conversation.NewScripted();\nConversation.AddNewSpeaker(0, ExamplePed1, \"ROMAN\");\nConversation.AddNewSpeaker(1, ExamplePed2, \"NIKO\");\nConversation.AddNewSpeaker(2, ExamplePed3, \"JACOB\");\nConversation.AddLineToMobilePhoneCall(0, \"R1_AA\", \"PDB_ADDR_3\");\nConversation.AddLineToMobilePhoneCall(1, \"R1_BA\", \"SG_TIT\");\nConversation.AddLineToMobilePhoneCall(2, \"R6_AA\", \"MO_ANISO\");\nConversation.StartScript(true, true);\nwhile (Conversation.IsScriptedOngoing()) {\n wait(0);\n}\nText.ClearPrints();",
"ADD_NEW_CONVERSATION_SPEAKER": "Conversation.NewScripted();\nConversation.AddNewSpeaker(0, ExamplePed1, \"ROMAN\");\nConversation.AddNewSpeaker(1, ExamplePed2, \"NIKO\");\nConversation.AddNewSpeaker(2, ExamplePed3, \"JACOB\");\nConversation.AddLine(0, \"R1_AA\", \"PDB_ADDR_3\", 0, 0);\nConversation.AddLine(1, \"R1_BA\", \"SG_TIT\", 0, 0);\nConversation.AddLine(2, \"R6_AA\", \"MO_ANISO\", 0, 0);\nConversation.StartScript(true, true);\nwhile (Conversation.IsScriptedOngoing()) {\n wait(0);\n}\nText.ClearPrints();",
Expand All @@ -18,6 +19,8 @@
"PRELOAD_STREAM_WITH_START_OFFSET": "while (!Audio.PreloadStreamWithStartOffset(\"QUB3D_MUSIC\", 20000)) {\n wait(0);\n}\nAudio.PlayStreamFrontend();",
"PRINT_STRING_WITH_LITERAL_STRING": "Text.PrintStringWithLiteralString(\"string\", \"MyText\", 5000, true);",
"PRINT_STRING_WITH_LITERAL_STRING_NOW": "Text.PrintStringWithLiteralStringNow(\"string\", \"MyText\", 5000, true);",
"SET_GAME_CAM_HEADING": "Camera.SetHeading(0.0);",
"SET_GAME_CAM_PITCH": "Camera.SetGamePitch(0.0);",
"START_SCRIPT_CONVERSATION": "Conversation.NewScripted();\nConversation.AddNewSpeaker(0, ExamplePed1, \"ROMAN\");\nConversation.AddNewSpeaker(1, ExamplePed2, \"NIKO\");\nConversation.AddNewSpeaker(2, ExamplePed3, \"JACOB\");\nConversation.AddLine(0, \"R1_AA\", \"PDB_ADDR_3\", 0, 0);\nConversation.AddLine(1, \"R1_BA\", \"SG_TIT\", 0, 0);\nConversation.AddLine(2, \"R6_AA\", \"MO_ANISO\", 0, 0);\nConversation.StartScript(true, true);\nwhile (Conversation.IsScriptedOngoing()) {\n wait(0);\n}\nText.ClearPrints();",
"STOP_STREAM": "while (!Audio.PreloadStream(\"QUB3D_MUSIC\")) {\n wait(0);\n}\nAudio.PlayStreamFrontend();\nwait(5000);\nAudio.StopStream();",
"TASK_PLAY_ANIM_FACIAL": "Task.PlayAnimFacial(ped, \"shocked\", \"facials@m_hi\", 1.0f, 0, 0, -1);"
Expand Down
2 changes: 1 addition & 1 deletion ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1730136556319,
"timestamp": 1730210458742,
"index": "/index.html",
"assetGroups": [
{
Expand Down

0 comments on commit 0d5bc26

Please sign in to comment.