Modding Documentation

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
Montis
Posts: 340
Joined: Sun Apr 15, 2012 1:25 am
Location: Grimrock II 2nd playthrough (hard/oldschool)

Modding Documentation

Post by Montis »

A few things that I couldn't find documented in the modding documentation:
  • when a script function is triggered it receives the sender of the message as first argument
  • default party can be customized (create a save game, rename it as default_party.dat and copy it to mod_assets folder)
  • Item:getStackSize() - it does work but it's not in the list
Also a small request:
In the scripting reference and the asset definitions reference, would it be possible to add anchors to each of the entities / categories and then have a small index at the top so you can jump to those things faster? Those could then also better be linked in the forums etc.
Would be really great to have that :)
When destiny calls, the chosen have no choice.

My completed dungeon (LoG1): Hypercube
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Modding Documentation

Post by Komag »

I think I agree with all that, but perhaps this will just be something to keep in mind for setting up the wiki :)
Finished Dungeons - complete mods to play
User avatar
Montis
Posts: 340
Joined: Sun Apr 15, 2012 1:25 am
Location: Grimrock II 2nd playthrough (hard/oldschool)

Re: Modding Documentation

Post by Montis »

What I also wanted to ask:
in the save games and variables section, it's written that "static" assets won't get saved (last paragraph). I have found that this isn't the case (or at least for the things I tried yet) and my spawned stuff does carry over when saving and loading.
Did you change the saves that this is accomodated now?
When destiny calls, the chosen have no choice.

My completed dungeon (LoG1): Hypercube
hannamarin
Posts: 41
Joined: Sat Mar 31, 2012 11:48 am
Location: Yeovil, England, UK

Re: Modding Documentation

Post by hannamarin »

How do you delete a logic item ? or any item accidentally added.

The delete key does not work, even though it is listed in the preferences.
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Modding Documentation

Post by Neikun »

User the pointer too to select the item you want to delete. This should turn it yellow. Simply press the delete key immediately afterwards.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Modding Documentation

Post by petri »

Montis wrote:What I also wanted to ask:
in the save games and variables section, it's written that "static" assets won't get saved (last paragraph). I have found that this isn't the case (or at least for the things I tried yet) and my spawned stuff does carry over when saving and loading.
Did you change the saves that this is accomodated now?
Yeah, the save game doc is out of date and contains wrong info. Thanks for pointing that out!
hannamarin
Posts: 41
Joined: Sat Mar 31, 2012 11:48 am
Location: Yeovil, England, UK

Re: Modding Documentation

Post by hannamarin »

Yeah, that tip about deleting does not work - I cannot delete buttons or other items accidentally added.

Delete key does not seem to be active for activatable items.
Last edited by hannamarin on Sun Oct 07, 2012 5:53 pm, edited 1 time in total.
Lmaoboat
Posts: 359
Joined: Wed Apr 11, 2012 8:55 pm

Re: Modding Documentation

Post by Lmaoboat »

hannamarin wrote:Yeah, that tip about deleting does not work - I cannot delete buttons or other items accidentally added.

Delete key does not seem to be active.
That sounds more like a problem with your keyboard.
hannamarin
Posts: 41
Joined: Sat Mar 31, 2012 11:48 am
Location: Yeovil, England, UK

Re: Modding Documentation

Post by hannamarin »

Delete key works fine on MS office and other programs which use a defined delete key.
hannamarin
Posts: 41
Joined: Sat Mar 31, 2012 11:48 am
Location: Yeovil, England, UK

Re: Modding Documentation

Post by hannamarin »

Oh I see.
You have to go through all the options available ie wall_button 1 through to whatever until none are available and then the button can be deleted. Would be nice if the delete key worked straight away instead of the laborious route actually required.
Post Reply