MinimumCollisionSize

MinimumCollisionSize

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

MinimumCollisionSize

Post by KDR_11k »

Proposed: A tag that defines the minimum size of an object a unit or projectile can collide with. Projectiles that collide with something smaller than that do their damage to it but travel on as if they were noexplode=1. The idea is that large units that tower over small ones could just walk over them (without damaging them, if the mod author wants crushing damage he'll have to script that) for easier navigation and big projectiles (especially huge beams) would just swallow small units in their path while being stopped by anything large.

Think e.g. beam cannons in animes (or Freespace 2) vaporizing a small fighter that's between them and the capital ship that's targeted.

For units an example would be the Titan in CvC that hovers above the ground and could safely fly over a bunch of drones. I think some Supcom experimentals are also capable of walking over units.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

That would involve a whole series of sub-checks, KDR... I don't think it'd be efficient, and it'd slow down the loop that weapons used when they're traveling from frame to frame. I understand why you want this, but I wouldn't want this to be on standard weapons- you might want to go ahead and write some new weapon classes for this sort of thing, frankly (lord knows, we need to do that anyhow, and move away from Spring's bizarre system of determining a weapon's behaviors in the game world, but that's another topic).
Post Reply

Return to “Feature Requests”