[SCR] Flare! (v1.30, 22.09.08)

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

User avatar
Gazz
Posts: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

[SCR] Flare! (v1.30, 22.09.08)

Post by Gazz » Sun, 21. Sep 08, 18:52

(Das entsprechende deutsche Topic ist hier.)

Let there be light!

Ever crashed into an asteroid because all you saw was a black spot on the black background?

Image before - after Image
  • There is now a hotkey to... drop a flare 2km behind your ship.
  • This uses up 1 missile.

    Type of used missile and resulting flare duration:

    Code: Select all

    1. Firefly / Feuerfalter   105 s
    2. Dragonfly / Libelle     150 s
    3. Aurora                  150 s
    4. Mosquito                 45 s
    Other missiles are not used.
  • Missiles that "burn longer" also shine a little brighter.
    A mosquito is still far better than no light at all...

    The light grows slightly darker as the flare burns out.
  • If you click multiple times, you use up 1 missile for each click but the flare duration doubles with every click.
    Convenient if you're planning to stay in this sector for a while.
  • If you are targeting one of your own ships, this ship will drop a flare using the same rules.
    Having to transfer the missile to your personal ship before you can launch a flare would be silly...
Image (ZIP)
Last edited by Gazz on Mon, 22. Sep 08, 21:40, edited 4 times in total.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

shilhi
Posts: 640
Joined: Sun, 15. Apr 07, 23:28
x3tc

Post by shilhi » Sun, 21. Sep 08, 21:16

Neat. Thats pretty cool. I've run into stations and asteroids a couple times because I couldn't see them.

And I know stations have that box around them, but I couldn't see how far the parts of it were sticking out, and I ran into that. lol

User avatar
s9ilent
Posts: 2011
Joined: Wed, 29. Jun 05, 01:45
x4

Post by s9ilent » Mon, 22. Sep 08, 00:04

Heh, that's a pretty cool idea.

How come your sun doesn't destroy everything thou?
When ever I accidentally moved a sun to close to a ship (in the galaxy editor) it always made me blow up?

User avatar
Gazz
Posts: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

Post by Gazz » Mon, 22. Sep 08, 07:21

Because... I'm not creating it in the GE? =)

The core function of the script will stay as is but I'll allow more missile types as ammo. At least the dumbfire ones so they would have one purpose in game. =)
Will have to see how it balances out.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

A5PECT
Posts: 4715
Joined: Sun, 3. Sep 06, 02:31
x4

Post by A5PECT » Mon, 22. Sep 08, 07:28

Hmm, could you get an AI-piloted ship to drop a flare under certain conditions?

Say, after losing a certain amount of shields? :wink:
Admitting you have a problem is the first step in figuring out how to make it worse.

User avatar
Gazz
Posts: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

Post by Gazz » Mon, 22. Sep 08, 07:33

I'd rather not.
X3 doesn't handle multiple light sources very well. That's why I went with the "longer burning flare" instead of multiple ones when you use multiple missiles as ammo.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

A5PECT
Posts: 4715
Joined: Sun, 3. Sep 06, 02:31
x4

Post by A5PECT » Mon, 22. Sep 08, 07:35

Ah, okay. A fine script at any rate.

Keep up the good work, I'm expecting it for Terran Conflict. :D
Admitting you have a problem is the first step in figuring out how to make it worse.

User avatar
KilleRTidE
Posts: 276
Joined: Tue, 10. Apr 07, 18:47

Post by KilleRTidE » Mon, 22. Sep 08, 08:59

lol, whay to go Gazz :D

I love it already... My own personal flashlight!

I'm one of those that hits roids with easy, mostly because i like my overtuned ships to ride very fast... Too much fast ;)
Image

User avatar
Gazz
Posts: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

Post by Gazz » Mon, 22. Sep 08, 21:33

Version 1.30 released.

Firefly/Dragonfly now have some kind of purpose in X3.
It's not much but hey...
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

User avatar
Carlo the Curious
Posts: 15622
Joined: Mon, 5. Mar 07, 23:03
x4

Post by Carlo the Curious » Tue, 23. Sep 08, 00:32

neat. But why behind rather than in front?

User avatar
Gazz
Posts: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

Post by Gazz » Tue, 23. Sep 08, 08:06

So you want to see something in front of you.
You light a magnesium torch... and hold it right before your eyes?
Try that some time. =P
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

cale_online
Posts: 448
Joined: Sun, 6. Jul 08, 20:16
x3ap

Post by cale_online » Tue, 14. Oct 08, 15:32

any chance this can be convterted to "headlights"? or wont x3 allow moving light sources?

the ammount of times i've tried hiding behind an asteroid and bumped into it cos its dark is annoying!

or flown at full speed into a mini rock cos it was black, done that alot too!
Big Rich, aka Cosmic Spacehead

Nexuswolf
Posts: 8
Joined: Thu, 29. Jan 09, 02:53

Post by Nexuswolf » Fri, 30. Jan 09, 09:47

I second this request for headlights, maybe a different script or something, would come in useful ^_^
Image

someone else
Posts: 2970
Joined: Sun, 18. Jun 06, 13:37
x3tc

Post by someone else » Wed, 8. Apr 09, 20:55

goood man! that's very good work this!

I always find strange that a hi-tech ship can survive without something to light its surroundings
Trade, Fight, Build, Think, Modify.
Ship Rebalance Mod
OOS Rebalance
Resized Aldrin Big Rock
SIDE/TOP/FRONT Ship Size Comparison
Remember young Padawan: money stolen can be, time cannot.

Tritous
Posts: 879
Joined: Sat, 15. Jan 05, 18:20
x3tc

Post by Tritous » Fri, 24. Apr 09, 08:17

2 days ago my housemate shouted at me "ROCK!"

thud

luckily i was in an otas ship which regenerates, butto be down to 30% hull and being chased by a pirate m2 and co. while I was in a damaged m6 wasnt great.

for some reason when i use this i get the opposite result: the flare creates darkness, it's an anti flare?
Give a man a fire, he'll stay warm for a day
Set a man on fire, he'll stay warm for the rest of his life ;)

Post Reply

Return to “X³: Reunion - Scripts and Modding”