Changing the turret settings on ships........???

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

BabyFace
Posts: 140
Joined: Sat, 24. Jan 04, 23:06
x2

Changing the turret settings on ships........???

Post by BabyFace »

is there a way via scripting to set the turret commands on a ship .. say to "attack all enemies"? or "Protect Ship"??

ne1 have any ideas?

its so troublesome having to do it manually
Check Regularly for new Script/Mods
http://www3.telus.net/public/starnet/default.htm

At the top of each page is a "Back To Main Page" Link

BabyFace
User avatar
Storm_Front
Posts: 1021
Joined: Mon, 15. Dec 03, 05:27
x2

Post by Storm_Front »

I'd say yes, but I'm still not much of a scripter.
I found these turret commands in the script section of the 440001 file.
<t id="100">Turret Attack Enemies</t>
<t id="101">Turret Attack My Target</t>
<t id="102">Turret Missile Defence</t>
<t id="103">Turret Protect Ship</t>
Slugworm X
Posts: 150
Joined: Mon, 1. Dec 03, 09:15
x3

Post by Slugworm X »

Hi,

I believe so. You could call the !turret.protect.ship (not real name I think!) script and pass it the turret id, to set that turret to protect ship. Ditto for missile defence script, attack enemies script.

Hope this helps,

SlugwormX

Return to “X²: The Threat - Scripts and Modding”