Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

Muzzle Flash?

Custom textures and sounds
Forum rules
By using the forum you agree to the following rules.
Post Reply
User avatar
Tuesday
Meatbag
Posts: 9
Joined: Tue Oct 02, 2018 4:39 am
Title: Incompetent Hyena
SFD Account: Tuesday
Started SFD: September 2016
Location: East Coast USA
Gender:

Muzzle Flash?

Post by Tuesday » Mon Apr 27, 2020 5:17 am

So I made an SMG skin that has a short barrel, but the muzzle flash is still a mile in front of where the barrel ends. Is that a texture I can change? If so, is that specific to firearm like the bullets?
0 x
Don't mind me, I'm just a humble mongoloid wrangler.
Subscribe to Tuesday on YouTube.

User avatar
KliPeH
Moderator
Moderator
Posts: 914
Joined: Sat Mar 19, 2016 3:03 pm
Title: [happy moth noises]
SFD Account: KliPeH
Started SFD: Pre-Alpha 1.4.2
Gender:
Contact:

Post by KliPeH » Mon Apr 27, 2020 9:26 am

Just like in the case of firearms and projectiles, you can't choose where the sprites are placed - the spot where they spawn is hardcoded. You can make an illusion of them moving by modifying the texture on the image editor sprite sheet instead. Actually moving it in paint.NET or creating a larger sheet to begin with should work. That's what I did with my magazine and projectile sprites in my HiLite weapon pack.

For example, if your new weapon texture suddenly doesn't fit in the fighter's arms anymore, or isn't aligned with the muzzle flash or the magazine dropping upon reloading, move it around your image editor one pixel at a time until you fit it properly, which in itself can be your solution - simply move the texture or make it slightly longer.

To be more direct with answering your question, you cannot edit the muzzle flash itself. If you want to try converting the .XNB textures to readable image files using some tool (my tool doesn't work) you can find the sprites here:

Superfighters Deluxe \ Content \ Data \ Images \ Effects
| MuzzleFlashAssaultRifle.xnb
| MuzzleFlashBazooka.xnb
| MuzzleFlashL.xnb
| MuzzleFlashM.xnb
| MuzzleFlashS.xnb
| MuzzleFlashShotgun.xnb

Hope this helped.
0 x
 
Image

Post Reply