[MOD] Remove/Destroy/Kill ALL Civillian Ships & Taxis (UPDATED w/Cockpit/MinimalHUD)

The place to discuss scripting and game modifications for X³: Reunion.

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

cactus
Posts: 30
Joined: Mon, 1. Mar 04, 13:37

[MOD] Remove/Destroy/Kill ALL Civillian Ships & Taxis (UPDATED w/Cockpit/MinimalHUD)

Post by cactus » Tue, 29. Nov 05, 01:23

Hi,

Have had a look through the posts but can't find any mention of a script that will remove ALL ships named "(Race) Civilian Ship" or "(Race) Taxi" from ALL/ANY sectors

While I like the realism of the additional sector traffic the lag in some secotrs is getting beyond a joke now that my empire is spreading, which also adds to the lag.

I've wrote a crude script to "destruct:" an object, but its very time consuming to run, choose and destroy each and every "(Race) Civilian Ship" or "(Race) Taxi" in a sector!!

In addition, hopefully the "black hole" bug will be fixed in the next patch too, which should help with the lag!

If you know of a script that can help or if this has already been discussed please point me to the appropriate place. If there isn't one already created I don't mind getting my hands dirty and firing up the script editor if someone could piont me on the right path.

Thanks for your help.

--

FILES:

[MOD] No Civillians
[MOD] No Civillians With Cockpit Callback
[MOD] No Civillians With Minimal HUD
[MOD] No Civillians With Cockpit Callback & Minimal HUD

--

INFO:

Cockpit Callback
Minimal HUD

--
Last edited by cactus on Wed, 21. Dec 05, 21:20, edited 5 times in total.

User avatar
Red Spot
Posts: 3224
Joined: Fri, 4. Feb 05, 14:44

Post by Red Spot » Tue, 29. Nov 05, 01:31

when changing things like that .. you shouldnt need the SE ..

you seem to have to mod the Tjobs file ..

(it could be done via the SE .. but it would be like spawning ships just to remove them .. by modding the Tjobs file they dont even get spawned..)


G

cactus
Posts: 30
Joined: Mon, 1. Mar 04, 13:37

Post by cactus » Tue, 29. Nov 05, 01:35

Excellent, thanks for your help, I'll have a poke around in there!

;)

deamoclese99
Posts: 37
Joined: Wed, 16. Nov 05, 09:26

script to rid galaxy of civilian ships, taxis ?

Post by deamoclese99 » Tue, 29. Nov 05, 03:02

Is there a script that can scan every sector in game and remove/destroy all the civilian ships and taxis in the game?

As far as I can tell they serve no purpose other than to make things feel more lively.. but frankly it's killing my frame rate in some sectors...

For example, in my late game now in Argon Prime, for soem reason there's 92 civilian ships, 34 taxis and 30 or so military ships (military is fine.. they serve a purpose to defend the sector).

Can anyone make a script that gets rid of civlian vessels? I'm really suffering because of them :(

User avatar
moggy2
Posts: 4588
Joined: Wed, 6. Nov 02, 21:31

Post by moggy2 » Tue, 29. Nov 05, 03:25

ren't most civilian ships controlled by AL plugins? Can they be turned off from the AL menu?

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 20543
Joined: Mon, 15. Nov 04, 00:26

Post by Cycrow » Tue, 29. Nov 05, 03:48

no, theres actually nohing in the AL menu other than user scripts that have been added

AFAIK the AL is only accesable when the script editor is enabled

Galaxy613
Posts: 2517
Joined: Tue, 28. Dec 04, 03:19

Post by Galaxy613 » Tue, 29. Nov 05, 04:30

Nope, they are part of the Jobs.txt file IIRC.
10,000 Lightyears of awesomeness

deamoclese99
Posts: 37
Joined: Wed, 16. Nov 05, 09:26

Post by deamoclese99 » Tue, 29. Nov 05, 05:12

I tried using doubleshadow's X3 editor to edit the Jobs.pck but it cant read/open it... how do I edit this file? I want to get rid of civlian ships and taxis :(

Galaxy613
Posts: 2517
Joined: Tue, 28. Dec 04, 03:19

Post by Galaxy613 » Tue, 29. Nov 05, 05:37

If you extracted it to a .txt file just open it up in Notepad, the file isn't that scary. ;)
10,000 Lightyears of awesomeness

cactus
Posts: 30
Joined: Mon, 1. Mar 04, 13:37

Post by cactus » Tue, 29. Nov 05, 13:57

Excuse my modding/scripting ignorance, but is it a simple matter of deleting the appropriate lines in the Jobs.txt file to stop them spawning?

i.e.
6101;Taxidienst; ....
6102;Zivilschiff; ....
6103;Taxidienst; ....
6104;Zivilschiff; ....

Thanks.

Galaxy613
Posts: 2517
Joined: Tue, 28. Dec 04, 03:19

Post by Galaxy613 » Tue, 29. Nov 05, 15:43

Hmmm looks like it, delete them and see.
10,000 Lightyears of awesomeness

User avatar
Red Spot
Posts: 3224
Joined: Fri, 4. Feb 05, 14:44

Post by Red Spot » Tue, 29. Nov 05, 15:46

dunno if deleting might be the way to go .. (could be .. but make sure to have a back-up)


G

cactus
Posts: 30
Joined: Mon, 1. Mar 04, 13:37

Post by cactus » Tue, 29. Nov 05, 17:43

Hmmm. Doesn't look like deleting the lines is the way to go. I deleted them and started the game with the -r switch but these ships are still spawned.

Thoughts?

Thanks.

User avatar
Red Spot
Posts: 3224
Joined: Fri, 4. Feb 05, 14:44

Post by Red Spot » Tue, 29. Nov 05, 17:54

cactus wrote:Hmmm. Doesn't look like deleting the lines is the way to go. I deleted them and started the game with the -r switch but these ships are still spawned.

Thoughts?

Thanks.
started a new game ??

(loads dont work .. cause they already have the ships on the map and are saved with them ..)


G

cactus
Posts: 30
Joined: Mon, 1. Mar 04, 13:37

Post by cactus » Tue, 29. Nov 05, 18:19

Yeah, I started a new game for the test.

:(

[EDIT]

Can someone confirm that the -r switch is enabled in this release of X? I ask because it seems that other edits/mods I've made (asteriods etc.) didn't seem to work either.

Post Reply

Return to “X³: Reunion - Scripts and Modding”