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

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

 |
Posted: Wed, 22. Oct 08, 00:31 Post subject: [SCR] Align ship with ecliptic |
|
|
(Das entsprechende deutsche Topic ist hier)
Many spacefighterflygames have a key to align your ship with "the plane".
True 3D is very hard to display on 2D screens so most games (including X3) use basically flat sectors.
Manual Operation:
- This script provides 1 Hotkey.
- Allowed Targets:
If you have one of your own objects targeted then this one will be rotated.
If not, your own ship will be rotated.
- Press Hotkey 1x:
Ship is rotated and aligned with the plane of the ecliptic.
- Press Hotkey 2x within 3 sec:
Ship is rotated, aligned with the plane of the ecliptic, and turned "north".
- Press Hotkey 3x within 3 sec:
Blahblah . . . "east".
- Press Hotkey 4x within 3 sec:
Blahblah . . . "south".
- Press Hotkey 5x within 3 sec:
Blahblah . . . "west".
- Stuff:
- This script can be interrupted at any time with manual ship control or an autopilot command.
- Stations do not have autopilot commands so you can not interrupt the script for them. If they appear to lock up you should leave the sector and let the script complete.
- The turning speeds are roughly equal to the normal turning speeds of the ships.
- It's nice if you can properly arrange your fleet for a screenshot or just don't want to fly upside down. =)
- If you rotate or position stations it can be pretty useful if you can normalize the orientation of your own ship.
Automatic Operation:
- With an AL Plugin you can set this to run automatically and how often.
- As long as you or the Autopilot control the ship, nothing unusual happens.
- After (setting) seconds of inactivity the playership will be rotated to the default orientation.
If the speed = 0 then it will also be aligned with the plane of ecliptic.
- That way I can conveniently fly my ship from the sector map because the controls are never reversed.
ZIP
Resources used:
1 Hotkey
AL Plugin
Disclaimer:
Rotating objects in the vicinity of other objects may be hazardous to their health. Gazz cannot be held liable for any loss arising directly or indirectly from the use of, or any action taken in reliance on this script.
_________________ My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend.
I haven't lost touch with reality. Reality has lost touch with me.
Last edited by Gazz on Wed, 31. Dec 08, 02:24; edited 1 time in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Khaak_Slayer
Joined: 18 Apr 2004 Posts: 335 on topic Location: Suffolk, UK

|
Posted: Wed, 22. Oct 08, 01:52 Post subject: |
|
|
Thank you very much, this will come very much in handy!
_________________ Rawr. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
corhen

Joined: 16 Oct 2008 Posts: 260 on topic Location: Angle 225.06, Distance: 7,295.43

|
Posted: Thu, 23. Oct 08, 02:46 Post subject: |
|
|
ok, it works ok.
it seems slow, is there a way to have it maneuver quicker?
And the voice is... edgy. Isn't the default voice generated? and if not, maybe have multiple voices (a deeper one, one more intone with the game)
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Enders Wood
Joined: 05 Apr 2004 Posts: 15 on topic

|
Posted: Tue, 30. Dec 08, 18:59 Post subject: |
|
|
Hi
I love your script !!! ... hum... in fact, I whant to love it ^^ but I simply don't found how to use it
I look for all Hotkey unasigned, and nothing, I definitly can't found where to set the key
and I even don't know if I realy add the script.... the installer must do everything fine, many other scripts works even with my French game , but don't know why this one dont...
in other hand, how can we set it as automatic ?
thanks 
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Gazz

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

|
Posted: Tue, 30. Dec 08, 19:14 Post subject: |
|
|
| Enders Wood wrote: |
| and I even don't know if I realy add the script.... the installer must do everything fine, many other scripts works even with my French game , but don't know why this one dont... |
All you need to do is extract the ZIP into the TC Folder.
| Quote: |
| in other hand, how can we set it as automatic ? |
As described in the first post.
AL Plugins are under Gameplay.
_________________ My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend.
I haven't lost touch with reality. Reality has lost touch with me. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
OTAS Employee

Joined: 30 Nov 2008 Posts: 367 on topic Location: A locked filing cabinet in a disused lavatory with a sign on the door saying Beware of the Leopard

|
Posted: Tue, 30. Dec 08, 21:01 Post subject: |
|
|
| Quote: |
| I look for all Hotkey unasigned, and nothing, I definitly can't found where to set the key |
Have you activated the script editor?
If not look in the stickies.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Enders Wood
Joined: 05 Apr 2004 Posts: 15 on topic

|
Posted: Tue, 30. Dec 08, 23:46 Post subject: |
|
|
as I have specify, I have many other mod running so yes, Theresallbewings already done, but not sure this is what you call script editor
found the AL Plugins.... where I have :
Bounty EnhancementOff (too many gold gain lol)
MARS : Not available for AI Ships - v408 (don't know what is it/..)
MARS : BlablaBla
MARS :BlablaBla
MARS :BlablaBla
.... and that's all...nothing about Align...
I have delete and readd the script with the plugin manager... and copy/past files from zip too, to be sure....
I'm sure files are where they must be... but still don't found how to make it work :'(
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Gazz

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

|
Posted: Wed, 31. Dec 08, 02:26 Post subject: |
|
|
If scripts don't show up even though they should, maybe you downloaded the Reunion version.
There are 2 download pages.
_________________ My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend.
I haven't lost touch with reality. Reality has lost touch with me. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Enders Wood
Joined: 05 Apr 2004 Posts: 15 on topic

|
Posted: Wed, 31. Dec 08, 03:09 Post subject: |
|
|
| Gazz wrote: |
There are 2 download pages. |
Arg ! don't see that !!! and yes ! there is no .pck for TC version ^^
Thanks ! It work fine (even if a bit slow like Corhen say, but not a big deal ^^)
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
crimsonhaze
Joined: 31 Dec 2008
|
Posted: Wed, 31. Dec 08, 04:09 Post subject: |
|
|
Thanks, this mod works great! Great tool for idle capital ships, so you can order them to point their turrets at enemy direction. Works well with MARS.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Gazz

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

|
Posted: Wed, 31. Dec 08, 09:54 Post subject: |
|
|
Heh. That's a use I never thought of but yes - you can remote control your other ships to some degree. =)
_________________ My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend.
I haven't lost touch with reality. Reality has lost touch with me. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
klaatu

Joined: 21 Nov 2003 Posts: 270 on topic Location: Ceti-Alpha 5

|
Posted: Wed, 31. Dec 08, 21:37 Post subject: |
|
|
Strange...sometimes this script works for me and other times it doesn't. Sometimes I can press the hotkey and my ship will align with the ecliptic, or turn a direction if pressed multiple times, so it's working. But other times I press the hotkey and absolutely nothing happens. I can press the hotkey multiple times and it says "North", "East", etc. but the ship doesn't change orientation at all. I even tried manually re orientating the ship in case it was already aligned, but still nothing. I'm not absolutely sure, but it seems to start working again at some point, and I'm thinking it's when I change sectors.
Like I said, strange. Oh well, when it works it works well at least. Thanks for that.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Gazz

Joined: 13 Jan 2006 Posts: 9277 on topic Location: Bavaria

|
Posted: Wed, 31. Dec 08, 21:46 Post subject: |
|
|
| klaatu wrote: |
| But other times I press the hotkey and absolutely nothing happens. I can press the hotkey multiple times and it says "North", "East", etc. but the ship doesn't change orientation at all. I even tried manually re orientating the ship in case it was already aligned, but still nothing. I'm not absolutely sure, but it seems to start working again at some point, and I'm thinking it's when I change sectors. |
It's probably working as intended.
The description clearly states when or why the script is interrupted.
_________________ My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend.
I haven't lost touch with reality. Reality has lost touch with me. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
klaatu

Joined: 21 Nov 2003 Posts: 270 on topic Location: Ceti-Alpha 5

|
Posted: Thu, 1. Jan 09, 07:26 Post subject: |
|
|
Yep, could be. Re-reading the description, I wonder if I might have had another of my ships or stations targeted. I suppose I could have been moving one of my own stations around and not even known it! LOL.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Loky77
Joined: 25 Jan 2009 Posts: 110 on topic

|
Posted: Fri, 30. Jan 09, 10:23 Post subject: |
|
|
Great script and nice piece of code !!
May i use it in one of my script conversion ? ( i will only use the rotating part of the code )
Regards
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|