Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Setting Group In Lines

A topic by Lipsar created Apr 13, 2021 Views: 304 Replies: 13
Viewing posts 1 to 3

Hello, Jfrey. I wanna ask u about  this Message: AI_MESSAGE_GROUP_SET_LINES.  As I could see, it can  set ships in only two lines and it doesnt matter which num u write in brackets SendMessage(&AISea, "lsl", AI_MESSAGE_GROUP_SET_LINES, PLAYER_GROUP, 2)<--- here. May be u can describe me, how it works? And answer on question: Is it possible to put ships in more then two lines? Thank u.

(+2)

At the moment, the maximum number is 2, enforced by the engine.  We added that as a way to get dual lines in the squadron, but we did not go so far as to do calculations of positions for any other squadron formation beyond 1 single line, or 2 lines behind the leader.

Version 177 saw a significant drop in performance at sea.

Strange.  With version 176, I doubled the frame rate at sea on mine.  The only difference with 177, is that I compiled that same code with Visual Studio 2019 and I get slightly better FPS at sea than #176.  I wonder if I should switch it back to VS 2017?

I do not know if this is a coincidence or not, but in corsairs to each his own, the same drop in performance on the last beta release. And the engine there is also compiled for 2019 studio.

I just uploaded another variation today.  Try it and see if that helps.  It is still 2019, but I altered some of the sea performance code.  If that does not change things for you, I will change to VS2017 compilation instead.

Checked the latest revision. Yes, now the FPS is the same as at the 2017 studio.

Everything is super!

(+1)

Good to hear.  I already had the 2017 ready to upload at a moment's notice if it was still a problem, but it sounds like I can continue moving forward with 2019 for the x64 bit.  The 32 bit still uses 2017 because Microsoft has deprecated XP support in the newer VS2019 toolkit (I think you can configure to continue using it, but it is more work than I deem worth the effort) and it is simply easier to keep using 2017 for those 32 bit versions because I want them to remain compatible for WinXP.

Jfrey, do u have plans about this function? U said that u didnt go so far, but may be u WILL do it somewhen? :)

I did not have any plans to further develop that into other formations because I only added that for a specific request for dual lines from the ERAS originator; I typically don't make those types of changes unless either he asks for something, or I find bugs/flaws, or performance/efficiency enhancements that can be made.

Hello again, Jfrey. I wanna ask u to expand this function's possibilities by adding two more rows for ships. What do u think about it? Is it too hard? Thank u for answering me :)

I can add it to my list of requests, but I don't think I will make this a priority because I'm mostly focused on performance and bug issues at the moment.  I will let you know if I implement it.  Up to 4 rows is what you're asking for?

Yes, it is.

(+2)

Added support for 3 lines of ship in squadron in today's update