Images on Scrolls?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Bucnasti
Posts: 22
Joined: Mon Sep 24, 2012 12:41 am

Re: Images on Scrolls?

Post by Bucnasti »

petri wrote:Try this:

local note = spawn("note")
note:setScrollImage("mod_assets/textures/scroll_images/map.dds")
party:getChampion(1):insertItem(7, note)

Should be a bit easier to read too :)
Huzzah! That worked. Now on to my next challenge.
User avatar
LordGarth
Posts: 500
Joined: Mon Jun 18, 2012 5:07 pm
Location: Colorado USA

Re: Images on Scrolls?

Post by LordGarth »

Is there code that i can add to this for a rune image

defineObject{
name = "scroll_chainlightning",
class = "Item",
uiName = "Scroll of Chain Lightning",
model = "assets/models/items/scroll_spell.fbx",
gfxIndex = 113,
scroll = true,
spell = "chain_lightning",
weight = 0.3,
}

thx,

LG
Dungeon Master and DOOM will live forever.
User avatar
LordGarth
Posts: 500
Joined: Mon Jun 18, 2012 5:07 pm
Location: Colorado USA

Re: Images on Scrolls?

Post by LordGarth »

Nevermind I got it to work.

Thx,

LordGarth
Dungeon Master and DOOM will live forever.
User avatar
LordGarth
Posts: 500
Joined: Mon Jun 18, 2012 5:07 pm
Location: Colorado USA

Re: Images on Scrolls?

Post by LordGarth »

Great all new spell scrolls made and tested. If only new textures for spells worked.

LG
Dungeon Master and DOOM will live forever.
Post Reply