Thread: Power Throw
View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 5th, 2011, 02:56 PM
Have you gotten into studying the fields and tags of things, yet?

If not, go to the develop menu, and check the first option - "enable data file debugging"

Now, add a variety of weapons - bows, firearms, melee weapons, throwing weapons, thrown grenades - your goal here is to figure out what differentiates a throwing weapon from all the other weapons.

On each of those weapons, right-click them and select "Show selection tags for XXXXX" - study those lists of tags, and compare them to each other.

Homework assignment #1: Among those tags in the component group, is there one that all throwing weapons are in?

Homework assignment #2: Now that you've identified a component tag that will narrow the search down a lot, can you identify other tags that are specific to throwing weapons, but don't exist on any other weapons?

Homework assignment #3: Use the "New (Copy)" button to make a copy of Critical Strike, and study its Eval Script. See if you can figure out how its script finds all the melee weapons that are natural attacks - for yours, you want to find all the ranged weapons that are throwing weapons. Other than that one line (and the comment describing it), you shouldn't need to change any of the other lines in that power's script. (Don't forget to use the same phase & priority, from the top of the script).

See how far you can get with those hints, and I'm happy to help if you run into trouble.
Mathias is online now   #2 Reply With Quote