Project X Forums



It is currently Thu Dec 12, 2024 9:57 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Fixed Kamikaze Rocket?
PostPosted: Wed Feb 15, 2017 10:51 pm 
Offline

Joined: Wed Dec 16, 2015 2:58 am
Posts: 62
Location: Tandil, Argentina
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Fixed Kamikaze Rocket?
PostPosted: Fri Feb 17, 2017 6:08 pm 
Offline
User avatar

Joined: Mon Aug 31, 2015 5:28 pm
Posts: 74
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Fixed Kamikaze Rocket?
PostPosted: Fri Feb 17, 2017 8:01 pm 
Offline

Joined: Wed Dec 16, 2015 2:58 am
Posts: 62
Location: Tandil, Argentina
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Skin by Lucas Kane