Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Picture
Sovjet Offline
Junior Member

Posts: 20
Threads: 5
Joined: Sep 2015
Reputation: 0
#1
Picture

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"
/>
11-04-2015, 06:28 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#2
RE: Picture

<?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.
11-04-2015, 06:59 PM
Find
Sovjet Offline
Junior Member

Posts: 20
Threads: 5
Joined: Sep 2015
Reputation: 0
#3
Question  RE: Picture

(11-04-2015, 06:59 PM)TheDoctorPoo Wrote: <?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.

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
11-04-2015, 07:22 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#4
RE: Picture

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
(This post was last modified: 11-04-2015, 07:38 PM by A.M Team.)
11-04-2015, 07:38 PM
Find
Sovjet Offline
Junior Member

Posts: 20
Threads: 5
Joined: Sep 2015
Reputation: 0
#5
RE: Picture

(11-04-2015, 07:38 PM)TheDoctorPoo Wrote: 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

Yep its in the main folder of the map i will try to rename the file Smile and its called entry.hpc otherwise it wont work
(This post was last modified: 11-05-2015, 08:17 AM by Sovjet.)
11-05-2015, 08:16 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#6
RE: Picture

What's the name of your picture, and is it a .png format image?

Discord: Romulator#0001
[Image: 3f6f01a904.png]
11-05-2015, 10:02 AM
Find
Sovjet Offline
Junior Member

Posts: 20
Threads: 5
Joined: Sep 2015
Reputation: 0
#7
RE: Picture

(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
11-05-2015, 03:26 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#8
RE: Picture

If that's the case, in your entry.hpc file, change the LauncherPic attribute to this:

LauncherPic="somaphoto.png"

That should work.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
11-05-2015, 04:14 PM
Find
Sovjet Offline
Junior Member

Posts: 20
Threads: 5
Joined: Sep 2015
Reputation: 0
#9
RE: Picture

(11-05-2015, 04:14 PM)Romulator Wrote: If that's the case, in your entry.hpc file, change the LauncherPic attribute to this:

LauncherPic="somaphoto.png"

That should work.

it doesnt, it still says no image

maybe the image cant be larger the .... pixels ?
11-05-2015, 04:47 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#10
RE: Picture

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.

[Image: cea5524a10.png]

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.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 11-05-2015, 05:01 PM by Romulator.)
11-05-2015, 05:01 PM
Find




Users browsing this thread: 1 Guest(s)