Body-Guard Unstoppable!
Joined: 08 Jan 2006 Location: Hungary
|
Posted: Wed Jun 29, 2022 5:04 pm Post subject: Dehacked CustomMissile features |
|
|
New flags for CPA_CustomMissile and CPW_CustomMissile:
1) CMF_RANDOMPITCH
Uses the user supplied pitch value as a [-pitch; +pitch] interval to create random vertical spread for the missile fired
2) CMF_RANDOMANGLE
Uses the user supplied angle value as a [-angle; +angle] interval to create random horizontal spread for the missile fired
Using these flags in conjunction with CMF_OFFSETPITCH and CMF_AIMATANGLE for example would allow to create player projectile based weapons with random spread similarly to CustomBulletAttack's horz_spread and vert_spread properties. |
|