OK, firstly Rapidshare is down, so can anyone recommend another good free host?
Now, on to the mod. I've made weapon designed to fire from the rear of a ship, at pursuing targets. I used the following code:
maxFireArc= "250"
minFireArc= "110"
directional= "true"
However, without a target, it shoots forward. Is there currently any way to block it from firing outside its arc?
Rear Gun Weapon- Problems
Would help to see the complete layout of the code.
Anyway, have you tried using;
Anyway, have you tried using;
Code: Select all
<Configuration aimTolerance="X">
<Shot posAngle="+X" posRadius="X" angle="X"/>
<Shot posAngle="-X" posRadius="X" angle="X"/>
</Configuration>
(X being numbers that you provide to get your results)
I think there should be a tag for directions... something like
Though I suppose forward would be the default and wouldn't be needed.
Maybe it could be, as in degrees.
Code: Select all
Direction= "forward/left/right/rear"
Maybe it could be
Code: Select all
Direction= "10/20/30...180...270...350(or -10)"
could I get an explanation of each part of that code? I'm planning to make a mod using this...FAD wrote:Code: Select all
<Configuration aimTolerance="X"> <Shot posAngle="+X" posRadius="X" angle="X"/> <Shot posAngle="-X" posRadius="X" angle="X"/> </Configuration>
The link for the zip is here: http://neurohack.com/transcendence/foru ... .php?t=240
Although I didn't test to see if it was still a functional DL. That mod is also located at Thom's mod site and that one is DL'able.
Although I didn't test to see if it was still a functional DL. That mod is also located at Thom's mod site and that one is DL'able.
- dvlenk6
- Militia Captain
- Posts: 519
- Joined: Sun Mar 05, 2006 6:56 am
- Location: Sanctuary and beyond
- Contact:
posAngle and posRadius are where the shot originates from:evilbob wrote:could I get an explanation of each part of that code? I'm planning to make a mod using this...FAD wrote:Code: Select all
<Configuration aimTolerance="X"> <Shot posAngle="+X" posRadius="X" angle="X"/> <Shot posAngle="-X" posRadius="X" angle="X"/> </Configuration>
posAngle - The nose of the ship is 0. 360 degrees clockwise for the angle.
posRadius - The linear distance (in pixels) from the center of the ship mask.
Don't know about 'angle'.