Jump to content


Change Bomb explosion sprite?

  • Please log in to reply
2 replies to this topic

#1 idontknow8



  • Members

Posted 15 August 2016 - 09:23 AM

Is there a way to script a different bomb explosion sprite?  I want to keep the default explosion for the default bombs but I have a scripted bomb where the bomb itself should look different (which it does) but also the explosion should look different too and I can't figure that out.


I tried the following code & it doesn't work:

lweapon blast = LoadLWeaponOf(LW_BOMBBLAST);

127 is the number of the sprite to use.  It compiles fine but doesn't do anything.

#2 Shadowblitz16



  • Members

Posted 07 January 2017 - 01:52 PM

I would like to know this as well 

I want to create gameboy styled bombs which use 4 frames of 2x2 tiles

#3 ZoriaRPG


    ZC Contributor & Wiki Editor

  • Members
  • Gender:Unspecified
  • Location:Prydon Academy

Posted 07 January 2017 - 11:01 PM

Bomb sprites are hardcoded. In the sprite editor, use blank tiles for them, and either DrawTile() calls, or generate dummy weapons that have other sprtes, from your global active script at the explosion coordinates. There is no way tomodify them otherwise.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users