Nexus Modding > Scripting
Nexus and problems with widescreen
GeoModder:
No luck sofar tracking down the real rank title though. >:(
Perhaps not surprising, its changeable throughout the game.
I'll check it out tomorrow, getting too late.
Sargoth:
I would think it would be in the universe/story/rules. But going through the file for episode 5 I've found nothing that sets the title.
I would imagine that any files that set rules for each episode would be a good start to look at.
GeoModder:
Checked the rules files. There's the "rank" and "usteprank" parameter there. Veltman receives it in the latter 3 episodes (from the moment he becomes captain of the Brutus). And I assume since this NPC started as Commander it must be set again each episode.
Cromwell (NPC_Player) seems to get 3 steps. Once in the episode 4 rules, and twice in episode 6 rules. The latter is strange. First it seems an open step up in rank (perhaps default increment of one), but the line after he gets rank 9 in the same way Veltman gets rank 6.
Checking this a bit deeper...
Sargoth:
Well, we found the problem then. He receives no such thing in Epsiode 5 rule sets. So probably an oversight in development.
Might be this line. uGetNPC(#NPC_Player):uStepRank(); Testing in Epsiode 5 now
Edit: Well, that did it. Properly identified as Rear Admiral in espiode 5's config window :D
Edit 2: Only for the first mission :(
Edit 3: "uGetNPC(#NPC_Player):rank:=8;" = Rear Admiral
Edit 4:
Here's where it gets strange. I changed Veltmans rank to 9. No change. But changing NPC one to seven and keep StepRank, Marcus keeps the commodore. At 9 he gets Vice Admiral and at 8; Rear Admiral.
Edit 5: Setting uGetNPC(#NPC_Player):rank:=8; at each mission start, changes the title on successful autosaveload. Now, what happens when you clear a mission and progress naturally?
Hopefully, uGetNPC(#NPC_Player):rank:=8; will overwrite any other input and keep him rear admiral until ruleset 6
I'm baffled. Because I can't see them doing this in the other rulesets. So there's gotta be another file setting it back or some such. But as long as this method works, I -think- we've cleared that problem.
GeoModder:
Sorry, was busy getting into episode six. ;)
I'll go checking now as well.
But I did already notice that despite Veltman getting a 'hard' promote to captain, his rank in the config screen stayed commander.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version