[Plugin] Global Friend Foe Upgrade

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

User avatar
LV
Sith Lord
Posts: 6362
Joined: Wed, 6. Nov 02, 21:31
x3tc

[Plugin] Global Friend Foe Upgrade

Post by LV » Thu, 28. Jan 10, 23:06

Global Friend Foe Upgrade


Description : Plugin which allows you to set friend foe globally and auto update all ships
Version : 1.0
Date : 27/01/10
Author : LV




__________________________________


Image download unpacked version

Image

cycrow installer version

_____________________

Detailed Description

As many people have problems with rogue combat ships they own going postal on races they should be neutral to and hammering down rep i built this upgrade
(As i've broken all my other scripts I also had to write something new before i went insane)

Once installed you will find the option for "Set Friend Foe" in your custom commands interface

The ship will then bring up a menu with option to set races as friend foe

Image

Also

1. Set as Mastership

This will set the chosen ship as the global template to use for FF settings if the auto update option is toggled on. PLAYERSHIP is used if no ship is defined

2. Set All Ships The Same

This will update every ship you own to the same FF settings as the ship

3. Scan for Attackers

Scans all your ships and reports any being attacked

4. Display Blocked Ships
Return any ships you have blocked from the globall FF settings

5. Turn on auto update (or off)

turns the alp plugin on or off, this then automatically updates every ship every minute, uses the mastership as the template

6. Block Ship From Global Commands

Ship is not updated when auto update or "set all ships the same" are run, keeps it's own ff settings.

Install Instructions

Use the plugin manager OR manually put the files in scripts&t if you know how to do so


Uninstal

just remove the scripts

codes

t file
8847

comms menu
<t id="735">A_LV_SET_FriendFoe_OFTEN</t>
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

lamoyja
Posts: 121
Joined: Wed, 9. Dec 09, 05:53
x3tc

Post by lamoyja » Fri, 29. Jan 10, 23:28

Know whats hilarious?

I was going to post to see in the help section of the forums if there was a function to set global friend foe.


Awesome :D

(its such a drag killing all boron in a sector when all your owned ships don't attack unless you set them all to enemy of boron as well)

lol

User avatar
LV
Sith Lord
Posts: 6362
Joined: Wed, 6. Nov 02, 21:31
x3tc

Post by LV » Fri, 29. Jan 10, 23:34

good, if this script had attracted nothing other than Image I'd have killed every member of the forum and took my toys home :)
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

User avatar
Serial Kicked
Posts: 3493
Joined: Fri, 12. Aug 05, 20:46
x3tc

Post by Serial Kicked » Sat, 30. Jan 10, 00:15

In fact it's a very good idea!

This kind of plugin/addon will be very useful to my user base (and to me). It's a pain to stay friendly to the pirate faction as soon as the user has more than a few ships.

Thanks!
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System

Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station

lamoyja
Posts: 121
Joined: Wed, 9. Dec 09, 05:53
x3tc

Post by lamoyja » Sat, 30. Jan 10, 00:22

Hmmm good point.

GaianKnight
Posts: 104
Joined: Fri, 14. Aug 09, 04:05
x3tc

Post by GaianKnight » Sat, 30. Jan 10, 01:05

Is this in relation to the problem I have been having with the Terrans and my ships? Not intending to be egocentric, but rather surprise centric, and all that ignore worthy stuff. Just curious. :D

Ship: GSS Valkyrie Knight (Apricot Vidasaurus)
Fighting Rank: Battlemaster
Trading Rank: Super-Magnate
Can I ***modified*** the ding dong weather too?

Thrandisher
Posts: 357
Joined: Sun, 1. Jul 07, 03:33
x3tc

Post by Thrandisher » Sat, 30. Jan 10, 04:57

Aye, as SK said, this will be great with his scripts. I wanted somethign like this myself.

One of the things i always hated was being the savior and hero of a race then haveing a ship play a practical joke and boom, everyone is trying to chop off my head and pin me to a cross.

Now when they try to do it, it will be when i decided to do teh joke and externamate them all ;)
The mongrels will never get over THIS wall.

GaianKnight
Posts: 104
Joined: Fri, 14. Aug 09, 04:05
x3tc

Post by GaianKnight » Sat, 30. Jan 10, 07:19

(Hope I'm not jinxing myself here...)

..so far so good, as with this script active so far, and moi in Asteroid Belt to continue the Terran plot, there's been no shots taken at the Orbital Defense Station, nor any Terran ships. And this despite some thirty plus Traders of mine entering the sector, as my Traders do alot, when my arrival seems to 'remember' a sector to my Traders.

And so, no pot shots so far, keeping an eye out though. :wink:

Ship: GSS Valkyrie Knight (Apricot Vidasaurus)
Fighting Rank: Battlemaster
Trading Rank: Super-Magnate
Can I ***modified*** the ding dong weather too?

User avatar
Liath
Posts: 170
Joined: Sun, 25. Dec 05, 09:16
x4

Post by Liath » Thu, 11. Mar 10, 19:58

I /vote for this to be in the bonus pack!
If I seem super-critical lately, it's due to having played X2 and X3, which were awesome games. X:R's release was a hard fail, however there *were* improvements, especially with stations, capitals, and capturing/boarding. X4 right now feels like the best parts of X2/3 and Rebirth all got thrown out the friggin window. I'm honestly hopeful that X4 will turn out awesome, but I'm already hugely disappointed in ES as I have seen them do better and really expect more from them.

flybyu
Posts: 26
Joined: Wed, 25. Oct 06, 10:01
x3tc

Post by flybyu » Tue, 1. Feb 11, 16:42

I want to just say thank you for this mod I am one who has a bad time keeping my fighters from attacking everything they shouldn't. and man they can get me in huge rep problems in less then a minute Grrr...

This will help that I am hoping...

BryanNeff
Posts: 94
Joined: Sat, 6. Feb 10, 20:26
x3tc

Post by BryanNeff » Mon, 5. Dec 11, 23:04

Just to be sure, this will make the game modified, right?

I currently have a problem with my patrols going postal on ships in the sectors they're working in for absolutely no discernible reason, save perhaps they're identifying trade ships carrying illegal wares but not actually flipping them to pirates, and thus killing them while they're still friendly to their race.

I've noticed that BOTH Pirate and the race of the ship switch to enemy at the same time, which suggests that they've marked a ship as a pirate and a race to attack, hence my prior reasoning.

User avatar
LV
Sith Lord
Posts: 6362
Joined: Wed, 6. Nov 02, 21:31
x3tc

Post by LV » Tue, 6. Dec 11, 20:57

anything not in the bonus pack on the xu forum sticky will make your game modified (bar a couple of small graphical mods)
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

kurush
Posts: 3955
Joined: Mon, 7. Nov 05, 00:53
x3tc

Post by kurush » Sun, 11. Mar 12, 04:46

Tried it with AP and it seems to work fine. A couple of questions:
1) It appears to ignore laser towers and orbital lasers. I changed plugin.lv.ff.set.often.main to work on LaserTower and Orbital Laser object classes in addition to Movable ship. I assume there is no single class I can apply it to that includes LT and regular ships?
2) I am not sure what was the purpose of the "master ship" ? Does it override whatever FOF settings I have set in the menu?
3) There seems to be some sort of time delay between I click "Set all ships the same" and it actually resets them all. I wonder why?

User avatar
LV
Sith Lord
Posts: 6362
Joined: Wed, 6. Nov 02, 21:31
x3tc

Post by LV » Sun, 11. Mar 12, 10:39

It's a good job i explained the mastership in the OP as i'd forgotten

"1. Set as Mastership

This will set the chosen ship as the global template to use for FF settings if the auto update option is toggled on. PLAYERSHIP is used if no ship is defined "

to get all ships try the ship class as i've used movable ship, it may pick up towers then
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses

kurush
Posts: 3955
Joined: Mon, 7. Nov 05, 00:53
x3tc

Post by kurush » Sun, 11. Mar 12, 11:00

Thanks, it all makes sense now. No more LTs going postal on pirates trying to find their death in Xenon sectors :)

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”