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 11-02-2016, 07:16 PM
Conan Conan is offline
Amateur
 
Join Date: Oct 2016
Posts: 5
Default Casting while NOT moving

Hi! Is there a mod or an option in the assets folder to NOT allow casting any spell or skill while moving? I'm aware you block moving while casting offensive spells but healing spells, blessings, buffs and skills (like the rogue Stealth skill) are yet allowed to be casted while moving and it's obvious that the game originally was scripted so that all spells and skills were casted while standing still. It's just that I've been playing rpgs for a long time and I feel weird casting spells while moving and the game looks wrong when you are moving and at the same time the character is stuck doing an animation.
Reply With Quote
  #2  
Old 11-03-2016, 10:33 AM
joku joku is offline
Champion
 
Join Date: Jul 2010
Posts: 183
Default

There is an option you can add to the skills called "StandStillToCast". You would just need to add it to each of the skills that you want to modify. For example:
Code:
ModStandLesserHeal addsto SkillLesserHeal
{
StandStillToCast    1
}

ModStandGreaterHeal addsto SkillGreaterHeal
{
StandStillToCast    1
}
Reply With Quote
  #3  
Old 11-03-2016, 07:59 PM
Conan Conan is offline
Amateur
 
Join Date: Oct 2016
Posts: 5
Default

But where do I add that text or how I can create a working mod??? I created a folder called Database and created a file called mod_standingstillcast.gdb and pasted the text you told me, then with 7-zip compressed it to a zip file and pasted in assets folder but it don't work. Lesser heal and greater heal are still being casted while moving. Am I missing something??
Reply With Quote
  #4  
Old 11-04-2016, 12:23 AM
joku joku is offline
Champion
 
Join Date: Jul 2010
Posts: 183
Default

By the sound of it, you created the mod correctly, it's just that my code was wrong. That's what I get for not testing. I used "addsto" instead of "overrides".

The correct code would be:
Code:
ModStandLesserHeal overrides SkillLesserHeal
{
	StandStillToCast    1
}

ModStandGreaterHeal overrides SkillGreaterHeal
{
	StandStillToCast    1
}
I've attached this mod below.

[Edit: Make sure you don't have the old .gdb file in the loose Database folder. Data in that folder will override anything in .zip files.]
Attached Files
File Type: zip mod_StandingStillCast.zip (420 Bytes, 5 views)

Last edited by joku : 11-04-2016 at 12:26 AM.
Reply With Quote
  #5  
Old 11-04-2016, 12:11 PM
Conan Conan is offline
Amateur
 
Join Date: Oct 2016
Posts: 5
Default

I tested it and it worked perfectly. Don't know why the developers allow spells and skills being casted while moving, the character looks wrong that way. Anyway thanks man, I can enjoy the game more now!
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 10:22 PM.


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