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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-27-2018, 12:37 PM
treborx555 treborx555 is offline
Expert
 
Join Date: Jan 2016
Posts: 26
Arrow [WIP] Soldak Game Modding Tool

Hi, I created this tool using Unity. Currently not much functionality but you can add it yourself if you know C# programming. I made this tool to serve as a way to add code based mod generation basically.

Main part of this tool is the ability to create a SoldakObject from the text. This means you can manipulate it.

As an example I made a button that takes files with skills, loads up the objects, gets all spells and spellsperlevel that have projdamage and changes them into spells that use Weapon damage using a formula. The tool generates a file with all the overrides automatically then.

So instead of going through every spell, slowly calculating how to transform the damage while keeping the balance.. Just click 1 button!

Another tool i made is to generate override names. If you have a bunch of objects you edited but didn't add the "ModNameThing overrides Thing" then the button would do it for you!

One shortcoming of the tool is that it deletes all comments because i'm not sure how else to do it. So if you need comments, add them after the tool generates a file and preferably not inside the generated text in case it needs re-generating xD

I want to also add much more functionality, like a an editor that can see vanilla values with editing that allows instant override generation.. But that's tough until i can figure out which object the game uses.

Anyway if you want to you can download the script here but as a warning, you NEED UNITY GAME ENGINE to modify it. It shouldn't be a problem cus it's free.


https://github.com/RobertSkalko/Soldak-Modding-Tool

Oh and the instructions are in the github readme!

Hopefully it helps a few modders xD

Last edited by treborx555 : 09-27-2018 at 12:40 PM.
Reply With Quote
  #2  
Old 09-28-2018, 09:54 AM
treborx555 treborx555 is offline
Expert
 
Join Date: Jan 2016
Posts: 26
Default

First Update, it brings many optimizations (I learned how to use paraller for loops heh) and i introduced a really interesting feature. A button that gets all objects that derive from a base!

So you ever wanted to get all the items in the game? Just input "BaseItem" into command input, specify your game location other parameters and the program will output every item in the game in a matter of seconds!

Even

Sword
{
Base OneHandedWeapon
}

Will be outputed because

OneHandedWeapon
{
Base BaseItem
}

(not sure if true i'm just using it as an example here)
Reply With Quote
  #3  
Old 09-28-2018, 03:00 PM
Destro*'s Avatar
Destro* Destro* is offline
Elite
 
Join Date: Jul 2013
Posts: 310
Default

This is really cool. It's a much better approach than the one I made where I just ran a serious of complex regex over the asset files.

I can't wait to see how this progresses over time. Seems like a fun hobby.
Reply With Quote
  #4  
Old 09-30-2018, 04:56 PM
treborx555 treborx555 is offline
Expert
 
Join Date: Jan 2016
Posts: 26
Default

Thanks!

I just updated the code, i added a pretty big feature. Manual code generation!

Basically, you search objects in the app, see what the default values are and type your own. After you're done, click a button to generate the mod.

All the values you edited will be generated as overrides using your inputted mod name.

Next updates will make it more optimized and will add a paging feature so i don't have to limit the objects.
Reply With Quote
  #5  
Old 10-07-2018, 09:20 AM
treborx555 treborx555 is offline
Expert
 
Join Date: Jan 2016
Posts: 26
Default

Added a leveling curve generator tool!

This one requires you to open unity and edit the script file but it's easy. Just edit the numbers, run the program, click a button and you get a mod that changes the whole leveling curve!

I even added neat comments that show how much exp it takes to reach the next level. This makes planning your leveling mods so much easier!
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 06:42 AM.


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