 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
Bunny

Joined: 01 Dec 2003 Posts: 1138 on topic

 |
Posted: Sun, 3. Sep 06, 19:35 Post subject: [SCRIPT] Combat Tractor v1.30 [Updated 29/09/06] (M6 in sector survival kit) |
|
|
Combat Tractor v1.30
What it does:
Give an M6, M2, M1 or TL a tractor beam and it will be able to disrupt the flight controls of up to 12 enemy ships within its 4km range.
As the pilots fight for control of their ships they are less able to aim laser weapons or missiles at your ship.
General Features:
- The turbulence effect gets stronger with decreasing range.
- Hotkey enabled with audio confirmation of combat tractor status "Weapon systems working / Weapon systems not working".
If you activate the combat tractor on a ship you are not in then a message is sent to your player log.
- All ship types can be snared with the exception of TL, M2, M1 & M6 (M6 is a special case where it can be snared by a larger ship)
- Since ships are much smaller than stations there is no need to mount the tractor beam in a weapon slot. You just need one in the cargo bay.
- Script goes into sleep mode when OOS or when no enemies are in range
- Script adapts to SETA use/frame rate changes to remain effective in combat
Required Equipment
Tractor Beam (in the cargo hold)
Zip and Cycrow installer spk file bundle
Hosted by Xai Corporation - Download
Version History
1.30 Performance optimised / audio message bug fix
1.20 Performance optimised/Hotkey and audio messages added
1.12 Original release
Notes
This script makes the M6 an effective in sector combat ship again. This is especially the case when fighting Khaak clusters.
**** Before uninstalling this script you should run combat.tractor.removekey from the script editor to unregister the hot key. There will be a confirmation message in your log when this is successful.
text page 8954
command slot - general commands 54
Thanks to Vampirecosmonaut for suggesting the audio codes/hotkey activation
Last edited by Bunny on Fri, 29. Sep 06, 17:05; edited 14 times in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
D_Zorro
Joined: 06 Nov 2002 Posts: 1572 on topic Location: The Netherlands

|
Posted: Sun, 3. Sep 06, 20:58 Post subject: |
|
|
sounds good, how can we test ?? 
_________________ System spec: Pentium (R) D 2.66 Ghz, Ram : 2048 DDR, HD : 250 GIG 7200 RPM intern 8 MB cash
Videocard : Nvidia Geforce 8800 GTS 320mb : Realtek
Laptop : AMD athlon 64 3200 + 1024 DDR 80 gig HD Conexant AMC Audio, Ati mobility Radeon Express 200 |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Bunny

Joined: 01 Dec 2003 Posts: 1138 on topic

|
Posted: Tue, 5. Sep 06, 14:58 Post subject: |
|
|
Here we go, first slightly nerfed version with a 4km range ( I am still balancing it)
The following is worth trying out
1. Find a medium sized khaak cluster 13 M5s and a M3
2. Switch on the combat tractor
3. Take out the M3 and one M5
4. Stop you engines
5. Turn off the combat tractor for a couple of seconds...then quickly switch it back on 
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
fud
Joined: 25 Jan 2006 Posts: 6990 on topic Location: IN, USA

|
Posted: Tue, 5. Sep 06, 15:04 Post subject: |
|
|
Interesting... Very cool idea.
Now if it were possible to "snare" a small ship, and slam it into another ship, I'd personally wet myself. 
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Bunny

Joined: 01 Dec 2003 Posts: 1138 on topic

|
Posted: Tue, 5. Sep 06, 15:41 Post subject: |
|
|
Ship conkers 
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Augustini Moderator (Dansk)

Joined: 13 Dec 2005 Posts: 1233 on topic Location: Denmark

|
Posted: Tue, 5. Sep 06, 15:44 Post subject: |
|
|
| fud wrote: |
Interesting... Very cool idea.
Now if it were possible to "snare" a small ship, and slam it into another ship, I'd personally wet myself.  |
Could be funny Turn the ship and throw the unlucky b***ard cought in the tractor beam to kingdom come !!!!
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
vampirecosmonaut

Joined: 17 Aug 2006 Posts: 320 on topic Location: Space

|
Posted: Thu, 7. Sep 06, 05:48 Post subject: |
|
|
I really like this mod.
I always wondered why the tractor beam wasn't used for combat.
MY question is this though: How can you tell if it's on or not?
I just have a command to enable it. I doesn't change to disable and there's no way I can tell if it's on or not. In other words, is it my system lagging or is it the tractor beam thingie.
[EDIT] Nevermind, I noticed it writes to your player log. You should, and probably will , change it to say if it's on or not in a release version.
[EDIT]
I changed "combat.tractor.toggle" to this. It's more gooder.
Ok, I shut up now.
| Code: |
001
002 if not [THIS] -> is script 'combat.tractor.mainscript' on stack of task=315
003 [THIS] -> start task 315 with script 'combat.tractor.mainscript' and prio 0: arg1=null arg2=null arg3=null arg4=null arg5=null
004 = speak text: page=13 id=131 priority=0
005 = speak text: page=13 id=1359 priority=0
006 = speak text: page=13 id=1352 priority=0
007 else
008 [THIS] -> set local variable: name='CombatTractorState' value=0
009 = speak text: page=13 id=131 priority=0
010 = speak text: page=13 id=1359 priority=0
011 = speak text: page=13 id=1354 priority=0
012 end
013 return null
|
_________________ The first documented attempt in human history to use a rocket for spaceflight
was made in the 16th century by a Chinese Ming dynasty official named Wan Hu.
The resultant explosion presumably killed him. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Bunny

Joined: 01 Dec 2003 Posts: 1138 on topic

|
Posted: Thu, 7. Sep 06, 10:29 Post subject: |
|
|
@vampirecosmonaut
I was using just one command slot to toggle the tractor on or off (my Teladi nature ). There should be a message in the log that says if it is on or off. Anyway your code is a better solution so I'll weld it in.
Cheers
I think the tractor settings at the moment are fine for Khaak but a bit of overkill for pirates.
Anyone got comments about game balance of combat with this script?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
vampirecosmonaut

Joined: 17 Aug 2006 Posts: 320 on topic Location: Space

|
Posted: Thu, 7. Sep 06, 17:55 Post subject: |
|
|
I was thinking also that this should be a hotkeyed command, so that when it's activated it doesn't say anything about the autopilot being activated. I got tired, so I didn't do it for my copy. But I must say, I really like this script idea.
As far as balance is concerned, I think the 4 km range is fine. That makes it easier to catch faster ships. But I did have quite a few pirate harriers hopelessly twitching in front of me. There really wasn't anything that they could do while I shot them up with BHEPTs. I probably could have hit them with PPCs.
[EDIT] Made it a hotkey, and been using script with my Paranid M2.
Makes life alot easier for the larger ships and makes flak guns much more useful. The 4 km range allows ships to escape from the beam, so I think the range is good. I suppose if you wanted to be a stickler for balance you could halve the effect on ships and lessen the range by about 1 km. 
_________________ The first documented attempt in human history to use a rocket for spaceflight
was made in the 16th century by a Chinese Ming dynasty official named Wan Hu.
The resultant explosion presumably killed him. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Bunny

Joined: 01 Dec 2003 Posts: 1138 on topic

|
Posted: Thu, 14. Sep 06, 16:02 Post subject: |
|
|
Updated 1.20 Beta-
- Hotkey and audio added
- Remains effective when SETA is on or if the framerate is low.
- script sleeps OOS or when no enemy is about
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
vampirecosmonaut

Joined: 17 Aug 2006 Posts: 320 on topic Location: Space

|
Posted: Fri, 15. Sep 06, 01:26 Post subject: |
|
|
I downloaded the new version and it's looking pretty good.
My only suggestion would be that on the hotkey activation put a conditional that checks to see if the playership has a tractor beam in the cargo bay. If you use the hotkey without a tractor beam in the cargo bay, your ship still says "weapon systems working". Maybe just put a quick check with a goto to the "off" toggle.
P.S. Thanks for the credit in the Readme, that was very thoughtful. 
_________________ The first documented attempt in human history to use a rocket for spaceflight
was made in the 16th century by a Chinese Ming dynasty official named Wan Hu.
The resultant explosion presumably killed him. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
aka1nas
Joined: 07 Jul 2005 Posts: 1377 on topic

|
Posted: Fri, 15. Sep 06, 01:31 Post subject: |
|
|
Does this script only work for the player ship or can I equip other ships in my fleet with tractor beams and use them as interdictors? 
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Bunny

Joined: 01 Dec 2003 Posts: 1138 on topic

|
Posted: Fri, 15. Sep 06, 10:56 Post subject: |
|
|
@vampirecosmonaut
Well spotted, I'll fix that .
@aka1nas
Yes you can use this on any big ship you have. Ths script was designed to reinstate the M6 as a useful in sector ship.
When you switch on the tractor in a ship you are not in then a message gets sent to your player log. The audio messages are only used for the ship you are in.
Note on performance:
At the moment the framerate drops a bit while a snared ship is being hit with laser fire. Drawing sparks on a shaking ship seems to be the reason why. So, this can be improved by increasing the snare script wait time while the ships shields are down or dropping. I'll add this in the next version.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Bunny

Joined: 01 Dec 2003 Posts: 1138 on topic

|
Posted: Fri, 29. Sep 06, 14:07 Post subject: |
|
|
Something for the weekend
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
R.Styles

Joined: 06 Aug 2006 Posts: 248 on topic Location: Middlewich - UK

|
Posted: Fri, 29. Sep 06, 16:59 Post subject: |
|
|
any chance, this script could be used to drag a ship into your docking bay? to get yourself a new ship & a new slave?
if the ship fits of course, otherwise it'll just ram into yours.
_________________ Why did they call it "Windows"?
So that you know where to throw it out of. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|