[OXP Request] Reversed Engineered Thargoid Laser

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

Moderators: winston, another_commander

Nexus-Hex
Competent
Competent
Posts: 44
Joined: Sat Dec 31, 2016 5:36 pm

[OXP Request] Reversed Engineered Thargoid Laser

Post by Nexus-Hex »

First of all, I'm not talking about the real thargoid laser.

I've been reading about having a thargoid laser in your ship. I know it doesn't work with player ships. But that's totally understandable.

Instead of trying to use an alien weapon in our puny human ships, why don't we copy it and make a working prototype?

If we do it, we'll be doing the same GalCop did with Quirium when they first discovered it on a Thargoid ship.

I think it could be done by making a ordinary laser green and then copying the parameters of the thargoid laser into it like laser damage, temperature, etc. This would be like a reverse engineered thargoid laser.

What do you think?
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: [OXP Request] Reversed Engineered Thargoid Laser

Post by Cody »

Apart from its 'omnidirectional' capability, isn't the Thargoid laser inferior to the military laser?
Making a laser green is trivial, btw - any colour you like! Mine are green, as it happens.
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!
Nexus-Hex
Competent
Competent
Posts: 44
Joined: Sat Dec 31, 2016 5:36 pm

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Nexus-Hex »

Cody wrote:
Apart from its 'omnidirectional' capability, isn't the Thargoid laser inferior to the military laser?
Making a laser green is trivial, btw - any colour you like! Mine are green, as it happens.
Is it inferior to the Millitary Laser?
I have seen it take down shields very fast.
Imagine if we have this technology, we would destroy the Thargoids.

(I roleplayed a bit. Sorry :wink: )
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Norby »

If auto-aim is not needed then it is easy, just put the followings into an equipment.plist:

Code: Select all

(
	(
		10, 10000, "Reversed Engineered Thargoid Laser",
		"EQ_WEAPON_CANNON_REV_THARGOID_LASER",
		"Captured Thargoid weapon, NOT self-aiming.",
		{
			available_to_all = true;
			condition_script = "oolite-conditions.js";
			weapon_info = {
				range = 17500;
				energy = 1.1;
				damage = 12.5; //change this to 60 to get a Laser Cannon
				recharge_rate = 1.0;
				shot_temperature = 8.0;
				color = "greenColor";
				threat_assessment = 0.5;
			};
		}
	)
)
In this form this is about 1/3 as strong as a Pulse laser (half speed and less damage), better in range only.

I can imagine it with higher damage like bundle more captured barrels into one weapon. For example 60 make it as strong as a Beam laser but put all power into one big shot as [wiki]Laser Cannons[/wiki]. I added the _CANNON_ part into the eq key due to the cannons oxp use it to detect the high punch weapons, where NPCs can decide to eject if energy is low to prevent the last lethal shot.

If the damage is raised but temp is not then it could be a good alternative of Beam laser which almost never overheat. The price could be the same (1000cr) but need higher techlevel (11), I set these above.
Nexus-Hex
Competent
Competent
Posts: 44
Joined: Sat Dec 31, 2016 5:36 pm

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Nexus-Hex »

Norby wrote:
If auto-aim is not needed then it is easy, just put the followings into an equipment.plist:

Code: Select all

(
	(
		10, 10000, "Reversed Engineered Thargoid Laser",
		"EQ_WEAPON_CANNON_REV_THARGOID_LASER",
		"Captured Thargoid weapon, NOT self-aiming.",
		{
			available_to_all = true;
			condition_script = "oolite-conditions.js";
			weapon_info = {
				range = 17500;
				energy = 1.1;
				damage = 12.5; //change this to 60 to get a Laser Cannon
				recharge_rate = 1.0;
				shot_temperature = 8.0;
				color = "greenColor";
				threat_assessment = 0.5;
			};
		}
	)
)
In this form this is about 1/3 as strong as a Pulse laser (half speed and less damage), better in range only.

I can imagine it with higher damage like bundle more captured barrels into one weapon. For example 60 make it as strong as a Beam laser but put all power into one big shot as [wiki]Laser Cannons[/wiki]. I added the _CANNON_ part into the eq key due to the cannons oxp use it to detect the high punch weapons, where NPCs can decide to eject if energy is low to prevent the last lethal shot.

If the damage is raised but temp is not then it could be a good alternative of Beam laser which almost never overheat. The price could be the same (1000cr) but need higher techlevel (11), I set these above.
Man, you're awesome.
I'm gonna release this as an OXP.
I'll credit you.

BTW, How do you make that box and green text?
I'm quite new to the formatting of this forum.
Last edited by Nexus-Hex on Mon Jan 02, 2017 11:42 pm, edited 1 time in total.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Norby »

Nexus-Hex wrote:
I have seen it take down shields very fast.
Mainly because all shot will hit until you are within range.
Nexus-Hex wrote:
Imagine if we have this technology, we would destroy the Thargoids.
Then add a "Heavy Thargoid Laser" also where damage and temp are raised equally, for exapmle 4 times more (240 damage and 32 temp). It would be very powerful: destroy small ships with a single shot, even a Thargoid need 3 hits only. It could have the same techlevel but much more cost (20k?). I suggest to restrict it over 250t ship mass (for Python, Anaconda and large oxp ships only) like a Vulcan Cannon.
Nexus-Hex wrote:
How do you make that box and green text?
Highlight some of your typed text then press the "Code" button over the input area. Test the result with the "Preview" button below before submit and adjust if needed. Url and Img buttons are similar useful ones.
Nexus-Hex
Competent
Competent
Posts: 44
Joined: Sat Dec 31, 2016 5:36 pm

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Nexus-Hex »

Norby wrote:
Nexus-Hex wrote:
I have seen it take down shields very fast.
Mainly because all shot will hit until you are within range.
Nexus-Hex wrote:
Imagine if we have this technology, we would destroy the Thargoids.
Then add a "Heavy Thargoid Laser" also where damage and temp are raised equally, for exapmle 4 times more (240 damage and 32 temp). It would be very powerful: destroy small ships with a single shot, even a Thargoid need 3 hits only. It could have the same techlevel but much more cost (20k?). I suggest to restrict it over 250t ship mass (for Python, Anaconda and large oxp ships only) like a Vulcan Cannon.
Nexus-Hex wrote:
How do you make that box and green text?
Highlight some of your typed text then press the "Code" button over the input area. Test the result with the "Preview" button below before submit and adjust if needed. Url and Img buttons are similar useful ones.
I think I can release it as an OXP.
I'll credit you.
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: [OXP Request] Reversed Engineered Thargoid Laser

Post by Cody »

The 'icode' button is also handy for short, in-line code - planetinfo.plist for example.
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
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Norby »

Another line (after color):

Code: Select all

            is_mining_laser = 1;
All laser cannons break asteroids also, they should due to the damage of a Mining laser is 50.
Nexus-Hex
Competent
Competent
Posts: 44
Joined: Sat Dec 31, 2016 5:36 pm

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Nexus-Hex »

Little question:
The Default Thargoid Laser is:
• A pulse laser?
• A laser beam?
Nexus-Hex
Competent
Competent
Posts: 44
Joined: Sat Dec 31, 2016 5:36 pm

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Nexus-Hex »

By the way, I need someone who can make my idea come true.
I have even a story for the RETL.
But I need a coder.
I don't know how to code or anything.
Please.

I just know how to edit some values in OXPs and that's all.
I don't know how to script.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Smivs »

Nexus-Hex wrote:
I don't know how to script.
Most of the OXP authors here (myself included) learnt their scripting making OXPs. This would be a good place to start for you, as it is relatively straight forward. Find an OXP that does something similar to what you want and pick it apart, try to get a beginning of understanding, then start trying a few things.
I don't expect anybody has the time to take on a project for somebody else, but you will get plenty of help and advice, so have a go and ask when you need to. You will probably pick things up quite quickly, and ultimately doing it yourself will always be much more satisfying.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
tsoj
Deadly
Deadly
Posts: 199
Joined: Wed May 18, 2016 8:19 pm
Location: Berlin
Contact:

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by tsoj »

Is there any JavaScript property for ships that has the heading for a lasermount like the FORWARD_WEAPON or a method that changes it?
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Smivs »

Check out the Oolite javascript pages on the wiki. There is a lot there and to start with it can seem a bit daunting and confusing, but it is a goldmine of information.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Nexus-Hex
Competent
Competent
Posts: 44
Joined: Sat Dec 31, 2016 5:36 pm

Re: [OXP Request] Reversed Engineered Thargoid Laser

Post by Nexus-Hex »

Smivs wrote:
Check out the Oolite javascript pages on the wiki. There is a lot there and to start with it can seem a bit daunting and confusing, but it is a goldmine of information.
OK. I'll try.
By the way, how can I make that when you buy the equipment pops up a screen containing something written?
Post Reply