Search found 83 matches

by Xardas
Fri Jun 01, 2018 5:25 pm
Forum: Mod Creation
Topic: Pimp my Chests
Replies: 5
Views: 9501

Re: Pimp my Chests

Now i found a way to spawn loot in a chest depending on the Players level. The moment you open the chest the loot is spawned. Here is the definition of the "chest_with_loot". defineObject{ name = "chest_with_loot", components = { { class = "Model", model = "assets/...
by Xardas
Fri Jun 01, 2018 12:03 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963871

Re: Ask a simple question, get a simple answer

That´s what i´ve been looking for. Thanks 8-)
by Xardas
Fri Jun 01, 2018 12:22 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963871

Re: Ask a simple question, get a simple answer

Question: I want to make some kind of blinding light, which should make the Screen go bright, when a function is called, so the Player is unable to see something for a short period of time. I want a quick but smooth Transition from normal Screen to bright Screen and back to normal Screen. Is it poss...
by Xardas
Fri May 18, 2018 11:52 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963871

Re: Ask a simple question, get a simple answer

Maybe this helps:
There is an explanation for the getWorldPosition values, which are the same, you use with setWorldPosition

https://github.com/JKos/log2doc/wiki/Ob ... gameobject
by Xardas
Thu May 17, 2018 9:15 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963871

Re: Ask a simple question, get a simple answer

Don´t look into the definitions for this one. There is an object, which is called "script_entity" in the Editor. You have to write your Code inside one of These. Here is a simple, but not excellent solution for your Problem. Name your Monsters ("monster_1","monster_2",e...
by Xardas
Thu May 17, 2018 4:47 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963871

Re: Ask a simple question, get a simple answer

MonsterComponent:setExp(number)
by Xardas
Fri May 11, 2018 6:43 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963871

Re: Ask a simple question, get a simple answer

Isaac wrote:Question: Is it possible to define an object with a custom editor icon?

(Is it possible to assign a custom editor Icon atlas?)
Is this, what you are trying to do?
http://grimrock.net/forum/viewtopic.php?f=22&t=12725
by Xardas
Thu May 10, 2018 1:56 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963871

Re: Ask a simple question, get a simple answer

The world has 3 axes (x,y,z). With the offset vector, it is possible to give the object an offset. That means you can move it along the axes, starting at the location you actually placed it. It is also possible to rotate an object in 3 directions. Just change some of the values and you will see the ...
by Xardas
Wed May 09, 2018 12:27 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963871

Re: Ask a simple question, get a simple answer

What's with the grimtk input boxes?
by Xardas
Mon May 07, 2018 11:10 pm
Forum: Mod Creation
Topic: Pimp my Chests
Replies: 5
Views: 9501

Re: Pimp my Chests

I already made a levelscaled version for adding loot to AdrTrus mam_racks assets. You can choose from lvl1 to lvl4 loot (finer scale is easily possible). I will add that to this thread maybe later. Spawning loot depending on the Players level is also a really good idea. I'm going to think about that...