Author Topic: removing alien clips (among other things)  (Read 5632 times)

Offline RSSwizard

  • Commander
  • *****
  • Posts: 793
    • View Profile
removing alien clips (among other things)
« on: November 07, 2016, 12:47:17 am »
Oooh boy, so one of the things im gonna be doing is removing all of the alien clips, this being a tftd mod I dont see too much problem with it because the sonic weapons are fairly slow firing. Gonna have to go through all the deployments data and change that info.

And im wanting to start giving the aliens human weapons for the early part of the game, but with souped up ammunition you cant produce because they've done funny stuff to it chemically. I figure the human weapons are dangerous enough against your own guys so having an aquatoid with a gas cannon that does 75 HE is going to be raep.

Plus thinking of taking the Beta pre-release xcom Grenade from the tftd bigobs and having that as an advanced alternative to the Sonic Pulser that goes 80 HE. Sorta like having an alien grenade in tftd that isnt as heinous as the pulser. Then later on they upgrade to pulsers.

Specifically thinking of a double barreled rocket launcher so that it can also be used in terror missions, and it launches smaller but equally potent rockets (yes rockets, underwater, and now on land too).

Reason being that whatever automated factories in T'Leth that produce their own stuff wont have a problem churning out 3d molecular printed copies of human tech that they've secretly observed being used for the last 40 years. Along with advanced explosives or even aqua-plastic mono-sharpened projectiles. Also that signal from Cydonia could have had a plethora of information in it gathered on the previous xcom by the alien brain computer.

But to keep the special ammo from being listed on the normal item ufopaedia entries im thinking of making special versions, so that like the russian cold war manufacturing scheme you cant just use their ammo in your guns. Plus maybe gives options to minor-upgrade from the stuff you purchase so you can actually build human-like equipment and repurpose ammunition for it (ie, take Gas Cannon AP rounds, pour 50 man hours and $200 into it and now you've got AP rounds for the Aqua Cannon).

Of course the alien items would be easy to research but they'd go in the alien artifacts section and you'd have no problem picking them up and using them on the battlefield without researching them (the research just allows manufacture).

Terror missions is where you'd normally find the sonic weapons being used because they have infinite ammunition and the idea is to kill as many civilians as possible. They wouldn't ever use the sonic pistols except on ships roughly mid-game, but 0-Tier technology use would have aliens using humanlike equipment across the board except for the biggest ships and the alien colonies.

May also have a human sonic weapons family that doesnt use zrbite but does crap damage. Im thinking of it being an upgrade over gauss and that im going to hit the damage numbers on gauss (like 45/55/65 and make the heavy into a sniper rifle). Maybe


Also thinking of expanding the alien tech items into two or 3 tiers and only giving the most powerful crap to dreadnought, colony and synomium missions:

* DPL and DPLmk2 torpedoes - standard one does 140 HE and the markII does 210 like usual. That way they're still really dangerous but unless you're using the hot ammo you're not going to be able to blow a hole in alien subs (and it limits the hot ammo that gets recovered, so you might have to produce it at a higher material cost).

* Pulser and PulserMk2 grenades - standard goes down to 100 HE but the markII is actually a DPL torpedo converted for primed use (140 HE).


Ive already adjusted some of the craft weapon and sws stuff:
* PW Torpedoes for the displacer now just cost 1 DPL ammo + 1 Aqua Plastic each. This is sensible, they just make a torpedo and stick the warhead part of a DPL on the front of it.

* PWT ammo costs 4 DPL ammo + 1 Aqua Plastic each. That way manufacturing it can draw first from the stock of DPL shots that are piling up, then make you have to manufacture more of those if you want to keep feeding the PWT cannon. I figure a sub-launched PWT is going to be like field artillery compared to small arms fire with respect to the handled version.

===

I may do something similar for UFO defense in which case the aliens are actually using heavy weapons made out of alien alloys so they're light.

And they might have a Blaster style missile launcher that can shoot around corners but doesn't use elerium and only does damage on par with normal rockets. So they field that advantage against you right away. And its only 1x3 inventory like a LAW rocket not a full size launcher.


EDIT:
Along these lines im wondering if its possible to give a ClipSize to a handheld weapon that doesnt use ammunition.

Sort-of like the sonic oscillator or plasma beam craft weapons where they have 100 charges but they dont actually use ammunition.

Because then I could give the alien weapons (and gauss weapons) built in charges use and thats just how many times you can fire it for that mission, and they refresh as soon as the mission is over.

Its an alternative for the infinite gauss so that they have a limit but its reasonable, and if you need to shoot more with it thats just tough because you'll have to borrow a buddies' weapon.

Not really an issue with aliens running out of shots since I dont think ive ever seen tftd aliens go through all 3 sonic cannon clips. But I can easily replace the clips with pulsers so if they truly do run out of ammo they can just start bombarding you (difficult goes to hardmode).
« Last Edit: November 07, 2016, 12:55:32 am by RSSwizard »

Offline R1dO

  • Colonel
  • ****
  • Posts: 442
    • View Profile
Re: removing alien clips (among other things)
« Reply #1 on: November 07, 2016, 11:49:09 pm »
EDIT:
Along these lines im wondering if its possible to give a ClipSize to a handheld weapon that doesnt use ammunition.

Sort-of like the sonic oscillator or plasma beam craft weapons where they have 100 charges but they dont actually use ammunition.

Because then I could give the alien weapons (and gauss weapons) built in charges use and thats just how many times you can fire it for that mission, and they refresh as soon as the mission is over.

Although i'm not really experienced with modding isn't this possible using the following combination (based on the items table in the ruleset pedia).
Code: [Select]
compatibleAmmo =  #E.g an empty list of ID's (you might need a different way of defining it as empty)
clipSize = 100

Offline Starving Poet

  • Colonel
  • ****
  • Posts: 265
    • View Profile
Re: removing alien clips (among other things)
« Reply #2 on: November 08, 2016, 12:36:41 am »
You should be able to just give it a normal clip but make the clips non-recoverable. 

Offline R1dO

  • Colonel
  • ****
  • Posts: 442
    • View Profile
Re: removing alien clips (among other things)
« Reply #3 on: November 08, 2016, 01:16:25 am »
Just did some tests.

It is possible using just:
Code: [Select]
clipSize: 100
e.g. compatibleAmmo from my previous post can be omitted.

This approach will make it a disposable weapon, once all shots are fired the weapon will disappear. If a single shot is still present on battle-end the weapon can be recharged.

Please note if you won't use clips the parameters below must be set for the weapon (unless 0 damage and no audio/video feedback on hit is what you are after)
Code: [Select]
    hitSound: 22                                                             
    hitAnimation: 26                                                         
    power: 99                                                                 
    damageType: 1

Also note that if you are adapting vanilla (clip) weapons it might be required to first delete the weapon before rebuilding it again (ruleset wise), otherwise the default clip might still be used.

You should be able to just give it a normal clip but make the clips non-recoverable. 
Although a valid approach, i don't think this answers the question at hand.
TS wants his troops to use the weapon without reload capability. Non-recoverable clips will limit the initial use of the weapon by humans (ammo must first be manufactured) but after the initial hurdle there is nothing to stop the player from reloading the weapon.

P.s. Please note this is all pure theoretical. Experienced modders like for instance Solarius and Hellrazor are much more knowledgeable when it comes to creating mods and the effects of different rule edits.

Offline RSSwizard

  • Commander
  • *****
  • Posts: 793
    • View Profile
Re: removing alien clips (among other things)
« Reply #4 on: November 09, 2016, 09:18:17 pm »
When you give an HWP a limited number of shots but you dont give it ammunition, it doesnt destroy the HWP or its weapon if you used it up completely (at least ive never seen this happen).

Same deal with Craft Weapons . . . Sonic Oscillator and Plasma Beam . . . if you use up all 100 shots all it does is get reloaded back at the base, it doesnt destroy the weapon.

^ Need to do this to a Handheld weapon.

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Re: removing alien clips (among other things)
« Reply #5 on: November 09, 2016, 09:44:43 pm »
It will destroy the weapon, unlike HWPs and craft weapons, which just are considered out of ammo. This is how single-shot rocket launchers were implemented, for example.

It is indeed odd that it would behave like that, and it would be nice to have the alternative of getting weapons to recharge between battles.

Offline R1dO

  • Colonel
  • ****
  • Posts: 442
    • View Profile
Re: removing alien clips (among other things)
« Reply #6 on: November 10, 2016, 03:00:11 am »
When you give an HWP a limited number of shots but you dont give it ammunition, it doesnt destroy the HWP or its weapon if you used it up completely (at least ive never seen this happen).

Same deal with Craft Weapons . . . Sonic Oscillator and Plasma Beam . . . if you use up all 100 shots all it does is get reloaded back at the base, it doesnt destroy the weapon.

For reference:
Those are 2 specializations of the generic item type. The first one by casting an item into a unit (and reversing it on mission end if it survives), the second one doesn't even involve battle logic since it all happens on the geoscape (plus it does use ammo as far as i know, it is called Zrbite & Elerium respectively).
During battle everything that has shots is considered to be a disposable ammo clip, hence weapons gets destroyed.

^ Need to do this to a Handheld weapon.
It is indeed odd that it would behave like that, and it would be nice to have the alternative of getting weapons to recharge between battles.

Probably your best bet here is to request a new item property, like for instance:
  • ``isReloadable`` to disable weapon reloading when in battlescape.
  • ``destroyEmptyWeapon`` to specify behavior of empty items.
Although that will only solve half of the problem.
The logic on how such an item should be treated when it returns on base (free beer/charge/refill ... or combine multiple partial weapons/items into fewer fully charged ones) can be quite tricky and open to debate.[1]
And that is only the battlescape part. For the geoscape items it needs to be decided if such a property is simply discarded or used in one way or another, since people will surely find a use for that part.

Please do not let the above considerations stop you from making such a request, it only serves as a reminder that "simple" new properties are sometimes more difficult than the first impression.

All in all i do like your idea ... hopefully you can find some (other) creative idea to make it work.

[1]  Search for forum posts on missing clips when single shots are fired from large clips  ::).

Offline RSSwizard

  • Commander
  • *****
  • Posts: 793
    • View Profile
Re: removing alien clips (among other things)
« Reply #7 on: November 11, 2016, 01:19:05 am »
Heh well I guess I could do some funky ufopaedia stuff and retain clips for guys but reword things like this:

"Zrbite acts as a catalyst matrix for lithium deuteride in liquid suspension. This consumes the material slowly, or in some cases all at once, the more aggressive the power generation the faster it is depleted. Put simply it makes cold fusion possible using common nuclear fuel. Such devices, or weapons, can be easily supplied with more than enough fuel though the pressurized canisters, though the nuclear fuel and containers must be prepared and precisely machined for each model."

Which means ultra cheap magazines that hold like 100 shots and actually don't cost any zrbite at all because the material cost is in the weapon (and then with statistical magazine combining basically they never go away and they pile up as a sale item). And I can make the displacer/sonic cost sonic cannon clips for reload too.

And it supports the plot notion that the material will eventually run out, and the equipment itself will someday stop working and no longer provide a tech advantage.

Offline RSSwizard

  • Commander
  • *****
  • Posts: 793
    • View Profile
Re: removing alien clips (among other things)
« Reply #8 on: November 28, 2016, 02:29:51 am »
This is starting to shape up abit now.
Ive decided on making a borderline-hard mod that just goes a different direction on some things. Maybe not quite the same idea as hard mid/late game as other people would make it.

Anyone else can use these ideas if they want, as I may not get it done.

Fundamentally this is like XCom has been back-shelved into bureaucracy hell for the last 35 years since the end of the previous war. The Hyperion was just struck and an ultimatum was delivered to all governments by the aliens. The "only" - experimental Xcom underwater facility - which was maintained for shits and grins by politicians, now has to respond.

You literally start out with not much, only what the crew in the floating base might have had in storage while they found ways to spend their time in (literal backwater) facility they were stationed at. The aquatoids at the hyperion site were poorly armed, oddly enough using what seemed like scavenged human weapons so they were no real challenge for the first encounter.

In order to get the full set of starting items you have to research some database connections and pull up the old files relating to the xcom research from the first war. The only hwp available for sale is a coelecanth with a harpoon gun on it (and its more like a real harpoon than a gun anyway, not many shots) - so you'll have to pull up research files to manufacture alternative turrets for it.

No you dont get a thermal tazer either, you have no way to capture live aliens until you research the old xcom files - pulling up the complicated plans for the stun bombs fired by the small launcher, you can produce the thermal tazers as a melee only variant (the stun technology being known now as "Stasis" and a mysterious technology that still baffles scientists, with the only successful implementations being mechanical reproductions that exactly copy some of the Stun Bomb specifications, and operate at a much lower power level since E115 is gone).

The rest of the world has upgraded alot of stuff, alien alloys are used everywhere in place of standard steel or aluminum construction. Laser weapons are ubiquitous and even upgraded over their original designs. But you cant use them because nobody has given a crap to adapt them to underwater use (but an adapted Aqualaser Rifle does fill the slot as a somewhat okay starting tier weapon after you research it)

Even your soldiers have limited alien alloy personal armor pressed into waterproof plating. However as explained in a fan fiction Alien Alloys corrode when exposed to salt water so a bunch of the stuff that was heavy on that construction cannot be used by xcom. Also the weapons used by the t'leth aliens are stronger and the advantage of having (~40 armor) just doesn't help so much.

you have rocket propelled gyroc pistols (small caliber bolters), but you dont have a rifle version, instead you can research the aqualaser. The gas cannon is there but it only fires explosive rounds, the heavy aqualaser is your answer if you want a hard hitting direct fire weapon.

The only incendiary is an incendiary high explosive torpedo, it explodes and has a higher chance to cause a fire (maybe thats better in that it does both, but fire is only a biproduct of it).

* Bureaucracy Hell
While the storage space that alot of items take up are reduced, the COFN has implemented limitations on item placement within the facility and all alien equipment must be secured in special guarded lockers (which means they take up even more storage space). Though some things are of such small concern they can even be stored in hallways and take up almost no space.
- Xcom is not allowed to sell alien technology to the open market, instead the COFN offers financial rewards in the form of compensation for all alien items they wish to sell which will be held in a secure trust (black ops bunker vault). Which means the sale prices of alien items are not exactly linear to their effectiveness and are much less than might otherwise be expected - and thus it is pretty much unprofitable to manufacture alien weapons for sales. Alien weapons require Zrbite to manufacture anyway, they're the kinda thing you tear apart to get the Zrbite in them, though you can build them too if you're a masochist or you just-plain-need a weapon that does 148 damage.
- Same goes for alien corpses, though more valuable ranked live specimens offer greater compensation since the COFN has their own questions they would like to ask them (or secretly try to use them as bio-engineered weapons of their own). 5K each unless its a prized rank such as navigator or commander.
- Put simply the COFN considers Xcom secondary to their own potential resistance efforts, and wants to USE xcom as a research arm to potentially upgrade all existing forces.


* Saving Graces
You can purchase all clips for reproducable human tech as soon as you have the weapon researched. You can manufacture them too if you want them faster than mail order.

All alien corpses are auto-researched when retrieved, no need to apply research to them. But interrogations take longer. And there's enough extra technology stuff with long research needs that makes up for this.

Base assaults will not be lead by dreadnoughts until late 2nd year.


* Hardmode Zrbite Use
The alien fuel you find on maps is simply that, specially prepared heavy water fusion fuel, you can even manufacture it. The actual Zrbite can only be found in Ion Accelerators, and late game extracted from some items. Zrbite itself isnt depletable within the scope of the game, like the way a displacer only costs zrbite up front.
- But since Zrbite is not found anywhere, and Ion Accelerators are the biggest source of it (50 units per engine you tear apart) that means you're really going to be savoring getting those Engines intact. Why would alien bases have ship engines in them anyways, they're built into the ground so they wont have any Ion Accelerators for you.
- And the Displacers now simply require an Ion Accelerator and aqua plastics to build one. So you may be using Coelecanths late game just because you dont want to expend the resources to replace destroyed displacers.


* Starting Aliens dont even use alien technology.
They use underwater capable weapons similar to the torpedo launcher and gas cannon that use domestic ammunition in order to delay your research into the techs they depend on. Also because humans seem to die really easy to their own (human) weapons anyway. They even use items juiced up with a tiny amount of zrbite so they can toss you empowered grenades that you cant even reproduce (but later it becomes an option, if you want to waste a point of zrbite to make some grenades).
- Since Aquatoids are cloned they are disposable to t'leth and its worth it to delay your efforts.
- Alien weapons take several stages of research to get to now, but at least you dont have to research the clips anymore.
- Theyll even use Blaster Launchers made out of aqua plastics that fire torpedoes with conventional explosives in them. Good luck with that because...


* Explosions cause double health damage.
And will probably knock you unconscious from stun too. You get blown up, you're dead or probably cant be woke up. That way they're incredibly lethal, but I can tune the blast damage to equate what it actually does to destroy scenery (this is a demolitions rating pretty much). Coupled with higher radius reduction (seems 15 is the going rate) to manage blast sizes. And it also means alot of explosives seem to do less than before since they're more potent otherwise.


* Most direct-hit weapons cause Piercing damage.
Projectiles, Lasers, even Gauss cause piercing, but they have armor and wounding modifiers depending on their effectiveness (for example gauss does a little less damage than usual, but it causes fatal wounds bigtime and its 25% more effective against armor). The alien weapons still cause their own damage type, which means against a few alien races you must use their own weapons against them.
- Melee damage is "Antipersonnel", much less effective against armor or hwps, but an excuse to tear your soldiers to pieces from anything that has claws, teeth, drills or tentacles.

* The alien melee weapons (drills) are viable scenery destructors.
They almost always hit because they shoot a 1 range projectile now. Can use them to open up terrain like a lightsaber in most cases. Though in vanilla they almost always hit anyway. This be necessary since you dont get access to the sonic cannon equivalent until mid game.


* Getting rid of Psi/MC
The Psi/MC Skill is going to be used as part of the alien weapons' aiming mechanism (similar to the xpiratez reticulan lasgun) which means the aliens are much better shots with their weapons than you could possibly be.

Since your soldiers dont get MC training they lack an element of the aiming equation for using alien weapons. For you these weapons shoot like pistols, so they're good up close but thats about it. In exchange you can get reconditioned Plasma Weapons now fueled by Zrbite that also work underwater.

Except the aliens actually will still use MC on you. Their skill isnt that great because a little goes a long way for the alien weapon accuracy. And also the TU cost of the alien psi-weapon increases to 70% so they just don't use it as much.

Late game you may get Psychic Nullifying armor that boosts your MC Strength, applying the understandings of the Mind Control and Psi-Lab from the previous war to block out as much mind-affecting interference as possible (though MC technology is different, so the effectiveness is not total).

Ufopaedia will say that Psi-Skill and amps are also a tech that human society has understood now, which helped significantly improve human living conditions over the years in fact. But it has no effect on the t'leth aliens due to their numerous body implants.

(is it possible to make the Psi-Amp/MC Disruptor usable by someone who doesnt have Psi/MC Skill? like make it go off of another skill and be usable by someone who doesnt have training? then I can just make a doo-hicky that has a flat chance of effectiveness against aliens and may only be able to panic them)


* Hard Land City Terror Mission (second year)
The aliens now send Lobstermen death squads to major cities. Civilian tactical command is in full force but they just cant handle the assault, lasers, explosives, and even plasma weapons do almost nothing to lobsters for reasons unknown to civilian law enforcement. The terror is brought to a fever pitch to coerce human governments to fold as the threat to ports, resorts and luxury liners is now brought out into the open streets. Promises are delivered of them constructing interstellar communications to summon their space brothers back from distant stars.

- larger map im thinking 80x80 and 6 floors, 2 stage (second stage the aliens have been cornered to an automated factory, or the underground wastewater system)
- to avoid lagging there are less civilians than id like to include, but they're worth -50 each
- armed civilian faction with laser weapons and even hwps
- 2500 point despawn and -1000 if you cancel the 2nd stage even though there are no civilians in it (idea being if you dont finish the job they have to nuke that area to be sure the threat is extinguished).
« Last Edit: November 28, 2016, 03:01:53 am by RSSwizard »