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 02-13-2012, 08:18 AM
dnken dnken is offline
Amateur
 
Join Date: Feb 2012
Posts: 4
Default Item creation

Can someone help me to create new sword and give it to warrior class on start? (i'm russian)
Reply With Quote
  #2  
Old 02-13-2012, 02:15 PM
desophos's Avatar
desophos desophos is offline
Expert
 
Join Date: Feb 2012
Posts: 65
Default

Well, to create a new sword you can look in "Din's Curse/Assets/assets001.zip/Database/Items/swords1handed.gdb". That's where the sword item data is stored. Then look in "Database/classes.gdb" and find ClassWarrior. You'll see some StartingItem parameters there. Add one that says the name of your new sword (not the display name but the code name, e.g. SwordNew1). If you need more help feel free to ask.
__________________
I used to be a captain like you, then I took a wrench to the knee.

DC Mods I use:
Balance Mod, Black Outlines, Bluddy's UI Mod, Faster Lifestones, NPC Full Equipment, NPC Pets, Safer Cave-ins, Smooth Sailing, Stack Size, The Architems, Wandering Vendors, 1.5x Monster XP, 15x Clear Bonus XP, Longer Respawn, Set Booster
Reply With Quote
  #3  
Old 02-14-2012, 02:00 AM
dnken dnken is offline
Amateur
 
Join Date: Feb 2012
Posts: 4
Question

In .zip mod version i must create database folder only or database and items?
Reply With Quote
  #4  
Old 02-14-2012, 06:46 AM
dnken dnken is offline
Amateur
 
Join Date: Feb 2012
Posts: 4
Default m

How can create mod .zip? Which files and folders i must create
Reply With Quote
  #5  
Old 02-14-2012, 12:09 PM
desophos's Avatar
desophos desophos is offline
Expert
 
Join Date: Feb 2012
Posts: 65
Default

You'll want a .zip file that contains a folder called Database, and inside the Database folder, one called Items. Inside the Items folder you should have a file called "mod_new_starting_sword_item.gdb". That file should have the code for the sword item in it. At the top of that file you should put "mergeWith swords1handed.gdb". Inside the Database folder (outside the Items folder) you should have a file called "mod_new_starting_sword_class.gdb". That file should contain:
Code:
modStartingSwordClassWarrior overrides ClassWarrior
{
    startingItem    myNewStartingSword
}
"myNewStartingSword" is whatever the name of your new sword is.

And your mod .zip folder should be inside the Assets folder.

You can download the Din's Curse SDK at the Din's Curse mods page for more info.
__________________
I used to be a captain like you, then I took a wrench to the knee.

DC Mods I use:
Balance Mod, Black Outlines, Bluddy's UI Mod, Faster Lifestones, NPC Full Equipment, NPC Pets, Safer Cave-ins, Smooth Sailing, Stack Size, The Architems, Wandering Vendors, 1.5x Monster XP, 15x Clear Bonus XP, Longer Respawn, Set Booster
Reply With Quote
  #6  
Old 02-14-2012, 12:30 PM
Bluddy Bluddy is offline
Legend
 
Join Date: Jan 2011
Posts: 2,028
Default

It's pretty easy to find swords in the game, so maybe you want to explain what kind of sword you're trying to make and why? Do you want to make one that has stronger attributes, or are you talking about making a new 3d model for a sword (which a post on this forum has examples of)?
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:08 PM.


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