Railgun.oxp v 1.3 now available

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

Moderators: winston, another_commander

User avatar
Grey Area
Competent
Competent
Posts: 32
Joined: Sat Jan 15, 2011 6:57 pm
Location: Manchester UK

Re: Railgun.oxp now available

Post by Grey Area »

I tried to download it, but the Wiki seems to be down..... :(
I said, I've got a big stick....
User avatar
Okti
---- E L I T E ----
---- E L I T E ----
Posts: 700
Joined: Sun Sep 26, 2010 1:51 pm
Location: A GH shop, near witchpoint to Oresrati in Galaxy 8

Re: Railgun.oxp now available

Post by Okti »

Grey Area wrote:
I tried to download it, but the Wiki seems to be down..... :(
Yes it is confirmed wiki is down.
My OXP's
And Latest Mission Coyote's Run
User avatar
Grey Area
Competent
Competent
Posts: 32
Joined: Sat Jan 15, 2011 6:57 pm
Location: Manchester UK

Re: Railgun.oxp now available

Post by Grey Area »

Okti wrote:
Yes it is confirmed wiki is down.
It must have taken a direct hit from the railgun...... 8)
I said, I've got a big stick....
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Railgun.oxp now available

Post by Commander McLane »

As long as the Wiki is down, here's a direct download link: http://www.box.net/shared/i0yg6mpomf
User avatar
Grey Area
Competent
Competent
Posts: 32
Joined: Sat Jan 15, 2011 6:57 pm
Location: Manchester UK

Re: Railgun.oxp now available

Post by Grey Area »

Nice one, Commander. :D
I said, I've got a big stick....
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Railgun.oxp now available

Post by Eric Walch »

Commander McLane wrote:
Thargoid wrote:
The other problem will be bounties of alien ships won't be awarded correctly iirc, but that's an old chestnut that I also know no better way to solve.
I didn't think about that and haven't tested it. You're right, it's an old chestnut, and the problem is of course that the engine doesn't award the bounties correctly.
The inconvenience with thargoids is fixed in 1.74 when I am right. Internally differentiates oolite between bounty and legal_status. They are always the same, except for thargoids and boulders. For boulders the legal_status is always zero and for thargoids its a function of its size. (legal_status is used in the AI command: scanForOffenders.)

Before 1.74 the JS script transferred the legal_status instead of bounty when asking for bounty. That gave a discrepancy between the read bounty and the awarded bounty. For boulders there is still a problem, but easy fixable by dividing by 10 as McLane already does.
Last edited by Eric Walch on Sat Apr 23, 2011 8:38 pm, edited 2 times in total.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Railgun.oxp now available

Post by Thargoid »

One other thing that I was considering for this kind of weapon is to make multiple ones available for the different views. Now that we can differentiate by script which view is in use, that would be quite easily scriptable. At the moment the gun only fires forwards, which is probably a bit of a limitation that doesn't really need to be there.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Railgun.oxp now available

Post by Commander McLane »

Thargoid wrote:
One other thing that I was considering for this kind of weapon is to make multiple ones available for the different views. Now that we can differentiate by script which view is in use, that would be quite easily scriptable. At the moment the gun only fires forwards, which is probably a bit of a limitation that doesn't really need to be there.
True, only the spawning position and orientation would have to change.

There's the question, though, of how it would work in-Ooniverse. Are you thinking about one gun, conveniently firing in whatever direction you're looking at? That isn't how a railgun is supposed to work. Or are you thinking about mounting multiple railguns for the different directions?
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: Railgun.oxp now available

Post by Capt. Murphy »

Just to say I like this a lot - an ideal way to keep the enemies on their toes when the mil laser is cooling. :)
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Railgun.oxp now available

Post by Thargoid »

Commander McLane wrote:
There's the question, though, of how it would work in-Ooniverse. Are you thinking about one gun, conveniently firing in whatever direction you're looking at? That isn't how a railgun is supposed to work. Or are you thinking about mounting multiple railguns for the different directions?
I was going to do it with multiple guns, which can be installed and removed separately (but all using a common ammo pool). But it's your OXP, so your choice...

It may also be worth adding in a safety check to stop firing if ships energy is dangerously low?
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: Railgun.oxp now available

Post by Switeck »

I believe I was seeing exiting hyperspace "rings" around this new railgun OXP when firing it in interstellar space. (obviously near 0,0,0) It was so distracting I couldn't even tell how often I was hitting Thargoids from <4 km out.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Railgun.oxp now available

Post by Cody »

Switeck wrote:
I believe I was seeing exiting hyperspace "rings" around this new railgun OXP when firing it in interstellar space.
Confirmed:

Image Image

This wasn't apparent in the first version of the OXP.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Railgun.oxp now available

Post by JensAyton »

El Viejo wrote:
This wasn't apparent in the first version of the OXP.
Hypothesis: try it near the witchpoint.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Railgun.oxp now available

Post by Cody »

Yep... same thing at the witchpoint.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Railgun.oxp now available

Post by Commander McLane »

Thargoid wrote:
Commander McLane wrote:
There's the question, though, of how it would work in-Ooniverse. Are you thinking about one gun, conveniently firing in whatever direction you're looking at? That isn't how a railgun is supposed to work. Or are you thinking about mounting multiple railguns for the different directions?
I was going to do it with multiple guns, which can be installed and removed separately (but all using a common ammo pool).
In this case it would come in really handy if there was a JS-way of doing multiple installations, just like for lasers. You choose the equipment first, and then the mount direction. Another post-MSNR request, I guess.

Using the same ammo pool would imply that you can't mount different guns in different views, though. After all they use different ammo. It would be either small, medium or heavy everywhere.
Thargoid wrote:
Commander McLane wrote:
It may also be worth adding in a safety check to stop firing if ships energy is dangerously low?[/color]
I'd like to have more opinions on that. Should the gun stop working automatically if you're down to let's say one energy bank? Or is it the user's responsibility to monitor its energy consumption himself; and if you're too trigger-happy, you die? :twisted:
Post Reply