Notes

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
roachburn
Posts: 17
Joined: Wed Sep 19, 2012 11:22 am

Notes

Post by roachburn »

Does anyone know how to get the notes to work without the text going out of the lines? I thought I read somewhere that a /n would perform a line break or whatever but it does not seem to work.
User avatar
djoldgames
Posts: 107
Joined: Fri Mar 23, 2012 11:28 pm
Contact:

Note - long text as description

Post by djoldgames »

I had the same problem and simple solution is clone new object in "items.lua" and type long text as description.
In this case, description in game is automaticaly "word wrapped" to new lines and looks good.

Code: Select all

cloneObject{
	name = "note_commission",
	baseObject = "note",
	uiName = "Commission and Letter of Marque",
	description = "This document is a binding commision of service to the Lords and Sovereign City of Waterdeep. The bearers of this document are agents of the Lords of Waterdeep and are granted full rights of passage beneath the City of Waterdeep. Any who woud dare interfere risk the full penalty of our wrath.\n Information has been presented to us that there is a plot afoot in our city. Evidence points to the sewers that run beneath Waterdeep. We have no information about the exact nature of the threat, but we feel the urgency is grave. We commission you to find the nature of the danger, and to destroy it if you are able.\n You are granted full rights of Marque. All treasures , artifacts, or other valuables are yours by right of conquest.\n This writ is made legal and binding, by our Mark on this fifth day of Marpenoth in the year of Shadows.",
}
User avatar
Montis
Posts: 340
Joined: Sun Apr 15, 2012 1:25 am
Location: Grimrock II 2nd playthrough (hard/oldschool)

Re: Notes

Post by Montis »

roachburn wrote:Does anyone know how to get the notes to work without the text going out of the lines? I thought I read somewhere that a /n would perform a line break or whatever but it does not seem to work.
line breaks are \n, not /n
When destiny calls, the chosen have no choice.

My completed dungeon (LoG1): Hypercube
User avatar
LordGarth
Posts: 500
Joined: Mon Jun 18, 2012 5:07 pm
Location: Colorado USA

Re: Notes

Post by LordGarth »

This is something I have tried alot to figure out. I will try this suggestion.

Thx,

LG
Dungeon Master and DOOM will live forever.
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Notes

Post by msyblade »

I learned that ENTER will change the lines on a note much like wall text!
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
User avatar
Adrageron
Posts: 203
Joined: Thu Nov 08, 2012 1:22 pm

Re: Notes

Post by Adrageron »

msyblade wrote:I learned that ENTER will change the lines on a note much like wall text!
Yep, if note is lying on the floor. But if you want to spawn it in some alcove or monster, you must fill the text by scripting, and there "\n" must be used.
Post Reply