Editor Tutorials on YouTube - part 15 is out

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
User avatar
THOM
Posts: 1274
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: Editor Tutorials on YouTube - part 13 is out

Post by THOM »

Have a look at the opneing post and there at the entrance on "alcove puzzle" - maybe that gives some inspiration. Or post your script...
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
A100N
Posts: 15
Joined: Sun Oct 19, 2014 1:53 pm

Re: Editor Tutorials on YouTube - part 13 is out

Post by A100N »

I check this ALCOVE tutorial. works fine if use dungeon alcove tiles, but if use ALTAR, this script not work:(
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: Editor Tutorials on YouTube - part 13 is out

Post by Skuggasveinn »

Hi A100N

Please have a look at this test dungeon within the editor.
http://www.zorglubb.net/grimrock/dropzo ... hamber.zip

It has the following puzzles.

Place a green gem on a pressure plate to open a door.
Place a green and a red gem inside an alcove to open a door
Use shovel to dig up treasure.
Place a sword on a alter to open a door.
Remove a torch from a torch holder to open a door (and then place it in another holder the triggers a teleporter)
Place a blue, red and a green gem on 3 separate altars that will destroy the gems, when that's done a door will open.

hope that gets you in the right direction.

kind regards.
Skuggasveinn.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
A100N
Posts: 15
Joined: Sun Oct 19, 2014 1:53 pm

Re: Editor Tutorials on YouTube - part 13 is out

Post by A100N »

Skuggasveinn

Thank you very much for your help, and once again I apologize for the inconvenience!
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: Editor Tutorials on YouTube - part 13 is out

Post by Skuggasveinn »

Nothing to apologize for, its never a trouble or inconvenience, and when people are learning something new, then there are no stupid questions.
So feel free to ask.

kind regards.
Skuggasveinn.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
A100N
Posts: 15
Joined: Sun Oct 19, 2014 1:53 pm

Re: Editor Tutorials on YouTube - part 13 is out

Post by A100N »

Hello.
I have a question.
Is it possible to somehow change in the file [monsters.lua] or somewhere else size specific monster?
----
I created (small_crab) but do not know how to reduce its size by 50%
there is no script for some type of ...
height = 50%, or 0.5
width ^^
minmay
Posts: 2780
Joined: Mon Sep 23, 2013 2:24 am

Re: Editor Tutorials on YouTube - part 13 is out

Post by minmay »

You need to change the actual model file to do that.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
A100N
Posts: 15
Joined: Sun Oct 19, 2014 1:53 pm

Re: Editor Tutorials on YouTube - part 13 is out

Post by A100N »

i use GrimrockModelToolkit, and resize them model, but i dont know i use in editor have nice new stats, textures, but size still original:(
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: Editor Tutorials on YouTube - part 13 is out

Post by Skuggasveinn »

Hi A100N, you are going into deep waters now ;)

You can't resize a model unless you resize the animation also, because the model will scale to the animation when it plays, and it will look like nothing has happened, like in your case.
And you can't really resize an animation for a monster because it will throw the grid system off, if you scale it down by 50% the monster will walk half a tile, and if you scale it up by 150% it will walk one and a half tile, and then gets weirdly snapped back/fourth to the rest pose on a new tile it was trying to move to.

The only way to get this right is to recreate the animation for the monster so that it matches the grid tiles of the game.
If you take a look at the TinyCritterController class (the harmless spider and crabs) they have their own models and their own animations, there is no magic setSize command or scale command, so to the best of my knowledge you will have to do this from the ground up.

Kind regards.
Skuggasveinn.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
A100N
Posts: 15
Joined: Sun Oct 19, 2014 1:53 pm

Re: Editor Tutorials on YouTube - part 13 is out

Post by A100N »

Ah ok understund:) no rescale models its best idea for me now :D THX :)
Post Reply