Picture - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: SOMA (https://www.frictionalgames.com/forum/forum-55.html) +--- Forum: User created content (https://www.frictionalgames.com/forum/forum-79.html) +---- Forum: Development (https://www.frictionalgames.com/forum/forum-82.html) +---- Thread: Picture (/thread-31615.html) Pages:
1
2
|
Picture - Sovjet - 11-04-2015 Hello i tried to add a photo in the mod launcher for soma following the guide on the wiki but it doenst work, does somebody know how to get it working ?? LauncherPic="Photo.png" LanguageFolder="config/lang" InitCfg="config/main_init.cfg" /> RE: Picture - A.M Team - 11-04-2015 <?xml version="1.0" encoding="UTF-8"?> <Content Version="1.0" Type="StandAlone" Title="your cs" Author="you" Description="your description" LauncherPic="Photo.png" InitCfg="config/main_init.cfg" /> COPY THIS ENTIRE THING INTO THE ENTRY.HPC. RE: Picture - Sovjet - 11-04-2015 (11-04-2015, 06:59 PM)TheDoctorPoo Wrote: <?xml version="1.0" encoding="UTF-8"?> Yeah i already got this <?xml version="1.0" encoding="UTF-8"?> <Content Version="1.0" Author="Sovjet (Level Design) IxDOPExI (Script writing)" Title="The Victim" Type="StandAlone" Description="Komt nog" LauncherPic="Photo.png" LanguageFolder="config/lang" InitCfg="config/main_init.cfg" /> But it doesnt work somehow RE: Picture - A.M Team - 11-04-2015 is the file called entry.hpc is it included in the MAIN folder of your cs? not the config? try renaming your picture mod_launch.png or mod_launch.jpeg RE: Picture - Sovjet - 11-05-2015 (11-04-2015, 07:38 PM)TheDoctorPoo Wrote: is the file called entry.hpc Yep its in the main folder of the map i will try to rename the file and its called entry.hpc otherwise it wont work RE: Picture - Romulator - 11-05-2015 What's the name of your picture, and is it a .png format image? RE: Picture - Sovjet - 11-05-2015 (11-05-2015, 10:02 AM)Modulator Wrote: What's the name of your picture, and is it a .png format image? Then name is somaphoto.png at the moment and yes its a .png photo RE: Picture - Romulator - 11-05-2015 If that's the case, in your entry.hpc file, change the LauncherPic attribute to this: Code: LauncherPic="somaphoto.png" That should work. RE: Picture - Sovjet - 11-05-2015 (11-05-2015, 04:14 PM)Romulator Wrote: If that's the case, in your entry.hpc file, change the LauncherPic attribute to this: it doesnt, it still says no image maybe the image cant be larger the .... pixels ? RE: Picture - Romulator - 11-05-2015 I don't think the dimensions can cause an error, but I got mine working a while ago (http://puu.sh/kJJbw/a250ae0263.png) and has not had any problems since, so I know the function works. If you want to see if the dimensions are a problem though, you can try 482x226, which is identical to the image I have in my template. If you want to try, try downloading this image (Right Click > Save Image As...) and change it to suit your mod. Make sure your LauncherPic in the entry.hpc matches your file name for your image. If it still doesn't work, pack up your Campaign and upload it to a service like Dropbox or Mediafire and I'll take a look and see if I can find the issue. |