Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

What's the collision box size for LWeapons?

2 replies · 940 views · Started 10 March 2008

Do these vary between some lweapons, or all they all the same down to the pixel?

What I'm trying to do is script them so I get customization over what damage and effects they are capable of dealing on a enemy to enemy basis, but when the default hit detection kicks in it becomes a bit erratic.

Ah, ok then. Was wondering that because some enemy weapon sprites hit box seem to be about 8-15 pixels. And I didn't see this:

Additionally, one can change the offset from the enemy's position to start drawing the sprite, as well as the offsets and size of the sprite's collision box (so variable sized weapon projectiles are possible as well). More information when the new build comes out. ( jman2050, 2008-03-05 15:19:45 )

Sweet. So I'm assuming you can make the collision box smaller as well as larger with scripting.