.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 July 3rd, 2007, 08:00 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Fireball firing weapon

I'm trying to make a weapon that fires a fireball.

I've already concluded that

1) I can't actually make it fire a fireball
2) I just have to make it a projectile weapon and have small area fire as a secondary effect (since #aoe doesn't work)
3) I can't guarantee the weapon will hit, and the small area fire won't get a chance to hurt anyone if the weapon "misses" (I can give it prec 100 to make sure it hits the right square, but it might not hit anyone there).

I can sort of deal with all these things. But I am really finally stuck with the fly sprite. I can't get anything remotely decent, unsurprisingly since they are all little sprites rather than particle effects. So my real question is: how does the fire breath weapon do it? And does anyone have any helpful suggestions?
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #2  
Old July 3rd, 2007, 08:13 PM
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: Fireball firing weapon

I don't know much about modding, but can't you copy from / equip the Wand of Wild Fire? That would require that the unit does use an item effect instead of "attacking" / "fire", though, so I guess you want the latter?
__________________
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
  #3  
Old July 3rd, 2007, 08:18 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: Fireball firing weapon

I don't think you can even assign aoe effects to #secondaryeffect anyway - and as you know #secondaryeffectalways doesn't work. I tried it with various poison cloud aoe weapons and #secondaryeffect and none of it worked properly.

I'm afraid I can't help much - right now modding such weapons is a pain in the *** because the commands are broken.
Reply With Quote
  #4  
Old July 3rd, 2007, 08:21 PM
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: Fireball firing weapon

Quote:
Sombre said:
I don't think you can even assign aoe effects to #secondaryeffect anyway - and as you know #secondaryeffectalways doesn't work.
*hint* *hint*, Sombre: http://ulm.illwinter.com/dom3/dom3progress.html
__________________
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
  #5  
Old July 3rd, 2007, 08:24 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: Fireball firing weapon

Hmm, last time they 'fixed' something like that was #clearmagic and they actually made it worse as far as I can tell.

But we'll see. I was hoping they'd fix #aoe as well.
Reply With Quote
  #6  
Old July 3rd, 2007, 08:25 PM
Saulot's Avatar

Saulot Saulot is offline
Sergeant
 
Join Date: Dec 2003
Location: New York City
Posts: 340
Thanks: 0
Thanked 3 Times in 3 Posts
Saulot is on a distinguished road
Default Re: Fireball firing weapon

I use a combination of tactics to go around this problem. None of them are optimal or perfect.

For some units, I simply use a weapon that seems similar to it, firebreath being a common example.
For other units, I simply use an already made weapon as a secondary effect as you do. A good trick to make sure secondary effects take effect, is to make the primary weapon have the following qualities:
1 damage
armornegating
dt_cap
100 precision
secondaryeffect XXX

What this in effect does, is throw the effect you want at whatever square you want, 100% of the time. It has the minor unfortunate side effect of forcing 1 armornegating damage on the target in addition to whatever you wanted to do (set them on fire, paralyze them, whatever...).

So far though, for a more realistic fireball weapon, I would wait till august when the next patch is expected. The AOE and secondaryeffectalways commands should be fixed then.

As for flysprites, I can't help you with that, I've had no luck getting anything above what was suggested in the modding manual.

Edit:
Oh, and aoe effects do work as secondary effects, one of my traps is the aoe effect leg chop, which affects the whole square.

Edit2:
I'm pretty certain copying wand of wildfire would do nothing, just give you the base weapon (some sort of scepter which hits ethereal units)
Reply With Quote
  #7  
Old July 3rd, 2007, 08:34 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: Fireball firing weapon

You can't copy weapons anyway can you?

Anyway, thanks for all the responses. Saulot - why 1 capped damage and armor negating, specifically? That's helpful though, I might end up using that (I can always update it in August if there are new fixes).

Flysprites do indeed seem very strange. I also can't get any to work which aren't in the manual.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #8  
Old July 3rd, 2007, 08:39 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: Fireball firing weapon

Re: Legchop - Are you sure it actually hits the entire square though? AOE weapons like snake bladder stick, poison ink etc etc don't work as AOE if you put them as #secondaryeffect, they just hit the one target or don't work at all.
Reply With Quote
  #9  
Old July 3rd, 2007, 08:40 PM
Saulot's Avatar

Saulot Saulot is offline
Sergeant
 
Join Date: Dec 2003
Location: New York City
Posts: 340
Thanks: 0
Thanked 3 Times in 3 Posts
Saulot is on a distinguished road
Default Re: Fireball firing weapon

Why 1 capped armornegating damage? So the weapon does damage, and triggers the secondaryeffect (which only is triggered when the weapon deals damage).

Hopefully the modding manual will be updated with more sprites. It's one of the limited factors behind another nation I've been considering.

Edit:
Yep, I've seen 3 units with the crippled affliction in a single square, with only 1 of the units having lost a hitpoint. (Works almost exactly as I want it to).
Reply With Quote
  #10  
Old July 3rd, 2007, 08:59 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: Fireball firing weapon

Aha, I begin to understand why the #secondaryeffectalways command is so in demand.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
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 12:01 AM.


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