Line count Dungeon file notepad++

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!
Pompidom
Posts: 476
Joined: Sun May 06, 2018 9:42 pm

Line count Dungeon file notepad++

Post by Pompidom » Tue Feb 05, 2019 10:25 pm

What's your line count in notepad++ for your dungeon file?

I have currently breached 60.000 for Blood Moon :)

User avatar
7Soul
Posts: 95
Joined: Sun Oct 19, 2014 1:56 am

Re: Line count Dungeon file notepad++

Post by 7Soul » Tue Feb 05, 2019 10:52 pm

Less than that
Join the LoG discord server: https://discord.gg/ArgAgNN :D

My Mod The Old Nexus (wip)

User avatar
Curunir
Posts: 332
Joined: Fri Mar 30, 2012 11:19 pm

Re: Line count Dungeon file notepad++

Post by Curunir » Tue Feb 05, 2019 11:11 pm

Ok, I'll humor you...

At 15 playable maps / levels and 10,000 objects in the entity search, I'm at 16,200 lines of dungeon.lua.

I really don't know what you did to hit 60,000 but congratulations, I suppose!

Pompidom
Posts: 476
Joined: Sun May 06, 2018 9:42 pm

Re: Line count Dungeon file notepad++

Post by Pompidom » Tue Feb 05, 2019 11:23 pm

Lots of objects to make stuff good looking. Layer upon layer of fancy stuff to make the world look more detailed and pretty :3
But I'm sitting at roughly 50 maps already.
Some maps are completely filled but offer only like 40 movable squares just to give you a clue.

User avatar
Curunir
Posts: 332
Joined: Fri Mar 30, 2012 11:19 pm

Re: Line count Dungeon file notepad++

Post by Curunir » Tue Feb 05, 2019 11:27 pm

Do you think you will ever finish a mod with 50 playable maps?

Pompidom
Posts: 476
Joined: Sun May 06, 2018 9:42 pm

Re: Line count Dungeon file notepad++

Post by Pompidom » Tue Feb 05, 2019 11:31 pm

My guess is that Blood Moon v1.0 will be ready in a couple of months.

User avatar
THOM
Posts: 1130
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: Line count Dungeon file notepad++

Post by THOM » Wed Feb 06, 2019 12:38 am

What are your maps filled with if only a few squares are reachable?

To be more precise: I have seen maps that represents a forest - and so the modder filled the whole map with trees. But if the party can only reach a few spots on the map it is not necessary to fill everything up. The performance can went down to almost zero and the player can't see, if trees are there or not...
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download

minmay
Posts: 2656
Joined: Mon Sep 23, 2013 2:24 am

Re: Line count Dungeon file notepad++

Post by minmay » Wed Feb 06, 2019 1:35 am

Avenie's Awful Adventure currently has 140,461 lines of code.
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.

Pompidom
Posts: 476
Joined: Sun May 06, 2018 9:42 pm

Re: Line count Dungeon file notepad++

Post by Pompidom » Wed Feb 06, 2019 2:00 am

THOM wrote:
Wed Feb 06, 2019 12:38 am
What are your maps filled with if only a few squares are reachable?

To be more precise: I have seen maps that represents a forest - and so the modder filled the whole map with trees. But if the party can only reach a few spots on the map it is not necessary to fill everything up. The performance can went down to almost zero and the player can't see, if trees are there or not...
Not every map is like that offcourse, but some maps are simply a detailed world. It's hard to explain. For example my town has elemental towers in the 4 corners. To reach them you go in the small castle up the stairs and end up outside high on those castle battlements/walls that lead to the base/door of the towers. Meanwhile a nearly identical copy of the town is down below you to gaze upon, but it's not the actual town map. More a simplified version of it crammed in the 32x32 size.

Big landmarks like big towers can be seen on adjacent maps in the distance etc... I'm not going to show anything to make sure I will not ruin the surprise.

Instead of tiled walls, many walls are actually objects with a bunch of stuff crammed into it. https://ibb.co/MSHqbS3

Or simply maps with many rows and columns at the outer edge dedicated to an evergrowing detailed foliage spectacle instead of a boring forest_hedge.
My mod currently has 0 performance loss chugging away rocksolid @ 60 fps on an old backup computer that has barely the recommended specs of log2.

The only map that does have some performance drop is a winter map where it's heavily snowing :) and that's because it's an old computer.

My guess is when version 1.0 is done I'll be roughly sitting at 100.000 lines for the base game. After that I will expand future versions with more maps, quests, dungeons, more crafting possibilities and expanded shops.
The mod is modular and open for expansion for many more maps, dungeons and features without breaking the base game.
Last edited by Pompidom on Wed Feb 06, 2019 2:24 am, edited 1 time in total.

Pompidom
Posts: 476
Joined: Sun May 06, 2018 9:42 pm

Re: Line count Dungeon file notepad++

Post by Pompidom » Wed Feb 06, 2019 2:09 am

minmay wrote:
Wed Feb 06, 2019 1:35 am
Avenie's Awful Adventure currently has 140,461 lines of code.
Now that's dedication!
Good to know that such a big mod is possible :)

Post Reply