[SVN] Customizable weapon spread

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby divVerent » Wed Nov 11, 2009 7:04 am

Yes, that is what gaussian normally models.

However, it is bad for gameplay that a projectile can end up anywhere - just with low probability. It's better especially in team games if a bullet can only hit a certain maximum distance around the crosshair (so you can AVOID hitting someone) - which is why I suggest the (2-r)(1-r) spread instead of gaussian.

Other than that, the functions for gaussian and (2-r)(1-r) are very similar at higher distances, and dissimilar at lower distances.

Image
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Previous

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron