Is this possible?

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Is this possible?

Post by ADCK »

I have an idea for a ship i'm working on, its a real big ship with a massive cannon on the front.

But this isn't about the ship, it's about missiles.

I was wondering, I have a custom missile (it looks like a green-plasma-bullet-thingy) would it be possible to make a missiles AI not track a target and only fly forward, and either explode on impact or after a certain distance?

The end product would be quite devestating (if it works as i imagine it would) and would look awesome.

Can it be done?
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

your talking about a rocket, or a rail gun aren't you? Missile oxp's have been invented before I would suggest maybe looking at the salvage missile. That has to be pointing at a target to hit it. Also sub munitions have also been created as in missile rack. You might be able to combine and adjust the code to get what you need. If you do and it works a rocketpod oxp would be kind of funky. :D
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Couldn't you just edit the missiles data so that it had terrible pitch and roll performance - that way it would effectively fly straight - I think the nuclear torpedoes are only good against big slow ships for this very reason.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Post by ADCK »

DaddyHoggy wrote:
Couldn't you just edit the missiles data so that it had terrible pitch and roll performance - that way it would effectively fly straight - I think the nuclear torpedoes are only good against big slow ships for this very reason.
Ah of course, I believe you can do 0 pitch/roll as well, thanks that would be a rather simple (and obvious, dunno why i didnt think of it) way of doing it.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

Most of your work has already been done. Daddy mentions nuclear torpedoes, so, simply modify a nuke to serve as the ammo for your railgun. Stick a big flasher on it's warhead end for the glow effect.

EDIT: I think there's a hardcoded limit as to how much missile ammo a ship can carry. I know it tops out at 16 for player ships.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Cmdr Wyvern wrote:
Most of your work has already been done. Daddy mentions nuclear torpedoes, so, simply modify a nuke to serve as the ammo for your railgun. Stick a big flasher on it's warhead end for the glow effect.

EDIT: I think there's a hardcoded limit as to how much missile ammo a ship can carry. I know it tops out at 16 for player ships.
The new limit is 16 (in any one go) but Kaks was pained to point out that replenishment is fully scriptable - so you could script a delay while shifting from internal stores or script replenishment from a supply ship....
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Post by ADCK »

ah yes, replenishment, does any oxp have an exaample of missile replenishment, eg infinite ammo?
User avatar
Sarin
---- E L I T E ----
---- E L I T E ----
Posts: 264
Joined: Sat Sep 13, 2008 11:26 am
Location: Out there, searching for truth

Post by Sarin »

Wait, weren't there some kind of missile packs? Is there some limit to how many missiles can one pack contain?
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

DaddyHoggy wrote:
Cmdr Wyvern wrote:
Most of your work has already been done. Daddy mentions nuclear torpedoes, so, simply modify a nuke to serve as the ammo for your railgun. Stick a big flasher on it's warhead end for the glow effect.

EDIT: I think there's a hardcoded limit as to how much missile ammo a ship can carry. I know it tops out at 16 for player ships.
The new limit is 16 (in any one go) but Kaks was pained to point out that replenishment is fully scriptable - so you could script a delay while shifting from internal stores or script replenishment from a supply ship....
Oooo what's the scripting language for that java?
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

All oolite is javascript (with some legacy exceptions that we dont talk about).

Javascript != java ;)
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

Sarin wrote:
Wait, weren't there some kind of missile packs? Is there some limit to how many missiles can one pack contain?
If I remember right, Thargy made rack-mounted missiles. Each rack mounted on a pylon, and loaded three missiles each. You could mount as many racks as you had free pylons, and in such a way, could carry missiles out the wazoo. It was pretty clever way to work around the 16-round limit.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

Hey I'd pack a rail gun if one was an option. Oh remember to auto detonate the rounds after a certain distance else they will go on forever and slow your machine.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Cmdr Wyvern wrote:
If I remember right, Thargy made rack-mounted missiles. Each rack mounted on a pylon, and loaded three missiles each. You could mount as many racks as you had free pylons, and in such a way, could carry missiles out the wazoo. It was pretty clever way to work around the 16-round limit.
Yup, OXP imaginatively called "Missile Rack", and comes in three flavours for your delectation and delight (downloadable via the links below). Each mini-missile are of lower power than their standard kit equivalent (so as not to unbalance things), but could turn the right ship into a flying missile battery.

On the original topic, have a look also at my Probe Missile OXP. That does the kind of flight that you're after, a quick mod to the scripting/AI would make it just what you're trying to make by going kaboom (with an Earth-shattering kaboom) at an appropriate point rather than scanning and returning.
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

Thargoid wrote:
make it just what you're trying to make by going kaboom (with an Earth-shattering kaboom) at an appropriate point
Suggest not! We don't want another planet killing weapon out there! :roll: :twisted:
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

JazHaz wrote:
Suggest not! We don't want another planet killing weapon out there! :roll: :twisted:
Seriously!

"Hey! Would you mind not blowing up my homeworld? How rude! :grumble: Frakin' Vogons..."
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
Post Reply