-
Notifications
You must be signed in to change notification settings - Fork 91
Merger from FastTrack fork - Phase I (Core) #1006
Merger from FastTrack fork - Phase I (Core) #1006
Conversation
Sync with upstream repo - v1.0.1.6a v4
Sync with upstream repo - v1.0.1.6b v1
For #125 Stats courtesy of @Theblessedwant
Sorry @sumghai, you missed a spot ;)
Sync with upstream repo - v1.0.1.6b v6
For #69 CE:FT/RN exclusive content. All stock CE thrown grenades were already patched from upstream.
For #135 Update courtesy of @Magichp, who originally provided these files via Mediafire
As a consequence of c734be9
As a consequence of c734be9
As a consequence of c734be9
For #69
For #137 Code snippet courtesy of @Theblessedwant
For #69
The new high caliber shells need FMJ added, and some are missing other ammo types as well. These can be added later, but they do need to be added. |
@sumghai Based on our discussion, what'd we determine for the tranq rounds? Were we going to make them a base ammo type (which may require we add them to a bunch of other rifle and pistol rounds) or just make them a patched ammo type for whatever patches need them? |
Update CombatExtended.dll for #1006
…rger Revert "Update CombatExtended.dll for #1006"
I updated that @sumghai looks good to me. Will be merged as soon as @N7Huntsman reviews ammunition and all connected issues (if any) are resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DamageDef Tranquilizer is missing to give to Bullet_9x19mmPara_NL (Defs/Ammo/Pistols/9x19mmPara_NL.xml), Bullet_762x51mmNATO_NL (Defs/Ammo/Rifle/762x51mmNATO_NL.xml)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Errors from texture paths:
Things/Ammo/RPG/SMAW_HEAT (Ammo/Rocket/83mmSMAW.xml)
Things/Ammo/RPG/SMAW_Thermobaric (Ammo/Rocket/83mmSMAW.xml)
Things/Projectile/RPG/SMAW_HEAT (Ammo/Rocket/83mmSMAW.xml)
Things/Projectile/RPG/SMAW_Thermobaric (Ammo/Rocket/83mmSMAW.xml)
Things/Projectile/RPG/AT4 (Ammo/Rocket/84mmAT4.xml)
Things/Projectile/RPG/MATADOR (Ammo/Rocket/90mmMATADOR.xml)
Things/Projectile/RPG/M72LAW (Ammo/Rocket/M72LAW.xml)
Things/Ammo/RPG/M74 (Ammo/Rocket/M74.xml)
Things/Projectile/RPG/M74 (Ammo/Rocket/M74.xml)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ThingCategoryDef.AmmoMissiles is missing to give to TomahawkLAM (Defs/Ammo/Rocket/TomahawkLAM.xml)
Based on real-life manufacturers' brochures and data, those High Caliber rounds were never available in FMJ. As for certain shells not having EMP variants, fair point. (In general, I'm a wee bit apprehensive about adding ammo types to calibers that never had those variants in real life - for example, the Imperial Japanese Army never manufactured the 8x22mm Nambu in anything other than FMJ, yet CE has AP and HP variants)
In short, I proposed making them a base ammo type, but only available in certain (9x19mm Para and 7.62x51mm NATO) calibers, and in separate tranq-only ammosets. This is because the other, usual two options are currently inappropriate:
If it is possible to conditionally patch the tranq ammo for both MGS mods without resulting in duplicate defs when both mods are active in a savegame, then I may be partial to regular policy number one (as above). @Alicecomma - something must've borked very badly in the upstream_merger_core branch of CEFT for the texture references to be incorrect. |
I can appreciate your position, but ultimately I think there was an acknowledgement that we're sort of left filling in a lot of "gaps" with these ammo types--even the ones on the list that did exist aren't necessarily accurate to their actual specifications just because of the reality that it'd be a full-time job for a professional researcher to find all the information. I wouldn't worry about it for now anyway--I'll generate the other ammo types and get them added on our end to save you the distraction from the merger.
A PatchOperationFindMod will allow us to keep the conditional, even for multiple mods. The following PatchOp will execute if one or multiple targeted mods are active:
|
@sumghai Additionally, I noticed while reviewing the ammo that it seems that perhaps FT's sabot rounds are generated (when there's not RL data to use) somewhat different to CE? Are there any particular metrics FT uses? For CE, they're generated as:
|
Fair point. I suppose from a Watsonian perspective, the various tribes/factions on RimWorld invented these variants to suit their needs, while the Doylist explanation would be to suit different playstyles. As an aside, when I was calculating the stats for FT, I would spend an average of 2~3 hours' of research per caliber, and frequently add research citations to the notes for each cell. Not fun.
Sounds good. As agreed, we should use existing CE ammo textures where possible, but I can do additional graphics if required, as I have been given a copy of A_Friendo's (?) original CE art files, and I'm reasonably comfortable working to the official CE artstyle.
Ah yes, I remember this technique now. To put things into context, the two MGS mods have separate patch folders. I can put the conditional ammo patch file in one of the two patch folders, but have the PatchOp look up either mod. I think this should work!
Sabot rounds (as opposed to Railgun rounds) should be following standard CE calculation rules. Unless, I borked the spreadsheet calcs yet again... |
Fair enough. I plan to give the ammo types coming in a thorough review for balance this coming weekend anyway, my primary concern now is just making sure there aren't any issues/changes that need to be made significant enough to hold up bringing it it--which, at the moment, the only one I'm seeing is the tranq ammo. Other than that, the only other thing I do want to see changed for the ammo is that on the FT spreadsheet, the Railgun Sabots currently do 100% Damage, and I'd like to see that changed to 70% to match the conventional Sabot ammo--sort of reflective of their comparatively poor terminal ballistics. It's a pretty small tweak, so whether you can do this on your end or I do it on mine makes no difference to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have reviewed the .xml components and am generally comfortable with what I see.
Notes:
- Added comments to the tranq ammo for tracking purposes.
- Tranq ammo category should probably be moved from _Advanced to _General, since it's for conventional cartridges.
- I noticed that that the generic Ballistic Knife blade was removed. I assume it's been moved to a patch instead?
For CombatExtendedRWMod/issues/1006 Moved to general, since it is an ammo type for conventional rifle/pistol calibers
For CombatExtendedRWMod/issues/1006 Will later be re-implemented as a conditional patch for Metal Gear Solid mods; also moved ammo textures to ThirdParty subdirectory
@Alicecomma - please see 2d3daa1 and 0f5cd42 for the rocket/missile texture path and thingcategorydef fixes (I have temporarily removed the tranq round defs, so that I can re-implement them as conditional patches within their respective mods) |
Phase I of the Merger from the CE:FT fork, containing just the Core changes:
Graphic_StackCountRanged
graphicClass that gives modders better control over what graphic is displayed for an item based on the current stack count; this works by retrieving the upper limit for each stack size interval from the filenames of the graphics themselvesammoConsumedPerShotCount
xml tag that allows ranged weapons to consume multiple rounds of ammunition simultaneously per shot or trigger pull, such as double-barrelled shotguns or Metal Storm-style multi-barrel weapons turrets; setting this value to 0,1 or omitting it altogether will cause the weapon to default to standard CE behaviour of one ammo consumed per shot (ensuring backwards compatibility with all existing weapons patches)NOTE: Some manual merging and fixes may be required, due to de-synchronization between CE and FT teams as a result of time zone differences