|
|
|||||||||
| Instructions for adding your own target images to PC Archery | |||
|
Requirements
In order to add new target images to PC Archery you will need the following:
Overview
|
|||
| The following will take you through an example of
adding a new target image to PC Archery.
This target (turkey) image was provided by Bob of Naches, WA and I would like to thank Bob for the use of this great picture! | |||
| Step 1: | The first step is to create a new target group to place your
targets into. To create a traget group you simply create a new folder in the
C:\Program Files\PC Archery\targets folder. In this example we will call our target group "Turkeys". We therefore need to create the new folder: C:\Program Files\PC Archery\targets\Turkeys |
||
| Step 2: | The second step is to get a new target picture.
Something like the image on the right is what you are after.
Note: the image is show here at 1/3 actual size. To see the image
at full size simply click on it.
You want a picture that contains the full target, but not alot of extra background. Crop the image so that it contain the target and only a small amount of background. The image size should 300-500 pixel range for small targets (turkey, Javelina, etc) 500-700 pixels for medium sized (Deer, sheep, antelope) and as large as 700-1000 pixels for large tragets (elk, Bision). The images do not need to be square, simply crop them and resize as need. If your target image is smaller than this it will still work, but the image may be grainy at short distances (15-30 yards) Save the image into your new target group folder as xxx.jpg (xxx can be any name you want) In this
example xxx is turkey1. For this example we save the image to:
|
turkey1.jpg at 1/3 scale (Actual size is 450x512 pixels) |
|
| Step 3: | Next you need to create a score image that PC Archery uses to
determine what part of the image will be visible and what the score will
be for different locations on the target.
This can be done by many image editing software packages. The one I use
is called PaintShop Pro. You can get a trial version of PaintShop Pro
at www.jasc.com
You need to end up with an image like the one shown on the right.
It must be the exact size as the original and must be made up entirely of
the following colors:
As you can see I have chosen to not give a score if the arrow only passes through feathers on this target. Once completed, save the score image into the target group folder
as a GIF image with the name xxx_score.gif. For this example we save the
score image as:
|
turkey1_score.gif at 1/3 scale (Actual size is 450x512 pixels) |
|
| Step 4: | Now you need to tell PC Archery about your target image.
You do this by creating a text file like the one at the right.
The name can be anything. This is the name that will be displayed in PC Archery, it does not have to match the file name. In this example I chose "Strutting" Height is the height of this image in inches. To calculate this value, locate two points on the image that you know (or can estimate) the height of. In this case I chose the bottom of the feet and the top of the head. The turkeys feet are at pixel location (240,481) (x, y) and the top of his head is at (272,159). Taking the difference in the y values we have 481-159=322. In other words the distance between the turkeys feet and head is 322 pixels. I estimated this distance on the real turkey to be 28 inches (on a target I would measure it). The last piece of information we need is the height of the image in pixels. In this example the image is (450,512) so the height in pixels is 512. Now we can calculate the height of the image: Height = (image height in pixels)*(target height inches)/(target height in pixels) Height = 512*28/322 = 44.5 This is the minimum distance you want PC Archery to place this target. For a small target make this 15 yards. For a large target like a Bison, you may want to limit the closest shot to 30 yards. The value must be between 15 and 60 This is the maximum distance you want PC Archery to place this target. For a large target make this 60 yards. For a small target like this one, you may want to limit the longest shot to 45 or 50 yards. You can over-ride the maximum distance with the level settings. The value must be between 15 and 60 The height of the targets shoulder in inches. the thickness of the target's chest in inches. The pixel location of the target's left most foot. The pixel location of the target's left most foot when the image has been mirrored The pixel location of the center of the x ring. Save the file in the target group folder as xxx.trg where
xxx is that name you used in Step 1. In this example:
|
contents of turkey1.trg
|
|
| Step 5: | The last step is to create a target
property file.
Save the file in the target group folder as target.prp
|
contents of targets.prp
|
|
| Step 6: | Play PC Archery and select the Turkey target group. | ||
|
|
| Copyright 2001,2002 all rights reserved, Walk Technology, LLC |