• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

mikwarleo

Captain
22 Badges
Apr 9, 2005
373
185
  • Age of Wonders III
  • Hearts of Iron IV: La Resistance
  • BATTLETECH: Heavy Metal
  • BATTLETECH: Season pass
  • Hearts of Iron IV: Expansion Pass
  • BATTLETECH: Flashpoint
  • Hearts of Iron IV: Expansion Pass
  • BATTLETECH - Digital Deluxe Edition
  • Steel Division: Normandy 44 -  Back to Hell
  • Hearts of Iron IV: Expansion Pass
  • Steel Division: Normand 44 - Second Wave
  • Hearts of Iron Anthology
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Steel Division: Normandy 44
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • 500k Club
  • Semper Fi
  • Hearts of Iron III
  • For the Motherland
I've encountered repeated issues in construction of sprite compendium when replacing vanilla sprites with 4-8 firing directions with new sprites that have only two (NE, SW).

What I need to know is: of all the firing directions: W, E, NW, NE, SW, SE, N, S which correspond to NE and which to SW (the firing directions used by 2 direction firing sprites)?

The reason I need to know: (futher details)
When installing new sprites that only have 2 firing directions the new files obviously don't replace all the old files for 8-firing-direction sprites and this causes yuk graphic anomalies in game.

What needs to happen is either the extra *.spr files for unused firing directions need to be deleted or they need to be replaced. To make life easier for people installing my work I'd like to simply replace them. To do this I must rework the *.spr files such that for example the *.spr file:

T-BOMBER A-FIRE C-MIN L-1 D-N.spr

actually references

T-BOMBER A-FIRE C-MIN L-1 D-NE.bmp

if that is in fact the right translation from 8 direction firing to 2 direction.

Informed comment only please. Many thanks.
 

unmerged(19841)

Lt. General
Sep 19, 2003
1.296
0
Visit site
I am not 100% sure what you need or want,but I always convert all 2 dir to 8 (9 if you put in a non direction fire for combat versis air attack) when converting I sometimes have to use walk or simular direction fire,that way if there is already another spr and bmp file in there it will be over writen and the game will not flicker from the new to the old sprite when the fire direction is used. hope that helps but like i said I am not 100% sure what you needed. :confused: :) ;)


Sometimes to just makes things work I will use the walk D-NE to use as the FIRE D-NE....
 
Last edited:

mikwarleo

Captain
22 Badges
Apr 9, 2005
373
185
  • Age of Wonders III
  • Hearts of Iron IV: La Resistance
  • BATTLETECH: Heavy Metal
  • BATTLETECH: Season pass
  • Hearts of Iron IV: Expansion Pass
  • BATTLETECH: Flashpoint
  • Hearts of Iron IV: Expansion Pass
  • BATTLETECH - Digital Deluxe Edition
  • Steel Division: Normandy 44 -  Back to Hell
  • Hearts of Iron IV: Expansion Pass
  • Steel Division: Normand 44 - Second Wave
  • Hearts of Iron Anthology
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Steel Division: Normandy 44
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • 500k Club
  • Semper Fi
  • Hearts of Iron III
  • For the Motherland
some awesome sprites there that I've not seen before. Thanks for the links!

In short want to change code in *.spr files so that I have 8 *.spr files (one for each direction) that reference to only 2 *.bmp files NE and SW which are provided with 2-direction firing sprites.

To do that I need to know how the game decides which sprite to display when there's only two firing directions so I can make sure my code corresponds.
 

unmerged(19841)

Lt. General
Sep 19, 2003
1.296
0
Visit site
mikwarleo said:
some awesome sprites there that I've not seen before. Thanks for the links!

In short want to change code in *.spr files so that I have 8 *.spr files (one for each direction) that reference to only 2 *.bmp files NE and SW which are provided with 2-direction firing sprites.

To do that I need to know how the game decides which sprite to display when there's only two firing directions so I can make sure my code corresponds.

What sprite are playing around with some of the old ZykloNuk stuff,Pm me and send it over I will run some test for you, I think is is just a east /west div right?
 

unmerged(18208)

Second Lieutenant
Jul 13, 2003
150
0
Visit site
I have some question about sprites

I want to change the infantry sprites in my curent game with some new ones. I notised that when i overwright the old sprite files the new sprites dont work (flip).

So if I deleate ALL old infantry sprites (map/units. map/units/bmp and palette files) and put in the new ones, is it going to work?
Is there somthing I have to be aware off?

In the spr. files... in the name of the bitmap there is somthing called ALI, MIN, GER, FRA...

Bitmap = "T-INFANTRY A-FIRE C-ALI L-1 D-W.bmp"

Bitmap = "T-INFANTRY A-WALK C-MIN L-1 D-SE.bmp"

I wonder what the ALI stands for? MIN is minor I guess while GER and FRA is obivous... but ALI?
 

unmerged(42723)

Field Marshal
Apr 6, 2005
3.564
0
mikwarleo said:
I've encountered repeated issues in construction of sprite compendium when replacing vanilla sprites with 4-8 firing directions with new sprites that have only two (NE, SW).

What I need to know is: of all the firing directions: W, E, NW, NE, SW, SE, N, S which correspond to NE and which to SW (the firing directions used by 2 direction firing sprites)?

The reason I need to know: (futher details)
When installing new sprites that only have 2 firing directions the new files obviously don't replace all the old files for 8-firing-direction sprites and this causes yuk graphic anomalies in game.

What needs to happen is either the extra *.spr files for unused firing directions need to be deleted or they need to be replaced. To make life easier for people installing my work I'd like to simply replace them. To do this I must rework the *.spr files such that for example the *.spr file:

T-BOMBER A-FIRE C-MIN L-1 D-N.spr

actually references

T-BOMBER A-FIRE C-MIN L-1 D-NE.bmp

if that is in fact the right translation from 8 direction firing to 2 direction.

Informed comment only please. Many thanks.

Well generally you only need NE and SW firing anims for air and naval units, because afaik others are never shown for those. Only land units can display all eight directions when firing.

So for air and naval units it should be no prob when you install a sprite having only two attack anims over one that has all eight (like P'dox originals). However, it would be better to remove the unneeded (old) files to keep order, and maybe the game also loads a bit faster when it has to load less stuff. If you speak about land units, they should always have a full set of eight firing anims, so the prob shouldn't occur here.

Of course all types of units need move anims for all directions.


I have some question about sprites

I want to change the infantry sprites in my curent game with some new ones. I notised that when i overwright the old sprite files the new sprites dont work (flip).

So if I deleate ALL old infantry sprites (map/units. map/units/bmp and palette files) and put in the new ones, is it going to work?
Is there somthing I have to be aware off?

It's difficult to say what went wrong without further info. Did you just move in the new gfx for the new sprites or did you install new .spr files too? Normally a sprite would come with both the BMP gfx and the correct spr. file for it, and you need to get them into the right folders.

I wonder what the ALI stands for? MIN is minor I guess while GER and FRA is obivous... but ALI?

That's just the "country" tag for P'dox joke "Alien" units. In a normal game you don't have to worry about them, you could even remove all .spr and BP files that have the ALI tag in their name.
 

unmerged(18208)

Second Lieutenant
Jul 13, 2003
150
0
Visit site
BeBro said:
Well generally you only need NE and SW firing anims for air and naval units, because afaik others are never shown for those. Only land units can display all eight directions when firing.

So for air and naval units it should be no prob when you install a sprite having only two attack anims over one that has all eight (like P'dox originals). However, it would be better to remove the unneeded (old) files to keep order, and maybe the game also loads a bit faster when it has to load less stuff. If you speak about land units, they should always have a full set of eight firing anims, so the prob shouldn't occur here.

Of course all types of units need move anims for all directions.




It's difficult to say what went wrong without further info. Did you just move in the new gfx for the new sprites or did you install new .spr files too? Normally a sprite would come with both the BMP gfx and the correct spr. file for it, and you need to get them into the right folders.



That's just the "country" tag for P'dox joke "Alien" units. In a normal game you don't have to worry about them, you could even remove all .spr and BP files that have the ALI tag in their name.

Thx for ansering BeBro.

Im using DMP 10.04 sprite pack and want to change the infantry sprites with those of Halibutt (british and french infantry). What i did is to copy the gfx from Halibutt to the game folder overwrighting the existing infantry files. Everything shoud be in right place.

But in the game they flip/jump.

Sorry for my bad english.
 

unmerged(42723)

Field Marshal
Apr 6, 2005
3.564
0
Well, it sounds as if you only copied the gfx, but did nothing to the .spr files? I didn't check Halibutt's sprites, but normally you need to install spr files that where made for his gfx too.

Means if you just copy in the gfx and still use the .spr files from Paradox (or from another mod) they are probably causing problems since the .spr files contain specific info about the gfx. In most cases you cannot use old spr. files and new gfx together.

Long story short: look if Halibutt provided his own spr files with the gfx. Then....

his gfx (BMP) belong into:
..\Doomsday\gfx\map\units\bmp

...and the spr files into:
..\Doomsday\gfx\map\units

If you're sure that you have all this correct then there's also the possibility that there is an error in the spr files itself. "Flipping" sprites are mostly caused by a wrong frame number given in the spr file. If you think you did all well but the problem persists I'd suggest you try to contact Halibutt.