Soldak Entertainment Forums

Soldak Entertainment Forums (
-   Zombasite modding (
-   -   Question about modding (

noli timere 01-12-2020 10:33 PM

Question about modding
I have been trying to find how to disable or increase rarity of Special Tunnels, as well as attempting to add a chance for a single Dungeon to spawn inside of town generations, any help on this would be welcome.

Shadow 01-15-2020 01:38 PM

I believe you want to change TunnelChance in world2.gdb (in the expansion) for the secret tunnels and DungeonChance in BaseTown entry in world.gdb for dungeons in towns.

noli timere 01-17-2020 03:25 AM

I had already figured out the tunnel bit, as for the town dungeon bit that does nothing, i have had it set to many values while testing and it has spawned no dungeons in town, and i am thinking it may have something to do wiith the generation code, but i have been unable to find any code files involving it.

Shadow 01-17-2020 11:42 AM

Oh, the 2nd problem for dungeons in town (at least the starting town) is you need dungeons specified in the section. So need to add lines like
Dungeon AreaDungeon1
to World1Section. If doing a proper mod, you'll want to do use addsTo instead of overrides for this part.

noli timere 01-31-2020 03:48 PM

Could you give a example file by chance? for the Addsto method.

Shadow 02-03-2020 01:21 PM


Originally Posted by noli timere (Post 85871)
Could you give a example file by chance? for the Addsto method.

If you have the expansion you can search for addsTo in clans2.gdb and find some examples. If you just have the base game, it probably isn't used anywhere.

All times are GMT -4. The time now is 10:38 PM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2007 - 2019 Soldak Entertainment, Inc.