Soldak Home   Drox Operative   Din's Curse   Depths of Peril   Zombasite  

Go Back   Soldak Entertainment Forums > Zombasite > Zombasite modding
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2020, 11:33 PM
noli timere noli timere is offline
Amateur
 
Join Date: Jan 2020
Posts: 3
Default 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.
Reply With Quote
  #2  
Old 01-15-2020, 02:38 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 9,173
Default

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.
__________________
Steven Peeler
Designer/programmer
Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, & Din's Legacy
Patreon
Reply With Quote
  #3  
Old 01-17-2020, 04:25 AM
noli timere noli timere is offline
Amateur
 
Join Date: Jan 2020
Posts: 3
Default Re

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.
Reply With Quote
  #4  
Old 01-17-2020, 12:42 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 9,173
Default

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.
__________________
Steven Peeler
Designer/programmer
Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, & Din's Legacy
Patreon
Reply With Quote
  #5  
Old 01-31-2020, 04:48 PM
noli timere noli timere is offline
Amateur
 
Join Date: Jan 2020
Posts: 3
Default

Could you give a example file by chance? for the Addsto method.
Reply With Quote
  #6  
Old 02-03-2020, 02:21 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 9,173
Default

Quote:
Originally Posted by noli timere View Post
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.
__________________
Steven Peeler
Designer/programmer
Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, & Din's Legacy
Patreon
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 09:05 AM.


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