Search found 21 matches

by IttaBitta
Mon Jul 22, 2024 6:17 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3189744

Re: Ask a simple question, get a simple answer

minmay wrote: Mon Jul 22, 2024 4:40 pm Use GameObject:setWorldPosition(). Make sure the object you're offsetting doesn't have minimalSaveState, though.
Can I get an example of it's use? So as to understand the syntax?
by IttaBitta
Sun Jul 21, 2024 4:53 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3189744

Re: Ask a simple question, get a simple answer

I forgot how to offset objects in the world, and I'm trying to put some torches on pillars.
How do????
by IttaBitta
Thu Nov 26, 2020 7:32 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3189744

Re: Ask a simple question, get a simple answer

[string "Arch.lua"]:0: undefined object: castle_ceiling_shaft_0000

I've gotten this error multiple times for seemingly random reasons. What gives?
by IttaBitta
Fri Nov 13, 2020 9:49 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3189744

Re: Ask a simple question, get a simple answer

What kind of if then would I use to check for a certain item (a skull) placed into an alcove?
by IttaBitta
Fri Nov 13, 2020 9:48 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3189744

Re: Ask a simple question, get a simple answer

ScroLL wrote: Wed Oct 29, 2014 9:12 pm Is there a way to make the dungeon floor entity not appear invisible when looking up from under it?
there's just no model there. it's invisible because there is no bottom. so no.
by IttaBitta
Tue Nov 10, 2020 6:54 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3189744

Re: Ask a simple question, get a simple answer

Thanks for all your help, btw

More mod mishaps - I tried to use Zimber's assets and I've had a lot of trouble
Trouble one:
Image
things lead me to think it wants me to 'merge' zim_party with my party definition... but I don't know where or WHAT that definition is.
by IttaBitta
Sun Nov 08, 2020 9:01 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3189744

Re: Ask a simple question, get a simple answer

I'm spawning into an alcove though
...

Code: Select all

tomb_alcove_2.surface:addItem(spawn("pellet_box").item:setStackSize(10))
?
by IttaBitta
Sun Nov 08, 2020 3:48 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3189744

Re: Ask a simple question, get a simple answer

ItemComponent has a setStackSize() method that lets you change the number of items in the stack. Use that to make a stack of pellets (or any other stackable item). dm_lock_coinslot decreases its coinsNeeded counter value by 1 each time a coin is inserted, and when the value reaches 0, it disables i...
by IttaBitta
Sat Nov 07, 2020 4:17 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3189744

Re: Ask a simple question, get a simple answer

how do I spawn a stack of ammo? I can spawn a single pellet but I don't know how to make more :o
also if anyone knows those coinslot mods how do I make a coinslot reusable rather than being rendered inert after being paid once.
by IttaBitta
Thu Nov 05, 2020 11:09 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3189744

Re: Ask a simple question, get a simple answer

7Soul wrote: Wed Nov 04, 2020 11:03 pm There's some at nexusmods https://www.nexusmods.com/legendofgrimrock2
just, does anyone have the frozen dungeon stuff laying around still? There's a lot of lost pieces that are probably still somewhere right?