Beta-1.2.11 now available!
- Montis
- Posts: 340
- Joined: Sun Apr 15, 2012 1:25 am
- Location: Grimrock II 2nd playthrough (hard/oldschool)
Re: Beta-1.2.11 now available!
Found another bug:
I have a pressure plate that you have to throw a rock onto. After it's activated, I want the stone to disappear, so I created a script with a destroy() command. When the stone lands on the pressure plate, the game crashes.
If I just step on the pressure plate with the stone somewhere else, the rock gets destroyed correctly. Except when I'm holding it in the mouse or in the inventory, in which case it will give me a script error "attempt to index global 'rock_1': a nil value", but that might be intended behaviour.
I have a pressure plate that you have to throw a rock onto. After it's activated, I want the stone to disappear, so I created a script with a destroy() command. When the stone lands on the pressure plate, the game crashes.
If I just step on the pressure plate with the stone somewhere else, the rock gets destroyed correctly. Except when I'm holding it in the mouse or in the inventory, in which case it will give me a script error "attempt to index global 'rock_1': a nil value", but that might be intended behaviour.
Re: Beta-1.2.11 now available!
I don't know if you need a workaround for this but that's what I'd do to make it work the way you described - just warp the stone away (to a locked 1x1 area) with a hidden teleporter on activation.
- Montis
- Posts: 340
- Joined: Sun Apr 15, 2012 1:25 am
- Location: Grimrock II 2nd playthrough (hard/oldschool)
Re: Beta-1.2.11 now available!
Yeah that's what I've done already
Re: Beta-1.2.11 now available!
I guess the game just doesn't like item suicide. Just as a test, maybe try having the plate trigger a timer set to .1sec, then the timer destroys the rock
Finished Dungeons - complete mods to play
- Montis
- Posts: 340
- Joined: Sun Apr 15, 2012 1:25 am
- Location: Grimrock II 2nd playthrough (hard/oldschool)
Re: Beta-1.2.11 now available!
That actually works.Komag wrote:I guess the game just doesn't like item suicide. Just as a test, maybe try having the plate trigger a timer set to .1sec, then the timer destroys the rock
So I guess the program can't handle that tha pressure plate is activated at the same time that it's not activated or something
Re: Beta-1.2.11 now available!
did you test it with the plate on activate once?
Finished Dungeons - complete mods to play
- Montis
- Posts: 340
- Joined: Sun Apr 15, 2012 1:25 am
- Location: Grimrock II 2nd playthrough (hard/oldschool)
Re: Beta-1.2.11 now available!
both with and without. my original plate also had activate once, so that wasn't the issue.
Re: Beta-1.2.11 now available!
i ran into the same thing montis, used the timer work around as well =)
Re: Beta-1.2.11 now available!
trying to access a script in the editor from the item.lua that does not exist will crash the editor when trying to call that script. Should just stop the preview and warn about that script doesn't exist.
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: Beta-1.2.11 now available!
Is it normal that export to steam isn't there anymore ?
A trip of a thousand leagues starts with a step.