Pass through wrecks.

Pass through wrecks.

Requests for features in the spring code.

Moderator: Moderators

Post Reply
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Pass through wrecks.

Post by Google_Frog »

A new movedefs setting "passthroughstrength" which allows units to pass through but not crush wrecks of that strength and lower, like crushstrength but without the crush.

This would be used for hovercraft and other hovering land units so that they can pass over wrecks.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Pass through wrecks.

Post by jK »

This would cause a problem with trees, which are high but have less (crush-)strength, so you don't want hovers passing through them.

So it would either need a whole new system (perhaps categories), or a "hoverheight" which is checked against the feature's/unit's modelheight.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Pass through wrecks.

Post by Google_Frog »

Instead of auto-detection for hoverheight how about a new wreck tag "hoverblocking". Or if some people want to make games with multiple different hover heights how about a bit array in movetypes and wreckdefs that check whether any given movetype can pass over any given wreck. Much like the current shield vs weapon blocking array.
User avatar
thesleepless
Posts: 417
Joined: 24 Oct 2007, 04:49

Re: Pass through wrecks.

Post by thesleepless »

i'd much prefer a hoverheight and wreckheight setup, also bots should be able to climb over low wrecks
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Pass through wrecks.

Post by Google_Frog »

thesleepless wrote:i'd much prefer a hoverheight and wreckheight setup
As long as wreckheight can be set in wreckdefs. Auto-detection would be easier for a game dev but would take away control. Calculating wreck height from the model would make normalising what can and can't be passed over by certain things too hard for game devs to manage. When it comes to engine features such as this I think controllability and options should be more important than how easy it is for the game dev.
Post Reply

Return to “Feature Requests”