Laserzwei Posted March 16, 2017 Share Posted March 16, 2017 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: /railgun: They come with 50% shield pen. They sometimes don't do damage to targets- reason unknown. /rockets: 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: The perfect anti-fighter weapon- or whatever else is in its way :D Unarmed /mining: digs out 2x the displayed amount of Ore! /salvaging: 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 Link to comment Share on other sites More sharing options...
Laserzwei Posted March 16, 2017 Author Share Posted March 16, 2017 -reserved- Link to comment Share on other sites More sharing options...
Enzo Matrix Posted March 16, 2017 Share Posted March 16, 2017 oh wow... could mine a whole asteroid field just sitting there lmao Link to comment Share on other sites More sharing options...
techstepman Posted March 17, 2017 Share Posted March 17, 2017 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. Link to comment Share on other sites More sharing options...
Laserzwei Posted March 17, 2017 Author Share Posted March 17, 2017 The command name is the same as the filename Link to comment Share on other sites More sharing options...
techstepman Posted March 18, 2017 Share Posted March 18, 2017 The command name is the same as the filename so I just type "chaingun" in game and that's it? I don't think so but i'll go try it. Link to comment Share on other sites More sharing options...
Laserzwei Posted March 19, 2017 Author Share Posted March 19, 2017 "/chaingun" commands always start with "/" Link to comment Share on other sites More sharing options...
techstepman Posted March 19, 2017 Share Posted March 19, 2017 "/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. Link to comment Share on other sites More sharing options...
Keklily Posted April 4, 2017 Share Posted April 4, 2017 this would be even better if you could make it so you can customise them. Link to comment Share on other sites More sharing options...
Laserzwei Posted August 7, 2017 Author Share Posted August 7, 2017 updated for 0.12.7 r8782 [Changes] -added /cheat Link to comment Share on other sites More sharing options...
DMCain Posted August 19, 2017 Share Posted August 19, 2017 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. :( Link to comment Share on other sites More sharing options...
Zurini Posted August 19, 2017 Share Posted August 19, 2017 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 Link to comment Share on other sites More sharing options...
Mattoropael Posted August 27, 2017 Share Posted August 27, 2017 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 Link to comment Share on other sites More sharing options...
Zarakynel666 Posted September 11, 2017 Share Posted September 11, 2017 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) Link to comment Share on other sites More sharing options...
nutnnut Posted September 13, 2017 Share Posted September 13, 2017 Idk if linking to another mod is allowed here, but anybody wanting a fully customized turret can check out this little command i (partially)made. You can even change color!!! :D https://www.avorion.net/forum/index.php?topic=3748 Link to comment Share on other sites More sharing options...
fordhamflash Posted April 12, 2019 Share Posted April 12, 2019 This is cool. Question. Is there any reason you couldn't add additional weapons? Plasma weapons, cannons, bolter, lightning, tesla, etc? Link to comment Share on other sites More sharing options...
Laserzwei Posted April 12, 2019 Author Share Posted April 12, 2019 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 Link to comment Share on other sites More sharing options...
fordhamflash Posted April 12, 2019 Share Posted April 12, 2019 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. Link to comment Share on other sites More sharing options...
fordhamflash Posted April 12, 2019 Share Posted April 12, 2019 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. Link to comment Share on other sites More sharing options...
fordhamflash Posted April 13, 2019 Share Posted April 13, 2019 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?????? Link to comment Share on other sites More sharing options...
fordhamflash Posted May 6, 2019 Share Posted May 6, 2019 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). Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now