Frictional Games Forum (read-only)

Full Version: Note question, Can't really get it to work... SOLVED!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,
Question about this :
void AddNote(string& asNameAndTextEntry, string& asImage);
-
I know what to put everywhere..
But,
What imigeFile does i have to put there? .jpg.pgn?
I try everything, but it Just doesnt show up!
-
So i want this :
Pick up an entitie -> opens up an Note with CUSTOM PICTURE,
Or let's first try a standard picture for knowing how to make it to work.
-
Regards, Lange
Try to set it as a .PNG file
Save it as a .TGA.
If you've used PNG or JPEG, then the issue isn't the image format, it's the file name of the image. The file name must have the suffix "_large" (e.g. "custom_note_bg_large.png") in order for it to work. Then you'd use:

PHP Code:
AddNote("NoteEntry""custom_note_bg"); 
Thanks,
i was very close!
I try and let you know if it worked,
Thanks all!
AddNote("NoteEntry", "custom_note_bg");
...................
How the .... can i add the picture ?
I can;'t get it to work if i add a script!
When i pickup it works great. only NOT with scripting.
Hmmmmmmmmmmm...
(07-23-2013, 10:52 AM)Your Computer Wrote: [ -> ]If you've used PNG or JPEG, then the issue isn't the image format, it's the file name of the image. The file name must have the suffix "_large" (e.g. "custom_note_bg_large.png") in order for it to work. Then you'd use:

PHP Code:
AddNote("NoteEntry""custom_note_bg"); 

How come is not working? Just like YC said

AddNote ( "something99", "image99" );

language file:
Quote:<CATEGORY Name="Journal">
<Entry Name="Note_something99_Name">Note Title</Entry>
<Entry Name="Note_something99_Text">Note Content</Entry>
</CATEGORY>

Files
Quote:image99_large.jpg
image99_icon.jpg

For me, any format for the image worked, (but only dds, tga and png allow transparency).
I already get it to work.
Thanks anyways.
Solved!