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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2019, 05:14 PM
fulano5321 fulano5321 is offline
Expert
 
Join Date: Nov 2015
Posts: 29
Default A bunch of random modding questions.

Does it matter what the NewEntryName is?
Just getting into modding this game, and looking over the override command, since it seems like it will be the most useful for the mod I want to make...

I see that usually in other mods it will be something like the mod's name + OldEntryName.

Does it matter to the game engine what the new entry name is called?
Is this basically so you can reference the override in the console or something?

Thanks!

EDIT:
Side question... where is the item stack size data kept? I haven't found it yet...

Last edited by fulano5321 : 11-04-2019 at 04:30 PM. Reason: Updating the topic.
Reply With Quote
  #2  
Old 10-18-2019, 05:44 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 9,141
Default

Usually the database entries names really just need to be unique and if you reference them from another entry you have to match the name correctly of course.
__________________
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 10-18-2019, 05:45 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 9,141
Default

Item stack stuff is going to be in baseItems.gdb or baseItemsHC.gdb.
__________________
Steven Peeler
Designer/programmer
Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, & Din's Legacy
Patreon
Reply With Quote
  #4  
Old 10-19-2019, 12:59 AM
fulano5321 fulano5321 is offline
Expert
 
Join Date: Nov 2015
Posts: 29
Default One more question...

Thanks for the help!

Another question, I noticed in the bags file only a couple of them have a spawn rate of 2.0 specifically mentioned, and the rest don't have a spawn rate mentioned.

Is there a default spawn rate somewhere and only those two bag types have a custom spawn rate?

EDIT:
I see in the top of the base items file it has a spawn rate of 1.0, is this where the default spawn rate is kept?

EDIT2:
Is there a way to make comments in these .gdb files?

EDIT3:
Last question for now I hope... I don't want to take up too much of your time.
Is there a problem if I just dump all the changes in one .gdb file? Do they need to be in the separate folders based on what they change (like items, magic modifiers, and monsters) or is one file in Database fine?
Actually, I'm thinking I may want to keep several files so people can install parts that they want, and skip parts they don't want. Unless there are problems with that.

Last edited by fulano5321 : 10-19-2019 at 01:27 AM.
Reply With Quote
  #5  
Old 10-19-2019, 01:51 PM
joku joku is offline
Champion
 
Join Date: Jul 2010
Posts: 193
Default

Every item has a base listed at the top. The item will inherit all properties of its base. Any other properties with values set within the item will override the base properties. Bag3 does not list a SpawnChance so it inherits it from BaseBag which in turn inherits it from BaseItem. Bag1 does list a SpawnChance so it overrides the SpawnChance it inherited from BaseItem. In short: yes, you were correct.

Everything after a double-slash (//) is considered a comment. You'll see them every now and then through the files. You can put comments in their own line as seen at the top of baseItems.gdb, or you can add them to the end of a line as seen a few lines from the top in systems.gdb

You can keep everything in one file or separate them out into individual files. Either will work just fine. Just be sure that any .gdb file you make goes in the database folder, even if it modifies a file in one of the subfolders.
Reply With Quote
  #6  
Old 10-19-2019, 02:03 PM
fulano5321 fulano5321 is offline
Expert
 
Join Date: Nov 2015
Posts: 29
Default

Nice! Thanks! Hopefully that's enough questions to keep me busy for a while.

Seeing how easy it is to mod this game makes me all the more impressed with Soldak's games.
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 02:47 PM.


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