Weapons for me Tripoli

Freeform discussion about anything related to modding Transcendence.
Post Reply
GenmanipulationKlonen
Anarchist
Anarchist
Posts: 2
Joined: Sun Sep 17, 2006 8:11 pm

Hi everyone!

I am trying (since today) to get me some mod weapons on a tripoli.

I wanted to use the four "gunports" that are on the tripoli model for turbolasercannons.

The AI tripoli has got 4 turbolasercannons at the right positions and it makes good use of them in-game.

Unfortuantly I don't know how to fire multiple weapons "linked" with only one key...
Also I don't know - beside presetting in the ships design - how to mount weapons not only in the center of the ship. Everytime I unmount a off-center weapon and mount a new one, the new one is in the center...

I tryed to find a way to set a greater distance between a "dual" weapons beams... not found it. Are there more settings than "dual", "spread3" and "alternating"? - Well, this won't help my initial problem, but anyway...

Than I found the missile defense system and that had some interesting code:
<AutoDefenseDevice
target="missiles"
weapon="&itOmniLaserCannon;"
rechargeTime="15"
/>

So I thought I could mount 4 lasercannons and set them to shoot at enemies... It looks like it only accept target="missiles"...
I tested "enemy", "ship" and "hostile" and it resulted in crash.
Unfortuantly there is no other item in the transcendence.xml with the <AutoDefenseDevice -tag...

Last hope was the auton code in the transcendence.xml. They "protect" the playership and have this code (like the other AI-Ships):
<AISettings
fireRateAdj="15"
fireAccuracy="70"
perception="4"
/>
And there should be some settings somewhere to define at what the auton starts shooting...

That does not work on playerships, which looks to be normal for me. But would it be possible to "attach" a weapon that is like a auton and uses the <AISettings ?

Thanks in advance for any help! :)
OddBob
Militia Captain
Militia Captain
Posts: 505
Joined: Sun Mar 05, 2006 6:05 pm

Also I don't know - beside presetting in the ships design - how to mount weapons not only in the center of the ship. Everytime I unmount a off-center weapon and mount a new one, the new one is in the center...
I tryed to find a way to set a greater distance between a "dual" weapons beams... not found it. Are there more settings than "dual", "spread3" and "alternating"? - Well, this won't help my initial problem, but anyway...
There is also 'wall', but it won't help you much. You can make a custom one however, and I belive that using a custom configuration will solve both these problems, sort of.
In between the two <weapon> tags, put something like:

Code: Select all

			<Configuration aimTolerance="5">
				<Shot posAngle="18" posRadius="60" angle="0"/>
				<Shot posAngle="342" posRadius="60" angle="0"/>
				<Shot posAngle="72" posRadius="30" angle="0"/>
				<Shot posAngle="288" posRadius="30" angle="0"/>
			</Configuration>

The values "posAngle" and "posRadius" offset the shot to the gun ports just like in the ship settings, and the value "angle" will make the shot point a direction other than forward, but since it is 0, they will all point forward.

This will let you sort of have an offcenter configuration tied to the weapon. But......the angles do depend on ship facing, however, so if it is an omni weapon, they will not line up with the gun ports when not firing forward.

As far as I know, you cannot make them shoot enemies by them selves, or have them use different graphics (to simulate two different weapons).
enno
Anarchist
Anarchist
Posts: 6
Joined: Thu Aug 31, 2006 1:34 am

there is a reason why there is no ai to actually automaticaly shoot enemy, eg. if u use autons , whenever we cross the ferians territory ( which didnt attack u unless u attack them first, but they had red marks which means they're hostile) u got a bunch of miners shooting that 22(max) lasers at you. which should not be ( i died twice, surrounded by ferians at an asteroid ring, just passing through wit autons) coz my autons just could stop the blood thirst frnzy over enemies

unless... in future development, george programs something that attacks specific alignment only, and put it as auto defense maybe....

oh yeahh, while on this topic (SO SORRY IF IT LOOKS LIKE I HIJACK THIS TOPIC, GenmanipulationKlonen) maybe we could retract those autons once ejected ( just an idea though)
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

Just shoot them.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

OddBob wrote:As far as I know, you cannot make them shoot enemies by them selves, or have them use different graphics (to simulate two different weapons).
you can make the mshoot enemies by themselves, it just takes scripting (see the autoturret mod)
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Thanks to schilcote idea and F50 code I just released a device that shoots enemies automatically with an omnidirectional turbolaser cannon.
Here:
http://xelerus.de/index.php?s=mod&id=174

If you install 4 of them on your tripoli using 4 virtual weapons and restricting the shooting angles you get the same weapons configuration as the original tripoli.
Post Reply