Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Shadowrun

Notices

Reply
 
Thread Tools Display Modes
Agonar
Junior Member
 
Join Date: Jun 2014
Posts: 29

Old June 12th, 2014, 08:16 PM
I am basically trying to custom create an Adept power from sr4 into sr5. The power is Penetrating Strike. If I could afford to purchase the sr4 files, I would, but I am only bringing in select few options, until we have actual sr5 options, so it's not very economical for me.

The effect is basically a -1 AP applied to unarmed combat, per level of the power (to a max of 3 levels).

I have the custom power factoring the cost right, the max levels, but I cannot for the life of me figure out how to have it add -1 AP per level.

I tried a bootstrap, where I entered wpUnarmed for the thing, and in a field, tried entering wpAP, -1 for the value.. and this sort of worked. It applied a flat -1 AP, but gave me a popup with a bunch of missing eval script lines...

So basically, anyone know what I am missing?
Agonar is offline   #1 Reply With Quote
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 215

Old June 13th, 2014, 07:05 AM
Try using Eval Scripts and putting it in a Trait script.
ShadowWalker is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,454

Old June 13th, 2014, 07:21 AM
Think about the SR5 powers that exist - are there any that are similar? Perhaps one that's adding +1 DV to all unarmed attacks?

Study its script - how does that function?

Next, in the Develop menu, make sure "Enable Data File Debugging" is turned on, and add several weapons to a test character. Right-click those weapons, and choose "Show Debug Fields for XXXXX" - compare the different weapons, and you'll be able to figure out which field stores the AP - then, you can modify the script you've got to subtract from AP, instead of adding to DV. From there, you can modify the script further to be based on ranks, and to always choose unarmed, rather than selecting a combat skill to be based upon.
Mathias is offline   #3 Reply With Quote
Agonar
Junior Member
 
Join Date: Jun 2014
Posts: 29

Old June 13th, 2014, 07:53 PM
I tried this, which I borrowed from Mystic Armor and tweaked

~add our rating to the AP ratings of the unarmed attacks
hero.child[wpUnarmed].field[wpAP].- value = field[trtFinal].value

and this borrowed from Critical Strike and tweaked

hero.child[wpUnarmed].field[wpAP].modify[-,field[trtFinal].value,""]



So I tried a boostrap, for wpUnarmed, with a Field id of wpAP, value -1
and it will apply the first -1 to unarmed AP, but not 1 per level.. but then I also get a ton of linkage basis errors in the calc advance.

I think maybe I need to study the guides more, and try to wrap my head around how the shadowrun bits would be different from pathfinder bits.
Agonar is offline   #4 Reply With Quote
devidrignmc
Banned
 
Join Date: Jun 2014
Location: Delhi
Posts: 2

Old June 23rd, 2014, 01:45 AM
you are missing some things friend.

day picnic in delhi
devidrignmc is offline   #5 Reply With Quote
Reply

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 Off

Forum Jump


All times are GMT -8. The time now is 02:30 AM.


Powered by vBulletin® - Copyright ©2000 - 2019, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.