Search found 39 matches: emitter

Searched query: emitter

by Sir Tawmis
Fri Oct 06, 2023 6:03 am
Forum: Mod Creation
Topic: Legend of Grimrock 2 Modding
Replies: 11
Views: 10107

Re: Legend of Grimrock 2 Modding

... an existing particle system definition. desc is a table with the following fields: name: the name of the particle system to define or replace. emitters: a table of emitter descriptors. See below. An emitter descriptor is a table which contains the parameters for a particle emitter. The following ...
by kelly1111
Tue Mar 02, 2021 8:08 pm
Forum: Mod Creation
Topic: portal like teleport
Replies: 17
Views: 27768

Re: portal like teleport

Hey! With Minmay's findings here , the portal problems are over. Here is my teleportal object: defineObject{ name = "teleportal", components = { { class = "Model", name = "frame", model = "assets/models/env/portal_frame.fbx", staticShadow = true, }, { class =...
by minmay
Mon Jan 11, 2021 9:23 pm
Forum: Mod Creation
Topic: Blender importer/exporter [1.7.1]
Replies: 24
Views: 35752

Blender importer/exporter [1.7.1]

... you almost always want to export them. However, if you're sure you won't use a normal map with a model (perhaps the model's only being used as an emitterMesh for a particle emitter, or with a translucent material that can't receive lighting anyway?), then you can disable tangent export for a slight ...
by ratman
Tue Nov 17, 2020 3:28 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3990
Views: 3485248

Re: Ask a simple question, get a simple answer

Thanks, it works now. edit: no it does not: party definition: defineObject{ name = "party", baseObject = "party", components = { { class = "Timer", name = "timeSlowTimer", timerInterval = 30, disableSelf = true, enabled = false, onActivate = function(self) zim...
by ratman
Tue Nov 17, 2020 12:10 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3990
Views: 3485248

Re: Ask a simple question, get a simple answer

I try to use yours with one line modified, but it gives me error "attempt to index global 'GraphicsContext' (a nil value) Line that gives error: GraphicsContext.drawGuiItem(SkillsTab, w - (548 * f2), 287 * f2, 0, 0, 510, 292, 510*f2, 292*f2) full party definition: defineObject{ name = "par...
by akroma222
Mon Aug 26, 2019 1:29 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3990
Views: 3485248

Re: Ask a simple question, get a simple answer

... I add this component to my party object: { class = "Particle", name = "rain", particleSystem = "sx_rain_emitter_party_square", onInit = function(self) self:disable() end }, and this is the definition for the particle system (as well as an object def): ...
by Pompidom
Fri Aug 23, 2019 8:47 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3990
Views: 3485248

Re: Ask a simple question, get a simple answer

Artifacts of might: dm_resource_log2 asset pack has a particle called dm_waterdrops that's used in a cave-in ceiling I'd like to make a placable object of these waterdrops to create a nonintrusive rain effect :) I have the entire pack in my mod. defineParticleSystem{ name = "dm_waterdrops"...
by minmay
Sun Jul 07, 2019 12:26 am
Forum: Mod Creation
Topic: Teleportation particle system with MeshShape
Replies: 1
Views: 4735

Re: Teleportation particle system with MeshShape

ParticleComponents with emitter meshes will use the unposed mesh, which for monster meshes is usually not a good pose. If you want to emit particles from a posed mesh you have two options: 1. MonsterComponent's deathEffect field. This ...
by Pompidom
Wed May 01, 2019 9:29 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3990
Views: 3485248

Re: Ask a simple question, get a simple answer

I figured it out, I just added the onDie in the monster class of the base trooper class so all different variations of the skeleton trooper model now drop a skeleton corpse on the spot where they perish :) onDie = function(self) spawn("dm_floordeco_corpse", self.go.level, self.go.x, self.g...
by ColdDeadStone
Sat Feb 09, 2019 11:34 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3990
Views: 3485248

Re: Ask a simple question, get a simple answer

Hello! I get an error message when loading a savegame: === Software Failure === [string "MessageSystem.lua"]:0: could not resolve object reference with id stabportalfake_1 stack traceback: [C]: in function 'assert' [string "MessageSystem.lua"]: in function 'loadState' [string &qu...