Separatist-Crisis-Mod-Team / SeparatistCrisis

MIT License
0 stars 0 forks source link

SC-2/force-push-poc #53

Open AJannik opened 3 years ago

AJannik commented 3 years ago

Description For our Force-System we need custom abilities, Force-Push is one of such ablities. When the player can do Force-Push then the ability should be executed inside (only) battles when the player presses a specific key. On execution all enemies in a defined cone inside the direction the player character is looking at should be pushed away with a specified force and have a specified amount of damage applied. There should be a defined cooldown after the execution before triggering the ability again.

Confirmations

Useful information Applying the push effect might be similar to when horses charge infantry. This should definitly be looked into. We should be able to use scripts to implement all requirements. Potatially important: GameEntity.ActivateRagdoll(), GameEntity.AddPhysics(), GameEntity.EnableDynamicBody()

References Code example of scripting in Bannerlord -> SC-1

Estimated time: 7d