weapon scripting

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
tkd
Private
Posts: 1
Joined: Thu Aug 28, 2003 2:44 am

weapon scripting

Post by tkd »

Sorry for the lame question but I'm curious how weapon accuracy is coded. From what I gather dmbulletspread is the main culprit. Can someone help me out and explain how dmbulletspread works w/ examples?

Thanks!
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

This is what g_allclasses says about it:

dmbulletspread( Float bulletSpreadX, Float bulletSpreadY, [ Float bulletSpreadXmax ], [ Float bulletSpreadYmax ] )

Set the min & optional max spread of the bullet in the x and y axis
Image
Post Reply