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
Note question, Can't really get it to work... SOLVED!
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#1
Note question, Can't really get it to work... SOLVED!

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
(This post was last modified: 12-10-2013, 10:25 PM by DnALANGE.)
07-23-2013, 01:58 AM
Find
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#2
RE: Note question, Can't really get it to work...

Try to set it as a .PNG file

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 07-23-2013, 09:24 AM by Lizard.)
07-23-2013, 09:24 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#3
RE: Note question, Can't really get it to work...

Save it as a .TGA.

"Veni, vidi, vici."
"I came, I saw, I conquered."
07-23-2013, 09:26 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Note question, Can't really get it to work...

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: (Select All)
AddNote("NoteEntry""custom_note_bg"); 

Tutorials: From Noob to Pro
(This post was last modified: 07-23-2013, 10:53 AM by Your Computer.)
07-23-2013, 10:52 AM
Website Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#5
RE: Note question, Can't really get it to work...

Thanks,
i was very close!
I try and let you know if it worked,
Thanks all!
07-23-2013, 03:49 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#6
RE: Note question, Can't really get it to work...

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...
12-10-2013, 08:15 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#7
RE: Note question, Can't really get it to work...

(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: (Select All)
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).

12-10-2013, 08:51 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#8
RE: Note question, Can't really get it to work...

I already get it to work.
Thanks anyways.
Solved!
12-10-2013, 10:24 PM
Find




Users browsing this thread: 3 Guest(s)