[TUT]Editing game radius settings. -
09-15-2007, 08:30 PM
Ok not the most useful of subject titles but it got you in here biggrin:
This is to help those of you who are interested in changing stuff like:
Nade blast size
AI hearing and View ranges
And various other things where distance is involved.
Ok to get started then we need to look at a few basics.
If we open up the DefaultPlayer config file we can see that
fSingleStoryDistance = 400.0f // One story is on average 10 - 12ft ( 304.8 cm - 365.76 cm ) - One story is MOHA is exactly 384 Units
So now we know 400.0 is basicly 12 foot or so. Ok you ask what does that have to do with anything?
Well if we now open up the DefaultAI config we can see stuff like:
fHearingRadius=500.0
This shows us that the AI will hear you and come running if you breach that
500.0 circle around them. So if we increased this the AI would have greater hearing and be a bit more of a threat.
Other uses are.....
In the DefaultWeapon config you have:
// AI Noise
WeaponFireNoiseRadius=5500.0
WeaponEquipNoiseRadius=1500.0
WeaponReloadNoiseRadius=1500.0
So as you can see the AI hear you reload , fire or change weapon etc.
A little tweaking can make a lot of difference to how responsive the AI is and therfore how challenging a SP game can be!!!
Also in the DefaultWeapon config are things like nade blast radius etc
so now we can have a bit of a fiddle around and see what we get!!
Also this will be useful when we finally get to mapping happy:
If any one has anythin to add or finds a mistake feel free to add to this thread!
|