Editing A FireCustomBullets
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Codepointer | | {{Codepointer | | ||
description=FireCustomBullets is a parameterized player weapon codepointer. This codepointer can be used for the construction of custom player bullet weapons. The sound, accuracy, number of tracers, and randomized damage range of the tracers are all selectable via the argument fields. | | description=FireCustomBullets is a parameterized player weapon codepointer. This codepointer can be used for the construction of custom player bullet weapons. The sound, accuracy, number of tracers, and randomized damage range of the tracers are all selectable via the argument fields. | | ||
usage='''FireCustomBullets''' (''soundname'', ''accuracy'', ''tracers'', ''dmgfactor'', ''dmgmod'', ''flashstate''[ | usage='''FireCustomBullets''' (''soundname'', ''accuracy'', ''tracers'', ''dmgfactor'', ''dmgmod'', ''flashstate'', [''horizontal'', ''vertical'']) | | ||
parameters=*soundname: The "nice name" of the sound to play. See [[sound|the sound EDF block]] for how to define this. | parameters=*soundname: The "nice name" of the sound to play. See [[sound|the sound EDF block]] for how to define this. | ||
*''accuracy'': Select accuracy type: | *''accuracy'': Select accuracy type: | ||
Line 16: | Line 16: | ||
*''horizontal'': if ''accuracy'' is '''custom''', specify the '''overall''' horizontal spread in degrees (as opposed to spread each side of firing thing's current angle). Keep in mind the distribution is not uniform; it's concentrated on the centre, just like the preset spread types. | *''horizontal'': if ''accuracy'' is '''custom''', specify the '''overall''' horizontal spread in degrees (as opposed to spread each side of firing thing's current angle). Keep in mind the distribution is not uniform; it's concentrated on the centre, just like the preset spread types. | ||
*''vertical'': also if ''accuracy'' is '''custom''', specify the overall vertical spread. Same distribution as for ''horizontal''. | *''vertical'': also if ''accuracy'' is '''custom''', specify the overall vertical spread. Same distribution as for ''horizontal''. | ||
|notes=It is possible to recreate any of the other bullet attacks in the game using this pointer, as well as create many totally new ones. | | |notes=It is possible to recreate any of the other bullet attacks in the game using this pointer, as well as create many totally new ones. | | ||
seealso= | seealso= | ||
*[[CustomPlayerMelee]] | *[[CustomPlayerMelee]] | ||
*[[FirePlayerMissile]]}} | *[[FirePlayerMissile]]}} |