Pull chain as a button (ran into problem)

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

Pull chain as a button (ran into problem)

Post by Neikun »

So I noticed pullchains function like buttons, so I thought, "Why not have a pullchain that's not attached to a door?"
I did this quite simply in the following script by cloning a wall button.

Code: Select all

cloneObject{
	name = "pull_button",
	baseObject = "wall_button",
	model = "assets/models/env/door_pullchain.fbx",
	pressAnim = "assets/animations/env/door_pullchain.fbx",
}
It shows up perfectly. No problem, but it's untoggle able.
The editor displays the error: warning! Can't find button node for wall button.
I presume that this is because the wall button and pull chain are not in the same place.
Is there a way around this, or am I thinking too far outside the box?
"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
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Pull chain as a button (ran into problem)

Post by Neikun »

Anyone got some feed back on this?
"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
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Pull chain as a button (ran into problem)

Post by petri »

The engine looks for a node called "button" in the model so that it knows where the button is located. You'd have to create a modified version of the model with the node in it.
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Pull chain as a button (ran into problem)

Post by Neikun »

That's what I thought.
Maybe I'll give John's model program a look.
Thanks, Petri!
"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!
Post Reply