EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[SCRIPT] Combat Tractor v1.30 [Updated 29/09/06] (M6 in sector survival kit)
Post new topic Reply to topic Goto page 1, 2, 3  Next
View previous topic :: View next topic
Author Message
Bunny



MEDALMEDAL

Joined: 01 Dec 2003
Posts: 1138 on topic

Thank you for registering your game
modified
PostPosted: Sun, 3. Sep 06, 19:35    Post subject: [SCRIPT] Combat Tractor v1.30 [Updated 29/09/06] (M6 in sector survival kit) Reply with quote Print

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
View user's profile Send private message MSN Messenger
D_Zorro





Joined: 06 Nov 2002
Posts: 1572 on topic
Location: The Netherlands
Thank you for registering your game
PostPosted: Sun, 3. Sep 06, 20:58    Post subject: Reply with quote Print

sounds good, how can we test ?? Twisted Evil


_________________
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
View user's profile Send private message
Bunny



MEDALMEDAL

Joined: 01 Dec 2003
Posts: 1138 on topic

Thank you for registering your game
PostPosted: Tue, 5. Sep 06, 14:58    Post subject: Reply with quote Print

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 Smile

Back to top
View user's profile Send private message MSN Messenger
fud





Joined: 25 Jan 2006
Posts: 6990 on topic
Location: IN, USA
Thank you for registering your game
PostPosted: Tue, 5. Sep 06, 15:04    Post subject: Reply with quote Print

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. Very Happy

Back to top
View user's profile Send private message
Bunny



MEDALMEDAL

Joined: 01 Dec 2003
Posts: 1138 on topic

Thank you for registering your game
PostPosted: Tue, 5. Sep 06, 15:41    Post subject: Reply with quote Print

Ship conkers Very Happy

Back to top
View user's profile Send private message MSN Messenger
Augustini
Moderator (Dansk)
Moderator (Dansk)



Joined: 13 Dec 2005
Posts: 1233 on topic
Location: Denmark
Thank you for registering your game
PostPosted: Tue, 5. Sep 06, 15:44    Post subject: Reply with quote Print

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. Very Happy
Could be funny Very Happy Turn the ship and throw the unlucky b***ard cought in the tractor beam to kingdom come !!!!

Back to top
View user's profile Send private message Visit poster's website
vampirecosmonaut





Joined: 17 Aug 2006
Posts: 320 on topic
Location: Space
Thank you for registering your game
PostPosted: Thu, 7. Sep 06, 05:48    Post subject: Reply with quote Print

I really like this mod.
I always wondered why the tractor beam wasn't used for combat. Smile
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. Embarassed

[EDIT] Nevermind, I noticed it writes to your player log. You should, and probably will , Wink 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. Embarassed

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
View user's profile Send private message
Bunny



MEDALMEDAL

Joined: 01 Dec 2003
Posts: 1138 on topic

Thank you for registering your game
PostPosted: Thu, 7. Sep 06, 10:29    Post subject: Reply with quote Print

@vampirecosmonaut
I was using just one command slot to toggle the tractor on or off (my Teladi nature Smile). 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
View user's profile Send private message MSN Messenger
vampirecosmonaut





Joined: 17 Aug 2006
Posts: 320 on topic
Location: Space
Thank you for registering your game
PostPosted: Thu, 7. Sep 06, 17:55    Post subject: Reply with quote Print

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. Very Happy

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. Laughing

[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. Rolling Eyes


_________________
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
View user's profile Send private message
Bunny



MEDALMEDAL

Joined: 01 Dec 2003
Posts: 1138 on topic

Thank you for registering your game
PostPosted: Thu, 14. Sep 06, 16:02    Post subject: Reply with quote Print

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
View user's profile Send private message MSN Messenger
vampirecosmonaut





Joined: 17 Aug 2006
Posts: 320 on topic
Location: Space
Thank you for registering your game
PostPosted: Fri, 15. Sep 06, 01:26    Post subject: Reply with quote Print

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. Smile


_________________
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
View user's profile Send private message
aka1nas





Joined: 07 Jul 2005
Posts: 1377 on topic

Thank you for registering your game
PostPosted: Fri, 15. Sep 06, 01:31    Post subject: Reply with quote Print

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? Twisted Evil

Back to top
View user's profile Send private message
Bunny



MEDALMEDAL

Joined: 01 Dec 2003
Posts: 1138 on topic

Thank you for registering your game
PostPosted: Fri, 15. Sep 06, 10:56    Post subject: Reply with quote Print

@vampirecosmonaut
Well spotted, I'll fix that Smile.

@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
View user's profile Send private message MSN Messenger
Bunny



MEDALMEDAL

Joined: 01 Dec 2003
Posts: 1138 on topic

Thank you for registering your game
PostPosted: Fri, 29. Sep 06, 14:07    Post subject: Reply with quote Print

Something for the weekend

Back to top
View user's profile Send private message MSN Messenger
R.Styles





Joined: 06 Aug 2006
Posts: 248 on topic
Location: Middlewich - UK
Thank you for registering your game
PostPosted: Fri, 29. Sep 06, 16:59    Post subject: Reply with quote Print

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
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Thu, 23. May 13, 03:01

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.24349 seconds, sql queries = 75