The Custom Alcove Thread. (Neikun, Batty and Crisman)

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Post by Neikun »

Oh-ho! Very nice and very welcome!

If I recall correctly, lightsource objects can be toggled. =D
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Komag
Posts: 3654
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Post by Komag »

that is very cool indeed!
Finished Dungeons - complete mods to play
User avatar
3TiHwCrow
Posts: 4
Joined: Wed Dec 12, 2012 11:32 pm

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Post by 3TiHwCrow »

Neikun wrote:Oh-ho! Very nice and very welcome!

If I recall correctly, lightsource objects can be toggled. =D
thx for the great tip, i edited the post to mention this.
problem is, using this alternative method doesnt create a sound and i dont know how to destroy a spawned sound.
i think it would be nice to have all the toggle stuff and the lights starts turned off in one lua.
i hope someone can help with scripting this.
User avatar
Brodie301
Posts: 286
Joined: Sun Apr 08, 2012 6:00 pm
Location: Mississippi, USA

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Post by Brodie301 »

That blue book in upper right corner looks like a perfect spot to put a scroll on
Ant the book stacks in middle shelf seems like a perfect spot for a gem...
Was compiling my Grim folders and thought the top right and middle had been done and could've sworn I seen a pic of what Grimwold was talking about.

I have the note and bottom shelf alcoves but not these if they exist, if not would a alcove master do them please. Just a request. This is for Phitt's bookshelves.
The FORCE is with me!!!
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Post by Neikun »

SpoilerShow
Image

Code: Select all

defineObject{
	name = "bookshelf_01_gem_socket",
	class = "Alcove",
	anchorPos = vec(-0.62, 1.882, 0.22),
	anchorRotation = vec(90,0,90),
	targetPos = vec(-0.62, 1.882, 0.22),
	targetSize = vec(0.5, 0.5, 0.5),
	placement = "wall",
onInsertItem = function(self, item)
	     local allowed = {"green_gem", "blue_gem", "red_gem"}
     for i = 1, #allowed do
       if item.name == allowed[i] then
          return item.name == allowed[i] and self:getItemCount() == 0
       end
     end   
end,
	editorIcon = 8,
Keep in mind that as a socket, it has no model. You can use Phitt's bookshelf_01 to make it look right.
SpoilerShow
Image

Code: Select all

defineObject{
	name = "bookshelf_02_scroll_socket",
	class = "Alcove",
	anchorPos = vec(0.548, 1.463, 0.15),
	anchorRotation = vec(0,180,186),
	targetPos = vec(0.548, 1.463, 0.15),
	targetSize = vec(0.3, 0.3, 0.3),
	placement = "wall",
	onInsertItem = function(self, item)
     local allowed = {"scroll", "scroll_darkness", "scroll_enchant_fire_arrow", "scroll_fire_shield", "scroll_fireball", "scroll_fireburst", 

"scroll_frost_shield", "scroll_frostbolt", "scroll_ice_shards", "scroll_invisibility", "scroll_light", "scroll_lightning_bolt", "scroll_poison_bolt", 

"scroll_poison_cloud", "scroll_poison_shield", "scroll_shock", "scroll_shock_shield"}
     for i = 1, #allowed do
       if item.name == allowed[i] then
          return item.name == allowed[i] and self:getItemCount() == 0
       end
     end   
end,
	editorIcon = 8,
}
Again, it's a socket, not a model. This one should be placed over Phitt's bookshelf_02 model
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Brodie301
Posts: 286
Joined: Sun Apr 08, 2012 6:00 pm
Location: Mississippi, USA

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Post by Brodie301 »

Thanks Neikun
The FORCE is with me!!!
User avatar
undeaddemon
Posts: 157
Joined: Fri Mar 02, 2012 3:38 pm

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Post by undeaddemon »

Hah... u da supermandago! [Just happened to be working on my library!!]

Code: Select all

defineObject{
    name = "bookshelf_01_tome_socket",
    class = "Alcove",
    anchorPos = vec(.645, 2.41, 0.29),
    anchorRotation = vec(0,85,180),
    targetPos = vec(.645, 2.41, 0.29),
    targetSize = vec(0.3, 0.3, 0.3),
    placement = "wall",
  onInsertItem = function(self, item)
        local allowed = {"tome", "tome_fire", "tome_health", "tome_wisdom"}
        for i = 1, #allowed do
        if item.name == allowed[i] then
        return item.name == allowed[i] and self:getItemCount() == 0
        end
    end   
end,
    editorIcon = 8,
}
Image
Last edited by undeaddemon on Sun Dec 30, 2012 8:16 pm, edited 1 time in total.
User avatar
undeaddemon
Posts: 157
Joined: Fri Mar 02, 2012 3:38 pm

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Post by undeaddemon »

Hmm now that I have been mouse looking it.. it needs tuning still.....
-OK.. update the script to place correctly.
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Post by Neikun »

Thanks for the addition!
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
HaunterV
Posts: 676
Joined: Mon Apr 16, 2012 9:54 pm
Location: Barrie, Ontario, Canada

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Post by HaunterV »

wow, 30+ pages now...
Grimrock Community 'FrankenDungeon 2012. Submit your entry now!: http://tinyurl.com/cnupr7h
SUBMIT YOUR ASSETS! Community Asset Pack (C.A.P.): http://tinyurl.com/bqvykrp
Behold! The HeroQuest Revival!: http://tinyurl.com/cu52ksc
Post Reply