Aller au contenu

Photo

Mage AoE spell tweak?


15 réponses à ce sujet

#1
Razhathael

Razhathael
  • Members
  • 404 messages
I was wondering, AoE spells like fireball and cone of cold. Would it be possible to have them be activated like a  single target spell?

As in, press fireball, and the fireball would launch to your current target. As in, your target would be the center of the AoE.

I know it isn't much effort to just press it with my mouse, but it would be a nice tweak, one I'm sure a lot of other lazy mages out there would want, were it possible.

#2
Signo Vir

Signo Vir
  • Members
  • 91 messages
probably, yes. There's a field in abi_base.gda for target_auto. flipping it from 0 to 1 would probably work as you expect.

#3
Razhathael

Razhathael
  • Members
  • 404 messages

Signo Vir wrote...

probably, yes. There's a field in abi_base.gda for target_auto. flipping it from 0 to 1 would probably work as you expect.


Thanks! I suck at modifying stuff like that but I'll try out and post the results.

#4
Razhathael

Razhathael
  • Members
  • 404 messages
Hmm, I'm looking at abi_base with GFF v4.0 editor. I tried looking for target_auto at fireball, but all the columns are just numbers, there's no way for me to know which one is the one for it.

Should I be using some different program or something?

Modifié par Razhathael, 16 avril 2011 - 07:44 .


#5
Signo Vir

Signo Vir
  • Members
  • 91 messages
use GFF editor to export the abi_base.gda file. Save it to your My Documents\\Bioware\\Dragon Age 2\\packages\\core\\override directory. Then use GDApp to edit the file itself.

Also, it's safe to delete rows that you're not interested in.(In this case you could delete all but the fireball/upgrade lines.

Personally, I make new GDA files for each group of modifications. For example, abi_base_mod_fireball.gda and then later, abi_base_mod_rock_amor

#6
Razhathael

Razhathael
  • Members
  • 404 messages

Signo Vir wrote...

use GFF editor to export the abi_base.gda file. Save it to your My DocumentsBiowareDragon Age 2packagescoreoverride directory. Then use GDApp to edit the file itself.

Also, it's safe to delete rows that you're not interested in.(In this case you could delete all but the fireball/upgrade lines.

Personally, I make new GDA files for each group of modifications. For example, abi_base_mod_fireball.gda and then later, abi_base_mod_rock_amor


I found the column although it didn't seem to do anything for the actual spell in game (I did transport it to override.)

Modifié par Razhathael, 16 avril 2011 - 10:35 .


#7
Signo Vir

Signo Vir
  • Members
  • 91 messages
Any other mods in override that could be conflicting?

#8
Razhathael

Razhathael
  • Members
  • 404 messages
Tried, didn't work. When I have a target and press fireball, it still requires me to click on the area.

#9
Signo Vir

Signo Vir
  • Members
  • 91 messages
It might be a script limitation then. the script involved is dae_mage_aoe_instant.ncs, but that doesn't help much... AFAIK all AOE spells require targeting.

*opens GDApp*

hmm.. actually, what you probably also need to change is the target type.Mind Blast, for example, uses the same script but doesn't require targeting. In that case, target_type is 1 (casting character), and target_auto is also 1 (true). However, by contrast fireball and cone of cold are target_type 12 (probably the code for AOE targeting). Since Winter's Grasp is kind of similar to what you're looking for, you could try that target_type (4).

From what I can tell, these are the target types available:

1 (self) -- arcane shield, mind blast,..
2 (party member but not self) -- sacrifice (bloodmage)
3 (party member or self) -- force field
4 (targeted enemy) -- winter's grasp, stonefist, crushing prison, etc
5 (default attack)
12 (AOE designated) -- fireball, cone of cold
15 (AOE unknown. might be a mix of 4 and 12) Dispel, glyph of repulsion, smokescreen

There also seem to be some target_types only used by monsters,
8 (unknown) -- stone golem hurl
9 (unknown) -- rock wraith teleport

Unused values (filling in the gaps)
6
7
10
11
13
14

I'm guessing there is only a total of 16 target types, 0 to 15. (0, of course, being no target)

I'd recommend trying 15 and if that fails, try 4. My only concern with 4 might be that you (probably) lose the ability to designate the area -- you would have to choose a target.

Modifié par Signo Vir, 17 avril 2011 - 01:39 .


#10
Razhathael

Razhathael
  • Members
  • 404 messages
I tried 4 first, that had no effect. And I'm afraid neither did 15. Darn.

#11
Signo Vir

Signo Vir
  • Members
  • 91 messages
hmmm.... I'll give it a go a little later. I'm working on a mod that will be making large changes to skills, so I need to make sure I understand how this works as well.

#12
Razhathael

Razhathael
  • Members
  • 404 messages
Alright, thanks for all the help anyway. And good luck on your mod!

#13
Signo Vir

Signo Vir
  • Members
  • 91 messages
I've found where to change the spell geometry for AOE spells (persistent.gda), and found how to change the targeting to be free or requiring an specific target (column $91C8831). For some reason, the auto targeting isn't working. I have to head out now, but I'm going to spend some more time on it later. Hopefully it won't take too long to suss this out.

#14
Razhathael

Razhathael
  • Members
  • 404 messages
Just bumping this once incase you don't want to doublepost the results whenever they're done.

#15
Peter Thomas

Peter Thomas
  • BioWare Employees
  • 679 messages

Signo Vir wrote...

It might be a script limitation then. the script involved is dae_mage_aoe_instant.ncs, but that doesn't help much... AFAIK all AOE spells require targeting.

*opens GDApp*

hmm.. actually, what you probably also need to change is the target type.Mind Blast, for example, uses the same script but doesn't require targeting. In that case, target_type is 1 (casting character), and target_auto is also 1 (true). However, by contrast fireball and cone of cold are target_type 12 (probably the code for AOE targeting). Since Winter's Grasp is kind of similar to what you're looking for, you could try that target_type (4).

From what I can tell, these are the target types available:

1 (self) -- arcane shield, mind blast,..
2 (party member but not self) -- sacrifice (bloodmage)
3 (party member or self) -- force field
4 (targeted enemy) -- winter's grasp, stonefist, crushing prison, etc
5 (default attack)
12 (AOE designated) -- fireball, cone of cold
15 (AOE unknown. might be a mix of 4 and 12) Dispel, glyph of repulsion, smokescreen

There also seem to be some target_types only used by monsters,
8 (unknown) -- stone golem hurl
9 (unknown) -- rock wraith teleport

Unused values (filling in the gaps)
6
7
10
11
13
14

I'm guessing there is only a total of 16 target types, 0 to 15. (0, of course, being no target)

I'd recommend trying 15 and if that fails, try 4. My only concern with 4 might be that you (probably) lose the ability to designate the area -- you would have to choose a target.


Those are bit flags. We use that for a number of things.

1 = self
2 = friendly
4 = hostile
8 = location

#16
Whailor

Whailor
  • Members
  • 386 messages
Speaking of AoE spells, what would be nice is some AoE cold spell as well. Grasp is nice but it's somewhat limited when it comes to targets. Cone has limited range. Some cold spell which would be like fireball but blast the targets with icy shards and possibly freeze them, Ice Explosion or something, would be neat.. Not sure if this is doable without the toolset.