Skip to content


Advanced search

  • dtp entertainment AG dtp - News & more
  • dtp entertainment AG dtp-Newsletter
  • Board index ‹ dtp Roleplaying Games ‹ Das Schwarze Auge/The Dark Eye: Drakensang ‹ Modding [Drakensang]
  • Change font size
  • Print view
  • FAQ
  • Register
  • Login

Why won't the DB change reflect in the game?

Modify your Drakensang
Post a reply
3 posts • Page 1 of 1

Why won't the DB change reflect in the game?

Postby Damar Stiehl on 09.04.2009, 13:24:51

Need some help here, because I'm tearing my hair out a bit from frustration.

I am trying to make some changes to spell "Ignifaxius Burst of Flame". Sounds simple, right? An update to _Template_Zauber should do it. Well, oddly enough it does not. When this spell is concerned, the game seems to utterly ignore the changes I am making.

First, fiddling with ZaVal1, ZaVal2 and ZaVal3 does absolutely bubkis. I tried setting them all to 100 and... nothing. Fine, I said, I'll just reduce the spell cost and leave other effects alone - let it be a cheap DoT opener and to hell with everything else.

Simple again, right?

UPDATE _Template_Zauber SET zaMinAE=3 WHERE id='IgnifaxiusFlammenstrahl';

Surprise, not so simple. Because the game went on merrily ignoring that change as well. As soon as I load, even with 0 modifier, Ignifaxius still costs 8 points and not 3.

Now I figured I fat-fingered the DB change, so I went back and checked it. zaMinAe for Ignifaxius is now DEFINITELY 3, not 8 in static.db4.

I don't understand why the change wouldn't "take". Is the spell hardcoded somehow? I'm almost inclined to believe that, except I was able to change the cast time from 3 to 2 with no problems by updating _Template_Zauber.

Please help - this is annoying to the infinite.
"Remember: do not believe in you, who believes in me,
Do not believe in me who believes in you,
But believe in you who believes in yourself!"
User avatar
Damar Stiehl
Antagonist
 
Posts: 136
Joined: 25.03.2009, 14:11:17
Top

Re: Why won't the DB change reflect in the game?

Postby Amosh on 09.04.2009, 14:29:08

The spell descriptions are hard coded in locale.db4:

locale.db4 wrote:A stream of elemental force shoots from the spell-caster's hands. A lance of fire and light hits the targeted opponent.

Effect: Opponent catches fire (1 DP/secs for SP* secs), as long as the target burns, the target's AR is reduced by 1 AR for every 10 HP of damage
Damage: 1D6 DP
Spell Duration: Immediate
Cost: 8 + modifier times 2
Modifier: +1 modifier for every 3 levels, the modifier may be only as high as the SP value
Modification: +1D6 HP per modifier
21 ist nur die halbe Wahrheit...
User avatar
Amosh
Moderator
 
Posts: 2176
Joined: 16.06.2006, 09:15:06
Top

Re: Why won't the DB change reflect in the game?

Postby Damar Stiehl on 09.04.2009, 15:13:35

Right, I'm not talking about the description though - I'm talking about the real cost of the spell.

When you put a spell on the hotkey bar and hover your mouse over it, a tooltip shows the real spell cost. For example, for Thunderbolt it will show "5-XX", where 5 is zaMinAE, and XX is the maximum possible spell cost. The tooltip value is dynamically calculated. By the way, reducing zaMinAE for Thunderbolt was correctly reflected in-game.

For Ignifaxius, the tooltip always shows 8 when modifier is 0, and 8+2 times the modifier if the modifier is increased. Even after I reduced zaMinAE to 0. I double-checked it by casting Ignifaxius on someone, and the amount subtracted from my character's AE is 8+2xModifier. So, changing zaMinAE didn't do anything.

Thanks for the input, hoping for more ideas though :)
"Remember: do not believe in you, who believes in me,
Do not believe in me who believes in you,
But believe in you who believes in yourself!"
User avatar
Damar Stiehl
Antagonist
 
Posts: 136
Joined: 25.03.2009, 14:11:17
Top


Post a reply
3 posts • Page 1 of 1

Return to Modding [Drakensang]

Who is online

Users browsing this forum: No registered users and 0 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Time : 0.046s | 12 Queries | GZIP : Off
Style by | Destination Design |
cron