View Issue Details

IDProjectCategoryLast Update
0018051Starward RogueBug - OtherDec 22, 2015 1:56 pm
ReporterPepisolo Assigned Tokeith.lamothe  
Status resolvedResolutionno change required 
Product Version0.205 
Summary0018051: shot_homing_range weirdness?
DescriptionI'm a bit wary about posting engine feedback as there's a good chance I'm just not understanding the behaviour and capabilities of the engine fully, but I'll continue, as it may prove useful.

I've been trying to create a weapon, but for the life of me I can't make the shots homing. If I add shot_homing_range to a system that uses a bullet pattern, it doesn't seem to work,but if I use shots_drift_towards_hostile_ships_range that does work.

If I use shot_homing_range on one of the default main weapons then it does seem to work as expected, but adding it to my custom weapon system that uses a bullet pattern, it doesn't. Not sure what's going on.
TagsNo tags attached.

Activities

keith.lamothe

Dec 22, 2015 1:56 pm

administrator   ~0043897

Bullet patterns override movement, so if a shot is under the control of a bullet pattern it cannot home or any number of other things.

The drift thing is a separate mechanic like gravity (so the shot isn't moving, per se, but rather being moved).

If you want to have a bullet that is launched by a pattern but then at some point reverts to normal movement (including homing), then in 0.207+ you could try just omitting the die tag, and when it reaches the end of its logic it will fall back on normal logic (like homing). That's possible with non-shot stuff now, so I just copied that bit over. Not sure if it will do what you want.

Issue History

Date Modified Username Field Change
Dec 20, 2015 12:17 am Pepisolo New Issue
Dec 21, 2015 2:52 pm Chris_McElligottPark Assigned To => keith.lamothe
Dec 21, 2015 2:52 pm Chris_McElligottPark Status new => assigned
Dec 22, 2015 1:56 pm keith.lamothe Note Added: 0043897
Dec 22, 2015 1:56 pm keith.lamothe Status assigned => resolved
Dec 22, 2015 1:56 pm keith.lamothe Resolution open => no change required