![]() |
#1 |
Swordsman
Join Date: Jun 2011
Location: Germany
Age: 50
Posts: 399
![]() |
dungeon_profile.txt
So after taking a look at dungeon_profile.txt that seems to be the place where i can configure all the stuff out that does not belong into this game to my understanding - yipee.
(A) Unluckily labyrinths have a cutoff of -1. That means i cannot prevent them from being generated modifying the .txt file. You need to change code to prevent them from appearing, right? (B) If i copy the section of 'Cavern' with a cutoff of 10 behind the next part of classic, the game hangs up entering a level. Why is that? The explanation at the beginning of the file says lower cutoffs sections are just ignored. So this description is not true in all cases? (C) It seems i can remove cavern levels if i set the cutoff just to -1. Correct?
__________________
Blondes are more fun! |
![]() |
![]() |
![]() |
#2 | ||
Veteran
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,105
![]() |
Quote:
Quote:
Code:
/* Make the profile choice */ if (p->depth == 0) { profile = find_cave_profile("town"); } else if (is_quest(p->depth) && !OPT(p, birth_levels_persist)) { /* Quest levels must be normal levels */ profile = find_cave_profile("classic"); } else if (labyrinth_check(p->depth)) { profile = find_cave_profile("labyrinth"); } else if ((p->depth >= 10) && (p->depth < 40) && one_in_(40)) { profile = find_cave_profile("moria"); } else { int pick = randint0(200); size_t i; for (i = 0; i < z_info->profile_max; i++) { profile = &cave_profiles[i]; if (profile->cutoff >= pick) break; } } |
||
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[3.3.2] Experiments with artifact.txt | bonart | Vanilla | 4 | March 2, 2012 16:57 |
Edited artifact.txt | jens | Development | 14 | June 11, 2011 20:56 |
p_hist.txt help needed | Zambaku | Development | 2 | June 5, 2011 19:08 |
Inconsistency in object.txt? | Tiburon Silverflame | Vanilla | 14 | May 22, 2010 15:45 |
Something odd about monster.txt | Magnate | Vanilla | 2 | August 3, 2008 02:25 |