Brainstorming from the Community [unofficial]

Talk about anything related to Legend of Grimrock 2 here.
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

Re: Brainstorming from the Community [unofficial]

Post by JKos »

I have a few modding/scripting related wishes:

1. Official support for entity class specific hooks. Something like this:

Code: Select all

defineHooks{
	id='myHooks'
	class='Monster',
	onMove=function(monst)
	
	end,
	priority=1
}
2. And support for multiple hooks/type

Code: Select all

defineHooks{
	id='mySnailHook',
	entityName='snail',
	onMove=function(monst)
		
	end
	priority=2
}

defineHooks{
	id='someOtherSnailHook',
	entityName='snail',
	onMove=function(monst)
		
	end
	priority=3
}
3. and maybe a possibility to define/remove/modify hooks in runtime.

Code: Select all

removeHooks{
	id='someOtherSnailHooks',
	entityName='snail'
}
But the class specific hooks support is more important than those other features which can be scripted fairly easily.

4. And publish all entity (and component) properties as a read only variables by default, there is no need for getter-methods.

Thanks :)
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
Post Reply