Search found 2877 matches

by Isaac
Wed Jan 22, 2020 6:59 am
Forum: Custom Dungeons
Topic: [MOD] The One Room Round Robin Part 3
Replies: 256
Views: 18752

Re: [MOD] The One Room Round Robin Part 3

I am going to guess that it's minmay's "Tower of Babble".
by Isaac
Wed Jan 22, 2020 12:34 am
Forum: Support and Tech Discussion
Topic: scripting help
Replies: 12
Views: 1046

Re: scripting help

That's very peculiar that I don't get an error with mine, but yours does. Okay, try this variation on the script: altar_1.surface:addConnector('onAcceptItem', self.go.id, "itemSwap") function itemSwap(surface, item) local checkItem = "rock" local itemReplacement = "figure_skeleton" if item.go.item:g...
by Isaac
Tue Jan 21, 2020 3:09 am
Forum: Support and Tech Discussion
Topic: scripting help
Replies: 12
Views: 1046

Re: scripting help

Try the script as-is, in a new project; place an altar and the rocks.
*Also, what is the item that you are using?
Image
by Isaac
Tue Jan 21, 2020 2:40 am
Forum: Support and Tech Discussion
Topic: scripting help
Replies: 12
Views: 1046

Re: scripting help

First (and you may have already), please double check that the copy / paste was exact. I do not see this error in the editor or in the game. :o *Also, please ensure that you are running version: 2.2.4 of the engine. __________________________________ Here is the same script as above, but with an eff...
by Isaac
Tue Jan 21, 2020 1:45 am
Forum: Support and Tech Discussion
Topic: scripting help
Replies: 12
Views: 1046

Re: scripting help

altar_1.surface:addConnector('onInsertItem', self.go.id, "itemSwap") --< change altar_1 to the ID of your altar > function itemSwap(surface, item) local checkItem = "rock" -------------------------------< Name of the user placed item > local itemReplacement = "figure_skeleton" ----< Name of the rep...
by Isaac
Mon Jan 20, 2020 11:18 am
Forum: Support and Tech Discussion
Topic: scripting help
Replies: 12
Views: 1046

Re: scripting help

This really needs to be in the forum for your intended game; nearly all scripting advice will be very different between the two. Question(s): [Assuming LoG2] Do you intend that the user-placed item becomes something new when put upon the [empty] altar, or will there be an item already on the altar t...
by Isaac
Mon Jan 13, 2020 11:52 pm
Forum: Grimrock 2 Discussion
Topic: how do i remove an item while i am playing?
Replies: 2
Views: 326

Re: how do i remove an item while i am playing?

For which game? (Presumably LoG2; because it's a Sky.) This is usually done via script, in a script_entity. Every object has a destroy:() method. you can destroy an object in either game, by calling the [[ object.id ]] : destroy() For example: swamp_sky_1:destroy() ___ Create (or select) a script_en...
by Isaac
Thu Jan 02, 2020 10:48 pm
Forum: Custom Dungeons
Topic: [MOD] The One Room Round Robin Part 3
Replies: 256
Views: 18752

Re: [MOD] The One Room Round Robin Part 3

... And for whatever reason the Grimrock 2 modding scene never attracted as many people as the Grimrock 1 one. My guess is the change to the component model for scripting; a powerful improvement, but breaks old scripts, and old habits. *I think that if they had released LoG2 with some support for i...
by Isaac
Thu Jan 02, 2020 4:25 pm
Forum: Custom Dungeons
Topic: [MOD] The One Room Round Robin Part 3
Replies: 256
Views: 18752

Re: [MOD] The One Room Round Robin Part 3

QuickTime event huh? Image

Misnomer aside, I thought those were almost universally despised, or is that just me?
by Isaac
Sat Dec 21, 2019 7:12 pm
Forum: Custom Dungeons
Topic: [MOD] The One Room Round Robin Part 3
Replies: 256
Views: 18752

Re: [MOD] The One Room Round Robin Part 3

This bug is result of an overlooked pair of print statements that should have been deleted; they had no conditional checks to ensure that the champion(s) in position 1 or 2 exist.

It's now fixed in the development version.