-
Who's Online 3 Members, 2 Anonymous, 239 Guests (See full list)
-
Topics
-
Posts
-
You are welcome to post where you think is best. Codewise, a good improvement @ffm2 would be packing your mod as an extension of localratings. In practice, include (only) your additions in a mod, and add localratings as a dependency. It will simplify maintaining and distributing the code. It will also ensure compatibility with the base mod across versions. Up to you - but I think your work will benefit!
-
By Nicolaus_von_Kues · Posted
It would look good with some Iberian pattern. -
By Grautvornix · Posted
Hi and welcome to the forum! Unfortunately, the only way I am aware is to actually select the ship and see the garrisoned number of people. There has been multiple suggestions to modify that so it will be addressed. -
Could I possibly do it here: // get a starting rallyPoint ... will be improved later let rallyPoint; let rallyAccess; const allAccesses = {}; for (const base of gameState.ai.HQ.baseManagers()) { if (!base.anchor || !base.anchor.position()) continue; const access = getLandAccess(gameState, base.anchor); if (!rallyPoint) { rallyPoint = base.anchor.position(); rallyAccess = access; } if (!allAccesses[access]) allAccesses[access] = base.anchor.position(); } (It is in attackPlan.js starting at line 40) I am not really familiar with ai scripting, is there a way you can get the classes, like: if (this.target.hasclass == "scout") { // Ignore target/pick new target }
-
