Is there someone willing to help me with a model?

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!
Post Reply
User avatar
THOM
Posts: 1281
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Is there someone willing to help me with a model?

Post by THOM »

Blender is still a miracle for me. Even I made some progress with it, many things are still too hard for me.

What I want to do is giving a zarchton the golden crown from Log 1 on the head. The crown model is included in the LoG2 assets pack ("golden_crown") and the problem for me is not to add it to the zarchton-model itself but to connect it in the right way, that it moves together with the head of the monster.

Is there someone who could do this for me?

Skuggasveinn was so kind to help me with another model - but I don't want to ask him again. I must not take advantage of him until the very end.

So if anyone could help me, I would be very happy...
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Is there someone willing to help me with a model?

Post by minmay »

Instead of editing it into the model, add a ModelComponent that's just the crown model and use the parentNode property to attach it to the head node. Then you just need to find a good offset and rotation.

Code: Select all

{
  class = "Model",
  name = "crown",
  model = "assets/models/items/golden_crown.fbx",
  parentNode = "head",
  -- change these two
  offset = vec(0,0,0),
  rotation = vec(0,0,0),
}
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.
User avatar
THOM
Posts: 1281
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: Is there someone willing to help me with a model?

Post by THOM »

what a weired solution - and it works perfect!

thank you

and thanks to bongobeat who tried scripting this and shared his result with me via PM
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: Is there someone willing to help me with a model?

Post by Isaac »

THOM wrote:what a weired solution - and it works perfect!
It's also a developer suggested solution. ;)

viewtopic.php?f=22&t=7951&hilit=hudPrin ... 720#p96537
Post Reply