Transforming a research into an ability?

Post says it all...is it possible to transform a research subject into an ability!

In this case I need to transform wreckage auto-salvage into an ability, for that can I just change the entitytype file from research into ability? or is their a lot more involved (if possible I guess their is) X|

 

Thanks in advance

Justin S.

2,404 views 11 replies
Reply #1 Top

No :P Unfortunately it doesn't work that way. Stuff that's currently done through research can only be done through research, and vice versa. No way to mingle.

Reply #2 Top

I was wondering the same thing.

 

Could you just replicate that as an ability though? Create an ability that produces the same result?

Reply #3 Top

Nope, that's what I meant (in a "what the hell was he talking about" kind of way). The modifiers abilities and research  use can't be interchanged.

Here's the modifier from the wreckage salvage:

researchFloatModifiers 1
researchModifier
 modifierType "SalvageWreckagePercent"
 baseValue 0.000000
 perLevelValue 0.083330

If you try to use "SalvageWreckagePercent" in an ability, it'll crash because it's not a valid "thing" for an ability to do :P

Reply #4 Top

But Kiedjor and StCobalt told it was possible (if my memory serves me right)..so I'm fighting to find a way!!! Spending hours tweaking values and getting minidump after minidump!

 

Any lead or hint as to a possible solution to this would be greatly appreciated and would earn its owner my eternal grattitude, a place in the credits and of course the most important one A +1 KARMA BOOST!!!

 

Justin S.

Reply #5 Top

But Kiedjor and StCobalt told it was possible (if my memory serves me right)..so I'm fighting to find a way!!! Spending hours tweaking values and getting minidump after minidump!
End of quote

Do you have a thread for this? It might be possible to make an ability that does something similar (gives you credits when an enemy ship blows up, I'm not sure if a give credits/resources buff modifier exists) if you want this specific thing. But in general research stuff can't be made into abilities. For one thing, every ability needs a target, and every research subject is global in scope ;)

Reply #6 Top

Their were no threads as it was in a msn conversation!

But I don't want it to necessarily get ressources etc...just credits is more than enough for me!

 

But dont do it..just send me off in the right direction, and I'll sort it out by myself ;)!

THANKS A LOT!

Reply #7 Top

That's what logging important IM conversations is for :P

As for where to start, it looks like AbilityStealResources and its corresponding BuffStealResourcesTarget seems to be what I was thinking of:

instantAction
 buffInstantActionType "StealResources"
 instantActionTriggerType "OnBuffFinish"
 resourceToSteal "Credits"
 resourceAmount
  Level:0 100.000000
  Level:1 0.000000
  Level:2 0.000000

Which looks like it gives a flat 100 credits, and looks like it can be used for other resource types. Doesn't seem to be a way to trigger it on target's death, though.. so I don't know what exactly StCobalt was talking about :P

Reply #8 Top

IT is possible to make an ability that gives you reasources when a ship dies.

 

I just don't remember exactly how.

Reply #9 Top

Well using OnBuffFinish plus the finishCondition of target death I guess would do it. The buff only finished when the target dies and then you get the money? It's about the only thing that I can think of. Volatile Nanites do the on-target-death boom thing, so probably a mix of the two or something.

Reply #10 Top

But what Im making is a passive ability that grants credits each time a ship in the grav well (well in range) dies...

proportionnaly with the dead units cost...that possible? or do I just stick with steal ressources?

 

Thanks!

Reply #11 Top

I jsut got an iea using Karmic retribution and a few other abilities I'll merge together...too bad I once again have bloody university in the middle of the bloody day! Another 5 hours wasted!

Guess I'll only get to test it out when I come back! CRAP!!>:(

Ah well.. suggestions still appreciated!

 

Justin S. :D