View Full Version : Common wargear
24th Feb 09, 2:53 AM
Are the common wargear items (improved chainsword, improved bolter etc) limited to one of each item?
Also, for various reasons, I've now played the first SP mission 11 times. The improved bolter has dropped every time.
Is it coded to do this?
If so, where can I find the instruction about such non random drops?
24th Feb 09, 5:03 AM
Yep, that's coded. Goto gamedefault.sga->"simulation\scar\campaignmissions\gatheringstorm\gatheringstorm_rendezvous.scar"
Go to the function in line 1422, there you can find it, There are several other functions referring to that function before line 1422.
Also to answer your other question - No, white items are not limited to one of each item.
I've experimented with upping the drop rate from chaff to 50%.
What I see is that all the green+ items seems to drop first, and after that the white ones keep dropping. A lot...
Green+ seems to be unique, and the drop algorithm seems to favor them until one of each for the level has dropped, and then fall back to white items. Drops also seem to be connected to character level (This is unconfirmed, but a good guess). In the first scenario the chaff up until the barricades drop nothing (Except for the bolter that always drop), the second half may drop stuff.
For mod-makers - Should you feel tempted to repeat my modding, I strongly recommend setting XP multiplier for "selling" white items to 0.001 or you will level extremely quick or have a very full bank.
24th Feb 09, 6:05 AM
How many epic items did you get?
I'm only at level 8 yet, so no epics yet.
I've actually sold one green item, so I will not get a compete list of them either, until I replay the game.
24th Feb 09, 8:01 AM
where do you change the drop rates Tni? just so i can look at it my self
It's in Tuning_info.rbf. All values are 32 bit floats unless otherwise stated.
0x41740 - Drop rate for Chaff
0x41758 - Drop rate for Swarm
0x41AB8 - White multiplier (Set to 0.001 to reduce exp from thrash)
0x41788 - Armour drop ratio (Compared to the others below)
0x41794 - Accessory drop ratio
0x417A0 - Commander Accessory drop ratio
0x417AC - Weapon drop ratio
0x417B8 - Consumable drop ratio
The sum of the drop ratios are 10. I don't know it that will matter in the game, but I kept it that way
0x3EE18 - Points available for level 2.
The next one is 0x3C bytes after the first.
I would have utterly lost without Copernicus tools and descriptions.
24th Feb 09, 1:19 PM
Tni i don't suppose you have the offsets for the leader acc slot values under campaign\accessory_slots\squads in the tuning_info.rbf do you? I've been looking for them for ages.
1st Mar 09, 1:25 PM
It's in Tuning_info.rbf. All values are 32 bit floats unless otherwise stated. ....
ok sorry but i'm new to all this what value would i set 0x41740 to get say
and what value would i set 0x41AB8 to get 0.001?
sorry to be a pain but i'm learning if there is a table somewhere i can see the values i'd be happy as well
1st Mar 09, 1:33 PM
get corsix rbf converter.
It turns it into (almost) english.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.