[Spell] Phoenix Fire replacement

Status
Not open for further replies.
I have been working years on Battleships, with is a moba where the weapons fire automatically in a certain range. The weapons are based on phoenix fire, which always lead to limitations in implementation. So my idea was to build a custom missile system, which allows much more to work with the projectiles.

I have a few questions about that:
Does it even make sense? Is there a better way? And if its possible will the performance be affected?
Just open for a general discussion and ideas.

Thanks
 
The performance will most likely be affected and would be the limiting factor, but it's also going to open the door to some really cool possibilities.

That being said, this system seems to have great performance:

I'll mess around with some examples and post a demo map here.

Edit: Attached a map with an example using Chopinski's missile system. Requires the latest patch to open.
 

Attachments

Last edited:
You can use locust dummies as "guns" rather than projectiles. That's how vehicle guns work in my map.
They attack like normal units do. The dummies have 0 foreswing and are moved with SetUnitX/Y so they can fire while the vehicle is moving.

Also what I did was limit firing arcs on the guns by detecting "unit is attacked" and if the target is not within the right angle from the vehicle, seek a different target that fits. Not sure how much sense it would make in battleships, on one hand it would be cool to have prow guns, rear guns, broadsides etc but on another it may be too finicky and maybe it's better and easier to play if it's more abstract.
 
Last edited:
The performance will most likely be affected and would be the limiting factor, but it's also going to open the door to some really cool possibilities.

That being said, this system seems to have great performance:

I'll mess around with some examples and post a demo map here.

Edit: Attached a map with an example using Chopinski's missile system. Requires the latest patch to open.
This is great. Thank you so much. I will see what I can do with this, because its probably better to make some of the manual gui work into a library.
 
Status
Not open for further replies.
Back
Top