OpenXcom Forum

Modding => OXCE Suggestions NEW => OpenXcom Extended => OXCE Suggestions OK => Topic started by: wcho035 on September 01, 2019, 01:25:36 pm

Title: [Suggestion] Radiation damage from Nuclear weapons (custom smoke types)
Post by: wcho035 on September 01, 2019, 01:25:36 pm
Hey guys, I know I propose a lot of new features already, so this is my final one, I want it to be on record.

I have some weapons in my mod inventory like nuclear weapons. Unfortunately, after the initial explosion, there is no residual radiation from the weapon that would leave behind continuous terrain damage, like what fire does.

So can somebody code.

Allowresidualradiationdamagefromblastradius=yes.

This would be treated like the fires from an incendiary blast radius, but instead of snuffing out after two turns. The damage retains continously in the area for the rest of the battle. It would have rising smoke particles and if a soldier or unit walk into it without wearing certain armor, it receives damage until it leaves the blast area.

Also include.

Damagefromradiation=value      (How much the radiation from blast radius does)

So in the armorcode, it should have

Radiationimmune=yes in the armour section.

That is all! Thank you!


Title: Re: Radiation damage from Nuclear weapons.
Post by: The Martian on September 01, 2019, 01:54:45 pm
If smoke was somehow configurable and there was the ability to make different kinds of smoke, I believe it may be able to function as you describe so long as you could alter:
. If the 'smoke' effect can spread.
. Duration the effect lasts.
. Amount the 'smoke' effect decreases by each turn.
. Amount that the effect impairs vision.
. etc.

If the 'smoke' effect was paired with a damage type other than smoke I believe that would cover your "Radiationimmune" requirement as armor could be set to be 100% resistant to it.

Being able to create alternate versions of fire/smoke/etc would be useful in my opinion, I'm not sure if that is what you're after though.

Do you mean that the unit takes damage if it is still in the blast zone's area of effect at the end of turn or just the act of walking through the effected radiation causes the unit to take damage per step?
Title: Re: Radiation damage from Nuclear weapons.
Post by: wcho035 on September 01, 2019, 02:13:28 pm
I am happy with the current smoke particles as it is, because a nuke explosion it is like a HE explosion.  The blast radius, if anyone is inside of it, will receive continuous damage unless you leave the radius or wear protective armour.