Author Topic: [craft weapon] MoriartyPlasmaCannon (please test for balancing!)  (Read 17113 times)

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
this is WIP, but I thought I'd share it with you. my general aim is to craft a ruleset (or rather several rulesets that combine into one mod) that nerfs plasma weapons in a believable way. this mod modifies the craft plasma weapon:

I never understood why the craft plasma weapon was a beam weapon, while all handheld weapons shoot green globs. also, the taken-from-the-original-files-but-never-used-in-the-original-game UFOpedia text doesn't fit the description of a plasma weapon, instead talking about an imploding gravity field... whatever.

this mod is based on the following assumptions:
- the craft plasma weapon is based on the same technology the handheld plasma weapons use
- it shoots (big) green globs
- the weapon uses elerium for operation, but is made from alien alloys
- plasma dissipates when traveling through the atmosphere, limiting its range

what do you get from this ruleset file?

Plasma Beam is replaced by Plasma Cannon
Plasma Cannon has a range between stingray and avalanche missiles
Plasma Cannon has 30 shots; for each 10 shots, 1 unit of Elerium is needed to recharge
the projectile travels at a high speed (2,5 times the standard speed of a missile or cannon shot)
you need to research elerium and alien alloys before you can build a Plasma Cannon
building a Plasma Cannon doesn't use Elerium, but does use Alien Alloys (15 units)
UFOpedia text is changed accordingly

work to be done:
- new sounds?
(don't know about that, it actually doesn't sound that bad right now)

EDIT: new version is up
EDIT: icons finished! yay! try it out!
« Last Edit: July 24, 2014, 11:32:36 pm by moriarty »

Offline Chiko

  • Colonel
  • ****
  • Posts: 174
    • View Profile
Re: [craft weapon change] MoriartyPlasmaCannon
« Reply #1 on: July 08, 2014, 11:05:24 pm »
Nice. I used to wonder the same. Also, I tried adding a new craft sound but would either not load it or crash the game, I was probably doing something wrong, though. And I haven't made a craft weapon icon yet but from what I read somewhere in the mod wiki, you need to add two images for the weapon. One for BASEBITS.PCK and one for the INTICON.PCK file. I think you can even load the same sprite for both.

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: [craft weapon change] MoriartyPlasmaCannon
« Reply #2 on: July 09, 2014, 01:53:55 am »
ah, I see... I almost got it, see attached .zip file. Unfortunately, the icon for "BASEBITS.PCK" is not exactly the same, but I'm tired right now, and it doesn't look too bad, so I'm posting it even though it's still not quite finished :P

Offline Mackus

  • Sergeant
  • **
  • Posts: 48
    • View Profile
Re: [craft weapon change] MoriartyPlasmaCannon
« Reply #3 on: July 10, 2014, 08:13:36 pm »
Nice. Pretty sensible modification. Is it possible to make UFOs use new projectile instead of beam too?

I wonder is there any consistent reason for Laser Beam to have smaller range and accuracy than Plasma Cannon.

Online Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11731
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [craft weapon change] MoriartyPlasmaCannon
« Reply #4 on: July 11, 2014, 12:05:30 am »
Nice. Pretty sensible modification. Is it possible to make UFOs use new projectile instead of beam too?

+1!
For consistency, and besides I think it'd suit the aliens better.

I wonder is there any consistent reason for Laser Beam to have smaller range and accuracy than Plasma Cannon.

All lasers in the game have smaller accuracy than other weapon types, so it sort of works... (Whether it makes sense or not is another thing.)
As for the range, lasers dissipate quickly in the atmosphere. This is a real life problem.

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: [craft weapon change] MoriartyPlasmaCannon
« Reply #5 on: July 11, 2014, 05:39:52 pm »
All lasers in the game have smaller accuracy than other weapon types, so it sort of works... (Whether it makes sense or not is another thing.)
As for the range, lasers dissipate quickly in the atmosphere. This is a real life problem.

actually, if I'm right, lasers don't dissipate, they are diffused and absorbed, as well as suffering from refractive effects. that is a problem, true, but I think the dissipation that plasma "bolts" (in real-life physics, that should be a "magnetically self-constricting thermal plasma") suffer from is considerably higher.

so, Mackus, you have a valid point, and I completely agree. I'm trying to create a set of mods to make some in-game choices more relevant, and one of them will change the craft laser cannon to a very-high-range, very-high-accuracy weapon. it will still have rather low damage output, and I'm thinking about increasing the reload times, so you can't use it to snipe down any UFO from far away without any danger.


as for changing the UFO weapon behaviour, I honestly don't know if that is externalized (=changeable in the ruleset). if it's hardcoded, it can't be changed easily.

Online Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11731
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [craft weapon change] MoriartyPlasmaCannon
« Reply #6 on: July 11, 2014, 05:47:20 pm »
actually, if I'm right, lasers don't dissipate, they are diffused and absorbed, as well as suffering from refractive effects. that is a problem, true, but I think the dissipation that plasma "bolts" (in real-life physics, that should be a "magnetically self-constricting thermal plasma") suffer from is considerably higher.

Okay, my English vocabulary is failing me when it comes to applied physics. :P But yes, that's what I meant.

Regarding plasma, it behaves strangely in many regards. Since it's mostly pseudoscience (plasma weaponry, not plasma itself), I think we can happily ignore it... Laser weapons on the other hand are pretty well understood.

Finally, would you mind if I add the mod to the FMP?

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: [craft weapon change] MoriartyPlasmaCannon
« Reply #7 on: July 11, 2014, 08:45:55 pm »
Finally, would you mind if I add the mod to the FMP?

by all means, go ahead, add it :)

as for the physics terms (that was almost a dictionary flame, sorry about that), what I meant is that unlike plasma, which truly dissipates because it has particles interacting with the atmosphere, high-power lasers would probably have less trouble passing through atmosphere.
(apparently there are some weird effects with high-power lasers where the transition line between super-heated air and cold air acts like a lens, which diffuses the beam even more, but still, lasers being light beams, they pass through a whole lot of atmosphere with few problems.)

and because they travel at the speed of light, hitting a target should be way easier than with plasma globs (which is probably the most limiting factor for a weapon's useful range - the range at which it can reliably hit a target).
so a "reasonable" laser weapon would have a high range and high accuracy (which must then be balanced by for example low damage or low firing rate or limited ammo for game balance reasons). seeing as we already have a high-range/high-accuracy/high-damage/limited-ammo weapon (the fusion ball), I'd say the craft laser cannon should be low-damage and medium-low-firing-rate. something to soften up the UFO before finishing it with a missile (or plasma cannon), all the while hoping that it doesn't escape because you waited too long. that should make air combat a bit more interesting.


I'm still trying to add the icons for the craft weapons, but I'm running into palette problems again and again. probably because I'm still using The GIMP :P I was unable to extract the craft weapon icons from BASEBITS.PCK and INTICON.PCK, because my version of pckview doesn't display all of the contained icons... and the pictures from https://ufopaedia.org don't use the correct palette. can anybody help me?

I've attached my files, which do show up in the (also attached) mod ruleset, but the colors aren't perfect in-game, even though I've matched them with the corresponding palettes... help is always appreciated :)

Offline redv

  • Colonel
  • ****
  • Posts: 335
    • View Profile
Re: [craft weapon change] MoriartyPlasmaCannon
« Reply #8 on: July 11, 2014, 09:05:37 pm »
What about plasma hovertank?

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: [craft weapon change] MoriartyPlasmaCannon (sprite help needed)
« Reply #9 on: July 11, 2014, 09:15:32 pm »
yeah, I figured as much, but I'm currently too stupid to make it right. what's the best image editor to use? The GIMP is obviously not good.

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: [craft weapon change] MoriartyPlasmaCannon (sprite help needed)
« Reply #10 on: July 11, 2014, 09:18:04 pm »
i use https://www.aseprite.org/ but i am not an accomplished "image maker"

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: [craft weapon change] MoriartyPlasmaCannon
« Reply #11 on: July 11, 2014, 09:22:28 pm »
What about plasma hovertank?

what about it? it already uses the standard "green glob of plasma". do you mean using elerium as ammunition? if so, I guess you have a point there... I'll go right ahead and make a ruleset for it (but it's going to be a separate one, I think)

Online Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11731
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [craft weapon change] MoriartyPlasmaCannon (sprite help needed)
« Reply #12 on: July 11, 2014, 10:04:02 pm »
Thanks for the green light!

and because they travel at the speed of light, hitting a target should be way easier than with plasma globs (which is probably the most limiting factor for a weapon's useful range - the range at which it can reliably hit a target).

I think these globs have to travel really, really fast, effectively also being quite accurate. The reason is, they're not very small, yet they have extremely low density (plasma!), so they'd skyrocket into the stratosphere right after leaving the barrel.

so a "reasonable" laser weapon would have a high range and high accuracy (which must then be balanced by for example low damage or low firing rate or limited ammo for game balance reasons). seeing as we already have a high-range/high-accuracy/high-damage/limited-ammo weapon (the fusion ball), I'd say the craft laser cannon should be low-damage and medium-low-firing-rate. something to soften up the UFO before finishing it with a missile (or plasma cannon), all the while hoping that it doesn't escape because you waited too long. that should make air combat a bit more interesting.

I think it's not far from this already.

I'm still trying to add the icons for the craft weapons, but I'm running into palette problems again and again. probably because I'm still using The GIMP :P I was unable to extract the craft weapon icons from BASEBITS.PCK and INTICON.PCK, because my version of pckview doesn't display all of the contained icons... and the pictures from https://ufopaedia.org don't use the correct palette. can anybody help me?

I've attached my files, which do show up in the (also attached) mod ruleset, but the colors aren't perfect in-game, even though I've matched them with the corresponding palettes... help is always appreciated :)

Sure, I'll give it a go. Give me a few minutes.

[/quote]
yeah, I figured as much, but I'm currently too stupid to make it right. what's the best image editor to use? The GIMP is obviously not good.

Photoshop, duh. :P
« Last Edit: July 11, 2014, 10:08:49 pm by Solarius Scorch »

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: [craft weapon change] MoriartyPlasmaCannon (sprite help needed)
« Reply #13 on: July 11, 2014, 10:20:40 pm »
I think these globs have to travel really, really fast, effectively also being quite accurate. The reason is, they're not very small, yet they have extremely low density (plasma!), so they'd skyrocket into the stratosphere right after leaving the barrel.

you mean from buoyancy? no way. plasma isn't necessarily low density. the high-energy plasma we're talking about here is probably sufficiently compressed to maintain a fusion reaction, otherwise it would cool down in milliseconds (also, if it doesn't have sufficient mass, it wouldn't travel very far (because high drag vs. low momentum). also, the buoyancy effect is probably less than the pull of gravity on a conventional bullet.

if you could fix the sprites, that would be really really cool. :)

Online Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11731
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [craft weapon change] MoriartyPlasmaCannon (sprite help needed)
« Reply #14 on: July 11, 2014, 10:35:20 pm »
If the plasma was so dense, it'd also be really heavy... Or whatever, I don't even care that much, we're not writing an RPG game here.

I attached the sprites to the previous post. They're gifs, because that's what worked for me, but I can save them as png too - I'm just unsure it'll be fine.