[AL Plugin] Litcube's Kha'ak / Xenon Invasions v15
Posted: Mon, 8. Jan 07, 02:38
Litcube's Kha'ak / Xenon Invasions V15
Updated August 20th, 2007
http://litcube.com/X3/LitcubesKhaakXeno ... onsV15.spk
Since version 14, this script package includes both invasion plugins (you can enable either or), and are both XTM & Vanilla compatible.
The universe, I thought, was a little too safe. And I've always complained in the forums how there's not enough to do with the vast millions of credits / war ships. Or rather, it’s too *easy* to gain vast amounts of credits. Couldn't have done this without Cycrow and Voxol.
Each plugin, while enabled, will, under certain circumstances, launch a Kha’ak or Xenon invasion to a semi-random sector, with semi-random ships. You are sent a distress call upon the launch of the invasion. Upon any of your ships destroying all or some of the invading ships you will be rewarded with both credits and a small notoriety bonus. And a thank you letter. The random timer will then start again.
You will not be paid until all invader ships within the sector have been destroyed. Credit and notoriety rewards depend on the type of ship destroyed.
*ChangeLog At Bottom*
*Upgrading from a previous version*
******************************
Load your save game. Set the plug-in to OFF, wait for 2 minutes for it to unregister itself. Save your game. Quit. Uninstall the previous version using Cycrow's Installer. Load the new version. Load your game.
******************************
If you want invasions, and don’t want the surprise spoiled as to what conditions your character has met, when, or where, or what the invasions will spawn, read no further. Also, know that the conditions will eventually be met by every player, as they’re simply trade and fight ranks. So, spoilers below.
Please post bugs.
**********
The conditions:
- You have achieved trade rank: Economist
- You have achieved fight rank: Fighter Chief
Once these two conditions are met, the game will count down in time before the first invasion.
There is an approx. chance on when the invasions will happen:
Kha'ak:
- ~70% chance anywhere between 10 hours - 24hours.
- ~22% chance anywhere between 18 hours - 30 hours.
- ~6% chance anywhere between 3 hours – 8 hours.
Xenon:
- ~70% chance anywhere between 5 hours -10 hours.
- ~22% chance anywhere between 8 hours - 16 hours.
- ~6% chance anywhere between 1 hours – 2 hours.
Once the time has passed, a number of Kha’ak or Xenon ships will be spawned.
60% chance they will spawn either group 1, 2, or 3 (Easy)
35% chance they will spawn either group 4, 5, or 6 (Difficult)
15% chance they will spawn either group 7, 8, or 9 (Hard)
Groups are as follows, the first ship being the leader, the second its wingmen. Note that the XTM versions also include XTM ships in their spawns not included here. Please see the readme within the SPK file for further details.
Kha'ak:
1: 1-2 Fighters, 6-8 Scouts
1-2 Fighters, 6-8 Interceptors
2: 1-3 Fighters, 6-8 Interceptors
1-2 Fighters, 2-4 Fighters
3: 1 Carrier, 4-6 Scouts
1-2 Fighters, 3-4 Scouts
4: 1 Carrier, 4-6 Scouts
1-2 Fighters, 2-4 Scouts
1-2 Fighters, 2-4 Interceptors
5: 1-2 Carrier, 4-6 Interceptors
1-2 Fighters, 4-6 Scouts
1-2 Fighters, 4-6 Interceptors
6: 1 Carrier, 4-6 Interceptors
1 Destroyers, 4-6 Interceptors
1-2 Fighters, 4-6 Scouts
1-2 Fighters, 4-6 Interceptors
7: 1-2 Carrier, 4-6 Interceptors
1-2 Destroyers, 4-6 Interceptors
1-2 Fighters, 4-6 Scouts
1-2 Fighters, 4-6 Interceptors
8: 2 Carrier, 4-6 Interceptors
2 Destroyers, 4-6 Interceptors
2-4 Fighters, 2-4 Scouts
2-4 Fighters, 2-4 Interceptors
9: 2-3 Carrier, 4-5 Interceptors
2-3 Destroyers, 4-6 Interceptors
1-2 Fighters, 2-4 Scouts
1-2 Fighters, 2-4 Interceptors
Xenon:
1: 1-2 P, 2-5 N
1-2 N, 2-4 N
2: 3-4 P, 2-4 M
1-2 M, 2-4 M
3: 4-5 P, 2-4 M
1-2 P, 2-4 LX
1-2 M, 1-2 M
4: 3-4 P, 2-4 M
2-3 LX, 2-3 L
1-2 M, 1-2 M
5: 2-3 P, 2-4 LX
1-1 J, 2-4 N
6: 1-2 P, 2-4 M
1-2 J, 2-4 N
7: 2-3 P, 2-4 M
2-3 J, 2-4 LX
8: 1-2 P, 2-4 N
1-2 J, 2-4 LX
1-2 K, 2-4 L
9: 2-3 P, 2-4 M
2-3 J, 2-4 LX
2-3 K, 2-4 L
Once the group is spawned, you will receive a distress call from the owner race of the sector in which the spawns took place.
The invasions will only happen in any of the 5 major races sectors. The invasion will not happen in any sector containing a shipyard, or any sectors not found to have any stations.
**Change Log**
V15
- Kills were not being reset properly, causing the player to receive the current reward plus all previous rewards. This has been rectified.
- Kills are now ship specific and are paid differently per ship type instead of class.
V14
- Integrated XTM with Vanilla version. Checks for XTM via XTMOD.ACTIVE global variable.
- Whoopsie! Those noticing long wait times for an invasion noticed a bug. This should be fixed. Follow the updating to new version instructions at the top of this thread to reset this.
V12
- A near complete rewrite of the framework. Smaller, cleaner, faster.
- No more global scripts. Those are messy. Should drastically increase performance
- Optimized attack scripts for performance over realism.
- Added XTM 0.7.2 versions.
V11
- Thanks to goulchewer again, I packaged the scripts incorrectly. Rewards should show up correctly, randomly generated sectors should work. Sounds should now function correctly.
V10
- Removed a testing flag that shows up in the player log. This was embarrasing because it happens to be a swearsie. My sincerest apologies to all who saw this.
V9
- There was a serious error with the global attack scripts run on the spawned ships. Several spawns were taking place when they should not have, and were not terminating properly. For all current users, go into the script editor and choose "Global Scipt Tasks". If there's anything in there, hit the delete key on everyone. This might cause the current spawn to behave poorly, but it will resume properly once the next invasion occurs.
- When capturing a ship, the script would not sense that you have defeated all enemies. I have increased the priority of the capture and it should work properly now. For those currently using captured ships, destroy them, and the reward script should work.
V8
- The previous version what somewhat of a slide show on some spawn groups. Decreased the amount of ships a little and optimized my attack script.
- Rewards much higher.
- Plugin now automatically enables itself on install. Turning the plugin off unregisters the script.
V0.6
-Fixed bug with reward script, now no longer erroneously hands out massive notoriety.
Updated August 20th, 2007
http://litcube.com/X3/LitcubesKhaakXeno ... onsV15.spk
Since version 14, this script package includes both invasion plugins (you can enable either or), and are both XTM & Vanilla compatible.
The universe, I thought, was a little too safe. And I've always complained in the forums how there's not enough to do with the vast millions of credits / war ships. Or rather, it’s too *easy* to gain vast amounts of credits. Couldn't have done this without Cycrow and Voxol.
Each plugin, while enabled, will, under certain circumstances, launch a Kha’ak or Xenon invasion to a semi-random sector, with semi-random ships. You are sent a distress call upon the launch of the invasion. Upon any of your ships destroying all or some of the invading ships you will be rewarded with both credits and a small notoriety bonus. And a thank you letter. The random timer will then start again.
You will not be paid until all invader ships within the sector have been destroyed. Credit and notoriety rewards depend on the type of ship destroyed.
*ChangeLog At Bottom*
*Upgrading from a previous version*
******************************
Load your save game. Set the plug-in to OFF, wait for 2 minutes for it to unregister itself. Save your game. Quit. Uninstall the previous version using Cycrow's Installer. Load the new version. Load your game.
******************************
If you want invasions, and don’t want the surprise spoiled as to what conditions your character has met, when, or where, or what the invasions will spawn, read no further. Also, know that the conditions will eventually be met by every player, as they’re simply trade and fight ranks. So, spoilers below.
Please post bugs.
**********
The conditions:
- You have achieved trade rank: Economist
- You have achieved fight rank: Fighter Chief
Once these two conditions are met, the game will count down in time before the first invasion.
There is an approx. chance on when the invasions will happen:
Kha'ak:
- ~70% chance anywhere between 10 hours - 24hours.
- ~22% chance anywhere between 18 hours - 30 hours.
- ~6% chance anywhere between 3 hours – 8 hours.
Xenon:
- ~70% chance anywhere between 5 hours -10 hours.
- ~22% chance anywhere between 8 hours - 16 hours.
- ~6% chance anywhere between 1 hours – 2 hours.
Once the time has passed, a number of Kha’ak or Xenon ships will be spawned.
60% chance they will spawn either group 1, 2, or 3 (Easy)
35% chance they will spawn either group 4, 5, or 6 (Difficult)
15% chance they will spawn either group 7, 8, or 9 (Hard)
Groups are as follows, the first ship being the leader, the second its wingmen. Note that the XTM versions also include XTM ships in their spawns not included here. Please see the readme within the SPK file for further details.
Kha'ak:
1: 1-2 Fighters, 6-8 Scouts
1-2 Fighters, 6-8 Interceptors
2: 1-3 Fighters, 6-8 Interceptors
1-2 Fighters, 2-4 Fighters
3: 1 Carrier, 4-6 Scouts
1-2 Fighters, 3-4 Scouts
4: 1 Carrier, 4-6 Scouts
1-2 Fighters, 2-4 Scouts
1-2 Fighters, 2-4 Interceptors
5: 1-2 Carrier, 4-6 Interceptors
1-2 Fighters, 4-6 Scouts
1-2 Fighters, 4-6 Interceptors
6: 1 Carrier, 4-6 Interceptors
1 Destroyers, 4-6 Interceptors
1-2 Fighters, 4-6 Scouts
1-2 Fighters, 4-6 Interceptors
7: 1-2 Carrier, 4-6 Interceptors
1-2 Destroyers, 4-6 Interceptors
1-2 Fighters, 4-6 Scouts
1-2 Fighters, 4-6 Interceptors
8: 2 Carrier, 4-6 Interceptors
2 Destroyers, 4-6 Interceptors
2-4 Fighters, 2-4 Scouts
2-4 Fighters, 2-4 Interceptors
9: 2-3 Carrier, 4-5 Interceptors
2-3 Destroyers, 4-6 Interceptors
1-2 Fighters, 2-4 Scouts
1-2 Fighters, 2-4 Interceptors
Xenon:
1: 1-2 P, 2-5 N
1-2 N, 2-4 N
2: 3-4 P, 2-4 M
1-2 M, 2-4 M
3: 4-5 P, 2-4 M
1-2 P, 2-4 LX
1-2 M, 1-2 M
4: 3-4 P, 2-4 M
2-3 LX, 2-3 L
1-2 M, 1-2 M
5: 2-3 P, 2-4 LX
1-1 J, 2-4 N
6: 1-2 P, 2-4 M
1-2 J, 2-4 N
7: 2-3 P, 2-4 M
2-3 J, 2-4 LX
8: 1-2 P, 2-4 N
1-2 J, 2-4 LX
1-2 K, 2-4 L
9: 2-3 P, 2-4 M
2-3 J, 2-4 LX
2-3 K, 2-4 L
Once the group is spawned, you will receive a distress call from the owner race of the sector in which the spawns took place.
The invasions will only happen in any of the 5 major races sectors. The invasion will not happen in any sector containing a shipyard, or any sectors not found to have any stations.
**Change Log**
V15
- Kills were not being reset properly, causing the player to receive the current reward plus all previous rewards. This has been rectified.
- Kills are now ship specific and are paid differently per ship type instead of class.
V14
- Integrated XTM with Vanilla version. Checks for XTM via XTMOD.ACTIVE global variable.
- Whoopsie! Those noticing long wait times for an invasion noticed a bug. This should be fixed. Follow the updating to new version instructions at the top of this thread to reset this.
V12
- A near complete rewrite of the framework. Smaller, cleaner, faster.
- No more global scripts. Those are messy. Should drastically increase performance
- Optimized attack scripts for performance over realism.
- Added XTM 0.7.2 versions.
V11
- Thanks to goulchewer again, I packaged the scripts incorrectly. Rewards should show up correctly, randomly generated sectors should work. Sounds should now function correctly.
V10
- Removed a testing flag that shows up in the player log. This was embarrasing because it happens to be a swearsie. My sincerest apologies to all who saw this.
V9
- There was a serious error with the global attack scripts run on the spawned ships. Several spawns were taking place when they should not have, and were not terminating properly. For all current users, go into the script editor and choose "Global Scipt Tasks". If there's anything in there, hit the delete key on everyone. This might cause the current spawn to behave poorly, but it will resume properly once the next invasion occurs.
- When capturing a ship, the script would not sense that you have defeated all enemies. I have increased the priority of the capture and it should work properly now. For those currently using captured ships, destroy them, and the reward script should work.
V8
- The previous version what somewhat of a slide show on some spawn groups. Decreased the amount of ships a little and optimized my attack script.
- Rewards much higher.
- Plugin now automatically enables itself on install. Turning the plugin off unregisters the script.
V0.6
-Fixed bug with reward script, now no longer erroneously hands out massive notoriety.