View Full Version : [DOW2 & CR 2.6.0] Permanent Reassign Points button for DOW2 and CR campaigns
Pocari
28th Aug 10, 10:16 AM
Permanent Reassign Points button for DOW2 and Chaos Rising campaigns
Update: The 2.5.0 and 2.6.0 updates didn't change anything campaign-related, so this version is still current.
Download: http://www.strategyinformer.com/pc/warhammer40000dawnofwarii/mod/37233.html
Also: http://www.mediafire.com/?a5bgn1dr26jya4n (updated)
Install:
Combine files with your own mod or extract to your dawn of war 2 folder, then start the game with -modname "ReassignPoints" -dev.
Usage:
Start a new campaign in Dawn of War II or Chaos Rising. You can disable the mod after completing the first mission in the vanilla campaign or after completing the second mission in Chaos Rising.
What does it do:
You will have the Reassign Points button visible at the inventory screen for the whole campaign, allowing you to reset and redistribute the skill points for any squad at any point. In Chaos Rising, it overlaps the Corruption meter after mission 3 but works just fine.
How:
For the vanilla campaign, one line was added to ss1_sep1.lua (mission 1) to enable the button on completion of the mission. For Chaos Rising, one line was changed in x03_librarian.lua (mission 2) to... er... disable the disablification of that button on completion of the mission.
Seawolf
28th Aug 10, 11:59 AM
Link doesn't work :(
says it's been temporarily disabled.
Pocari
28th Aug 10, 2:37 PM
Worked when I tested it just now, but I can upload it elsewhere if you still have problems.
Tarquelne
28th Aug 10, 2:44 PM
I'm getting the same "temporarily disabled" message.
Pocari
28th Aug 10, 4:03 PM
Try this? http://rapidshare.com/files/415738941/dow2_and_cr_reassign_points_mod.zip
Edit: also http://www.mediafire.com/?zjd5u6zk63j4ipj
Tarquelne
28th Aug 10, 5:59 PM
Both allowed download.
Thanks!
Drone456
28th Aug 10, 7:13 PM
Thanks a ton for this man. A big complaint for me when playing on Primarch difficulty was that your units came to you at a higher level since you acquire more xp and thus already have pre-picked skills. Such as the Dreadnought, who just barely allowed me to max out the ranged combat discipline.
This mod will let me just reassign those points and make them how I want. Great job :D
EDIT- Actually just tried it and apparently it doesn't affect that particular area. Still great though, and definitely handy should you change your mind.
However does anybody know where to find the area that I'm talking about?
(ex. After the very first mission, the Force Commander has 3 points already in melee, and Tarkus has 3 points already in health and theres no way to remove them.)
jaylo138
29th Aug 10, 5:12 AM
These values are changed in the sbps files for the heroes.
Under the "squad_leveling_ext", "auto_allocate_points" deals with what skill tree points get put into first & "max_bonus_attribute_points" is how many.
Although i've never needed to change these values myself.
Drone456
29th Aug 10, 9:06 PM
Thanks for the suggestion and it worked in a way, however there is a problem with changing the "auto_allocate_points". The problem is that when your character levels up, you don't get the bonus attributes such as + to health, or + to ranged damage, etc.
The other method actually didn't do anything and I'm thinking that it may be for wargear that adds +1-3 to whatever discipline, and that just dictates that no matter how many wargears you have that give you a bonus, you'll never exceed the +3 to that area.
So do you, or anyone know of a different way to solve my question, that keeps the level up attributes intact?
dyndak
30th Aug 10, 6:49 AM
Hi Relicnews.
Drone, as for the squads you get at level 1, you want to modify attribute point gain tables in tuning_info.rbf. You can set first discretionary_attrib_point to zero and next one to 7 and you'll have all the points unassigned after the mission where they join you. Don't know about Thule tho.
Drone456
30th Aug 10, 9:59 AM
Hey thanks. I'll check that out some other time since I don't have access to my main computer atm. Thanks for the suggestion though, it sounds like it may work.
Thule is a big problem, I've gotten him at lvl 18 once and I barely maxed out his ranged discipline. Stupid feature by Relic IMO. Why allow us to customize our character's attributes if they're going to already have pre-picked points in area we may never assign.
Drone456
31st Aug 10, 6:39 PM
Haven't checked to see if this works or not yet, but decided to see if I can find what you're talking about.
Is this it?
leveling: {
| campaign_tables: {
| | attribute_points_distribution: {
| | | primary: 2f;
| | | secondary: 2f;
| | | tertiary: 1f;
| | | none: 0f;
| | };
dyndak
31st Aug 10, 11:44 PM
No, it's this:
leveling: {
| leveling: {
| | campaign_tables: {
| | | attribute_points_distribution: {
| | | | primary: 2f;
| | | | secondary: 2f;
| | | | tertiary: 1f;
| | | | none: 0f;
| | | };
| | | level_xp_table: {
| | | | level_xp_points: {
| | | | | $REF: "types\leveling\level_xp_points";
| | | | | required_xp_points: 0f;
| | | | | discretionary_attrib_points: 5;
| | | | | xp_award_modifier: 1f;
| | | | | escalation_award_modifier: 1f;
| | | | };
| | | | level_xp_points: {
| | | | | $REF: "types\leveling\level_xp_points";
| | | | | required_xp_points: 0f;
| | | | | discretionary_attrib_points: 0;
| | | | | xp_award_modifier: 1f;
| | | | | escalation_award_modifier: 1f;
| | | | };
| | | | level_xp_points: {
| | | | | $REF: "types\leveling\level_xp_points";
| | | | | required_xp_points: 150f;
| | | | | discretionary_attrib_points: 2;
| | | | | xp_award_modifier: 1.1f;
| | | | | escalation_award_modifier: 1f;
| | | | };
The first bolded value are the points that are distributed automatically, and the second one is awarded to you upon first levelup.
Drone456
1st Sep 10, 9:42 AM
So change the 5 on the first one to 0, and the 2 on the third one to 7 and I'll be fine? What about Thaddeus since he comes a little later?
Thanks for the help, still just a tad confusing right now lol.
dyndak
1st Sep 10, 12:11 PM
Thaddeus is still 'created' at level 1 so he's fine as well. Also after some experimentation I think the game checks the whole levelup attribute progression each time you reassign points. I also have some ideas about Thule that I will check as soon as I progress far enough in the campaign to unlock him.
Drone456
1st Sep 10, 3:10 PM
Thanks a lot man, let me know what you find.
what does "I think the game checks the whole levelup attribute progression each time you reassign points" mean for what I'm going to be changing? Does it hinder it or help it?
Sincerely appreciate the help man. Danke :D
Pocari
2nd Sep 10, 1:51 AM
Actually, look at data\campaign\space_marines\default_profile\squads.lua. You can see that most squads default to level 1 with no assinged points, like Tarkus here:
attributes =
{
ranged = 0,
stamina = 0,
strength = 0,
will = 0,
},
blueprint = "sbps\\campaign\\playable\\race_marine\\troops\\sm_tactical_marine_tarkus",
experience = 0,But Thule starts with 8,700 XP and, what, 13 points already put in towards a melee-oriented build.
attributes =
{
ranged = 3,
stamina = 3,
strength = 5,
will = 2,
},
blueprint = "sbps\\campaign\\playable\\race_marine\\vehicles\\sm_dreadnought_davian",
experience = 8700,So you could set those to 0 and/or make him start at level 1. As for the available points, I think the game compares previously allocated points with what you "should" have (the tuning_info.rbf leveling part). What's left over is for you to assign. So if you left those skills like that and dropped Thule to level 1, I assume he wouldn't get any new points for a while.
dyndak
2nd Sep 10, 3:22 AM
Actually, with the changes I made to tuning_info I posted I can reassign all the points on Thule.
Pocari
2nd Sep 10, 4:17 AM
All right then!
Personally, I played the campaign a couple of times and I always got everyone to level 20 so I had enough points for Thule... never thought about the pre-assigned points as a problem. He has enough points (or lower costs) to get most traits anyway, unlike the others. And I think e.g. the first melee trait was good even for a ranged build.
Drone456
3rd Sep 10, 11:10 PM
@dyndak
Got to try out your suggestion man and it seems to work perfectly, thanks a ton.
@Pocari
Thanks for the suggestion though, appreciate it.
I personally like full customization and not what they want to pick as starting stats, I can do a whole lot more for a ranged discipline with a lvl 2 FC with 7 points then I could with just 2 points. I don't understand why they would have had that in there anyways, just doesn't make sense to me.
Any way you can host those changes somewheres? I'm inept at editing files and would love having not having those pre-assigned points in the OC. :)
Drone456
4th Sep 10, 12:13 AM
leveling: {
| leveling: {
| | campaign_tables: {
| | | attribute_points_distribution: {
| | | | primary: 2f;
| | | | secondary: 2f;
| | | | tertiary: 1f;
| | | | none: 0f;
| | | };
| | | level_xp_table: {
| | | | level_xp_points: {
| | | | | $REF: "types\leveling\level_xp_points";
| | | | | required_xp_points: 0f;
| | | | | discretionary_attrib_points: 5;
| | | | | xp_award_modifier: 1f;
| | | | | escalation_award_modifier: 1f;
| | | | };
| | | | level_xp_points: {
| | | | | $REF: "types\leveling\level_xp_points";
| | | | | required_xp_points: 0f;
| | | | | discretionary_attrib_points: 0;
| | | | | xp_award_modifier: 1f;
| | | | | escalation_award_modifier: 1f;
| | | | };
| | | | level_xp_points: {
| | | | | $REF: "types\leveling\level_xp_points";
| | | | | required_xp_points: 150f;
| | | | | discretionary_attrib_points: 2;
| | | | | xp_award_modifier: 1.1f;
| | | | | escalation_award_modifier: 1f;
| | | | };
I've bolded, underlined and increased the size of the 2 things you need to change in order for this to work.
All you have to do is change the (5) to a (0) and the (2) to a (7) and everything seems to work out fine it seems.
Hope that helps :D
Pocari
4th Sep 10, 2:39 PM
So just in case you're confused, that stuff means you normally get 5 poins at level 0, then 0 points at level 1 and finally 2 points at level 2 (which requires 150 XP).
Pocari
14th Jan 11, 3:54 AM
Update: Still works with current DoWII version (2.6.0).
desonnac
22nd Jan 11, 8:18 AM
Nevermind, problem solved. Just had to remove the empty space in '-modname "ModName"'
mehfeh
21st Feb 11, 12:23 AM
I've bolded, underlined and increased the size of the 2 things you need to change in order for this to work.
All you have to do is change the (5) to a (0) and the (2) to a (7) and everything seems to work out fine it seems.
Hope that helps
Is there a reliable tool for making these edits? I tried Miguel's 1.5 standalone editor, but it doesn't look promising.
If someone would rather hex-edit these changes (as even RbfConv -R doesn't produce a byte-identical copy with 2.6.0 tuning_info and no changes) the two bytes to change are:
00014DD8: 05 00
00014E50: 02 07
mehfeh
21st Feb 11, 3:57 PM
By the way, the nicest thing about the tuning_info leveling change is that's retroactive: you don't need to start a new campaign to make the initial 5 points re-assignable via the magic button: just add the modified tuning_info.rbf to the mod and load a save that has already completed the 1st mission so the reassign button is enabled. (I just found that out because I fudged the path to tuning_info in my mod on my 1st attempt) It would be nicer if there was a way to enable it in the save game file directly, but I haven't found info on editing that. Clearly the reassign points on/off flag gets written to the save game file, while the leveling table does not.
The quick and easy version for CR 2.6.0 is on mediafire.com/?aodl4ce62hd7o5e: I combined this mod, including the initial point reassignment with the wargear mod, and named it Experiment. If you don't want to experiment with the wargear, just delete the inventory.lua in the default_profile dirs from both the campaign (for the original Dow2 campaing) and xp1 dirs of the mod before starting the corresponding campaign. If you also delete squads.lua from the xp1 default profile you'll get the more brain dead default point assignment in the 1st CR mission, but I don't see the point of doing that.
mehfeh
21st Feb 11, 6:40 PM
But Thule starts with 8,700 XP and, what, 13 points already put in towards a melee-oriented build.
Actually, he doesn't. He gets completely re-spec'd in mc1.OnDeploy() from mc1.lua. He gets leveled to the average squad level and his points are spent (with four kept in reserve) in round-robin fashion on all stats.
mehfeh
21st Feb 11, 9:34 PM
Here's (mediafire.com/?x5smu5cm6qls562) version 2.1 that enables the respec button on loading the bridge GUI, so it will work on any savegame. No need to start a new campaign anymore.
I'm hooking tuning.Campaign_CanSquadsBeSelected() The critical files are tuning.lua and tuning_info.rbf; you can delete the rest if you don't want all the gear. Now that I found this very convenient hook, it may be possibly to dynamically populate the inventory with gear based on the squad level...
I've also made a sga version (mediafire.com/?rgowpgva89p5lc8) for auto-loading from the GameAssets\Mods dir, so there's no need for changing the command line either; just drop the sgas there. However, it seems that only DATA files can be overridden this way (tuning.lua in this case), but not ATTRIB ones (so no luck modding tuning_info.rbf without using a module file). What this means is that the reassign button works in the sga-packaged version (still on loading any save), but you cannot reassign the initial 5 points in this sga version. (There might be a way to change attribs from lua code, but I don't know it.)
Gingo30
9th Aug 11, 6:34 AM
Anyone tried this with the Gold Edition? I can't get it to work, I never get the button after completing the first mission. for the launch options I have -modname"ReassignPoints" -dev. Also tried the one in the last post that would work in any save and didn't get anything either.
mystichead
10th Aug 11, 8:15 PM
Ya sorry i dont think it works either and i dont have gold edition. i was going to post soon myself to see what was up since i just noticed this mod and felt like redoing the campaigns with a twist.....hopefully we get some sort of reply other wise we're gonna have to pm pocari........
I really want to go into primarch and tweak my force comm and other guys to have all the stats....and i have no idea which file is being referred to in all of this thread when they show the different #s and stats....theres a chance they might not even be in the newest patch anymore...buti might just be looking at the wrong place and using the wrong tool.... im looking forward to tweaking those strting #s....
.
...cheap i know.....but i want to send them 1 to 2 at a time rather than 4..... so either the force comm is dishing it out all alone or he has some help with others.......
anyway if anyone can help us it will be very nice and we shall be very grateful
Gingo30
11th Aug 11, 8:23 AM
mystichead, use the .sga version that mehfeh has in the post before mine. Just put the .sga file in the Gameassets/mods folder and if you don't have the mods folder just create it. Worked for me in both vanilla and CR.
mystichead
11th Aug 11, 4:52 PM
Thanx,
while the sga DOES work for me...i was actually hoping to tweak maybe either the strting attribute pts and or the level up or just add them.....my whole goal is to send the force comm solo in as many missions as i possibly can with ok but not amazing wargear......i just thought tht it might be an interesting twist............
anyway thanks...
altho if you know how to let me tweak hose startup attrib and such...cuz i didnt understand which file and also which place in side the file... was mentioned in the thread when they showed the strt up stuff like 5 to 0 and 2 to a 7...if somebody can explain where this is it shall be much appreciated....Because I cannot find the sbps files mentioned above...nor the data\campaign\space_marines\default_profile\squads.lua..... and especially "tuning_info.rbf" .......they might not even exist in the most recent patch.....but i dunno how long ago they patched it..i know this snce i just reformatted my pc a month back and redownloaded dow2 it doesnt have them
again thnk you
mehfeh
11th Mar 12, 1:46 PM
I have a feeling the tuning_info.rbf file is different in the Gold version, which I don't have. If someone can confirm that, or just upload the tuning_info.rbf file from this Gold version somewhere for a comparison, we might make some progress. I'm glad to hear the sga version worked. The RBF info can't be changed via the sga though, so you won't be able to resign the initial (7) points that way, but everything else should work.
Borgah
27th Mar 12, 7:16 AM
mehfeh.... your links are dead. Can u re upload them. For the On-Load version.
mryumyum
4th Aug 12, 5:23 AM
hi there, i've been getting crashes while trying to use your mod, could you help me solve it?
pasted the downloaded content to my CR main folder (includes 1 module file and 1 folder), copied that: -modname "ReassignPoints" -dev to the end of the target on my game shortcut,
tried running, and the game crashed
here are some things i believe worth mentioning:
i am not using steam
i have noticed your module file trying to locate these 2 files:
archive.01 = GameAssets\Archives\230_data.sga
archive.02 = GameAssets\Archives\220_data.sga
which are not in my archive folder (200,210 are there though)
tried erasing them from the file and the game starts fine without crashing however there is no reassign button in any of my squads (including thule who has no corruption meter therefore nothing overlaps)
thanks for your time
Pocari
7th Aug 12, 2:20 PM
If your shortcut is wrong, it could crash the game on start ("...\Steam.exe -applaunch 56400 -nomovies -modname XYZ -dev" format works). However, since you are missing some archives added by updates (ages ago), your problem seems to be a pirated and hence unpatched DoW2.
derry11
17th Nov 12, 12:48 PM
Here's (mediafire.com/?x5smu5cm6qls562) version 2.1 that enables the respec button on loading the bridge GUI, so it will work on any savegame. No need to start a new campaign anymore.
I'm hooking tuning.Campaign_CanSquadsBeSelected() The critical files are tuning.lua and tuning_info.rbf; you can delete the rest if you don't want all the gear. Now that I found this very convenient hook, it may be possibly to dynamically populate the inventory with gear based on the squad level...
I've also made a sga version (mediafire.com/?rgowpgva89p5lc8) for auto-loading from the GameAssets\Mods dir, so there's no need for changing the command line either; just drop the sgas there. However, it seems that only DATA files can be overridden this way (tuning.lua in this case), but not ATTRIB ones (so no luck modding tuning_info.rbf without using a module file). What this means is that the reassign button works in the sga-packaged version (still on loading any save), but you cannot reassign the initial 5 points in this sga version. (There might be a way to change attribs from lua code, but I don't know it.)
Does anyone still have those files? I would prefer not to start a new campaign with my friend.
Drokk
14th Feb 13, 5:53 PM
I'd like those files too.
I was able to edit the tuning_info.rbf but getting the button to appear on an already exisiting campaign is what I need.
3rd Edit:
Going on Mehfeh's posts here and elsewhere I was able to recreate his steps. All you need to do is insert:
Campaign_SetUIVisibility( UIV_InventoryRespecButtonPing, true )
Just underneath tuning.Campaign_CanSquadsBeSelected() (which is found in the tuning.lua file)
Then make the changes to the tuning_info.rbf as Dyndak suggested above to include all the starting skill points too.
LordM
23rd Feb 13, 5:59 AM
Hi there, one dumb question where do I find the tuning.lua file? Thanks
Or better yet could Drokk you upload that mod if u have managed to make it, for the on load reassign points?
Thx
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.