SanAndreasUnity/Docs/weapons.md

33 lines
747 B
Markdown
Raw Normal View History

2020-05-31 17:07:22 +00:00
2019-07-19 21:56:39 +00:00
## Weapons/damage TODO
2020-05-31 17:07:22 +00:00
<br>
2019-07-19 21:56:39 +00:00
### Weapons
2020-05-31 17:07:22 +00:00
- play separate anim for tec9 ?
2019-07-19 21:56:39 +00:00
- implement reloading
2020-05-31 17:07:22 +00:00
2019-07-19 21:56:39 +00:00
- when lerping upper arm transform toward ped forward vector, arm is going on the opposite side - it seems that it depends on world rotation of ped
2020-05-31 17:07:22 +00:00
2019-07-19 21:56:39 +00:00
- anim for minigun and flame thrower can't be loaded
2020-05-31 17:07:22 +00:00
2019-07-19 21:56:39 +00:00
### Damage system
2020-05-31 17:07:22 +00:00
- particles on place of hit
- display inflicted damage as on-screen message
2019-07-19 21:56:39 +00:00
- die animation - detach ped model before destroying ped ; send rpc to players to ~~do the same~~ create ped model only (not ped), and play anim ;
2020-05-31 17:07:22 +00:00
- we need to raycast against ped mesh, not capsule collider ; also need to detect which part of body was hit
2019-07-19 21:56:39 +00:00
- adapt vehicles to damage system - need explosion and smoke effects first
2020-05-31 17:07:22 +00:00
- decals