.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   TO&Es (http://forum.shrapnelgames.com/forumdisplay.php?f=108)
-   -   Disappearing icons (http://forum.shrapnelgames.com/showthread.php?t=48837)

Richard_H May 25th, 2012 10:51 AM

Disappearing icons
 
Not quite sure where to put this, but as it's a Mobhack query I'll start here.

I've added a few icons to SPMBT from WW2, and those I've added that have the 'invisible' m/g don't show up in Mobhack. At least, they do when they are first added but not thereafter. However, they do show up on the battlefield.

Any ideas?

Richard H

DRG May 25th, 2012 07:37 PM

Re: Disappearing icons
 
Did you add them to a file specifically set up for invisible turret icons ??.

Don

Richard_H May 26th, 2012 04:23 PM

Re: Disappearing icons
 
Yes, icon0183.shp

DRG May 26th, 2012 07:14 PM

Re: Disappearing icons
 
OK, then I have no idea what could be wrong as that file is an invisible turret file and I double checked the master game code and it IS set up that way.

Post the SHP file and I'll look at it. Are you sure you entered the correct Icon number into the unit in MOBHack ?

Have you used SHPEdit before ?

Don

Richard_H May 27th, 2012 12:13 PM

Re: Disappearing icons
 
1 Attachment(s)
Yes, and yes. I know it's the correct number because when I first add the new icon to Mobhack, it appears. Click off the unit and back on it and hey presto, it's disappeared. But as I said, it shows up in the game.

File attached, the first 6 icons are my additions.

Richard H

PS Just a thought - would it make a difference that the icons are from WinWW2?

DRG May 31st, 2012 08:26 AM

Re: Disappearing icons
 
Quote:

Originally Posted by Richard_H (Post 805331)
PS Just a thought - would it make a difference that the icons are from WinWW2?

No.

I've been busy but will look into this sometime in the next few days but WHY would you add new Icons to an old file when there are blank ones sitting in the folder ???

Don

DRG May 31st, 2012 09:31 AM

Re: Disappearing icons
 
The short answer is there appears to be a break in the MBT MOBHack code that reads the icon allotment and I won't be able to dig any further right now.

I have NO idea what you thought you saw initially but in my tests there were NO Icons showing when correct Icon numbers were entered into MOBHack for that SHP file. They show up in the game because the game code is set up correctly and I'm 99.9% sure I know why they don't show up in MOBHack and the problem affects 183 and 184 but not 182 or 185 ( and it has NOTHING to do with them being "invisible turrets" ) The code used by the game and MOBHack are slightly different and I suspect this is a cut and paste error and there are commas where there shouldn't be in the MOBHack code.



Don

Richard_H May 31st, 2012 11:34 AM

Curioser and curioser, because I can load icons from 184 into Mobhack just fine . . . . (whoops, just looked again and you're right, same issue)

Didn't realise 183 was an old file, the master icon list shows it as empty, and I thought I'd start at the end to make compromising any other new offerings less likely.

Thanks for your time Don.

Richard H

DRG May 31st, 2012 11:52 AM

Re: Disappearing icons
 
183 Isn't an old file but the file you added your icons to then renamed IS. There are blank SHP files in the graphics folder specifically to use for the purpose of making new SHP files

Don


All times are GMT -4. The time now is 05:14 PM.

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