[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
The Hazardous Realm - Forum • View topic - How to edit Chars attributes?
The Hazardous Realm
The Hazardous Realm
READ ONLY MODE

The forum is now in read-only mode! It's only kept around for informative purposes and to prevent deadlinks!
Use e-mail to contact me instead. Any announcements would be made on my twitter account and any discussions would use some public platform instead.

How to edit Chars attributes?

All topics related to the game 'Die by the Sword' and it's add-on 'Limb from Limb' go into this board!

How to edit Chars attributes?

Postby ChessCheese1 » 03 Sep 2013 13:56

Hi, I was wondering how can I alter the attributes of chars? (Hit points, speed and damage). I want to make an alternative version of The_hero with more hitpoints, more damage and faster.

BTW I altered the bloody mess mode and put weapons on the Hexlers, it became a cool way of a big fight, too bad that when they kill me, it doesn't count points, and also I can't start the game without other players on the initial screen. If anyone is interested, I can put the code here, just made simple changes.

Also, I succeeded in changing the characters of Battle map, but I failed in putting more than 4 in a single team, help is appreciated on how to put more than 4 actors in a single team on Battle.

Thanks, love this game, it's a masterpiece.
ChessCheese1
User
 
Posts: 7
Joined: 03 Sep 2013 13:44

Re: How to edit Chars attributes?

Postby Hazard » 03 Sep 2013 18:56

Welcome to the forums. :)

To edit a character:
- First, go into the Options of the Xtended Launcher and set Filesystem to "Prefer unpacked files on disk". This allows to just do changes in unpacked game files and leaving the ATD data files completely original and untouched.
- Now you need to extract the ATD file of the char you want to edit. You can use my for this. The file is named "the_hero", too, just like the char name used in scripts.
- You can find the extracted folder in the data folder of the DBTS installation afterwards. The "the_hero" subfolder contains all the data for the char now.
- The the_hero.STA file contains hitpoints and armor and stuff like that. Edit it with Notepad or any text editor like that.
- The the_hero.ATT file contains all other attributes of the char. There's lots of odd stuff in there. Very interesting but also quite fragile properties and many of those can easily mess up the character. It's probably best to always just do minor changes and test out if it still works without the char spazzing out.
- Do some changes and start up the game to try it out.
Hazard
Hazardous Code Monkey
 
Posts: 187
Joined: 05 Jan 2006 19:49

Re: How to edit Chars attributes?

Postby ChessCheese1 » 03 Sep 2013 19:38

ChessCheese1
User
 
Posts: 7
Joined: 03 Sep 2013 13:44

Re: How to edit Chars attributes?

Postby Hazard » 03 Sep 2013 20:03

It might be a permissions issue, because writing in 'C:\Program Files' usually isn't allowed after installation. To change that, go into the properties of the "Die by the Sword" folder, edit the permissions and give "Users" the "Modify" right. Modifying DBTS game files will be allowed afterwards and the ATD Packer should (hopefully) work too.
Hazard
Hazardous Code Monkey
 
Posts: 187
Joined: 05 Jan 2006 19:49

Re: How to edit Chars attributes?

Postby ChessCheese1 » 03 Sep 2013 20:37

You are probably right about the cause of the problem.

I double clicked on "Die by the sword" and tried to check the options to allow administrator to change the files, but just after I click "apply", everything goes back to how it was before. Can't understand why or the solution.
ChessCheese1
User
 
Posts: 7
Joined: 03 Sep 2013 13:44

Re: How to edit Chars attributes?

Postby ChessCheese1 » 04 Sep 2013 09:25

Ok, I was able to unpack running the ATD Packer as administrator.

Now I created a new character: The_legend. It's a stronger version of the-hero. I was able to add more speed already, but I am having trouble in adding more damage. I just want his sword to do more damage so as to easily cut the enemy's limbs. Not sure how to do that as in the ATT file I see "maximum damage", but not "damage". I hugely increased the max. damage, but that doesn't change much.
ChessCheese1
User
 
Posts: 7
Joined: 03 Sep 2013 13:44

Re: How to edit Chars attributes?

Postby Hazard » 04 Sep 2013 10:17

Ah, glad to hear that it works now.

To edit the damage you'll have to modify the weapon. The data of the sword of the hero is stored in WEAPONR.WPN . It contains three damage values for thrust, chop, and bash. Increasing the damages will, however, not just increase the likelyhood of cutting limbs off but will also cause enemies to die faster, because damage is always applied to the limb AND the actors main health.
The thrust damage factor seems to be ignored. Chop damage gets reduced when you don't hit with the edge. Bash damage is applied on every hit, depending on impact speed.
Hazard
Hazardous Code Monkey
 
Posts: 187
Joined: 05 Jan 2006 19:49

Re: How to edit Chars attributes?

Postby ChessCheese1 » 04 Sep 2013 11:12

It worked! Now my legendary warrior is complete! Thank you!

If anyone is interested, I can send the file of the_legend. He runs faster, jumps higher, has 10x more HP, and his sword is more powerful than a lightsaber. It's cutting through any limbs very well too!
ChessCheese1
User
 
Posts: 7
Joined: 03 Sep 2013 13:44


Return to 'Die by the Sword' Fan and Modding Community



cron