Missing sprites when they are (supposed to be) present

Post Reply
deeznuts123
Posts: 4
Joined: Sat Jul 22, 2023 5:28 pm

Missing sprites when they are (supposed to be) present

Post by deeznuts123 »

hi there, I've been booting a few units and sprites from Keltos01's Modern Day mod into my own modified database so I don't have to leave behind all my modified units to use the cool modern ones.
so after putting the BMP-3 files accross it for some reason stopped realising that the files for any sprite were there. the game would load but once a scenario was loaded into it would create an error; resource not found: wp_casulties16
when I look through the graphics folder for wp_casulties16 i do indeed find it. now I don't fully understand why, maybe it could be the game is looking for the file in the wrong place but I don't really see a place where I can put the location of graphics file.
When I opened up database editor to see why the sprites were screwing themselves I edited the sprite of a unit copying it from another one but it gave me the error below
despite the sprite being inside resources_custom it still didn't read it as such.
Screenshot 2023-09-22 203100.png
Screenshot 2023-09-22 203100.png (3.63 KiB) Viewed 1255 times
^ the file does indeed exist inside resources_custom
Screenshot 2023-09-22 203347.png
Screenshot 2023-09-22 203347.png (6.25 KiB) Viewed 1255 times
^ the file itself in resources_custom

I am not really understanding where I went wrong but hey, it is what it is.
So if possible could someone explain this to me ? (btw I am also importing all their data as in weapons, sprites and ammunition along with the units)
Thank you in advance

here is a link to Keltos' great modern day mod on the steam workshop https://steamcommunity.com/sharedfiles/ ... 3018101197
User avatar
Veitikka
Posts: 1499
Joined: Sun Jun 24, 2007 10:11 pm
Location: Finland
Contact:

Re: Missing sprites when they are (supposed to be) present

Post by Veitikka »

Your custom database folder is in data\database? Are you sure you are looking at the resources_custom.xml in that folder and not the 'default' one?

I don't know what you did when you added the BMP-3 sprites. Perhaps you made an error if you modified the resources_custom.xml. I can check it if you can send it to me.
Know thyself!
deeznuts123
Posts: 4
Joined: Sat Jul 22, 2023 5:28 pm

Re: Missing sprites when they are (supposed to be) present

Post by deeznuts123 »

I've tried to trouble shoot it a bit more and I found that the custom sprites that I did add show up but the base game files do not show up.
I find that a bit wack because the graphics folders that I used was a copy of the default "graphics" file
AND that the base game sprites do not show up EVEN though they are in the same resources_custom.xml document
if I were to send the files, which ones would you need ? ( I would assume the entire database folders )
I really have no idea how this would happen

Screenshot 2023-09-25 172850.png
Screenshot 2023-09-25 172850.png (34.67 KiB) Viewed 1236 times
^Here is the custom sprite being loaded (i think it is loading because the commander doesn't load when in preview if it did have to show it wouldn't work)
Screenshot 2023-09-25 173305.png
Screenshot 2023-09-25 173305.png (7.58 KiB) Viewed 1236 times
^ this is one with a rcl team as a AA cannon
Screenshot 2023-09-25 173511.png
Screenshot 2023-09-25 173511.png (2.37 KiB) Viewed 1236 times
^aaand this is what happens when I hover over the RCL cannon
but they should be in the same folder
xml files + misc graphics.zip
(1.64 MiB) Downloaded 24 times
here are the relevant graphics and units + resources_custom.xml
also all the custom graphics can be placed in the misc vehicles folder in graphics\vehicle\misc

again thank you so much for attempting to help me :)
I really couldn't know why things are going wrong
User avatar
Veitikka
Posts: 1499
Joined: Sun Jun 24, 2007 10:11 pm
Location: Finland
Contact:

Re: Missing sprites when they are (supposed to be) present

Post by Veitikka »

So far I've found that this:

Code: Select all

  <sprite name="us_crows-j_tw" base_angle="0">
    <image file="vehicle\misc\turrets\us_crows-j_tw.png">
    </image>
Is missing this:

Code: Select all

    <translation origin="center"/>
    <rotation origin="center"/>
  </sprite>
Know thyself!
deeznuts123
Posts: 4
Joined: Sat Jul 22, 2023 5:28 pm

Re: Missing sprites when they are (supposed to be) present

Post by deeznuts123 »

Seems like that is the problem then, Thank you so much for helping me in the future i shall check that all tags are closed correctly :D
Thanks :)
Post Reply

Return to “MODS and Scenarios”