Implement attacksets, skin config, weapon config, tier system, tweaks and fixes - #12
Merged
Conversation
… g_meleeDiveRange, hit stun holds a status when ki is empty, set ki regeneration and consumption logic correctly, set melee ranges correctly, fix use of weaponTime and weapon states, make muzzle flash fit better for player monster and don't add glow to the projectile
…e select the first 5 weapons only, make first weapon selected and fix attack animations
…at stuff: - Apply damage hit to hitscan and forcefield attacks - Use weaponTime delay for forcefield attack with chargeAutoFire - Apply reflective correctly - Handle correctly the movements of forcefield with chargeAttack and without chargeAutoFire status - Handle correctly ki charge points, weapon slot and clientNum at sending events - Adjust minCharge and maxCharge calculations if equal or lesser than 0 - Adjust and apply charge damage calculation - Make bots recharge ki when ki is critically low and avoid using ki boost, flight and attack while are on hitstun - Explode when projectiles are being stuck into something solid - Add 0.8 sec for strike animation while firing a common attack - Adjust knockback fairly correct as possible - Avoid using ki boost with forcefield with chargeAutoFire - Don't allow attack when recharging ki - Forgot to apply muzzle origin for EV_RAILTRAIL event - Avoid null pointer exceptions at run missile while entering function features and most of stuff where AngleVectors is accessed - Fix charge damage scaling adding more radius every time the same projectile is spawned - Fix homing projectile being disabled for the next projectiles when piercing is involved to disable these properties - Fix noZBounce returning 0 if it's more than 0.0 and fix missileGravity projectile fall for noZBounce - Fix ki charge points increasing over maxCharge - Fix random weapon time calculation - Fix rdmissile not splitting, fix ki consumption at start, just consume for chargeAttack and chargeAutoFire when standing on WEAPON_READY to fire - Fix torso strike animation with a regular ki attack while moving and standing - Fix begin weapon change playing the event many times in the same second - Fix firing while there's WEAPON_STUN - Tweak the code a bit
- Apply most skin config features correctly such as missileModelRotation, missileRotation, constantFireAttack, ... - Apply the heritance of defaultModel from bfp_attacksets.cfg in skin config - Make file writings/readings from bfp.cfg, bfp_server.cfg, skin, weapon and attackset config using 64KB size - Make beam trails be very identically close to original BFP - Make homing traceable on solid places, target is visible when there's no solid hiding behind them - Set back impact point mark to -1 to fix dynamic light issue not displaying above the surface - Organize ending credits and a add a macro to enable/disable credits music, enabled by default - Put sbeam attack type projectile a bit above - Add muzzle origin for missile & rdmissile attack types when these are fired in that origin - Make swing angles from torso and legs be identically the same as original BFP - Apply movementPenalty for all weapons in bg_pmove.c and g_active.c - Replace Use_Shooter using default regular ki attacks - Refactor WP_* to WP_ATTACK_* - Refactor atkCfg to skinAtkCfg for better clarity - Fix some null exception - Tweak and tidy up the code a bit - Disable grenade bounce sound stuff - Remove some unused/dead code - Remove some unused cvars
… to avoid using weapons
…P and EF_KI_READY_ATTACK flags by solving logic structures (saves up the networking bits!), remove unused bot_state_t struct variables and refactor bfpWeaponDef_t to bfpWeaponCfgDef_t and its variables from def to wpCfg
… whip effect on beam trails, apply textcoord scale on missile trails similar to RT_RAIL_CORE reType to make it look smoother, adjust scale factor conditional for flash/missile, fix muzzle flash disaplying on constantFireAttack with chargeAttack while charging, fix continuous firing when using a chargeAutoFire attack, remove unused shader, model and sound stuff from media_t
…s, moved docs and cfgs into BFP-docs repository and add an added the code filename in the available in the build tools list Docs and cfgs are moved here: https://github.com/LegendaryGuard/BFP-docs
…pon by pressing melee button
…de maintainability, adjust sprite size and model scale, fix pe.chargeAutoFire not being reset when changing weapons, fix adding ki charge points when maxCharge is equal or lesser than zero, fix ki consumption consuming early before attacking, fix chargeAutoFire when ki charge points are lesser than minCharge to leave the attack phase, fix movementPenalty by not removing aura and ki boost, and using melee to leave the attack phase, and remove code comments about animations
… unlocking the tier and don't allow to select the locked weapon by powerlevel with clicking a key with weapon number
…d TODOs, remove unused cvars and comment out the networking about the comparison of the original BFP
…it should shot the weapon. Move BFP macros from q_shared.h to bg_public.h to make sense and remove conditional PM_IsInUltimateTier parentheses
… 1 to 2000 and don't make player monster with g_monster 1 use useless unlocked weapon slots while leveling up the tier
…nts even avoid attack pose, add forgotten file in game.q3asm, fix some possible null exceptions in projectiles with piercing and priority, and fix rdmissile not being cleared to change weaponstate to WEAPON_READY when there's another projectile with higher or equal priority
…disable unused custom sounds (these ones were printing warning errors, so no BFP model uses these sounds), add 2 forgotten files in cgame.q3asm (bg_weaponconfig and cg_skinconfig) and remove some non-useful code in cgame
…zes; adjust bar health percentages: <= 65%: blue, <= 33%: red; change default missileTrailRadius skin config to 15, adjust random smoke explosion movements, adjust correctly the charge damage to be exactly equal to original BFP, fix possible null exceptions in piercing property, fix weapon with movementPenalty jumping involuntarily with flight enabled, add detail about projectile with missile attack type using beam trail in README and remove some commented out code
…this repository in the credits list and remove an unnecesary legal detail, there's nothing about this in this repository
…essfully as-is in main menu and change credits music name staying as a macro
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.
Finally, all tasks completed. 🎉
CHANGELOG
.menuextensionmusic/endingwith_mp3branch, but as far as it is, this code looks obsolete and inefficient to use, the result is a bloated decoded size, not worth it