Tom, i checked that but, to be honest, i didnt understand it a bit. Anything else?
On Sat, Mar 28, 2015 at 9:40 PM, Tom Schumann <schumann....@gmail.com> wrote: > There's some information on that at > https://developer.valvesoftware.com/wiki/Background#Images > > On 29 March 2015 at 09:09, Gavin Isgar <gisg...@gmail.com> wrote: > >> Hey guys, im having another problem again and couldnt find a fix on the >> internet. I dont know the right size for chapter thumbnails, what size do i >> make the picture(not the vtf or vmt)? >> >> On Thu, Mar 26, 2015 at 8:53 PM, Ben Lubar <ben.lu...@gmail.com> wrote: >> >>> The two dots means "parent directory". You start in materials/vgui, go >>> up one to materials, then to materials/logo and >>> materials/logo/hl2rslogo1.vmt. >>> >>> On Thu, Mar 26, 2015 at 7:46 PM, Gavin Isgar <gisg...@gmail.com> wrote: >>> > Yea Jesse, here's how i fixed it! So in my materials folder, i made a >>> logo >>> > folder, inside i put both put the vmt and vtf file with the same name. >>> > Inside the vmt file, i put: >>> > >>> > "UnlitGeneric" >>> > { >>> > "$basetexture" "logo/hl2rslogo1" >>> > "$nolod" 1 >>> > "$translucent" 1 >>> > } >>> > >>> > The path automatically detects the material folder, so just put the >>> folder >>> > and the name of both the vmt and vtf file(no extension). Then in my >>> > gamelogo.res in my resource folder, i put: >>> > >>> > Resource/GameLogo.res >>> > { >>> > GameLogo >>> > { >>> > ControlName EditablePanel >>> > fieldName GameLogo >>> > xpos 0 >>> > ypos 0 >>> > zpos 50 >>> > wide 400 >>> > tall 100 >>> > autoResize 1 >>> > pinCorner 0 >>> > visible 1 >>> > enabled 1 >>> > offsetX -20 >>> > offsetY -15 >>> > } >>> > >>> > Logo >>> > { >>> > ControlName ImagePanel >>> > fieldName Logo >>> > xpos 0 >>> > ypos 0 >>> > zpos 50 >>> > wide 400 >>> > tall 100 >>> > visible 1 >>> > enabled 1 >>> > image ../logo/hl2rslogo1 >>> > scaleImage 1 >>> > } >>> > } >>> > >>> > The dots in the path specify how many folders are before vmt and vtf, >>> but i >>> > rather just do it like this: >>> > >>> > 2 dots specifies 2 folders/files like logo/hl2rslogo1, thats 1 folder, >>> 1 >>> > file! If it was material/logo/hl2rslogo1 it would be 3 dots. Thats how >>> i >>> > fixed it, but i have one more thing. If your logo has an alpha >>> channel(the >>> > gray and white squares which mean clear areas) you have to put >>> > "$translucent" 1 in the vmt file! >>> > >>> > On Thu, Mar 26, 2015 at 3:53 PM, Jesse Oak <wazanato...@gmail.com> >>> wrote: >>> >> >>> >> Could you tell us what fixed it so if someone else asks we can tell >>> them? >>> >> >>> >> On Mar 26, 2015 7:14 AM, "Gavin Isgar" <gisg...@gmail.com> wrote: >>> >>> >>> >>> Just fixed it actually! Thanks for the help! But i would like if you >>> guys >>> >>> would say this in your email just incase i have anymore problems in >>> the >>> >>> future! Thanks guys >>> >>> >>> >>> On Thu, Mar 26, 2015 at 8:05 AM, Gavin Isgar <gisg...@gmail.com> >>> wrote: >>> >>>> >>> >>>> Also what about the logo format. Does it have to be specific like >>> vmt or >>> >>>> vtf? Also, where do i put the logo files? >>> >>>> >>> >>>> On Thu, Mar 26, 2015 at 7:52 AM, Gavin Isgar <gisg...@gmail.com> >>> wrote: >>> >>>>> >>> >>>>> Half-Life 2 instead of having gamelogo.res, it has a gamemenu.res >>> which >>> >>>>> is very different, nothing is the same. >>> >>>>> >>> >>>>> >>> >>>>> On Thu, Mar 26, 2015 at 6:11 AM, Tom Schumann < >>> schumann....@gmail.com> >>> >>>>> wrote: >>> >>>>>> >>> >>>>>> I'm not sure about GameLogo.res - if you look at the GameLogo.res >>> in >>> >>>>>> Half-Life 2 (or any other Source game) what is the path relative >>> to? >>> >>>>>> >>> >>>>>> On 26 March 2015 at 07:41, Gavin Isgar <gisg...@gmail.com> wrote: >>> >>>>>>> >>> >>>>>>> The console actually says nothing. It has no problems or errors. >>> I >>> >>>>>>> changed the vtf's path to the vmt name now, but what about >>> everything else? >>> >>>>>>> Like the gamelogo.res, is that suppose to be a path or >>> >>>>>>> HalfLife2RSIngameLogo1 or even hl2rslogo1. If its a path, how >>> should the >>> >>>>>>> path be? >>> >>>>>>> >>> >>>>>>> On Wed, Mar 25, 2015 at 7:55 AM, <tobias.kammersga...@gmail.com> >>> >>>>>>> wrote: >>> >>>>>>>> >>> >>>>>>>> Tom is correct. I doubt the game is even allowed to read from >>> the >>> >>>>>>>> Program Files directory if UAC is enabled. >>> >>>>>>>> >>> >>>>>>>> - ScarT >>> >>>>>>>> >>> >>>>>>>> From: Tom Schumann >>> >>>>>>>> Sent: Wednesday, March 25, 2015 11:45 AM >>> >>>>>>>> To: Discussion of Half-Life Programming >>> >>>>>>>> >>> >>>>>>>> I don't think the $basetexture parameter should be an absolute >>> path >>> >>>>>>>> - I think it should just be "HalfLife2RSIngameLogo1" >>> >>>>>>>> What does the console say? >>> >>>>>>>> >>> >>>>>>>> On 25 March 2015 at 06:25, Gavin Isgar <gisg...@gmail.com> >>> wrote: >>> >>>>>>>>> >>> >>>>>>>>> Hi, i'm making a singleplayer Half-Life 2 mod and i'm having a >>> >>>>>>>>> problem with the ingame logo at the menu screen. It shows up >>> pink/black >>> >>>>>>>>> checkers while the size is the same size as the logo. I have a >>> vmt and vtf >>> >>>>>>>>> file of the photo both in the materials folder alone while the >>> other folders >>> >>>>>>>>> inside the materials folder are "console" and "sdk"(obviously >>> the folders >>> >>>>>>>>> don't have the quotes in their names). Also, i have the code >>> for the >>> >>>>>>>>> GameLogo.res down here; >>> >>>>>>>>> Resource/GameLogo.res >>> >>>>>>>>> { >>> >>>>>>>>> GameLogo >>> >>>>>>>>> { >>> >>>>>>>>> ControlName EditablePanel >>> >>>>>>>>> fieldName GameLogo >>> >>>>>>>>> xpos 0 >>> >>>>>>>>> ypos 0 >>> >>>>>>>>> zpos 50 >>> >>>>>>>>> wide 400 >>> >>>>>>>>> tall 100 >>> >>>>>>>>> autoResize 1 >>> >>>>>>>>> pinCorner 0 >>> >>>>>>>>> visible 1 >>> >>>>>>>>> enabled 1 >>> >>>>>>>>> offsetX -20 >>> >>>>>>>>> offsetY -15 >>> >>>>>>>>> } >>> >>>>>>>>> >>> >>>>>>>>> Logo >>> >>>>>>>>> { >>> >>>>>>>>> ControlName ImagePanel >>> >>>>>>>>> fieldName Logo >>> >>>>>>>>> xpos 0 >>> >>>>>>>>> ypos 0 >>> >>>>>>>>> zpos 50 >>> >>>>>>>>> wide 400 >>> >>>>>>>>> tall 100 >>> >>>>>>>>> visible 1 >>> >>>>>>>>> enabled 1 >>> >>>>>>>>> image materials\hl2rslogo1 >>> >>>>>>>>> scaleImage 1 >>> >>>>>>>>> } >>> >>>>>>>>> } >>> >>>>>>>>> The mod's name by the way is "Half-Life 2: Resistance Shadow"! >>> Did >>> >>>>>>>>> i do anything wrong here, such as the path or anything else? >>> This is the vmt >>> >>>>>>>>> file's code; >>> >>>>>>>>> "UnlitGeneric" >>> >>>>>>>>> { >>> >>>>>>>>> "$basetexture" "C:\Program Files >>> >>>>>>>>> >>> (x86)\Steam\steamapps\sourcemods\halflife2resistanceshadow\materials\HalfLife2RSIngameLogo1" >>> >>>>>>>>> "$nolod" 1 >>> >>>>>>>>> } >>> >>>>>>>>> Anything wrong here either? The last file is the gameinfo.txt, >>> >>>>>>>>> which is down here; >>> >>>>>>>>> "GameInfo" >>> >>>>>>>>> { >>> >>>>>>>>> game "Half-Life 2: Resistance Shadow" >>> >>>>>>>>> type singleplayer_only >>> >>>>>>>>> icon "icon" >>> >>>>>>>>> gamelogo "1" >>> >>>>>>>>> >>> >>>>>>>>> FileSystem >>> >>>>>>>>> { >>> >>>>>>>>> SteamAppId 218 // GCF for Episode 2 >>> >>>>>>>>> ToolsAppId 211 // Tools will load this (ie: source SDK caches) >>> to >>> >>>>>>>>> get things like materials\debug, materials\editor, etc. >>> >>>>>>>>> SearchPaths >>> >>>>>>>>> { >>> >>>>>>>>> Game |gameinfo_path|. >>> >>>>>>>>> Game |all_source_engine_paths|ep2 >>> >>>>>>>>> Game |all_source_engine_paths|episodic >>> >>>>>>>>> Game |all_source_engine_paths|hl2 >>> >>>>>>>>> } >>> >>>>>>>>> } >>> >>>>>>>>> } >>> >>>>>>>>> Anything wrong here also? Please reply back at >>> gisg...@gmail.com >>> >>>>>>>>> because im really stuck in a hole with this mod without the >>> logo, so please >>> >>>>>>>>> reply with answers! I'm sorry if this isn't the right email >>> for this >>> >>>>>>>>> problem. Thank you very much and have a good day! >>> >>>>>>>>> >>> >>>>>>>>> _______________________________________________ >>> >>>>>>>>> To unsubscribe, edit your list preferences, or view the list >>> >>>>>>>>> archives, please visit: >>> >>>>>>>>> >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> _______________________________________________ >>> >>>>>>>> To unsubscribe, edit your list preferences, or view the list >>> >>>>>>>> archives, please visit: >>> >>>>>>>> >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> _______________________________________________ >>> >>>>>>> To unsubscribe, edit your list preferences, or view the list >>> >>>>>>> archives, please visit: >>> >>>>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >>>>>>> >>> >>>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> _______________________________________________ >>> >>>>>> To unsubscribe, edit your list preferences, or view the list >>> archives, >>> >>>>>> please visit: >>> >>>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >>>>>> >>> >>>>>> >>> >>>>> >>> >>>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> To unsubscribe, edit your list preferences, or view the list >>> archives, >>> >>> please visit: >>> >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >>> >>> >>> >>> >> >>> >> _______________________________________________ >>> >> To unsubscribe, edit your list preferences, or view the list archives, >>> >> please visit: >>> >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >> >>> >> >>> > >>> > >>> > _______________________________________________ >>> > To unsubscribe, edit your list preferences, or view the list archives, >>> > please visit: >>> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> > >>> > >>> >>> >>> >>> -- >>> Ben Lubar >>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list archives, >>> please visit: >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >>> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >> >> >> > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders