View Full Version : Tweaking Crisis
Ducimus
12-13-07, 01:45 PM
For the last week, my new hobby has been trying to shoehorn Crysis into my existing machine.
2Gigs ram
AMD 64 3500
Nvidia 7800 GS / 256 MB RAM
Not the greatest system, not the worst, but its all this boy can afford. So, in continuing an age old tradition of "making do with what you have", ive been going over crysis as best i can. Up until this point, ive been able to run any FPS i want, and not have a problem. Crysis however, is pretty much a next gen game as FPS go, so where i normally didnt get into tweaking, ive now had to.
So heres an autoexec ive been working on. Ive been applying this to all game settings at Medium, with the exception of texture quality at low. Anything with a "//" in front of it, is remakred out and will not be loaded by the game.
con_restricted=0
//d3d9_TextureFilter bilinear
//r_displayinfo=1
//sys_enable_budgetmonitoring=1
sys_budget_sysmem=1024
sys_budget_videomem=256
r_CustomVisions=0
//object quality
e_terrain_lod_ratio=1.5
e_lod_min=3
e_lod_max=7
e_lod_ratio=3
e_view_dist_ratio=40
e_view_dist_ratio_vegetation=15
e_proc_vegetation=0
e_vegetation_bending=0
e_vegetation_min_size=2.0
e_cull_veg_activation=15
e_vegetation_sprites_distance_ratio=0.75
e_vegetation_sprites_distance_custom_ratio_min=0.5
e_detail_materials_view_dist_xy=64
e_detail_materials_view_dist_z=64
//shadow
//e_shadows = 0
e_shadows_max_texture_size=1024
e_gsm_lods_num=3
e_gsm_range=4
e_shadows_cast_view_dist_ratio=0.25
//physics
e_phys_foliage=1
e_cull_veg_activation=20
e_foliage_wind_activation_dist=0
es_MaxPhysDist=50
//game effects
g_ragdollMinTime = 5.0
//shaders
q_ShaderSky=0
//volumetric effects
e_Clouds=0
//particles
e_particles_lod=0.75
So far, it feels like ive gotten a pretty good FPS boost while being able to keep most of the bells and whistles of the game on. That said, i think the bottleneck in performance now, is geometry, and crysis has ALOT of it. It would be awesome if i could somehow reduce all the geometry.
Whats maddening, is that Far cry looks alot like crysis, and runs infinatly better. I can max most everything out on Far cry, and it looks better then crysis to me. So not being one to give up, im still trying to get Crysis to look like farcry, with similar performance. I think ill try a bottom up approach (setting game to low, and then tweak updwards), instead of a bottom down approach (setting game to medium and then tweak downwards)., and see if i cant find a happy medium. However, ive noticed that even at low, the game still kind chugs in urban areas - again, it's the geometry i think. One thing i havent done yet is reduce the screen resolution, but im not a far cry (pun not intended) from that.
FAdmiral
12-13-07, 03:38 PM
Right from the start, I have run the game at 800x600 and it looks GREAT to me.
That autoexec file I had gave the game custom settings in my graphics
options where I had it all set to LOW before. Now, rendering is also at a distance
whereas before, the foliage would suddenly appear when I approached it.
Of course, this is all using the SP maps where jungle fighting vs. the AI North
Korean bots is the norm. Too many players right from the start want to run it
all full bore (graphic options to extra high & resolution to the max) and then complain when there super PC can't handle it. I never had Farcry so I am not
familar with it. I know that the autoexec file can be tweaked for each single
PC and sometimes it's just a trail & error to get it right for yours. MP is a totally
different issue. The way it is now is a hugh step backwards from what the SP side
had to offer. Co-op play on large SP style jungle maps is what I was expecting
from the start. Unfortunately, the only thing I had to go on was looking at & playing the demo which is ALL SP play. I loved it so I bought the game. I will
play the MP side when Crytek gets the co-op or some like structure but suit vs.
suit is a copeout in my opinion. This game is maxed for stealthy play by infiltrating
suited team vs. an AI North korean bot occupying force. The aliens in this game
are a storyline that should have no basis in good MP games.....
JIM
Ducimus
12-13-07, 03:56 PM
Right now im taking a bottom up approach instead. Ive tried it at 800 by 600, and 1024 by 768, and in doing so, there is the sad confirmation that the bottom line is, i need a faster GPU. Lowering the resolution, doesn't seem to help me much - if it all. Maybe, 1 or 2 FPS, at best. The sacrifice between 800 and 1024 isn't worth a 1 or 2 fps gain.
The whole thing is a trial and error process. Right now ive got the background visuals sort of fuzzy (or what i thought was an acceptable level of fuzziness), and i may open those up a bit later on.
Currently, heres the new autoexec.cfg im working on, it is not complete yet, thiis file accounts for EVERTHING being set to low:
con_restricted=0
r_displayinfo=1
//sys_enable_budgetmonitoring=1
sys_budget_sysmem=1024
sys_budget_videomem=256
//texture
r_width = 1024
r_height = 768
//objects
e_terrain_lod_ratio=1.5
e_lod_min=3
e_lod_max=7
e_cull_veg_activation=15
e_vegetation_bending=0
e_vegetation_min_size=2.0
e_vegetation_sprites_distance_ratio=0.75 //distance stuff is turned into a sprite
//shadows
e_shadows=1
e_shadows_max_texture_size=1024 //higher res, cuts down flickering
//physics
g_joint_breaking=1
e_decals_allow_game_decals=1
//shaders
e_sky_type=1
//volumetric
e_Clouds=0
//game fx
//post processing
//particles
//water
//sound - medium
s_FormatSampleRate=48000
s_CacheSize=60
s_MPEGDecoders=24
s_Obstruction=2
s_ObstructionAccuracy=1
s_ObstructionUpdate=0.5
s_VariationLimiter=0.6
Certain objects such as specfic Trash car models are showing up with orange squares, so theres a shader i need to activate to get rid of those.
I think once this is complete, barring any further background visual rendering tweaks, it will be as good, as i can get it, at 1024 by 768 resolution. But ultimatly, i think the bottom line here, is therse too much geometry to process, and the only way to get it to run better, is to upgrade to a faster GPU. I am however, wondering if precaching over threading may help, i have the RAM for it.
Ducimus
12-13-07, 06:22 PM
This looks intresting:
http://www.incrysis.com/forums/viewtopic.php?id=14544
----------
edit: Notes to self.
http://www.nvidia.com/object/winxp_169.09.html
e_precache_level=1
r_TexturesStreaming = 0
p_max_MC_iters = 2000
g_dof_ironsight=0
FAdmiral
12-13-07, 08:12 PM
Yep, like I said before:
"I know that the autoexec file can be tweaked for each single PC and sometimes it's just a trail & error to get it right for yours."
Start with low settings & then experiment with the autoexec till you like the
results. I saw a fantastic difference with my first try at installing the file.
It's just like I had a faster/better CPU & GPU. I only run a P4-3 gig cpu with 3
gigs of ram. My graphics is a GF 7600GT 256 DDR3 which do a fine job. I have never had better graphics in a FPS game than Crysis. Just get MP right !!!!
JIM
Ducimus
12-13-07, 09:06 PM
One thing ive noticed - now that i think about it - is that the game hardly even uses up RAM. 256 megs of video ram, isnt alot, but the game barely uses it. Ive also noticed it doesnt seem to use up more then 500 to 700ish megs of normal ram. So basically i have another gig of ram thats not being utilized at all. Think im gonna try prechaching the level and stop texture streaming tonight and see how it does. Object being to utize more ram, and maybe have less streaming to process. Maybe reduce stuttering in urbanized areas.
SUBMAN1
12-14-07, 12:36 PM
Well, my outdated PC handles it fine with things set to mostly very high. If you looked at my vids, you can see the frame rate is smooth:
http://www.stage6.com/user/xman11/video/1892802/Sundown-in-Crysis
Anyway, the best guide I have found is this one:
http://www.tweakguides.com/Crysis_1.html
Hope it helps. I'll get back to making new vids after a while. I don't want to spoil the story before people get a chance to play it.
-S
Ducimus
12-14-07, 12:48 PM
I think i finally found what works for me.
con_restricted=0
r_displayinfo=1
//sys_enable_budgetmonitoring=1
sys_budget_sysmem=1024
sys_budget_videomem=256
//texture
r_width = 1024
r_height = 768
r_DynTexAtlasSpritesMaxSize=24 //32?
//objects
e_cbuffer_resolution=64 //resolution of software coverage buffer, default 128
e_terrain_lod_ratio=1.5 // fill rate performance, default 1
e_lod_min=2 //min Level of Detail for objects, 0 is max quality when up close
e_lod_max=6 //max level of detail for objects, default 6, smaller = more detail
e_lod_ratio=3 //default 3distance of LOD transitions on objects e_view_dist_ratio controls
e_view_dist_ratio=40 // view distance ratio for objects
e_view_dist_ratio_detail=19 //view distance for detail objects
e_view_dist_ratio_vegetation=21 //view distance for vegetation, default 15
e_vegetation_bending=0 // turns off moving vegetation
e_vegetation_min_size=1.75 //any vegetation below this size does not render
e_vegetation_sprites_distance_ratio=0.75 //distance stuff is turned into a sprite
e_detail_materials_view_dist_xy=1024 //background landscape
e_detail_materials_view_dist_z=64 //background landscape
e_terrain_occlusion_culling_max_dist=100 //low default 100
r_TexturesStreaming=0
i_rejecteffects=1
//physics
g_joint_breaking=1
e_cull_veg_activation=15
e_decals_allow_game_decals=1
p_max_MC_iters=2000 //test
//shaders
e_sky_type=1
e_sky_update_rate=0
//e_max_entity_lights=7
q_Renderer=1
q_ShaderGeneral=1
q_ShaderPostProcess=1
q_ShaderFX=1
q_ShaderMetal=1
q_ShaderGlass=1
q_ShaderIce=1
q_ShaderShadow=1
q_ShaderHDR=1
r_HDRRendering=1
//shadows
e_shadows=1
e_shadows_max_texture_size=256
r_ShadowJittering=1
r_ShadowBlur=2
r_ShadowsMaskResolution=2
//volumetric
e_Clouds=0
//game fx
r_CustomVisions=0
//post processing
r_DepthOfField=1
//particles
e_water_ocean_soft_particles=1
//water
q_ShaderWater=1
r_WaterCaustics=1
e_water_tesselation_amount=6
e_water_tesselation_swath_width=5
//sound - medium
s_FormatSampleRate=48000
s_CacheSize=60
s_MPEGDecoders=24
s_Obstruction=2
s_ObstructionAccuracy=1
s_ObstructionUpdate=0.5
s_VariationLimiter=0.6
Where as before i was getting around 12 FPS, now im getting around 15 to 20, and occasionally 25 and 30, depending on the area.
I suppose if im feeling rambunctious, i could turn on the vegetation and terrain shadder. :roll:
The above settings assume you ran the autodetect system settings, and it put EVERYTHING on low. Also, these drivers:
http://www.nvidia.com/object/winxp_169.09.html
Are also a big improvement for crysis.
SUBMAN1
12-14-07, 02:52 PM
Just looked at your specs. A 7800, not even a GTS, can handle Crysis properly. You need to look at one of these $200 vid cards from ATI or NVidia. That will hold you over for quite some time game wise. These $200 cards now days outperform my x1900 XTX that I paid $600 for last year. Its a buyers market.
-S
FAdmiral
12-14-07, 04:07 PM
Since we are talking about graphics cards, here are some places to check:
http://www.anandtech.com/video/showdoc.aspx?i=3175
http://www23.tomshardware.com/graphics_2007.html?modelx=33&model1=859&model2=722 &chart=279
My GF 7600 GT 256 DDR3 which I ended up paying about $80. on sale.
It runs Crysis at from 20 to 50 FPS using the autoexec file I got first.
Ducimus first attempt was not enought rendering for me. The larger
file he posted from another site was way too much and dropped the
FPS down to 15 and gave the colors a washed out look. I have not
tried his final file yet. Ya gotta love this game in SP with the fantastic
graphics & gameplay. But like I said before, it needs a co-op MP mode
so that I can have 5 buddies playing along with me. Submans rambo
style of play is a little fast for me. I love the long range silencer sniper
shots. I did a head shot at 155 meters just yesterday and NO, I did not
use strength to steady the gun....
JIM
SUBMAN1
12-14-07, 07:43 PM
Rambo? :D I don't play like Rambo! I simply systematically eliminate and destroy the enemy. No enemy, and they don't shoot back, resulting in your ability to proceed easier through the levels! I think the only thing possibly different from what you do is the pace I take. If I go slow, I lose situationaly awareness, which results in my inability to mentally picture where each and every threat might be (Those bastards have feet and seem to move - its very inconvienient when one is trying to eliminate them when they are not where they are suppose to be!), resulting in a greater chance of me being killed. By being on the offensive, I control the situation.
As they say, sometimes the best defense is a good offense!
-S
Ducimus
12-14-07, 07:49 PM
Just looked at your specs. A 7800, not even a GTS, can handle Crysis properly. You need to look at one of these $200 vid cards from ATI or NVidia.
It can run it.. but its way too choppy. I suppose ive been spoiled because ive been past the tech curve for a little while, and have some pretty fluid FPS. Honestly i contemplated not buying crysis at all, from what i heard, my system may as well be a 80286. I think i have a bottleneck somewhere, but im not sure where it is. Arguably the video card. It was a quick purchase because my prevous card went up in smoke. I have a company bonus coming i think maybe, so yeah, a new card is the plan.
edit:
RE the autoexec i just posted
It has more background rendering. Mountains will look pretty decent. It stops textures streaming, which means your computer will use more of its RAM. I studder ALOT less once everythings loaded up. The only thing wrong is the little red junk cars have some orange artifiacts. Theres some medium setting that gets rid of that, i just havent figured out what it is yet.
SUBMAN1
12-14-07, 07:51 PM
Just looked at your specs. A 7800, not even a GTS, can handle Crysis properly. You need to look at one of these $200 vid cards from ATI or NVidia.
It can run it.. but its way too choppy. I suppose ive been spoiled because ive been past the tech curve for a little while, and have some pretty fluid FPS. Honestly i contemplated not buying crysis at all, from what i heard, my system may as well be a 80286. I think i have a bottleneck somewhere, but im not sure where it is. Arguably the video card. It was a quick purchase because my prevous card went up in smoke. I have a company bonus coming i think maybe, so yeah, a new card is the plan.Well $200 will buy you a smoking card these days (That is in FPS, not like your old card! :D) I love it when vid card manufacturers quit fighting over the top end, and instead fight over the middle. This is very good for the consumer.
-S
FAdmiral
12-16-07, 04:37 PM
I have uploaded a newer & bigger autoexec file for downloading here:
http://hosted.filefront.com/FAdmiral/ (http://hosted.filefront.com/FAdmiral/)
This contains all of the previous file but with much more added. It made
the graphics like ultra high but also did a hit on the FPS. If your PC can
handle it, the graphics & rendering are utterly fantastic.....
JIM</B>
Ducimus
12-17-07, 08:07 PM
After several years, ive broken an oath, in part, due to Crysis. That oath was, "No purchasing of Prefabricated computers." Ive always built my own for awhile now.... and well umm....
Dude! I'm getting a dell!" :rotfl:
My bottleneck is arguably my entire system. Its old. I didnt realize how old tell i started looking at the newer standards. I can't upgrade my video card, its an AGP port. 7800 GS is as high as Nvidia goes, unless i want to go back to ATI, and even then its not going to be all that and a bag of chips. Then theres the ram. 2 Gigs of .. well its not DDR2, lets put it that way. I think its PC2100 ram, not sure. :roll: Oh, and as im sure you guessed, the Mobo is a socket 939. Which it seems is old and busted and definatly not the new hotness.
Once i realized id never get a new video card in this box, i started pricing parts, and it all went downhill from there. New mobo, new vid card, new ram, new CPU.... i mean.. ****.. i may as well buy a new computer. Dell's prefab as it turns out, is cheaper then building a new box. *sigh*
SUBMAN1
12-17-07, 09:59 PM
After several years, ive broken an oath, in part, due to Crysis. That oath was, "No purchasing of Prefabricated computers." Ive always built my own for awhile now.... and well umm....
Dude! I'm getting a dell!" :rotfl:
My bottleneck is arguably my entire system. Its old. I didnt realize how old tell i started looking at the newer standards. I can't upgrade my video card, its an AGP port. 7800 GS is as high as Nvidia goes, unless i want to go back to ATI, and even then its not going to be all that and a bag of chips. Then theres the ram. 2 Gigs of .. well its not DDR2, lets put it that way. I think its PC2100 ram, not sure. :roll: Oh, and as im sure you guessed, the Mobo is a socket 939. Which it seems is old and busted and definatly not the new hotness.
Once i realized id never get a new video card in this box, i started pricing parts, and it all went downhill from there. New mobo, new vid card, new ram, new CPU.... i mean.. ****.. i may as well buy a new computer. Dell's prefab as it turns out, is cheaper then building a new box. *sigh*DON'T BUY A DELL! Crud. You are going downhil faster than a garbage can in a storm! :hmm:
-S
Ducimus
12-17-07, 10:16 PM
Only two major reasons why i went with dell.
1.) Can still get them with WinXP.
2.) last i checked, cases used (not the slim BS) were ATX form factor compatible.
To the best of my knowledge, most prefab systems use a prepriotary form factor, which is the major reason i never bought one in several years.
I already know the first thing ill have to do with this system is change out the PSU. Garunteed they put the minimal in so it barely runs without a CTD. Other then that, not sure why Dell would get bad marks. Compared to other prefabs ive seen over the years, they seemed like the better one.
edit: Too late for second thoughts now, those guys are quuiiiiicccckk. Suckers already shipped. Whatever the problems are with dell, i think It would take nothing short of a hardware failure to get me upset. I mean, hell ive been building PC's with cheapo parts made in china, and VIA / MSI Mobo's out of PC club and running them on a not so legit copy of WinXP Pro for a few years now. Can't get any worse then that !
I know I'm ignored, but thanks still Ducimus. Gave me an huge FPS boost. :up:
FAdmiral
12-18-07, 04:49 PM
A Dell or any other brand is just a sum of all the parts. So you need to pay
close attention to just what those parts are. At least with Dell, you can
pick those parts, they assemble them and you get your machine. I did the
same thing on mine 2 years ago but I went into Microcenter and picked all
the parts I wanted. They put it together and I took it home. Only had to do
2 upgrades lately, more ram (3 gigs) and newer graphics card to handle shader
3.0 (my old card won't do it) I run Crysis great, just not on the screaming
highest settings....
JIM
PS. I don't keep my truck pedal to the floor all the time either !!
NeonSamurai
12-18-07, 05:44 PM
Well ive been buisy modding my game (getting rid of the dual pistols, upping the damage a bit, changing the ammo loadout for some weapons, playing with the accuracy, etc) and I found out some interesting stuff about the weapon damage.
First off the damage actualy drops off the futher your target is, for example the base damage of the FY71 (AK) is 52, and it looses 0.2 damage per meter beyond 50.
Second thing (and this is the most important) is the silencer realy drops the damage down quickly when shooting at range, the FY71 looses 1.5 points of damage per meter beyond 10 meters.
This explains why the weapons often feel weak when shooting at range (and why I was having unarmored guys surviving 1-3 30 round clips when I shot them in the torso from 100m away while the gun was silenced (I always keep it silenced), as unsilenced I would have been doing 42 damage at 100m, Silenced I would be doing negative damage, infact the gun pretty much seems to do almost no damage beyond around 40m unless you do head shot which seem to insta kill no matter the range (ive pulled off 150+m head shots using a silenced FY71 and sniper scope).
Guess this gives us a pretty good reason to take off the silencer when we don't need it.
Ducimus
12-18-07, 06:06 PM
Can i subscribe to your newsletter? :D
I suspected as much with the silencer, just didnt dig in the files to see what it was doing. All i can say is, you wouldn't beleive the ranges i was trying to do headshots with. A shot COM? Forget it. You could empty a clip hitting center of mass and it does nothing.
I'll give crysis this..... it mimics that horizontal lazy 8 movement when you stare down a sight too long pretty well.
NeonSamurai
12-18-07, 08:29 PM
Heh ya, that infinity pattern makes long distance shots with the rifles fairly easy. I also do alot of long range shooting in that game (much more then 150m was using that as an example), though usualy with the ak knockoff not the sniper.
Im not sure if there is a minimum damage or not, but i suspect there is (unless the head has no hit points (or 1) and any head shot is an insta kill which it is).
If your interested I can post the main stats for the guns (i wont bother with recoil and the like since it would get too messy).
The nice thing about this game is modding it is real easy, the scripts are almost english readable, you don't need any special tools (winrar and notepad for stat editing), the .pak files are actualy zip files which you can either tell winrar to open as pak files, or rename them to zip files
Marcantilan
12-18-07, 10:25 PM
Well, my Sempron 2800+ / 1 Gb Ram / ATI R1600pro is handling the game pretty well.
I´m running the demo at 1024x768 with medium settings (except objects and shaders, which are in low) and the results are impressive: around 20 FPS (totally playable for me)
Just my 2 cents...
Ducimus
12-18-07, 10:28 PM
Im guessing the scripts are in some C langauge deriviatve.
Reading code isnt too hard. I did some similar modding for myself in BF2. Just stupid crap for grins like turning the SAW into an MG42 performance wise, or making the sniper rifle a 1 shot kill.
FAdmiral
12-20-07, 02:40 PM
Here is an analyze tool that checks your PC in all areas to see how well
you can run Crysis or if at all:
http://www.systemrequirementslab.com/referrer/gamespy_srl?registration_option_id=5426
JIM
FAdmiral
01-03-08, 04:16 PM
An experienced modder & map-maker working with Crysis has done an SP map
with both friendly & NK enemy bots. He has also got them to fight. He is now
working to get them (friendlys) to accompany you (player) in your quest for
mission goals. Seems to be the next best thing to co-op MP. I love playing
Crysis in SP but I long for some buddies to fight along side me. If they can't be humans till the game is patched, then I will settle for some AI companions....
JIM
FAdmiral
01-08-08, 02:34 PM
Patch 1.1 for Crysis has just been released. About 139mb download, getting it
now from FileFront....
JIM
Galanti
01-09-08, 08:04 AM
Heh ya, that infinity pattern makes long distance shots with the rifles fairly easy. I also do alot of long range shooting in that game (much more then 150m was using that as an example), though usualy with the ak knockoff not the sniper.
Im not sure if there is a minimum damage or not, but i suspect there is (unless the head has no hit points (or 1) and any head shot is an insta kill which it is).
If your interested I can post the main stats for the guns (i wont bother with recoil and the like since it would get too messy).
The nice thing about this game is modding it is real easy, the scripts are almost english readable, you don't need any special tools (winrar and notepad for stat editing), the .pak files are actualy zip files which you can either tell winrar to open as pak files, or rename them to zip files
Any idea where I can hack the stats for that Nork AK-47? I want to remove the ability to use silencers, scopes, tactical attachment. This way, i'm forced to rely on the SCAR for those special abilities.
As far as performance goes, I've got a pretty sweet system.cfg going now that gives me 25-40 fps on my AMD dual-core 3800+, 8800GTS and 3 gigs of RAM. Most settings are high, a couple very high, and medium distance viewing details. I've got sunshafts, POM and SSAO going on. I opted to ditch the colorgrading.
The trick, as always, is tweaking. Like Duci, I've spent most of the past month grinding away at Cvars, mostly in frustration, until I got the 8800 last week. It's no Ultra or even GTX, but 96 shader pipes makes a huge difference in Crysis over the 24 in my old 7950GT. HUGE.
A tip for those using 7-series cards: It's the shading that will kill you. If you can live with med/low shading, go that route and with a few other tweaks, you should haul in 30-40 fps.
NeonSamurai
01-09-08, 10:58 AM
The file you want is in one of the .pak files (dont know the name off hand as i dont have the game installed right now but its one of the main game files).
look for \Scripts\Entities\Items\XML\Weapons\FY71.xml and open it in notepad and go down towards the bottom. This is more or less what your looking for.
<accessories>
<initialsetup>
<accessory name="FY71NormalAmmo" />
</initialsetup>
<accessory name="AssaultScope" zoommode="assaultscope" >
<attach helper="attachment_top" layer="scope" />
<detach />
</accessory>
<accessory name="SniperScope" zoommode="sniper" >
<attach helper="attachment_top" layer="scope" />
<detach />
</accessory>
<accessory name="Reflex" zoommode="reflexsight" >
<attach helper="attachment_top" layer="scope" />
<detach />
</accessory>
<accessory name="FY71NormalAmmo">
<attach helper="magazine" layer="" />
<detach />
</accessory>
<accessory name="FY71IncendiaryAmmo">
<attach action="reload_chamber_empty" helper="magazine" layer="" />
<detach action="reload_chamber_empty" />
<params>
<firemodes>
<firemode type="default">
<fire>
<param name="ammo_type" value="incendiarybullet" />
<param name="damage" value="130" />
</fire>
</firemode>
</firemodes>
</params>
</accessory>
<accessory name="LAMRifle">
<attach helper="attachment_side" layer="flashlight" />
<detach />
<params>
<firemodes>
<firemode type="default">
<spread>
<param name="min" value="0.5" />
<param name="max" value="3.0" />
<param name="speed_m" value="0.05" />
<param name="rotation_m" value="0.05" />
</spread>
</firemode>
</firemodes>
</params>
</accessory>
<accessory name="LAMRifleFlashLight">
<attach helper="attachment_side" layer="flashlight" />
<detach />
</accessory>
<accessory name="GrenadeLauncher" firemodes="GrenadeLauncher" exclusive="1">
<attach helper="attachment_bottom" layer="gl" />
<detach />
</accessory>
<accessory name="TacticalAttachment" firemodes="Tac Sleep" exclusive="1" client_only="0">
<attach helper="attachment_bottom" layer="gl" />
<detach />
</accessory>
<accessory name="Silencer">
<attach helper="silencer_attach" layer="silencer" />
<detach />
<params>
<firemodes>
<firemode type="default">
<fire>
<param name="damage_drop_per_meter" value="0.5" />
<param name="damage_drop_min_distance" value="10" />
</fire>
<muzzleflash>
<firstperson effect="muzzleflash.AssaultRifle.silenced_smoke" helper="muzzle_flash_effect" time="0.1" />
<thirdperson effect="muzzleflash.AssaultRifle.silenced_smoke_tp" helper="weapon_term" time="0.1" />
</muzzleflash>
<actions>
<param name="fire" value="fire_silenced" />
<param name="fire_cock" value="fire_silenced" />
<param name="rapid_fire" value="rapid_fire_silenced" />
<param name="spin_down" value="spin_down_silenced" />
</actions>
</firemode>
</firemodes>
</params>
</accessory>
</accessories>
Do the editing you want and repack it with the new .xml file
I will mention though that the more modern ak rifles can take such attachments (scopes, silencers, grenade launchers) so it is fairly realistic for them to have them, though the game does use the "one attachment for all "rifle" weapons" thing and doesnt keep a count of how many attachments you have or are using.
Galanti
01-09-08, 11:35 AM
Thanks Samurai, that looks about right! Will this affect the ingame weapons customization screen? I've read it's driven by a different file than the XMLs.
Yeah, I'll probably keep the GL and silencer, but lose the scopes and tac attachments, really want the SCAR to have that uniqueness to it.
Galanti
01-10-08, 07:42 AM
Thanks again Samurai, tried it last night and works perfectly!
NeonSamurai
01-10-08, 09:12 AM
Glad it did :) I myself havent played with the attachments much other then messing with the flashlight a bit (trying to make it useful). Other then that I only altered the balistics and damage, and got rid of the second pistol.
Galanti
01-10-08, 09:42 AM
Ah, the second pistol, I'd forgotten about that particular annoyance. I'll have to give it a crack too. Is it modelled as another attachment? And with your fix, will you simply get extra ammo if you pick up another pistol?
BTW, there are a couple of realism mods on the go over at http://www.crymod.com as well as some sweet camo nanosuit skins.
Ducimus
01-10-08, 07:17 PM
Nice Info! I was trying to find where to unflug that silencer but apparently missed it.
Galanti
01-11-08, 09:27 AM
And does anyone know how to get darker shadowing without enabling SSAO?
SSAO_darkening, as might be expected, doesn't work unless SSAO=1.
FAdmiral
01-11-08, 03:20 PM
Adjust your Brightness, Contrast & Gamma settings in the options. They offer
some drastic changes in what you can see on the maps....
JIM
Galanti
01-12-08, 03:31 PM
Perfect, I must have setup my gamma way too bright a while ago. Now I've got nice dark shadows and extra 5 fps from disabling SSAO. POM goes back on now.
It actually looks and run pretty well, the trick is in turning off the gimmicky stuff that costs the most fps for the least return in visuals.
I'm at a loss at to why people consider motion blur to be a massive performance hog. It can be, when the game first loads, but a do a quick 360 after loading a savegame and at first the motion blur chugs - but then gets cached or something because after that, it's a smooth as silk. The effect itself I could care less about, but the blur helps the transition between frame renders - and that makes 24 fps easy on the eyes.
GlobalExplorer
01-12-08, 03:54 PM
New mobo, new vid card, new ram, new CPU.... i mean.. ****.. i may as well buy a new computer. Dell's prefab as it turns out, is cheaper then building a new box. *sigh*
But not necessarily better. Whenever I looked inside one of these prefabricated boxes, I found the most dissapointing stuff, tiny mainboards with a minimum of slots, weak psu's, slow ram, onboard peripherals etc etc. Of course they work. But I prefer to chose my components by reading in the right forums and build my own systems.
Running for 4 years an AthlonXP on a Abit NF7, today it's outdated as hell, still arguably the best mainboard ever. My friend who bought a PC in the store a year after me has already had an upgrade.
NeonSamurai
01-12-08, 04:02 PM
Ok to remove the pistols akimbo thing and go to only one pistol you need to do a few edits of the xml files. first off..
\Scripts\Entities\Items\XML\DUALSocom.xml should look like this
<item name="DualSOCOM" class="PlayerFeature">
<params>
<param name="giveable" value="0" />
<param name="selectable" value="0" />
<param name="droppable" value="0" />
<param name="unique" value="1" />
<param name="mass" value="0" />
</params>
<features>
<feature name="dualSOCOM" noPickUp="0"/>
</features>
</item>
Second in the following file (at the begining of it) you should do a little change
\Scripts\Entities\Items\XML\Weapons\SOCOM.xml
<item name="SOCOM" class="Weapon" category="small" priority="0">
<params>
<param name="giveable" value="1" />
<param name="selectable" value="1" />
<param name="pose" value="pistol" />
<param name="mass" value="10" />
<param name="melee_attack_firemode" value="melee" />
<param name="raiseable" value="true" />
<param name="raise_distance" value="0.70" />
<!--<param name="attach_to_back" value="1" />
<param name="bone_attachment_01" value="pistol_attachment_right" />
<param name="bone_attachment_02" value="pistol_attachment_left" />-->
<dualwield>
<suffix value="akimbo_" />
</dualwield>
</params>
the change is at the <dualweild> area
This will make the pistol act like a normal weapon. you can get ammo from droped pistols but you will only ever wield one pistol. It also behaves exactly like if you had droped the extra one.
Note that the code changes i did probably could have been a bit cleaner, but it gets the job done with out any issues that i have encountered. Im pretty sure ive included all the changes for this but I might have forgotten an edit.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.