"Imperial XWA" New Uniform and Ranks!

Need help editing the game? Check for help here!

Moderators: Darksaber, General_Trageton, Forceflow

Re: "Imperial XWA" New Uniform and Ranks!

User avatar
Mark_Farlander
Cadet 1st Class
Rebel Alliance
Posts: 230
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Mon May 14, 2018 11:33 am

ual002 wrote:
Wed Apr 13, 2016 1:19 am

Campaign Point Values Associated with Ranks (Original XWA Rank)

0 Ensign (recruit)
100 Sub Lieutenant (Flight Cadet)
10000 Lieutenant (Flight Officer)
17500 Lt Commander (Lieutenant JG)
25000 Commander (Lieutenant)
33000 Captain (Captain)
41000 Line Captain (Lt Commander)
52000 Commodore (Commander)
65000 Rear Admiral (General)
The 2 highest ranks in vanilla X-Wing Alliance are Commander (52000 points required) and General (65000 points required).

52000 Commodore (Commander)

You replaced the rank of Commander (already achieved at 25000 points) with the rank of Commodore, since Commodore and Commander are equivalent positions in the Imperial Navy according to The Essential Guide to Warfare (page 120).
Here you can see what I'm talking about: https://www.dropbox.com/s/axqxvjn7e2rxs ... e.pdf?dl=0
This is a very smart move.




65000 Rear Admiral (General)

You also replaced the rank of General with the rank of Rear Admiral, since they are equivalent but Rear Admiral is the Line Rank whereas General is the Specialist Rank.

User avatar
ual002
Cadet 1st Class
Galactic Empire
Posts: 149
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Mon May 14, 2018 1:42 pm

I was following a couple standards here. A rank chart of canon ranks with some likely assumptions with the fill in the gap stuff, partially US Navy and British ranks along with keeping in mind a starting rank being that of ensign [graduated flight academy] and highest rank of rear admiral being that anything much higher would relegate the player to flying a desk. Ahem, sorry this is Star Wars, I mean "space desk".

User avatar
Mark_Farlander
Cadet 1st Class
Rebel Alliance
Posts: 230
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Tue May 15, 2018 12:16 pm

In X-Wing Alliance campaign the score achieved in Azzameen missions doesn't count for the rank in the Alliance, and the bonus achieved in those missions doesn't count for the Kalidor Crescent upgrades, so there are only 35 missions where you can earn points for the rank in the Alliance.
This is the reason why you will hardly have more than 70000 points (maybe 80000) at the end of the campaign.

Do you wish to use this Imperial rank system with a TIE Fighter Conversion for X-Wing Alliance?
In case you will, keep in mind that since there are 76 missions in TIE Fighter (without even counting training missions), and all those missions count for the rank, you will have at least 120000 points at the end of the campaign if you didn't skip any missions.
Of course I'm assuming you are playing at least Medium Difficulty level, Tour Invulnerability Off, Tour Unlimited Ammo Off and Craft Collisions On.

I was wondering if further Imperial ranks with the appropriate score requirements could be added to fill that score gap.
Here is an example:

80000 Vice Admiral (5 red rectangles on the top and 5 blue rectangles on the bottom)
100000 Fleet Admiral (6 red rectangles on the top and 6 blue rectangles on the bottom)
https://vignette.wikia.nocookie.net/sta ... 0331015238
https://vignette.wikia.nocookie.net/sta ... 0328133105
https://www.etsy.com/listing/289097111/ ... r-rank-bar

120000 Grand Admiral (3 blue rectangles on the top left, 3 gold on the top right, 3 blue on the bottom left and 3 red on the bottom right)
https://vignette.wikia.nocookie.net/sta ... 0905160330
https://www.etsy.com/listing/450218878/ ... =related-1
https://vignette.wikia.nocookie.net/sta ... 1108222602

Alternatively the rank bar for a Grand Admiral could be the same as that for a Fleet Admiral, but rotated by 180 degrees and with the bottom right red rectangle replaced by a gold one: https://www.etsy.com/listing/277162468/ ... k-bar-high
I think this alternative solution is only worth considering in case the ranks of Moff / Warlord and Grand Moff / Supreme Warlord are also used.

150000 Moff / Warlord (6 blue rectangles on the top, 4 red rectangles on the bottom left and 2 gold rectangles on the bottom right)
https://www.etsy.com/listing/270881749/ ... k-bar-moff

200000 Grand Moff / Supreme Warlord (6 blue rectangles on the top, 3 red rectangles on the bottom left and 3 gold rectangles on the bottom right)
https://vignette.wikia.nocookie.net/sta ... 0304023051
https://www.etsy.com/listing/276581642/ ... p-header-0

Moff and Grand Moff are actually political titles, so I'm not sure including them as ranks would be a good idea.
Maybe replacing the titles of Moff and Grand Moff with "Warlord" and "Supreme Warlord" will do the job, but I'm not the Imperial man here after all.

User avatar
Mark_Farlander
Cadet 1st Class
Rebel Alliance
Posts: 230
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Tue May 15, 2018 12:42 pm

Adding the option to fly a different craft in a given mission only if a determined score has been achieved could be tricky, therefore I suggest we find a mission where the player almost surely has a total cumulative score of more than 65000 points (Rear Admiral), but less than 100000 points (Fleet Admiral) before playing such mission.
That mission and all the following missions in the campaign will have the "Switch Craft" option enabled to allow the player to choose whether to fly the default craft or a Space Desk.
Let's call it C-Wing.

Of course Cwing.opt, CwingCockpit.opt and CwingExterior.opt will be needed.
Attachments
C-Wing 2.jpg
If you remove the chair you will surely realize this is a great space craft.
C-Wing 2.jpg (11 KiB) Viewed 191 times
C-Wing 3.jpg
C-Wing 3.jpg (14.86 KiB) Viewed 191 times

JeremyaFr
Lieutenant
XWAU Member
Posts: 851
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue May 15, 2018 6:09 pm

Hello,
I don't know if this has been published somewhere.
Here is where the points are stored if you want to modify them.

The points for the Kalidor Crescent are stored at offset 1B1CA8 as an array of 6 int:

Code: Select all

35000, Kalidor Crescent
70000, Kalidor Crescent: Bronze Cluster
105000, Kalidor Crescent: Silver Talon
140000, Kalidor Crescent: Silver Scimitar
175000, Kalidor Crescent: Golden Wings
210000, Kalidor Crescent: Diamond Eyes
The points for the Ranks are stored at offset 1B1CC0 as an array of 8 int (0 corresponds to Recruit):

Code: Select all

100, Flight Cadet
10000, Flight Officer
17500, Lieutenant JG
25000, Lieutenant
33000, Captain
41000, Lt Commander
52000, Commander
65000, General

User avatar
Mark_Farlander
Cadet 1st Class
Rebel Alliance
Posts: 230
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Tue May 15, 2018 7:03 pm

I don’t intend to change the score required to be promoted to a determined rank, though for Sub Lieutenant increasing the points from 100 to 5000 would probably make sense.

My intention is to add more Imperial ranks for a TIE Fighter conversion for X-Wing Alliance, but if the Rank array contains only 8 int, I guess the only way to achieve such a thing is to increase the size of the array.
Do you think this can be done without overwriting any data stored in nearby memory addresses?
Sorry if this is a stupid question, but I’m not very skilled at programming.

Edit: I mean I don't know if increasing the amount of int from 8 to 15 I would risk putting the 7 new values in memory addresses which are already occupied by other data, so I will not put my hands on this.




As for the Kalidor Crescent, it would be nice to replace it with an equivalent Imperial medal.
Of course I leave this choice to the Imperial men.

User avatar
ual002
Cadet 1st Class
Galactic Empire
Posts: 149
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Wed May 16, 2018 12:25 am

JeremyFr, that code would be helpful to start a digging project.

First, Observations...

Those Kalidor Crescent numbers seem off, is it total score or just bonus? Also... I swear I got the second rank of the kalidor like right after the first, like a custom mission or 2 later, and I'm pretty stingy with points.

Questions:

1. Can we some how tie the medals received via mission numbers (IE Frontres\Medals\Medals.txt) to a point value as well, through a hook or something?

2. Is there a way to add more rank slots into the code? (Low priority)

3. Can you (or anyone) find the code that determines that only campaign rank can be increased by campaign missions? (High Priority) Mark_Farlander made a good point about difficulty to attain rank in the game with only a certain number of points available. This would also be helpful in the short term to making running missions in the simulator room count toward campaign rank if we are "pretending" it is a single missions room?

4. Do you know if its possible to recode stuff to add another "room" that branches off from he concourse? If we know for certain this is not possible the rest is a pipe dream.

5. If possible, could the functionality of the combat sim be copied to said room? With the work Justagai has done we have a basis for running single missions quite effectively with replayability and most, if not all of the features from the single player campaign in the simulator while playing SP, and with more limited functionality, mostly in regards to the hangar, in Multiplayer.

6. Is is possible to say dump this "rooms" progress into the pilots quarters in a new tab?

Obviously I don't expect you to say yes to any of these things with the expectation of you finding them tomorrow, if at all. I'm just not much of a coder. I'm more of an art guy. I'm just wanting to get a sense of how far I'm reaching here.

Also, see this post for more context. viewtopic.php?f=9&t=11904
Last edited by ual002 on Wed May 16, 2018 6:28 pm, edited 1 time in total.

User avatar
Mark_Farlander
Cadet 1st Class
Rebel Alliance
Posts: 230
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Wed May 16, 2018 2:34 am

ual002 wrote:
Wed May 16, 2018 12:25 am

Those Kalidor Crescent numbers seem off, is it total core or just bonus?
Only bonus points earned in Alliance missions (not Azzameen missions) count for the Kalidor Crescent.
The normal score doesn't count for the Kalidor Crescent.
JeremyaFr wrote:
Tue May 15, 2018 6:09 pm

The points for the Kalidor Crescent are stored at offset 1B1CA8 as an array of 6 int:

Code: Select all

35000, Kalidor Crescent
70000, Kalidor Crescent: Bronze Cluster
105000, Kalidor Crescent: Silver Talon
140000, Kalidor Crescent: Silver Scimitar
175000, Kalidor Crescent: Golden Wings
210000, Kalidor Crescent: Diamond Eyes
These numbers are bonus points.
ual002 wrote:
Wed May 16, 2018 12:25 am

Also... I swear I got the second rank of the kalidor like right after the first, like a custom mission or 2 later, and I'm pretty stingy with points.
This is surely possible.
Each secondary goal and each bonus objective you complete can make you earn bonus points.
I know they are listed as "Points" in AlliED, but they are actually bonus points.

The maximum number of bonus points you can set for a secondary goal or a bonus objective is 3175, but you can earn more than 3175 bonus points in a single mission (just tested).
The minimum number of bonus points you can set for a secondary goal or a bonus objective is -3200.
The minimum difference between 2 bonus scores is 25, and the bonus points you set for a secondary goal or a bonus objective are always divisible by 25.

Allow me to speculate a bit:
3175/25=127 and 3200/25=128 so the variable used for the bonus points you earn when you complete a secondary goal or a bonus objective could be an 8-bit signed integer variable (therefore all the integer values from -128 to +127 are available), then it gets multiplied by 25.

We have already found something similar with the shield and hull rating multiplied by 4 for freighters and containers, or by 16 for starships and platforms.
Here is the topic: viewtopic.php?f=9&t=11897

Post Reply