Project X Forums
http://px.worms2d.info/forum/

Fixed Kamikaze Rocket?
http://px.worms2d.info/forum/viewtopic.php?f=16&t=2104
Page 1 of 1

Author:  Akira896 [ Wed Feb 15, 2017 10:51 pm ]
Post subject:  Fixed Kamikaze Rocket?

While testing, I found out that when the Kamikaze Rocket library is enabled, the ORIGINAL Kamikaze weapon has its first frames replaced by the Kamikaze Rocket sprite (the GIF will explain it better).
So, I was wondering if this library could be fixed. Something like, when the weapon is named "Kamikaze" the library disables. I don't know anything about programming, so I may be completely wrong. :roll:
Image

Author:  Resurrection [ Fri Feb 17, 2017 6:08 pm ]
Post subject:  Re: Fixed Kamikaze Rocket?

Why not just disable the library from scheme editor if you don't want it?

To answer your question, no. It cant be done. The way the library works is by replacing the original kamikaze sprites and this function can only be run once.
SetSpriteOverride() is the function in question.
There is no easy way to conditionally have original or modified sprite overrides.
With some work the library could be re-written with custom sprite drawing but for such a small annoyance it is not worth it.

I have made a thread asking for PX to make this function able to override sprites more than one time.

Author:  Akira896 [ Fri Feb 17, 2017 8:01 pm ]
Post subject:  Re: Fixed Kamikaze Rocket?

The thing is that I want BOTH the Kamikaze and the Kamikaze Rocket to appear in my scheme.

I undertstand. For such a small detail it's just not worth it. It's something that nobody is going to notice but I was just asking myself if it could be fixed.

Yeah, it's sad that PX is kinda dead by the inactivity of Entuser :| If this mod was still in development, it may have been something used A LOT MORE.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/