Fashion. Edit game resources. (Sniper: Ghost Warrior 3)
So, we are dealing with the most sophisticated engine to date - CRYENGINE 4 it means that it is possible to apply all the knowledge that is on this engine, namely:commands, used via .cfg files;
- replacement textures;
- edit the scripts, etc.
And now in order.
.pak files open WinRAR usual.
.xml scripts are edited using Microsoft Excel.
And here we encounter the first and main issue: .xml files (and the rest) are encrypted separately via Resource Compiler from CryEngine: http://docs.cryengine.com/pages/viewpage.action?pageId=13205892
However, the decision is still there: the fact that the engine, in order to ensure the possibility of patches reads .pak - files in the following order, for example:
- first Scripts.p3.pak;
- then Scripts.p2.pak;
- then Scripts.p1.pak;
finally Scripts.pak is read last.
Ie for example if modified .xml script taken from Scripts.pak to put in the same directory of the archive Scripts.p3.pak, it is one that lies in the Scripts.p3.pak would work instead of the original.
And now the most important: first, it turned out that the file without a number .pak files are not encrypted. Which means that you can view, modify, and put in numbered p3 - archives, so they worked. But it is much better to decipher the most recent files in scripts/materials by using the decoder: https://www.dropbox.com/s/ksn7a5yggbdqp7l/BinXMLDecode.exe?dl=0
At the moment, have done quite quite a large number of mods, including analog fashion Crysis 2 Drivable civilian vehicles, allows you to control closed/blocked traffic (which there are exactly FIFTY-FIVE species).
UPD. You can modity, creating my own .pak files with the desired names, such as Scripts.p8.pak and placed there upgraded files.
xxREMAGxxIxxGAMERxx
WeaponCacheBalance.xml
unit trunk - specifies the number of clips(shopping), block cartridge (556, 762, etc) - specifies the maximum number of rounds carried by themselves, and are in the cache(it is already exposed to the maximum of 999)
In the xml of the trunk you can specify the size(volume) of the store
mr.muzzle
this is what I saw in the file, but I do not understand what was happening
СпойлерWorkbook xmlns urn:schemas-microsoft-com:office:spreadsheet xmlns:o urn:schemas-microsoft-com:office:office xmlns:x urn:schemas-microsoft-com:office:excel xmlns:ss xmlns:html http://www.w3.org/TR/REC-html40 DocumentProperties Author Damian Smoczyk LastAuthor Jorn Tews Created 2016-06-21T08:18:29Z LastSaved 2017-04-18T13:30:21Z Version 16.00 OfficeDocumentSettings AllowPNG ExcelWorkbook 12180 WindowHeight WindowWidth 0 28740 WindowTopX WindowTopY TabRatio 556 RefModeR1C1 ProtectStructure False, ProtectWindows Styles Style ss:ID Default ss:Name Normal Alignment ss:Vertical Bottom Borders Font ss:FontName Calibri x:CharSet 238 x:Family Swiss ss:Size 11 ss:Color #000000 NumberFormat Interior Protection s62 s63 10 Normal Normal 12 Normal 3 3 s64 s65 ss:Horizontal s68 "Left" ss:Parent s70 s71 s72 s73 s74 s76 s77 ss:Underline Single s78 s79 s80 Center Worksheet balance Table ss:ExpandedColumnCount 16384 ss:expandedrowcount, that 1084 x:FullColumns 1 x:FullRows ss:DefaultColumnWidth 54 ss:DefaultRowHeight 15 Column ss:AutoFitWidth ss:Width 206.25 ss:StyleID 132 43.5 66 75 36.75 84 99.75 113.25 93 105 ss:Span ss:Index 14 195 126 135 85.5 105.75 90.75 Row ss:AutoFitHeight Cell Data ### DO NOT USE STYLES, CLEAR FORMATTING ALWAYS TO DEFAULT ss:Type String 20 ### ITEM CLASS NAME INFO (not used, notes etc.) IN SHOP IN CRAFTING SRCM(-1, 0 -1) ALL CRCM TRADING GOODS BULLET HEADS, MECHANICAL PARTS, EXPLOSIVE CHEMICALS, ELECTRONIC PARTS, HEALTH FOOD AMMO MIN AMOUNT (REPLENISHMENT) BACKPACK MAX AMOUNT MAX AMOUNT AMMO STASH CAPACITY REGULAR CLIP LARGE CLIP COUNT COUNT ACQUISITION BONUS REPAIR COST DISPLAY ORDER !!!!! KEEP THE FOLLOWING COLUMNS FREE FOR FUTURE PARAMS ### Sidearms colt_m1911_rail Number 2689 -1 3 16 301 302 colt_m1911_a1 m9 3249 32 glock21 7800 36 303 305 308 4639 hk_mk23_socom 24 hk_usp 3819 22 p99 5869 307 304 309 magnumSw686 mp_443_grach 6270 1200 12 2200 SawnoffDB 306 310 ### DLC_Sidearms ### Sig Sauer P226 9mm 30 ### HK P7 (GSG9) .45mm ### Colt M45 CQB 45mm ### pl_14_lebedev ### desert_eagle ss:Height 18 ### aw50 Sniper System 22400 4 111 barrettM82a1 10550 110 barrettM95 19250 10 113 apr_308 t76 9220 9530 109 108 106 m1a_metal m110 10700 9800 ### m1a_wood Xm2015 101 Xm2015_prologue osv96 sr25 112 40 107 dragunov sv98 9720 102 104 vks 14.25 vintorez 103 41 ### DLC_Sniper System mcmillan ### QBU-88 [Customized] 7.62 ### FR F2 sniper rifle 7.62 ### ALEX-338 .338 ### Remington MSR .338 ### izhmashVs121 ### ORSIS T-5000 .338 ### Assault Rifles ak47 and m4 3000 60 202 203 4760 msbs 7349 201 ### Minigun pecheneg galil_ace_long 72 205 keltec_rfb 3689 ukm2013 204 2 206 ### DLC_Assault HKG36 Rifles with HK UTL flashlight, red dot, 3x Fixed MP5SD Stock, Surefire, Aimpiont MP5SD Collapsible Stock, Surefire, Aimpiont ### mossberg500 Shotguns benelli_m4 5800 1480 207 208 209 origin12 13000 ### DLC Shotguns Remington 11-87 14 barrel, Surefire, Pistol grip full stock Saiga-12 Beretta DT - 10 Kel-Tec KSG ### Shells 40mm Thumper Grenade Launcher RPG-32 M120 Mortar | mortar_ai Not for player use PZR Grom (Stinger) ### RecurveBow Bows CompoundBow 50 210 211 ### Karambit Knives sxb_skullcrusher 404 2300 fox_predator 1000 403 402 401 ka_bar ### Grenades (gadgets part) FragGrenades 49 0.75 70 80 9 999 501 SmokeGrenades 29 120 100 39 FlashBangGrenades 502 503 504 GasGrenades EMPGrenades 69 505 19 506 ThrowingKnife ### Traps (gadgets part) DecoyTrap 200 150 7 250 508 509 AntiPersonelMine TMRP6 500 5 511 C4 330 300 510 400 512 GasMine WarningDevice 507 ### Gadgets ### Nightvision googles Drone 451 ### DroneBattery ### Repairing ### Lock picking MedKit RecoveryPill 700 473 450 472 471 225 AdrenalineInjector silencer_repair_kit 454 ### Armor HeavyArmor 4500 463 MediumArmor 3200 66.599999999999994 320 462 LightArmor 1800 33.299999999999997 180 461 ### Drone modules ### Drone_mines_detection ### Drone_recording 15.75 ### Drone_mines_disarming ### Drone_invisible ### Drone_explode ### Drone_master ### Drone_weak_spots ### Drone_target ### Drone_recon ### Drone_recon2 ### Drone_quiet Drone_battery_medium Drone_battery_big 488 489 Drone_nightvision Drone_thermalvision 3500 1400 481 482 483 Drone_intelligentrecon Drone_lure 600 2100 2500 Drone_activecamo 485 486 487 Drone_hacking Drone_activecamo_adv 8000 1150 484 13 ### BulletsPistol PistolBullet9mm 0.5 90 PistolBullet45 31 PistolBullet44 ### Pistol Bullet .357 ### PistolBullet50cal ### BulletsSniper RegularSniperBullet762 6 PiercingSniperBullet762 EMPSniperBullet762 DecoySniperBullet762 TaggingSniperBullet762 25 ExplosiveSniperBullet762 LuringSniperBullet762 DarpaSniperBullet762 59 8 RegularSniperBullet338 PiercingSniperBullet338 EMPSniperBullet338 ### DecoySniperBullet338 TaggingSniperBullet338 ExplosiveSniperBullet338 LuringSniperBullet338 DarpaSniperBullet338 17 RegularSniperBullet50cal EMPSniperBullet50cal 99 ### DecoySniperBullet50cal 21 ### TaggingSniperBullet50cal ### ExplosiveSniperBullet50cal 23 ### LuringSniperBullet50cal DarpaSniperBullet50cal 129 ### BulletsOther AssaultRifleBullet556 360 750 AssaultRifleBullet762 26 27 28 ShotgunBulletBuck 240 ShotgunBulletSlug ArrowBulletFlatHead ArrowBulletBarbedHead 33 34 ### Accesories ### Pistol Suppressors hk_usp_silencer 799 361 hk_mk23_socom_silencer colt_m1911_silencer 429 679 m9_silencer sigp220_silencer glock21_silencer p99_silencer grach_silencer 349 249 579 ### Pistol Attachments m9_laser hk_usp_flashlight 89 hk_mk23_flashlight colt_m1911_flashlight colt_laser 362 glock21_laser 79 p99_laser hk_mk23_laser p99_flashlight glock21_flashlight ### Pistol Clips colt_m1911_clip colt_m1911_rail_clip m9_clip glock21_clip hk_mk23_socom_clip hk_usp_clip p99_clip magnum_drum mp_443_clip ### Assault Rifles Attachments ak47_flashlight 261 m4_flashlight 130 benelli_flashlight msbs_flashlight m4_grenade_launcher_a 262 ak47_laser keltec_laser m4_laser 140 159 msbs_laser galil_laser ### Suppressors for Sniper Rifle xm2015_silencer 161 m1a_silencer 1396 vks_silencer 9999999 sv98_silencer 1090 ### osv96_muzzle_brake_01 ### osv96_muzzle_brake_02 dragunov_silencer 1729 ### mk13_silencer ### mk13_silencer_cover ### barrett_m82a1_silencer_b barrett_m82a1_silencer_a 2439 ### barrett_m82a1_muzzle ### barrett_m95_muzzle longbow_silencer 2369 vintorez_silencer ### aw50_silencer apr_308_silencer 2489 sr25_silencer m110_silencer 1529 mcmillan_silencer xm2015_silencer_prologue m9_silencer_prologue m4_silencer_prologue ### Suppressors for Assault Rifles pecheneg_silencer_a origin12_silencer ak47_silencer m4_silencer 969 1289 ukm_2013_silencer keltec_silencer 880 ### Scopes for pistols and bow hk_mk23_socom_fv ### compound_bow_Scope ### Scopes for sniper rifles ### vintorez_scope ### xm2010_scope ### sv98_scope ### scope_leupold_mark_iii ### scope_leupold_mark_iii_longrange osv96_scope ### scope_posp_12_50 ### vks_scope_fp scope_rus_one scope_rus_two scope_rus_three 3600 2400 162 163 164 scope_rus_five scope_rus_four 4800 6000 7200 scope_rus_six 165 166 167 scope_rus_eight scope_rus_seven 8400 9600 10800 scope_rus_nine 168 169 scope_nato_one scope_nato_two scope_nato_three scope_nato_four scope_nato_five scope_nato_six scope_nato_seven scope_nato_eight scope_nato_nine ### m110_ironsight ### sr25_ironsight ### vks_ironsight mcmillan_scope_longrange ### colimators and Scopes for Assault Rifles m4_acog_a 1039 Magpul_mbus galil_ace_long_collimator ak47_scope 271 leupold_lco pecheneg_scope ukm2013_scope 1369 ukm2013_collimator ukm2013_ironsight mossberg500_ironsight mossberg500_ironsight_open mossberg500_collimator 699 272 769 keltec_scope msbs_ironsight keltec_ironsight galilace_ironsight benelli_collimator benelli_ironsight benelli_scope 329 273 ### Magazines for sniper rifles xm_2015_clip_5 xm_2015_clip_10 vks_clip_5 vks_clip_10 vintorez_mag10 vintorez_mag20 9000 longbow_clip_5 longbow_clip_10 sv98_clip_5 sv98_clip_10 sv98_clip_20 5000 osv96_clip_5 osv96_clip_10 osv96_clip_15 dragunov_mag_10 dragunov_mag_20 m1a_metal_clip_5 m1a_metal_clip_10 m1a_metal_clip_15 m110_clip_10 m110_clip_15 aw50_clip_10 aw50_clip_20 barrett_m82a1_clip_5 barrett_m82a1_clip_10 apr_308_clip_10 apr_308_clip_15 sr25_clip_20 sr25_clip_30 12000 mcmillan_clip_5 mcmillan_clip_10 barrett_m95_clip_5 barrett_m95_clip_10 barrett_m95_clip_15 ### Magazines for Assault Rifles ak47_bakelit_clip 4000 282 283 281 ak47_drum_clip ak47_iron_clip m4_drum_clip m4_standard_clip msbs_clip_20 msbs_clip_30 galil_ace_long_clip_15 galil_ace_long_clip_35 keltec_mag_clip_15 keltec_mag_clip_25 2000 ukm_clip origin12_drum_clip 376 ### Bipods osv96_bipod 119 ### pecheneg_bipod_a sv98_bipod vks_bipod apr_308_bipod aw50_bipod barrett_m82a1_bipod barrett_m95_bipod dragunov_bipod longbow_bipod sr25_bipod vintorez flashlight ###ukm_2013_bipod mcmillan_bipod xm2015_bipod ### CamoUniform Camouflage GhillieSuit CamoPoncho 491 492 493 12150 ForestPersonalCamouflageNet ForestGrassUpgrade ### NightVisionGoggles Vision devices ThermalVisionGoggles 3379 1250 452 453 ### Weapon decoration (camouflage) camo_1 940 camo_2 camo_3 1310 camo_4 camo_5 camo_6 camo_7 camo_8 camo_9 camo_10 camo_11 camo_12 camo_13 camo_14 camo_15 camo_16 camo_17 camo_18 camo_19 camo_20 camo_21 camo_22 camo_23 camo_24 camo_25 camo_26 35 37 38 camo_27 camo_28 camo_29 camo_30 camo_31 camo_32 camo_33 42 43 44 45 46 camo_34 camo_35 camo_36 1680 47 48 camo_37 camo_38 camo_39 camo_40 camo_41 51 52 53 camo_42 camo_43 camo_44 camo_45 camo_46 55 56 57 plain_1 plain_2 plain_3 plain_4 plain_5 plain_6 plain_7 plain_8 plain_9 plain_10 plain_11 camo_1_dlc camo_2_dlc camo_3_dlc camo_4_dlc camo_5_dlc camo_6_dlc camo_7_dlc WorksheetOptions PageSetup Header x:Margin 0.3 Footer PageMargins x:Bottom x:0.7 Left x:Right x:Top Unsynced Print ValidPrinterInfo PaperSizeIndex HorizontalResolution VerticalResolution Zoom 85 Selected FreezePanes FrozenNoSplit SplitHorizontal SplitVertical TopRowBottomPane 294 LeftColumnRightPane ActivePane Panes Pane ActiveRow ActiveCol ProtectObjects ProtectScenarios Sheet2
xxREMAGxxIxxGAMERxx to understand what was happening, you had to at least open the file .xml script using Microsoft Excel and attach here the screenshots under the spoiler.
xxREMAGxxIxxGAMERxx
I used to work with Notepad++, but it WeaponCacheBalance easier to edit in Excel, as described above condros.
mr.muzzle, too, prefer to work with Notepad++, but as it turned out, he hits .xml files CryEngine. In the case of CryEngine 3 rules correctly and didn't mess with files only Excel, but in this case I can not say exactly which version FOR optimal use.
xxREMAGxxIxxGAMERxx
So I looks editing bullet in Excel
so in N++
The number of stores in Excel
in N++
And such a question, but how to edit the sound of a rifle, I want to change it to another, from another rifle