| 
		
	
		| DnALANGE  Banned
 
 Posts: 1,549
 Threads: 73
 Joined: Jan 2012
 | 
			| 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 |  |  
	
		| Lizard   Member
 
 Posts: 174
 Threads: 23
 Joined: Jul 2012
 Reputation: 
5
 | 
			| 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 |  |  
	
		| PutraenusAlivius   Posting Freak
 
 Posts: 4,713
 Threads: 75
 Joined: Dec 2012
 Reputation: 
119
 | 
			| 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 |  |  
	
		| Your Computer   SCAN ME!
 
 Posts: 3,456
 Threads: 32
 Joined: Jul 2011
 Reputation: 
235
 | 
			| 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: AddNote("NoteEntry", "custom_note_bg"); 
 
				
(This post was last modified: 07-23-2013, 10:53 AM by Your Computer.)
 |  |  
	| 07-23-2013, 10:52 AM |  |  
	
		| DnALANGE  Banned
 
 Posts: 1,549
 Threads: 73
 Joined: Jan 2012
 | 
			| 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 |  |  
	
		| DnALANGE  Banned
 
 Posts: 1,549
 Threads: 73
 Joined: Jan 2012
 | 
			| 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 |  |  
	
		| Daemian   Posting Freak
 
 Posts: 1,129
 Threads: 42
 Joined: Dec 2012
 Reputation: 
49
 | 
			| 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:
 
 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.jpgimage99_icon.jpg
 
For me, any format for the image worked, (but only dds, tga and png allow transparency).
			 
 |  |  
	| 12-10-2013, 08:51 PM |  |  
	
		| DnALANGE  Banned
 
 Posts: 1,549
 Threads: 73
 Joined: Jan 2012
 | 
			| 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 |  |  |