Jump to content

Search the Community

Showing results for tags 'editing spells'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Introductions and Resources
    • DarkMatters: Rules and Feedback
    • DarkMatters: Introductions.
  • Sacred - Underworld, Fallen Angel , Citadel, Sacred 3
    • Sacred 2 Mods and Modding - The new future for Sacred 2!
    • Sacred 2 General Discussion (PC)
    • Sacred 2 Console (XBOX and PS3)
    • Sacred 2 Guides, Maps, Walkthroughs and Videos
    • Sacred Wiki
    • Sacred 2 Fan Art and Fiction
    • [D.a.r.k] Island Fortress
    • Sacred 2 Bugs, Feedback and Troubleshooting
    • Sacred Underworld
    • Unbended - Kickstarter project by former Ascaron employees who created Sacred!
  • DarkMatters General Public Forums
    • Key Largo Beach Resort and General Discussion
    • Media Matters
    • Tech Talk
    • New and General Gaming
    • The Dark Kitchen
    • The Creatrix
    • The Daily Grind: Real life right here!

Categories

  • Sacred 2 Demo (UK)
  • Fallen Angel
    • Fallen Angel Builds
    • Fallen Angel Items
    • Fallen Angel Patches
    • Fallen Angel Tools
    • Fallen Angel Miscellaneous
  • Ice & Blood
    • Ice and Blood Builds
    • Ice & Blood Items
    • Ice & Blood Patches and Mods
    • Ice & Blood Miscellaneous
  • Community Patch
    • Community Patch Builds
    • Community Patch Items
  • Sacred
  • Underworld
    • Sacred Mods
    • Underworld Builds
    • Underworld Items
    • Underworld Patches
  • Download Sacred 2 Gold
  • Weekly Featured Mods

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


Website URL


ICQ


Yahoo


Skype


Location


Interests


Favorite pizza topping


Why do you want to join DarkMatters?


All time best video game ever played


Real Name

Found 1 result

  1. I just discovered this game yesterday 11-27-16 and its pretty cool, I also noticed it had a script directory which eventually led me to this community. I tried all the classes, one which I enjoyed the most was Dragon Mage and this one spell called Dragon Berserk. The only bad thing about the spell is it had a long cool down which really didn't make it that useful. So I took a look at the text files in the scripts directory and noticed they are all written in lua. So I started to mess around with some of the files, given I have a background in programming, the worst that can happen is I would have to reinstall the game. So I thought I would investigate these files and see if I could reduce the cool down of this spell. As you can see from the picture below I've done just that reduced the cool down to 1 second. I've also increased the duration 86,401 seconds basically set it to infinity (for a day) The way I did this is actually quite simple, all I did was open up spells.txt and looked for the spell mgr.defineSpell( "dm_dm_berserkerform", { eiStateName = "cSpellCast", fxTypeCast = "FX_DM_MORPH_BERSERKER_C", fxTypeSpell = "FX_DM_MORPH_BERSERKER", fxTypeCastSpecial = "", duration = 10.000000, animType = "ANIM_TYPE_SM17", animTypeApproach = "", animTypeRide = "", animTypeSpecial = "ANIM_TYPE_RIDESM17-SPECIAL", causesSpellDamage = 1, tokens = { entry0 = {"et_self_shapeshift", 1000, 1995, 0, 41 }, entry1 = {"et_duration_sec", 2750, 25, 0, 8 }, entry2 = {"et_life_leech", 75, 25, 0, 9 }, entry3 = {"et_AWVW_rel", 0, 100, 0, 5 }, entry4 = {"et_charge_shapeshift", 120, 0, 0, 5 }, entry5 = {"et_weapondamage_physical", 0, 25, 0, 9 }, entry6 = {"et_charge_shapeshift", 50, 0, 1, 5 }, entry7 = {"et_addAttackspeed", 200, 0, 2, 41 }, entry8 = {"et_duration_sec", 1000, 10, 3, 8 }, entry9 = {"et_life_leech_rel", 35, 0, 4, 9 }, entry10 = {"et_charge_shapeshift", 50, 0, 5, 5 }, entry11 = {"et_addspell_blutrausch", 1000, 0, 6, 5 }, entry12 = {"et_armor_any_rel", 0, 50, 0, 41 }, entry13 = {"et_life_buff", 150, 260, 0, 9 }, entry14 = {"et_chance_surehit", 100, 2, 0, 5 }, entry15 = {"et_physical_to_magic", 250, 0, 0, 5 }, }, fightDistance = 0.000000, aspect = "EA_DM_DRAGONMAGIC", cooldown = 40.000000 soundProfile = 0, cost_level = 250, cost_base = 500, focus_skill_name = "skill_DM_dragonmagic_focus", lore_skill_name = "skill_DM_dragonmagic_lore", spellClass = "cSpellDmMorph", spellcontroltype = "eCAtype_b_boost_self", sorting_rank = 0, }) And made the changes, please note I did not remove the original values all I did was comment them out and apply the changes. mgr.defineSpell( "dm_dm_berserkerform", { eiStateName = "cSpellCast", fxTypeCast = "FX_DM_MORPH_BERSERKER_C", fxTypeSpell = "FX_DM_MORPH_BERSERKER", fxTypeCastSpecial = "", duration = 1.000000, -- 10.000000 -- the 10 seconds might just be a default value animType = "ANIM_TYPE_SM17", animTypeApproach = "", animTypeRide = "", animTypeSpecial = "ANIM_TYPE_RIDESM17-SPECIAL", causesSpellDamage = 1, tokens = { entry0 = {"et_self_shapeshift", 1000, 1995, 0, 41 }, entry1 = {"et_duration_sec", (6000 * 60 * 24), 25, 0, 8 }, -- {"et_duration_sec", 2750, 25, 0, 8 }, entry2 = {"et_life_leech", 75, 25, 0, 9 }, entry3 = {"et_AWVW_rel", 0, 100, 0, 5 }, entry4 = {"et_charge_shapeshift", 120, 0, 0, 5 }, entry5 = {"et_weapondamage_physical", 0, 25, 0, 9 }, entry6 = {"et_charge_shapeshift", 50, 0, 1, 5 }, entry7 = {"et_addAttackspeed", 200, 0, 2, 41 }, entry8 = {"et_duration_sec", 1000, 10, 3, 8 }, entry9 = {"et_life_leech_rel", 35, 0, 4, 9 }, entry10 = {"et_charge_shapeshift", 50, 0, 5, 5 }, entry11 = {"et_addspell_blutrausch", 1000, 0, 6, 5 }, entry12 = {"et_armor_any_rel", 0, 50, 0, 41 }, entry13 = {"et_life_buff", 150, 260, 0, 9 }, entry14 = {"et_chance_surehit", 100, 2, 0, 5 }, entry15 = {"et_physical_to_magic", 250, 0, 0, 5 }, }, fightDistance = 0.000000, aspect = "EA_DM_DRAGONMAGIC", cooldown = 1.000000, -- 40.000000 (cool down period) soundProfile = 0, cost_level = 1, -- 250 (cost level & cost base make up the regen) cost_base = 1, -- 500 focus_skill_name = "skill_DM_dragonmagic_focus", lore_skill_name = "skill_DM_dragonmagic_lore", spellClass = "cSpellDmMorph", spellcontroltype = "eCAtype_b_boost_self", sorting_rank = 0, })
×
×
  • Create New...
Please Sign In or Sign Up