Skip to content

A handful of miscellaneous changes#112

Merged
themrdemonized merged 2 commits intothemrdemonized:all-in-one-vs2022-wpofrom
etapomom:all-in-one-vs2022-wpo
Dec 10, 2024
Merged

A handful of miscellaneous changes#112
themrdemonized merged 2 commits intothemrdemonized:all-in-one-vs2022-wpofrom
etapomom:all-in-one-vs2022-wpo

Conversation

@etapomom
Copy link
Contributor

@etapomom etapomom commented Dec 8, 2024

  • Added console commands:

    1. fix_avelocity_spread -> Bool; Fixes moving the camera not affecting accuracy.
    2. apply_pdm_to_ads -> Bool; Makes it so that PDM values from the weapon are properly applied when aiming down sights.
    3. smooth_ads_transition -> Bool; Makes it so that going in and out of ADS smoothly changes the accuracy bonus instead of changing only at full ADS.
    4. allow_silencer_hide_tracer -> Bool; Optionally disables silencers being able to hide tracers completely. (Defaults to true)
  • Added silenced_tracers (bool) field to weapons sections. If the ammo type can be hidden when using a silenced weapon, setting this field to true makes the tracer visible again.

  • Added GetZoomRotateTime() and SetZoomRotateTime(float val).

  • Added senderweapon to the table used for level.add_bullet() to improve compatibility with modding. Defaults to sender.

  • Added bkeep_speed to SetActorPosition().

  • Added SetMovementSpeed(). Exported as set_movement_speed(vector vel) for scripting.

@themrdemonized
Copy link
Owner

Please add new exports into lua_help_ex.script and add new console parameters into modded exes options ui in ui_mm_modded_exes.script

@etapomom
Copy link
Contributor Author

etapomom commented Dec 9, 2024

done, also added my previous changes to those files.

@themrdemonized
Copy link
Owner

Thanks

@themrdemonized themrdemonized merged commit ecb0294 into themrdemonized:all-in-one-vs2022-wpo Dec 10, 2024
themrdemonized added a commit that referenced this pull request Dec 10, 2024
A handful of miscellaneous changes

(cherry picked from commit ecb0294)
Y3sMan pushed a commit to Y3sMan/xray-monolith that referenced this pull request Jan 2, 2025
…-wpo

A handful of miscellaneous changes

(cherry picked from commit ecb0294)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants