Skip to content

Instantly share code, notes, and snippets.

View pg9182's full-sized avatar
💤
taking a break

pg9182

💤
taking a break
View GitHub Profile
@aamiaa
aamiaa / RevertNewLayout.md
Last active August 26, 2025 06:39
Revert New Discord Layout

The original snippet no longer works!

On 02/09/2024 at around 8pm UTC, Discord flipped an experiment (2023-09_mobile_redesign_override_toggles) which ignores the layout toggle that this script relied on.

If you want to continue using the old layout, you can either use a modded mobile client (such as Vendetta) to disable that experiment, or downgrade to an old version of the app.

Method 1 - Downgrading (Android)

Tip

Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023

  1. Download version 205.15 of Discord mobile app from ApkMirror
Name Assault Score Defense Score Unknown Score Coremeter Titanmeter Reason
ControlPointCapture 250 0 10 10 Capture controlpoint from either unassigned or enemy team (only moment of capture counts)
ControlPointHold 0 25 2 2 Every 10 Seconds on Point while Point is in Team Possession
ControlPointAmped 0 250 20 15 only fist time after capture
ControlPointAmpedHold 0 50 5 5 Every 10 Seconds on Point while Point is in Team Possession and Amped
HardpointAssault 50 0 10 15 when both players are on point and point belongs to victim team or is unassigned and victim team is capping
HardpointDefense 0 50 5 10 when both players are on point and point belongs to attacker team
HardpointPerimeterDefense 0 50 10 12 when only attacker is on point and point belongs to attacker team
HardpointSiege 50 0 10 15 when only victim is on point and within 47.625 m
HardpointSnipe 50 0 10 15 same as siege but 47.625 or more meterss away
@RoyalBlue1
RoyalBlue1 / AmpedHardpointScoreEvents.csv
Created January 13, 2022 02:00
Dumped Score_Events Relating to Amped Hardpoint
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 2.
name , splashText , medalText , pointValue, medalIcon
ControlPointCapture , #SCORE_EVENT_HARDPOINT_CAPTURED , #SCORE_EVENT_HARDPOINT_CAPTURED , 250 , $"rui/medals/hardpoint"
ControlPointCaptureAssist , #SCORE_EVENT_HARDPOINT_CAPTURE_ASSIST , #SCORE_EVENT_HARDPOINT_CAPTURE_ASSIST , 100 , $"rui/medals/hardpoint"
ControlPointHold , #SCORE_EVENT_HARDPOINT_HOLD , #SCORE_EVENT_HARDPOINT_HOLD , 25 , $"rui/medals/hardpoint"
ControlPointTake , #SCORE_EVENT_HARDPOINT_TAKE , #SCORE_EVENT_HARDPOINT_TAKE , 25 , $"rui/medals/hardpoint"
ControlPointAmped , #SCORE_EVENT_HARDPOINT_AMPED , #SCORE_EVENT_HARDPOINT_AMPED , 250 , $"rui/medals/hardpoint"
ControlPointAmpedHold , #SCORE_EVENT_HARDPOINT_AMPED_HOLD , #SCORE_EVENT_HARDPOINT_AMPED_HOLD , 50 , $"rui/medals/hardpoint"
ControlPointNeutralize , #SCORE_EVENT_HARDPOINT_NEUTRALIZED , #SCORE_EVENT_HARDPOINT_NEUTRALIZED , 150 , $"rui/medals/hardpoint"
ControlPointNeutralizeAssist , #SCORE_EVENT_HARDPOINT_NEUTRALIZE_ASSIST , #SCORE_EVENT_HARDPOINT_NEUTRALIZE_ASSIST , 75 , $"rui/me
@warmist
warmist / hull_list.txt
Last active January 9, 2022 08:25
ImHex pattern and lua file for reading titanfall2 navmesh file format
Hulls extracted from the game:
180b4be60 hulldef[6]
hulldef[0]
name=HULL_HUMAN
field1_0x8=0x1
bbox_min={-16,-16,0}
bbox_max={16,16,72}
walk_height=18.0 //not 100% sure...
field5_0x28=0.5
field6_0x2c={60.0f,250.0f,400.0f}