.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
  #51  
Old July 19th, 2008, 02:31 PM

Xietor Xietor is offline
Lieutenant General
 
Join Date: Feb 2007
Location: New Orleans
Posts: 2,741
Thanks: 21
Thanked 28 Times in 17 Posts
Xietor is on a distinguished road
Default Re: Modding shortlist

#onebattlespell presently works not only for battle spells but for summoning spells, but when a summoning spell is used, it casts the spell over and over for the duration of the battle. At least it does for "Summon Spectral infantry"

If this is something easily coded, it would be nice to expand #onebattlespell to summoning spells(as it seems to have been done maybe inadvertently), but limit it to a single cast.
__________________
"War is an art and as such is not susceptible of explanation by fixed formula."
- General George Patton Jr.
Reply With Quote
  #52  
Old July 19th, 2008, 06:45 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Modding shortlist

Quote:
Xietor said:
#onebattlespell presently works not only for battle spells but for summoning spells, but when a summoning spell is used, it casts the spell over and over for the duration of the battle. At least it does for "Summon Spectral infantry"

If this is something easily coded, it would be nice to expand #onebattlespell to summoning spells(as it seems to have been done maybe inadvertently), but limit it to a single cast.
You used a ritual spells, i.e. non-battle spell. Using a combat summon would fix it, but it'd have to be custom one for Spectral Infantry.
Reply With Quote
  #53  
Old July 19th, 2008, 07:01 PM

Xietor Xietor is offline
Lieutenant General
 
Join Date: Feb 2007
Location: New Orleans
Posts: 2,741
Thanks: 21
Thanked 28 Times in 17 Posts
Xietor is on a distinguished road
Default Re: Modding shortlist

I have used the spell successfully for combat spells. What i was trying to do was add a bit of diversity to it if it was easy to do. One of my heroes casts "living fire" just fine.

However, I did not want a mod with many authors contributing to it modding a bunch of spells as there would be a risk of conflict. So I was trying to find a way to get a great eagle summoned in combat without modding a spell to do it.

May not be possible.
__________________
"War is an art and as such is not susceptible of explanation by fixed formula."
- General George Patton Jr.
Reply With Quote
  #54  
Old July 19th, 2008, 07:39 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Modding shortlist

Quote:
Xietor said:
#onebattlespell presently works not only for battle spells but for summoning spells, but when a summoning spell is used, it casts the spell over and over for the duration of the battle. At least it does for "Summon Spectral infantry"

If this is something easily coded, it would be nice to expand #onebattlespell to summoning spells(as it seems to have been done maybe inadvertently), but limit it to a single cast.
You've created a situation where the caster can spam the spell repeatedly. If you only want him to do it once a battle, up the fatigue cost on the custom spell. He will cast it the first time and suffer no fatigue, but he will not cast it beyond that because he is not able to pay the cost.
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #55  
Old July 19th, 2008, 08:34 PM

Xietor Xietor is offline
Lieutenant General
 
Join Date: Feb 2007
Location: New Orleans
Posts: 2,741
Thanks: 21
Thanked 28 Times in 17 Posts
Xietor is on a distinguished road
Default Re: Modding shortlist

Actually the caster is not casting the spell. it auto casts the entire battle. The caster is casting other spells.
__________________
"War is an art and as such is not susceptible of explanation by fixed formula."
- General George Patton Jr.
Reply With Quote
  #56  
Old July 19th, 2008, 08:54 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Modding shortlist

That's really weird. Can you post the scripting for the spell? Because my guy would spam the #onebattlespell summon before I made the change. Then after I made the change, he would autocast it to begin with, then cast other things.

Maybe this is some type of new bug introduced in the last patch, because I have not touched modding since I was hearing reports that modded magic paths were messed up.
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #57  
Old July 19th, 2008, 09:32 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: Modding shortlist

I've never seen a unit actually /casting/ the #onebattlespell. I've only seen it go off automatically. How did you get him to cast it?
Reply With Quote
  #58  
Old July 19th, 2008, 10:21 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Modding shortlist

I think I did it with:

#researchlevel 0
#school -1

Here is the spell since then. I did not intend for him to be able to cast the spell beyond the initial #onebattlespell casting, so it has been modified.

-------------------------------------Special Spell--------------------------------------------------------------

#selectspell 87
#clear
#name "Summon Spirit Champion"
#descr "The Caster is able to revive the spirit of a troll warrior who has died outside of combat."
#school -1
#researchlevel 1 (This was 0 originally I think)
#path 0 5
#pathlevel 0 1
#path 1 1
#pathlevel 1 1
#effect 1
#range 5
#nreff 1
#sound 18
#flightspr -1
#explspr -1
#fatiguecost 5000 (This was originally 0)
#damage 2033
#restricted 62
#end

And here is the guy who casts it:


#newmonster 2010
#spr1 "./midgard/spiritmaster1.tga"
#spr2 "./midgard/spiritmaster2.tga"
#name "Spiritmaster"
#descr "There is no greater glory in Midgard than dying in combat. Some people are not granted such a chance the first time around. Spiritmasters are able to recall the souls of those who have died a dishonorable death. These newly arisen spirits serve the Spiritmaster in return for a chance to die in combat, which will guarantee them a spot in the house of the new God."
#hp 10
#size 2
#prot 0
#mor 12
#mr 14
#enc 3
#str 10
#att 9
#def 10
#prec 10
#mapmove 2
#ap 12
#gcost 100
#rcost 1
#nametype 115
#coldres 25
#weapon "Quarterstaff"
#poorleader
#onebattlespell 87
#itemslots 15494
#magicskill 1 1
#magicskill 5 1
#end


If you alter the spell to the way I had it originally noted by the bold it should give you a caster that is able to spam a summon spell.
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #59  
Old August 13th, 2008, 02:58 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Modding shortlist

The modding wishes shortlist has been fixed and is once more readable.
Reply With Quote
The Following User Says Thank You to Edi For This Useful Post:
  #60  
Old August 14th, 2008, 02:11 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Modding shortlist

That was fast! Thanks for the work.
Reply With Quote
Reply

Bookmarks

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

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 04:20 PM.


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