[SCRIPT]Port of Terracorp Fleet package
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Moderator (Script&Mod)
- Posts: 7465
- Joined: Mon, 15. Dec 03, 18:53
[SCRIPT]Port of Terracorp Fleet package
Ok, here is the release of the script but please remember it is in its' Alpha stage. I can't be responsible if it messes up your save games, but I don't think it will. There are several known issues I have to look in which I will list below.
http://rapidshare.com/files/174498448/T ... _v1.11.spk
This is not my script, this is a port of the Original Terracorp Fleet package which Eladan has given permission to port
You can go to the following link for further information of the original file and authors: http://forum.egosoft.com/viewtopic.php?t=146187
I have also added in the extra additional commands from RRRoamer but I am not sure if they are working correctly, I didn't test them.
Current Known issues
There is a known issue with the new way that TC handles colors in scripts. I have had to painstakingly go through the process of testing this out and it has been rather frustrating. The issue is that if I use the original coding from X3R \033Cname\033X the names and ranks will in fact be in color, however, they will not print to the logbook. It will come up as unknown and be blank. I had read the answer to this was to use the [cyan]text[/cyan] coding but this is not entirely accurate. It is true that by using the [cyan]text[/cyan] coding you have messages print to the logbook in color, however, this does not work with names. So if I use this code with names then the name will show up in game like this: [yellow]rank[/yellow][cyan]name[/cyan] So unfortunately to get around this, I had to leave the ranks and names as the default color. However, messages will print to the logbook in color. Until I can get more info on what is the proper way to do this I will have to leave it like this.
Currently the Tender isn't working exactly as it should. I have to look at the coding and attempt to fix it if I can. It does purchase items and seems to be equipping my fighters but it is also buying things which are not necessary. This is most likely just an issue because of the porting. I am going to look into it further.
Not really an issue, but just so you know. When running the fighter base, it will purchase ships which are not outfitted. The tender will equip the M5's with weapons and shielding but it is slow to do it. Therefore, the ships on patrol will most likely NOT engage enemies because they are not outfitted fully. Also, so far from what I have seen the ships were not equipped with engine tuning, rudder optimization and cargo. I don't remember if it was the same originally in X3R or not.
When you set up the Fighter base, make sure to then go into the command console for the station again and choose advanced options. This will allow you to choose what sector you want to patrol. This uses the OLD menu system which X3R uses, but it is fine because it is just one option and it works correctly.
Some fixes which had to be made or are being looked into. I will try to implement them if I can!
1) I had to fix the combat targeting, it had the same problem as the script that Onesch ported. It was not targeting enemies correctly but it is fixed.
2) I am looking into having ships in a TF use jumpdrives (m6 and up)
3) Looking into adding more ships to patrols.
Version Changes
Version 1.11 - Just a small fix. One of the messages was coming up as unknown message.
Version 1.1 fixed issues with the promotion script and names not being generated correctly
http://rapidshare.com/files/174498448/T ... _v1.11.spk
This is not my script, this is a port of the Original Terracorp Fleet package which Eladan has given permission to port
You can go to the following link for further information of the original file and authors: http://forum.egosoft.com/viewtopic.php?t=146187
I have also added in the extra additional commands from RRRoamer but I am not sure if they are working correctly, I didn't test them.
Current Known issues
There is a known issue with the new way that TC handles colors in scripts. I have had to painstakingly go through the process of testing this out and it has been rather frustrating. The issue is that if I use the original coding from X3R \033Cname\033X the names and ranks will in fact be in color, however, they will not print to the logbook. It will come up as unknown and be blank. I had read the answer to this was to use the [cyan]text[/cyan] coding but this is not entirely accurate. It is true that by using the [cyan]text[/cyan] coding you have messages print to the logbook in color, however, this does not work with names. So if I use this code with names then the name will show up in game like this: [yellow]rank[/yellow][cyan]name[/cyan] So unfortunately to get around this, I had to leave the ranks and names as the default color. However, messages will print to the logbook in color. Until I can get more info on what is the proper way to do this I will have to leave it like this.
Currently the Tender isn't working exactly as it should. I have to look at the coding and attempt to fix it if I can. It does purchase items and seems to be equipping my fighters but it is also buying things which are not necessary. This is most likely just an issue because of the porting. I am going to look into it further.
Not really an issue, but just so you know. When running the fighter base, it will purchase ships which are not outfitted. The tender will equip the M5's with weapons and shielding but it is slow to do it. Therefore, the ships on patrol will most likely NOT engage enemies because they are not outfitted fully. Also, so far from what I have seen the ships were not equipped with engine tuning, rudder optimization and cargo. I don't remember if it was the same originally in X3R or not.
When you set up the Fighter base, make sure to then go into the command console for the station again and choose advanced options. This will allow you to choose what sector you want to patrol. This uses the OLD menu system which X3R uses, but it is fine because it is just one option and it works correctly.
Some fixes which had to be made or are being looked into. I will try to implement them if I can!
1) I had to fix the combat targeting, it had the same problem as the script that Onesch ported. It was not targeting enemies correctly but it is fixed.
2) I am looking into having ships in a TF use jumpdrives (m6 and up)
3) Looking into adding more ships to patrols.
Version Changes
Version 1.11 - Just a small fix. One of the messages was coming up as unknown message.
Version 1.1 fixed issues with the promotion script and names not being generated correctly
Last edited by BlackRain on Thu, 18. Dec 08, 11:20, edited 7 times in total.
-
- Posts: 862
- Joined: Sat, 12. Nov 05, 21:53
Great stuff. Just some thoughts, as you are probably well aware of anyway:
Need to increase or allow changes in patrol size and makeup
Need to fix Fighter Base supply routines.
And if one day, there could be the option for the Task Force to actually go on patrol with its fighters doing their patrols, that would be phenomenal.
Good luck. Wish I knew this scripting stuff, I would be more than happy to help.
Need to increase or allow changes in patrol size and makeup
Need to fix Fighter Base supply routines.
And if one day, there could be the option for the Task Force to actually go on patrol with its fighters doing their patrols, that would be phenomenal.
Good luck. Wish I knew this scripting stuff, I would be more than happy to help.
-
- Posts: 1083
- Joined: Sun, 14. Oct 07, 00:16
How is it different from this script?
http://forum.egosoft.com/viewtopic.php?t=224038
You should pm eladen if you need any questions answered.
http://forum.egosoft.com/viewtopic.php?t=224038
You should pm eladen if you need any questions answered.
" I'm a Sexy Shoeless GOD of WAR " Belkar
-
- Posts: 246
- Joined: Sat, 18. Nov 06, 15:54
-
- Posts: 83
- Joined: Thu, 4. Nov 04, 20:44
-
- Moderator (Script&Mod)
- Posts: 7465
- Joined: Mon, 15. Dec 03, 18:53
The Terracorp Fleet package is far newer then the port that Onesch did of myros' original script. It has more features, more ranks, it also has the Fighter base which will automatically purchase ships and wares to equip your fighters, etc.
Russbo, with an admiral leading your task force fleet you can have as many ships patrolling as you want, it is unlimited. Do you mean the normal combat tour function that you initiate yourself or the Task force that is led by a captain or up rank? Yes, the Fighter base will not be functioning as well as it should yet until I update the supply routines but it does function.
What do you mean the Task force go on patrol with its fighters doing their patrols? The fighters do go on patrol so I am a little confused by this.
Russbo, with an admiral leading your task force fleet you can have as many ships patrolling as you want, it is unlimited. Do you mean the normal combat tour function that you initiate yourself or the Task force that is led by a captain or up rank? Yes, the Fighter base will not be functioning as well as it should yet until I update the supply routines but it does function.
What do you mean the Task force go on patrol with its fighters doing their patrols? The fighters do go on patrol so I am a little confused by this.
-
- Posts: 246
- Joined: Sat, 18. Nov 06, 15:54
-
- Posts: 357
- Joined: Sun, 1. Jul 07, 03:33
-
- Posts: 1083
- Joined: Sun, 14. Oct 07, 00:16
I seriously suggest u pm Eladan. He was in the middle of testing a new patrol script for TCCP(X3R) before TC came out. He was also increasing the size of the patrols, up to 5 ships, and having the M6's to M1's patrol their assigned sectors. There was also plans for an Alert wing that would jump to any of the 5 sectors.
And watch out for the tender. It never did work properly.
Asser69: Its a money pig, Slow to get started but lots of fun. All my X3R games where based around TCCP.
And watch out for the tender. It never did work properly.
Asser69: Its a money pig, Slow to get started but lots of fun. All my X3R games where based around TCCP.
" I'm a Sexy Shoeless GOD of WAR " Belkar
-
- Moderator (Script&Mod)
- Posts: 7465
- Joined: Mon, 15. Dec 03, 18:53
Dminor, eladan said he wont be getting to that anytime soon. It could be several months before he finishes it so we will have to make do with what we have now. I will try to look into updating it. I am not an advanced scripter and am still learning so please be patient. Also, any help is appreciated. I will have the script up within the hour.
-
- Posts: 7168
- Joined: Sat, 7. Jan 06, 16:01
@Blackrain, while you're right that I won't be doing any scripting anytime soon, I'm happy to give you a hand if you need some help getting up to speed. I'm also perfectly fine if you don't want/need that help. 
Quick suggestion - you may not want to use the very latest version for the conversion. You'd need to do a bit of messing around to remove the dependence on the BBS start if you used that, as the BBS doesn't exist in TC.

Quick suggestion - you may not want to use the very latest version for the conversion. You'd need to do a bit of messing around to remove the dependence on the BBS start if you used that, as the BBS doesn't exist in TC.
-
- Moderator (Script&Mod)
- Posts: 7465
- Joined: Mon, 15. Dec 03, 18:53
Thanks Eladan, I could use your help since I am still learning myself. Don't worry about the BBS, I got the script to work just fine by deleting all references to the BBS.
Also, Eladan, tell me more about the Gender patch. I also deleted all references and files pertaining to the Gender patch as it doesn't seem necessary? But I could be wrong.
Also, Eladan, tell me more about the Gender patch. I also deleted all references and files pertaining to the Gender patch as it doesn't seem necessary? But I could be wrong.
-
- Posts: 7168
- Joined: Sat, 7. Jan 06, 16:01
The gender patch personalised the reports and messages a bit better by using gender pronouns. Previously, whenever a pilot was referenced, I would use the name (I think I managed to avoid any use of 'it'
) but it was a little wooden. Sounded much nicer with the gender patch.
Is there an issue with porting it? It's certainly not a necessary component, but it's not a bad addition either.

Is there an issue with porting it? It's certainly not a necessary component, but it's not a bad addition either.
-
- Posts: 357
- Joined: Sun, 1. Jul 07, 03:33
Blackrain, have you looked at unitraders lib he released for color text?
http://forum.egosoft.com/viewtopic.php? ... c&start=15
Not sure if that would help or not for the color problem.
http://forum.egosoft.com/viewtopic.php? ... c&start=15
Not sure if that would help or not for the color problem.
-
- Moderator (Script&Mod)
- Posts: 7465
- Joined: Mon, 15. Dec 03, 18:53
-
- Posts: 357
- Joined: Sun, 1. Jul 07, 03:33
-
- Posts: 1083
- Joined: Sun, 14. Oct 07, 00:16
-
- Moderator (Script&Mod)
- Posts: 7465
- Joined: Mon, 15. Dec 03, 18:53
I didn't think you were being negative at all. There is only so much I can do based on my experience. Eladan is much more experienced then me.
Eladan, I will keep the patrols and such as is (3 ships) If you have already changed this to 5 then if you can send me the file that would be great. Or if you could give me instructions how I could go about that then that would be great too.
Also if you have the changes to the patrols, as in M6 and up going on patrol, etc. finished, please if you can give me the files that would be great too!
Ok the script is out. Please let me know of any problems.
Eladan, I will keep the patrols and such as is (3 ships) If you have already changed this to 5 then if you can send me the file that would be great. Or if you could give me instructions how I could go about that then that would be great too.
Also if you have the changes to the patrols, as in M6 and up going on patrol, etc. finished, please if you can give me the files that would be great too!
Ok the script is out. Please let me know of any problems.
Last edited by BlackRain on Sun, 7. Dec 08, 07:49, edited 1 time in total.