20897 Posts in 3507 Topics - by 7110 Members - Latest Member: twodkyle

Author Topic: [Question] Modding Help  (Read 80 times)

voltoth

  • Newbie
  • *
  • Posts: 1
    • View Profile
[Question] Modding Help
« on: October 12, 2017, 04:11:00 PM »
Being somewhat new to modding and tweaking code, specifically, LUA code, I may have missed something here but does anyone know of a way to alter the weapon velocity of projectiles (Cannons / Missiles specifically)?

I would love to make missiles actually viable in this game but the fact is that they just can't keep up with the enemies, even without them being able to boost away. I feel that increasing the projectile speed of the missile itself will go a long ways towards correcting that but I haven't been able to figure out how to do it.

Laserzwei

  • Full Member
  • ***
  • Posts: 207
    • View Profile
Re: [Question] Modding Help
« Reply #1 on: October 12, 2017, 05:40:48 PM »
2 things:
1) Missles also gain speed from the ship that is firing them -> the faster your ship goes the faster your missles fly (This also increases the range)
2) Weapon modding. Get familiar with the documentation. Especially the parts about:
Code: [Select]
1. Inventory
2. InventoryTurret
3. TurretTemplate
4. Weapon
in this order.
also in my profile there is a link to my mod collection. Look into the "Overpowered weaponry" mod [OPW]. it has some examples on how to set parameters for turrets.
My Mod Collection
If you find a bug in one of my mods PM me.
My Github