ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dehacked CustomMissile features

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Pending Requests
View previous topic :: View next topic  
Author Message
Body-Guard
Unstoppable!


Joined: 08 Jan 2006
Location: Hungary

PostPosted: Wed Jun 29, 2022 5:04 pm    Post subject: Dehacked CustomMissile features Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Pending Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group