.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   WinSPWW2 (http://forum.shrapnelgames.com/forumdisplay.php?f=139)
-   -   Edit LBM-files (http://forum.shrapnelgames.com/showthread.php?t=52326)

ich December 19th, 2019 08:20 AM

Edit LBM-files
 
Hi! Can someone help me to match unit with it`s picture in /Picture folder? Number of "icon" in Encyclopedia is not matching to number of LBM file in that folder.
I wanted to edit and raplace some images but get some confused.
Thank!

Mobhack December 19th, 2019 07:40 PM

Re: Edit LBM-files
 
The LBM number is stored as a file beginning with PM00000<LBM ID>, where the numbers field mask is 5 zeroes.LBM, and the ID number fills the appropriate columns from the right, ie the number of leading zeroes increases as the LBM number decreases.

So Picture ID in Mobhack of 9373 translates to PM09373.lbm as 9373 has 4 decimal columns.
Picture ID of 373 would give you PM00373.LBM as 373 is 3 decimal columns.
and 73 would be PM00073.lbm as it only has 2 decimal columns.

DRG December 19th, 2019 08:41 PM

Re: Edit LBM-files
 
Quote:

Originally Posted by ich (Post 846410)
Hi! Can someone help me to match unit with it`s picture in /Picture folder? Number of "icon" in Encyclopedia is not matching to number of LBM file in that folder.
I wanted to edit and replace some images but get some confused.
Thank!

"Icon" is the unit graphic not the picture of the unit. That is why infantry units don't show an "icon" number.

If you need to know the LBM used, open the OOB with MOBHACK and the LBM number is on the right side about the 2 o'clock position. That's the number you need to look for in the Game Data / Pictures folder

ich December 20th, 2019 06:15 AM

Re: Edit LBM-files
 
:angel
THANKS!!!


All times are GMT -4. The time now is 10:35 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.