IgnoreTerrain weapon tag
Moderator: Moderators
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
IgnoreTerrain weapon tag
I would like weapons that ignore terrain when aiming. This would be a tag similar to ignoreFeature.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: IgnoreTerrain weapon tag
Bump, turns out this would be useful for working around a portion of this http://springrts.com/mantis/view.php?id=2510.
Re: IgnoreTerrain weapon tag
wd.onlyForward = !wd.turret && (wd.type != "StarburstLauncher");
If onlyFoward == true, then ground test is skipped already.
If onlyFoward == true, then ground test is skipped already.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: IgnoreTerrain weapon tag
So what do I do if I want a weapon like Bertha to ignore terrain? Is there a tag I can see or do I need to slave the weapon to a StarburstLauncher? I think slaving is a sufficiently complex workaround to warrant a new weapon tag.
It would also be nice if StarburstLaunchers didn't have hardcoded terrain ignoring. Although then the trajectory would need to be plotted for StarburstLaunchers which would be a lot more work than simply adding a tag alongside the current terrain checks that can be set with weapondefs.
It would also be nice if StarburstLaunchers didn't have hardcoded terrain ignoring. Although then the trajectory would need to be plotted for StarburstLaunchers which would be a lot more work than simply adding a tag alongside the current terrain checks that can be set with weapondefs.