Allow the creation of custom radiation types.

Bug #894885 reported by pd
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ares
Wishlist
pd

Bug Description

Including color, max level, etc.

Revision history for this message
DCoder DCoder (dcoder1337) wrote :

Question: what happens to maximum level when two different rad sites overlay the same cell? The rest already works, this bit is the only thing left.

Revision history for this message
Bug Importer (bug-importer) wrote :

[RadType1]
Radiation.Priority=500
Radiation.MaxLevel=500
[RadType2]
Radiation.Priority=750
Radiation.MaxLevel=750
[RadType3]
Radiation.Priority=250
Radiation.MaxLevel=250

If the 3 types all overlap then RadType2 MaxLevel is used.

-or-

[RadType1]
Radiation.Priority=1
Radiation.MaxLevel=500
[RadType2]
Radiation.Priority=2
Radiation.MaxLevel=750
[RadType3]
Radiation.Priority=1
Radiation.MaxLevel=750
[RadType4]
Radiation.Priority=3
Radiation.MaxLevel=250

If the 4 types all overlap then RadType4 MaxLevel is used.
If RadType1 and RadType3 overlap (both Priority=1) then highest MaxLevel is used.

Revision history for this message
DCoder DCoder (dcoder1337) wrote :

There is an additional issue (thanks Fen) - one cell cannot host two Rad Sites at once (a radiation-emitting weapon destroying a Nuke Reactor or so). I cannot fix this quickly, and this level issue is somewhat minor. I'll leave the maximum level global for now.

Revision history for this message
DCoder DCoder (dcoder1337) wrote :

Postponing for the future. No changes will be implemented right now.

Revision history for this message
pd (pdmail) wrote :

I'm wondering where the Radiation tags should go.
RadLevel is a WeaponType tag, but I believe radiation should be on a Warhead instead?

The way I see it, the Weapon is what you fire with, the Projectile is what you fire, and the Warhead determines what happens when the projectile hits something. Therefore, radiation should be on warheads?

Revision history for this message
Marshall (m-edward) wrote :

Yes please, radiation on warheads - then we can have radiation on V3s and generic warhead super weapons. I always hated that radiation was on weapons.

Revision history for this message
Professor_Tesla (professor-tesla) wrote :

Yes, I agree. Radiation should be on warheads.

Revision history for this message
modder666 (modder666) wrote :

Radiation on warheads would be the best way to do this IMO. Seems more logical, as the warhead does damage and radiation is a damage-dealer.

Of course, the radiation damaging WH would need to be specified if it used something other than the default one.

Revision history for this message
Mustafa Alperen SEKİ (mustafaoyunda37) wrote :

I agree rad shuld be on warhead. Rad on weapons blocks me when making Ivan Bombs with Radiation.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.