[RESOLVED] Throwing weapon

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
thogrinn
Posts: 8
Joined: Fri Dec 21, 2012 4:58 pm
Location: France - Lyon

[RESOLVED] Throwing weapon

Post by thogrinn »

Hello everyone! :)

I come here to ask for a bit of help. I'm a beginner and I started to script yesterday, with the help of online tutorials. Finally, the language "Lua" is not so complicated, but once you start, it's not easy!
My question is, I'd like to (at first), run a knife on a statue to activate a slab. What I found on the forum seems complicated! For basic functions, it's good, but for that kind of thing, I have a lot of trouble. I post here the beginning of my tower, thank you Komag about the videos!

Can you help me? I apologize for my bad English, I'm French and it's not easy. Thank you for this wonderful game and the editor, really great! :geek:

Link to the file .Dat : http://d1b3m7.1fichier.com/

The statue is in the second room, for the moment, activating traps is easy, I will make the changes when I understood the script. Level two is a maze unfinished!

Enjoy !! :mrgreen:
Last edited by thogrinn on Sat Dec 22, 2012 11:48 am, edited 1 time in total.
vorebane
Posts: 41
Joined: Wed Oct 03, 2012 4:31 am

Re: [HELP] Throwing weapon

Post by vorebane »

I'm not sure what you mean by slab, but I think this should help!

I would suggest placing a hidden_receptor on the wall where the statue is. In the 'activated by' field, put 'throwing_knife' or the item you want to activate your puzzle. If you want multiple items to work, put one hidden receptor for each. Then add your connector to whatever should be activated!

If by 'run a knife on a statue' you mean hit the statue with a knife, I don't know that this can be done yet.

Good luck!
thogrinn
Posts: 8
Joined: Fri Dec 21, 2012 4:58 pm
Location: France - Lyon

Re: [HELP] Throwing weapon

Post by thogrinn »

Thank you for the answer, I'll do a test! May be easier indeed ^ ^ ;) The first idea was to touch the statue, but I'll see.

Thx !!!

EDIT : That works !! Thanks for help !! :D
User avatar
Pandafox
Posts: 268
Joined: Wed Apr 11, 2012 11:25 pm
Location: France
Contact:

Re: [HELP] Throwing weapon

Post by Pandafox »

vorebane wrote:I'm not sure what you mean by slab, but I think this should help!

I would suggest placing a hidden_receptor on the wall where the statue is. In the 'activated by' field, put 'throwing_knife' or the item you want to activate your puzzle. If you want multiple items to work, put one hidden receptor for each. Then add your connector to whatever should be activated!

If by 'run a knife on a statue' you mean hit the statue with a knife, I don't know that this can be done yet.

Good luck!
wow! yes !! why did I not think that !?? :D
it was not my question but thanks !!

thogrinn : entre français on pourra s'aider ;)
thogrinn
Posts: 8
Joined: Fri Dec 21, 2012 4:58 pm
Location: France - Lyon

Re: [HELP] Throwing weapon

Post by thogrinn »

Pandafox wrote:
vorebane wrote:I'm not sure what you mean by slab, but I think this should help!

I would suggest placing a hidden_receptor on the wall where the statue is. In the 'activated by' field, put 'throwing_knife' or the item you want to activate your puzzle. If you want multiple items to work, put one hidden receptor for each. Then add your connector to whatever should be activated!

If by 'run a knife on a statue' you mean hit the statue with a knife, I don't know that this can be done yet.

Good luck!
wow! yes !! why did I not think that !?? :D
it was not my question but thanks !!

thogrinn : entre français on pourra s'aider ;)
Pas de problème, avec grand plaisir ! :lol:
Post Reply