Rear Gun Weapon- Problems

Freeform discussion about anything related to modding Transcendence.
Post Reply
labmonkey
Anarchist
Anarchist
Posts: 4
Joined: Sun Dec 10, 2006 1:13 pm

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?
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

Would help to see the complete layout of the code.

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)
Yugi
Fleet Officer
Fleet Officer
Posts: 1027
Joined: Sun Mar 05, 2006 8:21 am

I think there should be a tag for directions... something like

Code: Select all

Direction=   "forward/left/right/rear"
Though I suppose forward would be the default and wouldn't be needed.
Maybe it could be

Code: Select all

Direction=   "10/20/30...180...270...350(or -10)"
, as in degrees.
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

FAD wrote:

Code: Select all

<Configuration aimTolerance="X">
  <Shot posAngle="+X" posRadius="X" angle="X"/>
  <Shot posAngle="-X" posRadius="X" angle="X"/>
</Configuration>
could I get an explanation of each part of that code? I'm planning to make a mod using this...
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

evilbob, take a look at marr's Afterburner mod. He used that code in it. I've never used it before but the afterburner fires from the aft of the ship.
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

where can I find this mod? I'm too lazy to look... :lol:
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

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.
User avatar
dvlenk6
Militia Captain
Militia Captain
Posts: 519
Joined: Sun Mar 05, 2006 6:56 am
Location: Sanctuary and beyond
Contact:

evilbob wrote:
FAD wrote:

Code: Select all

<Configuration aimTolerance="X">
  <Shot posAngle="+X" posRadius="X" angle="X"/>
  <Shot posAngle="-X" posRadius="X" angle="X"/>
</Configuration>
could I get an explanation of each part of that code? I'm planning to make a mod using this...
posAngle and posRadius are where the shot originates from:
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'.
"War is hell."
-William Tecumseh Sherman
http://dvlenk6.blackraven3d.com/transgals.html
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

thanks very muchly, Dvlenk.
Post Reply