Skip to content

Commit

Permalink
deploy: df73fae
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Dec 5, 2024
1 parent 094bb8c commit 43eb2cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/gta3/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"00C4": "debug_off\nbreakpoint \"testing debug off opcode\" // will be ignored",
"00DD": "if\n is_char_in_model $scplayer {model} #AMBULAN\nthen\n print_string_now {text} \"Player in ambulance\" {time} 3000\nend",
"00E1": "while true\n wait 0\n \n if\n is_button_pressed {pad} PadId.Pad1 {buttonId} Button.DpadUp // usually \"G\"\n then\n print_string_now {text} \"Button is down.\" {time} 1\n end\nend",
"00E2": "int state = get_pad_state {pad} PadId.Pad1 {buttonId} Button.LeftStickX // -128 to 128\n\n// as multiplier\nfloat analog =# state\nanalog /= 128.0 // -1.0 to 1.0 range\n\nprint_formatted_now {format} \"state: %d, analog: %f\" {time} 5000 {args} state analog",
"0107": "int modelId = 910\nrequest_model {modelId} modelId\nload_all_models_now\nint obj = create_object {modelId} modelId {pos} 2490.0 -1666.0 14.0\nmark_model_as_no_longer_needed {modelId} modelId",
"0109": "const Player=0, Pad1 = 0, DpadUp = 8\nwhile True\n wait 0\n if \n is_button_pressed Pad1 DpadUp // usually \"G\"\n then\n add_score Player money 1\n end\nend",
"015F": "set_fixed_camera_position {pos} 2490.0 -1660.0 15.0 {upVecOffset} 0.0 0.0 -2.0 // 0,0,1 + 0,0,-2 = 0,0,-1\npoint_camera_at_char {char} $scplayer {mode} CameraMode.Fixed {switchStyle} SwitchType.JumpCut",
Expand Down
1 change: 1 addition & 0 deletions assets/sa/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
"00C4": "debug_off\nbreakpoint \"testing debug off opcode\" // will be ignored",
"00DD": "if\n is_char_in_model $scplayer {model} #AMBULAN\nthen\n print_string_now {text} \"Player in ambulance\" {time} 3000\nend",
"00E1": "while true\n wait 0\n \n if\n is_button_pressed {pad} PadId.Pad1 {buttonId} Button.DpadUp // usually \"G\"\n then\n print_string_now {text} \"Button is down.\" {time} 1\n end\nend",
"00E2": "int state = get_pad_state {pad} PadId.Pad1 {buttonId} Button.LeftStickX // -128 to 128\n\n// as multiplier\nfloat analog =# state\nanalog /= 128.0 // -1.0 to 1.0 range\n\nprint_formatted_now {format} \"state: %d, analog: %f\" {time} 5000 {args} state analog",
"0107": "int modelId = 910\nrequest_model {modelId} modelId\nload_all_models_now\nint obj = create_object {modelId} modelId {pos} 2490.0 -1666.0 14.0\nmark_model_as_no_longer_needed {modelId} modelId",
"0109": "const Player=0, Pad1 = 0, DpadUp = 8\nwhile True\n wait 0\n if \n is_button_pressed Pad1 DpadUp // usually \"G\"\n then\n add_score Player money 1\n end\nend",
"015F": "set_fixed_camera_position {pos} 2490.0 -1660.0 15.0 {upVecOffset} 0.0 0.0 -2.0 // 0,0,1 + 0,0,-2 = 0,0,-1\npoint_camera_at_char {char} $scplayer {mode} CameraMode.Fixed {switchStyle} SwitchType.JumpCut",
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": 1733278190880,
"timestamp": 1733372574465,
"index": "/index.html",
"assetGroups": [
{
Expand Down

0 comments on commit 43eb2cd

Please sign in to comment.