Development work for level_graph, CExplosive, CGrenade, CWeaponStatMgun, CWeapon, script mutant movement. Export CGrenade functions.#420
Merged
themrdemonized merged 7 commits intothemrdemonized:ghenfrom Feb 7, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
level_graph:
LUA: level.get_nearby_vertices(...) can be used to collect nearby vertices.
LUA: level.vertex_link(...) can be used to get the vertices that is connected to the current vertex.
LUA: level.get_nearby_covers(...) can be used to collect nearby vertices that are covers.
CExplosive, CGrenade:
Unify changes under #define EXPLOSIVE_CHANGE.
"on_grenade_explode" can be added to grenade configuration section to fire a callback when the grenade explode.
"explode_on_contact" can be added to grenade configuration section to make the grenade explode when it lands on a solid surface.
Export explosive object and grenade get/set functions.
CWeaponStatMgun:
Set Actor position when leaving machine gun turret.
CWeapon:
Export:
Get_mOffset
Get_mStrapOffset
Get_strap_bone0
Get_strap_bone1
Get_strapped_mode
HandDependence
Script mutant movement:
Allow the use of move.walk_fwd and move.run_fwd since they're also legit movement flags.
scripts\xr_combat_ignore.script
Add a fix to properly set enemy_id to nil when the enemy is no longer valid.