I cannot get my new game launch button to work

Discussion area for user-created Allegiance models, textures, voicechats, music, and other ingame content.
Rand0m_Numb3r
Posts: 1338
Joined: Mon Apr 18, 2005 7:00 am
Location: Madison, Wisconsin

Post by Rand0m_Numb3r »

What kind of things can go wrong with buttons, and how do I fix them.

I have gotten the chat buttons changed with no problem and the join lobby button as well.
Beyond the clock tower.
Adaven
Posts: 1959
Joined: Sat Oct 25, 2003 7:00 am
Location: Greater Ozarks

Post by Adaven »

Is it on the list of ASGS protected files? If its one of the images changed or added as part of a code update, then it probably is.
Rand0m_Numb3r
Posts: 1338
Joined: Mon Apr 18, 2005 7:00 am
Location: Madison, Wisconsin

Post by Rand0m_Numb3r »

How would I look that up?

And its just the game start button in lobby.

Also it did not work in the beta w/o ASGS running
Beyond the clock tower.
SP4WN
Posts: 1634
Joined: Wed Apr 19, 2006 7:00 am
Contact:

Post by SP4WN »

I assume your trying to change the look of the button?

And no its not a protected file.
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

What are you using to convert your files to bmp.mdl?

Have you got the right resolution?
Dracus_Prime
Posts: 64
Joined: Sat Feb 27, 2010 10:29 pm
Location: Ten-uh-c in da USA

Post by Dracus_Prime »

My guess is that it is the image resolution. If it is a high resolution you have to place it the textures file. The question is: What do you mean by "not work"? Do you mean the button stops working, the image doesn't show up, or both? something else? If it is that the image isn't showing up it is almost certainly the image resolution, that is, assuming you replaced the correct filename (then that would be the problem of course :D ).

Edit: Although, come to think of it, I don't know if buttons will support a high resolution image, I don't know how that works. Probably will, but like I said, you have to put it in the textures folder.
Last edited by Dracus_Prime on Thu May 06, 2010 12:33 pm, edited 1 time in total.
-----
QUOTE (fuzzylunkin1)Oh my fuzz, you need a blog.[/quote]
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

Actually, you can put images in either artwork or \textures, it's just good practise to put stuff in your textures folder so you don't overwrite your default art - so you cna uninstall/revert by simply deleting the file in the \textures folder.

Buttons have a 1:1 pixel mapping a "high res" button will simply be bigger (though likley to get cropped by invisible windows which are hardcoded into the game, provided the game hasn't crashed due to them being the wrong res)
SP4WN
Posts: 1634
Joined: Wed Apr 19, 2006 7:00 am
Contact:

Post by SP4WN »

I think your looking about it the wrong way, when I rebuilt Slipstream GUI, I noticed a lot of buttons where in the .png format with .txtmdls and some were bmp.mdls.

It might be worth checking both out when replacing the button. Since if your replacing the wrong one it wont take effect since the gae isnt reading that file.
Dracus_Prime
Posts: 64
Joined: Sat Feb 27, 2010 10:29 pm
Location: Ten-uh-c in da USA

Post by Dracus_Prime »

madpeople wrote:QUOTE (madpeople @ May 6 2010, 07:54 AM) Actually, you can put images in either artwork or \textures, it's just good practise to put stuff in your textures folder so you don't overwrite your default art - so you cna uninstall/revert by simply deleting the file in the \textures folder.

Buttons have a 1:1 pixel mapping a "high res" button will simply be bigger (though likley to get cropped by invisible windows which are hardcoded into the game, provided the game hasn't crashed due to them being the wrong res)
I was told high resolutions not in the texture folder would crash the game (and some explination of why that I don't rember). If I remember correctly, I tested this claim and found it to be true, but I suppose this may depend on where the texture is used? I don't know, but like Madp said, it is a good idea to place it in the textures folder regardless. Allegiance always checks for the image files there first and if it doesn't find the correct file name it goes to the default file in the artwork folder. (althoughI wonder if the file in the textures folder is corrupt/bad in some way if this stops the process or if alleg just defaults to the image in the artwork folder? That would be a nice feature (although it may make testing highres images a bit more of a pain).

One thing I forgot to ask is, assuming the problem is that the new button image isn't showing up, did you delete and rebuild the commontextures.pack file? Most image changes won't show up ingame until you do that (and you have the 'use texture pack' option turned on).
-----
QUOTE (fuzzylunkin1)Oh my fuzz, you need a blog.[/quote]
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

Dracus_Prime wrote:QUOTE (Dracus_Prime @ May 6 2010, 02:11 PM) I was told high resolutions not in the texture folder would crash the game (and some explination of why that I don't rember). If I remember correctly, I tested this claim and found it to be true, but I suppose this may depend on where the texture is used? I don't know
We tend to release highres textures now using .png and a text bmp.mdl because it results in smaller file size for downloading, less disk usage and faster loading. The when the text bmp.mdl is made the person making it specifies the directory the game should look in for the .png, since we normally put the highres textures (or any other modded textures for that matter) in the \textures folder the person making the mod says "you need to put this in the \textures folder to the ame will crash", but there is nothing stopping you editing the text bmp.mdl to tell the game to look in the \artwork or \artwork\mycustomFolder\MyModimages or whatever for the .png and putting the the bmp.mdl in the \artwork, but why would you? You may as well keep your original art and just put the mods in the \textures.

QUOTE One thing I forgot to ask is, assuming the problem is that the new button image isn't showing up, did you delete and rebuild the commontextures.pack file? Most image changes won't show up ingame until you do that (and you have the 'use texture pack' option turned on).[/quote]This is a good point.
Post Reply