Jump to content
Laserzwei

[MOD][OPW] Overpowered Weaponry

Recommended Posts

This mod is not up to date anymore.

For an up to date weapon modification example look here:

https://steamcommunity.com/sharedfiles/filedetails/?id=1682482035

 

armed

/laser:

 

hxArdwm.png

 

/railgun:

 

VmubFQY.png

They come with 50% shield pen. They sometimes don't do damage to targets- reason unknown.

 

/rockets:

 

S69n6Si.png

The reach of the rockets is displayed wrong. Their reach depends on velocity times lifetime and has a grand total of 30km at 15sec. Lifetime.

 

/chaingun:

 

BKGKNlw.png

The perfect anti-fighter weapon- or whatever else is in its way :D

 

 

Unarmed

/mining:

 

j2gRTtI.png

digs out 2x the displayed amount of Ore!

 

/salvaging:

 

MzSFvaM.png

salvages 2x the worth of an component!

 

 

/cheat  gives easy access to:

Entity():addScript("data/scripts/lib/entitydbg.lua")

 

 

I used Ohm/DPS for displaying the stats.

The Bonus Effects are randomly applied.

 

The reasons behind this mod are threefolded:

1) Server admins might want to have such OP wepons.

2) I needed weaponry to easily test the destruction of strong enemies.

3) Showing how to mod weapons for other modders.

 

installation:

The mod consists only of commands.

Therefore all scripts belong into /Avorion/data/scripts/commands/. By default they are only availabe to admins(or the player of an singleplayergame)

 

Version history

--1.1

  -added /cheat

--

-release

 

License

Public Domain

Share this post


Link to post
Share on other sites

I'd like to test this but...whats the actual command? Excuse me im quite new to this game so could someone please write down the command? I cant figure out what to type.

Share this post


Link to post
Share on other sites

"/chaingun"

commands always start with "/"

 

thanks man...most commands are a bit more than just a word so I though it would be something else than just that. Anyway thanks again and please excuse the noobness.

Share this post


Link to post
Share on other sites

this would be even better if you could make it so you can customise them.

 

I would like to see this as well.  I've been trying to figure it out on my own, but all I've done is break stuff.  :(

 

Share this post


Link to post
Share on other sites

Why shouldn you coustemize them? you can even open the commands with editor and there you can change the numbers or Materials of the weapon which you would like.

 

 

sry bad eng

Share this post


Link to post
Share on other sites

Why shouldn you coustemize them? you can even open the commands with editor and there you can change the numbers or Materials of the weapon which you would like.

 

 

sry bad eng

 

You can't:

  • Select some of the bonus stats (extra shield/hull damage, etc.) (A lot of them are overrode by the stats enforced by the script, but some aren't)
  • Select the model used (i.e. how many barrels, the type of barrel and how they're arranged)

 

I have however found a way to force synchronized shooting for multi-barrel turrets (or force it off to increase RoF) by adding this line:

turret.simultaneousShooting = true

Share this post


Link to post
Share on other sites

This may (will) sound stupid, but i haven't installed a mod before, and i cant work out how to go from here to weapons in game. I thought i did it right, but then nothing happened server side. (i am of course admin on the said server)

Share this post


Link to post
Share on other sites

This is cool.

 

Question. Is there any reason you couldn't add additional weapons? Plasma weapons, cannons, bolter, lightning, tesla, etc?

This mod is a proof-of-concept to show modders, what and how to do weapon modding. It's quite dated (from March 2017!) and will be deprecated in 0.21[current Beta], where the weapon API has changed. For now it still works with 0.20.

I may pick it back up, when the Modding-Workshop-Update (either 0.22 or 0.23) will hit

Share this post


Link to post
Share on other sites

Bahhh! Great! I spent about 14 hours yesterday looking at all that code!

 

I have now figured out how to generate any type of customized turret which is cool. I was going to work on fighters and torpedos as well.

 

HUGE learning curve for me, but fun stuff.

 

P.S. Your mods are awesome. Thanks.

Share this post


Link to post
Share on other sites

Laserzwei - Can I ask you a fragen?

 

I'm trying to figure out how to generate a custom coaxial weapon. Like I said in the prior post, I have pretty much figured out how to generate any type of custom turret. From I can tell, a coaxial weapon is pretty much a "toggle" (either true or false) and of course there are damage adjustments, etc.

 

But I can't figure out how to "toggle" on the coaxial weapon.

 

My coding background basically consists of writing games in BASIC back in high school (errr, 30+ years ago) so this is all a bit over my head, but fun to try to figure out.

Share this post


Link to post
Share on other sites

Laserzwei - Can I ask you a fragen?

 

I'm trying to figure out how to generate a custom coaxial weapon. Like I said in the prior post, I have pretty much figured out how to generate any type of custom turret. From I can tell, a coaxial weapon is pretty much a "toggle" (either true or false) and of course there are damage adjustments, etc.

 

But I can't figure out how to "toggle" on the coaxial weapon.

 

My coding background basically consists of writing games in BASIC back in high school (errr, 30+ years ago) so this is all a bit over my head, but fun to try to figure out.

 

Actually, I think I figured it out!!!

 

But now the next question -- how to customize torpedos??????

Share this post


Link to post
Share on other sites

This is cool.

 

Question. Is there any reason you couldn't add additional weapons? Plasma weapons, cannons, bolter, lightning, tesla, etc?

This mod is a proof-of-concept to show modders, what and how to do weapon modding. It's quite dated (from March 2017!) and will be deprecated in 0.21[current Beta], where the weapon API has changed. For now it still works with 0.20.

I may pick it back up, when the Modding-Workshop-Update (either 0.22 or 0.23) will hit

 

So would this not work anymore? I'm just trying to learn enough to make my own custom weapons. I've had a bit of success but did read about some changes with the API. Honestly, I can't figure out what those changes are (because there's no sample mods for me to look through).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...