Search found 14 matches

by hades200082
Sun Mar 03, 2013 3:44 am
Forum: Modding
Topic: Coinslots and Coins
Replies: 13
Views: 8018

Re: Coinslots and Coins

That would be why they don't work then :roll:

Thanks anyway.. next question though... if I'm using alcoves for this instead how do I make it so that the player can't simply pick the coins back up again?
by hades200082
Sun Mar 03, 2013 2:21 am
Forum: Modding
Topic: Coinslots and Coins
Replies: 13
Views: 8018

Re: Coinslots and Coins

The ones in the mod use the basic "lock" I think
by hades200082
Sat Mar 02, 2013 8:05 pm
Forum: Modding
Topic: Why does this script crash the game
Replies: 5
Views: 4115

Re: Why does this script crash the game

I didn't try. But I would bet my 1€ on "AwardX P " - that is, the P in AwardXp is written once lower-case and the other upper-case. I wouldn't bet more than 1€ though ;) That was it! Ugh that sucked up hours! Thank you so much for helping. Thanks to all the others that replied too. I neve...
by hades200082
Sat Mar 02, 2013 8:03 pm
Forum: Modding
Topic: Coinslots and Coins
Replies: 13
Views: 8018

Re: Coinslots and Coins

Ok ... I'm going box-eyed with this.

I can clone the object and set a function for when it's activated... but I can't figure out how to get a count of the items in the stack that activated it. Am I missing something really obvious?
by hades200082
Sat Mar 02, 2013 4:31 pm
Forum: Modding
Topic: Why does this script crash the game
Replies: 5
Views: 4115

Why does this script crash the game

When the script below executes it crashes the game in the editor preview ... no warnings/errors .. just stops. I'm probably missing something really obvious here but I just can't see why it's crashing. Any help is appreciated. function AwardXp(XpToAward) XpToAward = math.floor((XpToAward / 4) + 0.5)...
by hades200082
Sat Mar 02, 2013 4:04 pm
Forum: Modding
Topic: Coinslots and Coins
Replies: 13
Views: 8018

Re: Coinslots and Coins

Yeah but he wants the machine not to steal too many coins at once! Relying on the player to do it right is not user friendly enough. You would need to use hooks and scripts to check the stack amount on the mouse, then you might have to do destroying and spawning tricks to make things work right. I ...
by hades200082
Sat Mar 02, 2013 3:09 pm
Forum: Modding
Topic: Coinslots and Coins
Replies: 13
Views: 8018

Re: Coinslots and Coins

AFAIK if you use shift+click at the coin stack u get one coin at mouse. The simple way^^ I know that... but my players may not ;) It could be done I think, you could get the stack count of the mouse item and only do it for one or if there is more than one then only take one or something, might get ...
by hades200082
Sat Mar 02, 2013 2:51 am
Forum: Modding
Topic: Coinslots and Coins
Replies: 13
Views: 8018

Coinslots and Coins

Hi I'm trying out the coinslots and coins from http://grimrock.nexusmods.com/mods/128 The coins stack in your inventory but if you drop a stack of coins on a coinslot it takes the whole stack. Is there a way to know how many coins were entered and/or a way to prevent more than a set number from ente...
by hades200082
Wed Feb 27, 2013 9:16 am
Forum: Modding
Topic: Custom Cinematics between levels?
Replies: 3
Views: 2510

Re: Custom Cinematics between levels?

Not sure what you mean... Can you give an example?
by hades200082
Wed Feb 27, 2013 9:15 am
Forum: Modding
Topic: local/global "persistant" variables, in scripts/functions
Replies: 23
Views: 22313

Re: local/global "persistant" variables, in scripts/function

Sorry. Didn't see the dates

Was looking to see if I could use functions from an included lua file ion the editor.