Ask a simple question, get a simple answer
Re: Ask a simple question, get a simple answer
Hi,
I have a kinda similar questions on object cloning.
I'm trying to have one of those demon heads work like those beacon_furnace_head, as in, I want the model to be the demon statue head but I want it to emit light and display a hint when clicked. So far my temporary solution is to place a beacon furnace head with model off, but I'd rather have a new object that has the furnace components and demon head model.
I find myself stuck at finding how to define the class names and components... Where could I find the data infos of the beacon furnace head please?
Is there a file I could dig in to retrieve the infos of original assets?
I'm stupidly only there for now:
defineObject{
name = "demon_hint",
baseObject = "beacon_furnace_head_1",
components = {
{
class = "
Thanks,
blob
I have a kinda similar questions on object cloning.
I'm trying to have one of those demon heads work like those beacon_furnace_head, as in, I want the model to be the demon statue head but I want it to emit light and display a hint when clicked. So far my temporary solution is to place a beacon furnace head with model off, but I'd rather have a new object that has the furnace components and demon head model.
I find myself stuck at finding how to define the class names and components... Where could I find the data infos of the beacon furnace head please?
Is there a file I could dig in to retrieve the infos of original assets?
I'm stupidly only there for now:
defineObject{
name = "demon_hint",
baseObject = "beacon_furnace_head_1",
components = {
{
class = "
Thanks,
blob
- Vice Dellos
- Posts: 47
- Joined: Thu Feb 28, 2013 12:56 pm
Re: Ask a simple question, get a simple answer
has anyone turned the collapsed dungeon thingies into stairs? i tried to do it by stacking it with a stairs without the model, but that also removes the walls so it doesnt really work
Re: Ask a simple question, get a simple answer
Did you also try adding fake walls?Vice Dellos wrote:has anyone turned the collapsed dungeon thingies into stairs? i tried to do it by stacking it with a stairs without the model, but that also removes the walls so it doesnt really work
- Vice Dellos
- Posts: 47
- Joined: Thu Feb 28, 2013 12:56 pm
Re: Ask a simple question, get a simple answer
yeah
edit: tried again castle walls seem to work somehow, but i was making t in a dungeon place and dungeon walls dont work.
dungeon walls on castle stairs dont work either
edit: tried again castle walls seem to work somehow, but i was making t in a dungeon place and dungeon walls dont work.
dungeon walls on castle stairs dont work either
Re: Ask a simple question, get a simple answer
How to open a door with a script? .open() and .activate() crash.
Re: Ask a simple question, get a simple answer
Try this, works for me anyway.
Code: Select all
function openDoor()
door_id.door:open()
end
Re: Ask a simple question, get a simple answer
Yeah i forgot the .door, that works.
Re: Ask a simple question, get a simple answer
Ok, question. I'm making headway learning how to script, but I'm hitting a roadblock and could use a little help.
I'm trying to wake up a dormant_twigroot but I'm unclear how to do that. I tried:
I'm trying to wake up a dormant_twigroot but I'm unclear how to do that. I tried:
But that didn't do it. I scanned the scripting references, but I don't see anything that would "activate" the dormant_twigroot.dormant_twigroot_1.MonsterComponent(wakeup):setAIState(wakup)
Re: Ask a simple question, get a simple answer
Is that second wakeup supposed to have a typo? I am unfamiliar with scripting.
Re: Ask a simple question, get a simple answer
Honestly this one isn't totally crystal clear on how to do.PPanda wrote:I'm trying to wake up a dormant_twigroot but I'm unclear how to do that.
wakeUp is a MonsterAction so you have to:
twigroot_dormant_1.monster:performAction("wakeUp")
Links to my YouTube playlist of "tutorials" and to my forum thread.