.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old November 2nd, 2007, 04:47 AM
Burnsaber's Avatar

Burnsaber Burnsaber is offline
Colonel
 
Join Date: Jun 2007
Location: Finland
Posts: 1,617
Thanks: 179
Thanked 304 Times in 123 Posts
Burnsaber is on a distinguished road
Default Overwhelmed by spellmodding. Any help, please?

So, I've tried my dirty hands in spell-modding, and damn, I'm overwhelmed. Nothing I try seem to work..

Code:

#newspell
#copyspell "Lightning Bolt"
#name "Purging Lightning"
#descr "irrelevant"
#school 2
#path 0 1
#path 1 0
#pathlevel 0 1
#pathlevel 1 1
#fatiguecost 25
#damage 8
#precision 10
#range 5020
#effect 24
#nreff 1000
#spec 128
#flightspr -1
#explspr 10219
#restricted 75
#researchlevel 3
#end

#newspell
#name "HAX"
#descr "...."
#restricted 75
#path 0 1
#researchlevel 0
#school 4
#pathlevel 0 1
#aoe 0
#effect 10
#damage 1010
#fatiguecost 0
#nreff 1
#range 0
#precision 0
#explspr 10053
#spec 8192
#end



Purging Lighting seems to work, it does the 3x damage to undead and demons as intented. I tried to copyspell "lighting bolt" to get the "hit" tag, so that it couldn't be parried and always hits. My testing suggest however that this is not the case as it seems to miss half the time. Is there any way I can get the hit tag?

I downloaded the Dr.P's spell data and made the 'HAX' spell. It was intented to be a personal buff that gives Air Shield and Cold Aura. So spec should then be 8192 + 8 = 8200 with effect number 10? Does nothing in testing. So then I tired just cold aura, 8192, and nothing still happens.

I took a look at Llambeast's Tomb Kings mod as it seems to have a working "douple-buff" spell that gives both Str boost and fire resistance ("resilience" is the name). It apparently has spec 75518080. WTF? I can find no clues why should the spec number be so high in neither the modding manual nor Dr.P's database. Shouldn't the spec be 128 (for str boost) + 1024 (for fire res) = 1152?

I'm very confused. Have I missed something crucial?

I also found that there is a effect called "Astral Weapons" in the Effect10 table. I can't recall any spell in vanilla Dom3 giving something like "astral weapon", does anyone know what it does?
__________________
I have now officially moved to the Dom3mods forums and do not actively use this account any more. You can stll contact me by PM's, since my account gives e-mail notifications on such occasions.

If you need to ask something about modding, you can contact me here.

See this thread for the latest info concerning my mods.
Reply With Quote
  #2  
Old November 2nd, 2007, 08:44 AM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Re: Overwhelmed by spellmodding. Any help, please?

You have missed something crucial. The bitmasks for effect 10 go in the *damage* field, not the #spec field. Try setting the damage to 8200 and it should work.

Does it miss because it deviates or does it miss because it lands in the square and is shield-parried? If you literally want the spell to always hit, raise the precision to 100. But I have only done very simple testing, and cannot say for sure that I'm right about this.

You should be able to set the "hit" tag using the #spec field - I believe that the bitmask is 16384 but, again, my testing is very limited.

#spec 75518080 = Armor Negating + Magic Resistance Negates + Always Hits (I think) + Works Underwater + Only vs Undead. Look in the #spec field of bitmasker.xls.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
  #3  
Old November 2nd, 2007, 08:47 AM

DigitalSin DigitalSin is offline
Corporal
 
Join Date: May 2007
Location: Sydney, NSW
Posts: 173
Thanks: 9
Thanked 0 Times in 0 Posts
DigitalSin is on a distinguished road
Default Re: Overwhelmed by spellmodding. Any help, please

Seeing as there's already a thread open, I might ask a quick question. Is it possible to make a ritual version of, say barkskin, or personal regeneration?
__________________
My dragon collection!
Reply With Quote
  #4  
Old November 2nd, 2007, 08:56 AM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Re: Overwhelmed by spellmodding. Any help, please

You can, but it goes away immediately, it's not permanent.

If you look it bitmasker.xls, the green background indicates that a particular effect/damage combo is permanent.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
  #5  
Old November 2nd, 2007, 09:00 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Overwhelmed by spellmodding. Any help, please

There are some rituals that "charge" a unit with a specific spell effect, though. How do these work?
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #6  
Old November 2nd, 2007, 09:24 AM
Burnsaber's Avatar

Burnsaber Burnsaber is offline
Colonel
 
Join Date: Jun 2007
Location: Finland
Posts: 1,617
Thanks: 179
Thanked 304 Times in 123 Posts
Burnsaber is on a distinguished road
Default Re: Overwhelmed by spellmodding. Any help, please?

Quote:
DrPraetorious said:
You have missed something crucial. The bitmasks for effect 10 go in the *damage* field, not the #spec field. Try setting the damage to 8200 and it should work.

Thanks, that was pretty crucial error from me. I thought that damage field set how much fire resistance/ chill aura/ etc.. you got. So now I've got another question, how do you set the amount of let's say Fire resistance you get from a fire resistance giving spell?

Quote:
DrPraetorious said:
Does it miss because it deviates or does it miss because it lands in the square and is shield-parried? If you literally want the spell to always hit, raise the precision to 100. But I have only done very simple testing, and cannot say for sure that I'm right about this.

It lands on a square and gets shield parried, and it can hit on a square with troops and just miss, like a missile. I'd like it to always hit if lands on square with troops, like all of the lighting evocations.

In my testing, the Bandar undead kept on parrying the holy undead-scorching lighting with their bucklers..

Quote:
DrPraetorious said:
You should be able to set the "hit" tag using the #spec field - I believe that the bitmask is 16384 but, again, my testing is very limited.

I'll try that out and report the results. Thanks for the help, now I hopefully won't have to swear at my computer as I did when I tried to get that spell working.
__________________
I have now officially moved to the Dom3mods forums and do not actively use this account any more. You can stll contact me by PM's, since my account gives e-mail notifications on such occasions.

If you need to ask something about modding, you can contact me here.

See this thread for the latest info concerning my mods.
Reply With Quote
  #7  
Old November 2nd, 2007, 11:25 AM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Re: Overwhelmed by spellmodding. Any help, please?

In answer to lch's question -
Become Prophet, Become Pretender, Twiceborn, Ritual of Returning, Inner Sun and Dragon Master are all persistent.

This is a property of the effect/damage combination and not of the spell, per se. So any spell, even a combat spell, which grants twiceborn to people, they'll still have twiceborn up after combat.

A spell cast out of combat that gives Flaming Arrows will go away after the turn - I believe that the timing is such that you actually have to cast it *that turn* to get any benefit.

So a "combat meditation" spell that gave you crazy bonuses would have some application in defending a lab, but wouldn't be very useful otherwise.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
  #8  
Old November 3rd, 2007, 06:09 AM
Burnsaber's Avatar

Burnsaber Burnsaber is offline
Colonel
 
Join Date: Jun 2007
Location: Finland
Posts: 1,617
Thanks: 179
Thanked 304 Times in 123 Posts
Burnsaber is on a distinguished road
Default Re: Overwhelmed by spellmodding. Any help, please

I tested this, and can verify. 16384 gives indeed the hit flag.
__________________
I have now officially moved to the Dom3mods forums and do not actively use this account any more. You can stll contact me by PM's, since my account gives e-mail notifications on such occasions.

If you need to ask something about modding, you can contact me here.

See this thread for the latest info concerning my mods.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:31 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.