g_tweakForce
jaPRO
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Set with tweakForce. Each bit is a separate option, so the command toggles one of them per use and leaves the rest alone. Setting a raw value by hand replaces every option at once.
Configured with /tweakForce command.
At a glance
| Field | Value |
|---|---|
| Default | 0 |
| Value type | bitmask |
| Restart | No latch flag is registered. |
| Manually settable | Yes |
| Cheat protected | No |
| Configure with | tweakForce |
| Network scope | server-authoritative: Owned or enforced by the server. |
| Category | Gameplay & combat |
| Module | game |
| Renderer | All / not renderer-specific |
| Derivation | documented |
| Confidence | medium |
| Added | 2018-01-01 in d9d510063 needs review (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | No |
Bits
Use tweakForce to toggle one option at a time; see the command page for syntax. The value column is that bit on its own. The labels come from the source table.
| Bit | Value | Meaning | Read by |
|:–|:–|:–|:–|
| 0 | 1 | No forcepower drain for crouch attack | — |
| 1 | 2 | Fix projectile force push dir | — |
| 2 | 4 | Can push/pull knocked down players | — |
| 3 | 8 | Fix grip absorb | — |
| 4 | 16 | Allow force combo | codemp/game/g_local.h:251 |
| 5 | 32 | Fix pull strength | — |
| 6 | 64 | JK2 grip | — |
| 7 | 128 | Fast grip runspeed | codemp/game/g_local.h:254 |
| 8 | 256 | Push/pull items | — |
| 9 | 512 | Smaller Drain COF | — |
| 10 | 1024 | JK2 push/pull knockdown | — |
| 11 | 2048 | JK2 style knockdown getup | — |
| 12 | 4096 | Allow push/pull during roll like JK2 | — |
| 13 | 8192 | Force drain does not give forcepoints to players using force absorb | — |
| 14 | 16384 | Allow grip during roll | — |
| 15 | 32768 | Weak force pull | — |
| 16 | 65536 | Nerfed weapon pull distance | — |
| 17 | 131072 | Force resistance while firing/charging weapon | — |
| 18 | 262144 | Stop rage from affecting firerate of weapons | codemp/game/g_local.h:265 |
| 19 | 524288 | Don’t break mindtrick on attack unless trickee is looking at you | — |
| 20 | 1048576 | Stronger / different Melee attack | codemp/game/g_local.h:267 |
| 21 | 2097152 | Drain takes 25% less force from target | — |
| 22 | 4194304 | Regen force while being gripped if mid jump | — |
| 23 | 8388608 | Drain level 3 is a line | — |
Flags
CVAR_ARCHIVE: saved to the user configuration
Provenance
Origin: jaPRO
- Ultimate-origin introduction:
d9d510063ce6in jaPRO (content authored2015-04-17, integrated2018-01-01) - Upstream registration evidence: codemp/game/g_xcvar.h:210
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by eternaljk, taystjk, japro, vulkan; fork-lineage order selects eternaljk. The identifier’s single-prefix squash feature group explicitly credits japro.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| EternalJK | 2015-04-17 |
— | 2018-01-01 |
d9d510063ce6 |
Shared integration commit |
| TaystJK | 2015-04-17 |
— | 2018-01-01 |
d9d510063ce6 |
Shared integration commit |
| jaPRO | 2015-04-17 |
— | 2018-01-01 |
d9d510063ce6 |
Ultimate origin |
| Vulkan | 2015-04-17 |
— | 2018-01-01 |
d9d510063ce6 |
Shared integration commit |
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2018-09-03 |
EternalJK | 6e78add659deMerge remote-tracking branch ‘videoP/master’ |
Changed an exact bound cvar-variable reference. codemp/game/bg_pmove.c, codemp/game/g_cmds.c, codemp/game/w_force.c |
medium |
2018-10-18 |
jaPRO | 116fd88bcf51Merge remote-tracking branch ‘videoP-jaPRO/master’ |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
high |
2020-06-14 |
jaPRO | fb24d6a98965Merge remote-tracking branch ‘videoP-jaPRO/master’ |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
high |
2023-12-11 |
jaPRO | 9b57ee1b8566 · PR #55Japro update (#55) |
Changed an exact bound cvar-variable reference. codemp/game/ai_main.c, codemp/game/bg_pmove.c, codemp/game/g_cmds.c and 3 more |
high |
2024-01-09 |
jaPRO | b5dff40126c7 · PR #82Japro update (#82) |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
high |
2024-04-15 |
jaPRO | 258031c97e93 · PR #188Japro update (#188) |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
high |
2024-05-02 |
jaPRO | 13eac340e1ce · PR #193Japro update (#193) |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c |
high |
2024-05-24 |
jaPRO | 8188f06a4e61 · PR #204Japro update (#204) |
Changed an exact bound cvar-variable reference. codemp/game/w_force.c |
high |
2024-05-31 |
jaPRO | 55aceb66a04c · PR #207Japro update (#207) |
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c, codemp/game/w_force.c |
high |
2024-09-22 |
jaPRO | 100cdfc116b9 · PR #212Japro Update |
Changed an exact bound cvar-variable reference. codemp/game/g_cvar.c |
high |
Evidence
- registration: codemp/game/g_xcvar.h:209 (XCVAR_DEF)
- behavior: codemp/game/ai_main.c:8079
- behavior: codemp/game/bg_pmove.c:11317
- behavior: codemp/game/bg_pmove.c:12106
- behavior: codemp/game/bg_pmove.c:12118
- behavior: codemp/game/bg_pmove.c:14303
- documentation: docs/japro_docs.md:29
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.