Page 1 of 1
Error when going into radiant
Posted: Sat May 22, 2004 3:17 am
by Dingo
When I try to go into radiant an error comes up and says "Cannot open 'aidalog.cfg' GetLastError()= 2 - 1282 an unrecoverable error has occured. Would you like to edit Preferences before exiting MoHRadiant?"
I have no clue what to do somebody help!
Posted: Sat May 22, 2004 3:19 am
by blue60007
There is a file, aidialog.cfg, that needs to be next to mohradiant.exe and in a radiant_ai_cfg folder that also next mohradaint.exe. I think it only needs to be in one of those places but I'm not sure which is the right one. I'm betting on the latter...
Posted: Sat May 22, 2004 3:28 am
by Dingo
what if i cant find the file that needs to be there? do i need to reinstall?
aidialog.cfg
Posted: Sat May 22, 2004 3:41 am
by tltrude
Here is the file. It needs to be named aidialog.cfg and in the MOHAATools folder.
Code: Select all
// behavior-specific key pairs have the following syntax:
//
// <keyname> string "<default_string>" ? help_text
// <keyname> value <default> <min> <max> <slow_spin> <fast_spin> ? help_text
//
// min, max, slow_spin, and fast_spin must be integers
// keys for curious should be placed in type_idle
type_idle
{
idle
{
sound_awareness value 100 0 100 1 10 ? percent chance to notice a sound within half the sound's range, fades to zero outside range
noticescale value 100 1 500 5 10 ? multiplier in time to notice an enemy (default 100, half as big notices twice as fast)
fixedleash value 0 0 1 1 1 ? if non-zero, the leash will never auto-reset; if zero, the leash may auto-reset
enemysharerange value 0 0 16384 16 256 ? sets the range outside which the AI will not receive notification that a teammate has a new enemy
voicetype string "" ? letter for the AI's voice type; leave blank for a random voice each map
}
patrol
{
patrolpath string "" ? name of a pathnode or waypoint to use as the patrol path
waittrigger value 0 0 1 1 1 ? set to 1 to wait until triggered
sound_awareness value 100 0 100 1 10 ? percent chance to notice a sound within half the sound's range, fades to zero outside range
noticescale value 100 1 500 5 10 ? multiplier in time to notice an enemy (default 100, half as big notices twice as fast)
fixedleash value 0 0 1 1 1 ? if non-zero, the leash will never auto-reset; if zero, the leash may auto-reset
enemysharerange value 0 0 16384 16 256 ? sets the range outside which the AI will not receive notification that a teammate has a new enemy
voicetype string "" ? letter for the AI's voice type; leave blank for a random voice each map
}
runner
{
patrolpath string "" ? name of a pathnode or waypoint to use as the patrol path
waittrigger value 0 0 1 1 1 ? set to 1 to wait until triggered
sound_awareness value 100 0 100 1 10 ? percent chance to notice a sound within half the sound's range, fades to zero outside range
noticescale value 100 1 500 5 10 ? multiplier in time to notice an enemy (default 100, half as big notices twice as fast)
fixedleash value 0 0 1 1 1 ? if non-zero, the leash will never auto-reset; if zero, the leash may auto-reset
enemysharerange value 0 0 16384 16 256 ? sets the range outside which the AI will not receive notification that a teammate has a new enemy
voicetype string "" ? letter for the AI's voice type; leave blank for a random voice each map
}
machinegunner
{
turret string "" ? name of turret being used
sound_awareness value 100 0 100 1 10 ? percent chance to notice a sound within half the sound's range, fades to zero outside range
noticescale value 100 1 500 5 10 ? multiplier in time to notice an enemy (default 100, half as big notices twice as fast)
fixedleash value 0 0 1 1 1 ? if non-zero, the leash will never auto-reset; if zero, the leash may auto-reset
enemysharerange value 0 0 16384 16 256 ? sets the range outside which the AI will not receive notification that a teammate has a new enemy
voicetype string "" ? letter for the AI's voice type; leave blank for a random voice each map
}
balcony_idle
{
sound_awareness value 100 0 100 1 10 ? percent chance to notice a sound within half the sound's range, fades to zero outside range
noticescale value 100 1 500 5 10 ? multiplier in time to notice an enemy (default 100, half as big notices twice as fast)
fixedleash value 0 0 1 1 1 ? if non-zero, the leash will never auto-reset; if zero, the leash may auto-reset
enemysharerange value 0 0 16384 16 256 ? sets the range outside which the AI will not receive notification that a teammate has a new enemy
voicetype string "" ? letter for the AI's voice type; leave blank for a random voice each map
balconyheight value 128 0 1024 16 64 ? minimum height AI must fall to do a balcony death
}
}
type_attack
{
turret
{
accuracy value 20 0 100 1 10 ? percent chance to hit
ammo_grenade value 0 0 4 1 1 ? number of grenades the guy starts with
}
cover
{
accuracy value 20 0 100 1 10 ? percent chance to hit
ammo_grenade value 0 0 4 1 1 ? number of grenades the guy starts with
}
alarm
{
alarmnode string "" ? name of entity to use as alarm node
alarmthread string "" ? thread to call when actor reaches alarm node
accuracy value 20 0 100 1 10 ? percent chance to hit
ammo_grenade value 0 0 4 1 1 ? number of grenades the guy starts with
}
machinegunner
{
turret string "" ? name of turret being used
accuracy value 100 0 100 1 10 ? percent chance to hit
ammo_grenade value 0 0 4 1 1 ? number of grenades the guy starts with
}
balcony_attack
{
accuracy value 100 0 100 1 10 ? percent chance to hit
ammo_grenade value 0 0 4 1 1 ? number of grenades the guy starts with
}
weaponless
{
ammo_grenade value 0 0 4 1 1 ? number of grenades the guy starts with
}
}
type_disguise
{
salute
{
disguise_range value 256 32 16384 32 128 ? maximum distance AI can be for them to do disguise behavior
disguise_period value 15 1 3600 1 10 ? minimum time between repititions of disguise behavior
}
sentry
{
disguise_range value 256 32 16384 32 128 ? maximum distance AI can be for them to do disguise behavior
disguise_accept_thread string "" ? thread to call when actor reaches alarm node
disguise_period value 15 1 3600 1 10 ? minimum time between repititions of disguise behavior
disguise_level value 1 1 2 1 1 ? level of papers required for success
}
officer
{
disguise_range value 256 32 16384 32 128 ? maximum distance AI can be for them to do disguise behavior
disguise_period value 15 1 3600 1 10 ? minimum time between repititions of disguise behavior
}
rover
{
disguise_range value 256 32 16384 32 128 ? maximum distance AI can be for them to do disguise behavior
disguise_period value 15 1 3600 1 10 ? minimum time between repititions of disguise behavior
}
none
{
}
machinegunner
{
}
balcony_disguise
{
}
}
type_grenade
{
grenade
{
gren_awareness value 10 0 100 1 10 ? chance that an AI will notice a grenade when they can see it
}
machinegunner
{
}
balcony_grenade
{
}
}
Posted: Sun May 23, 2004 2:47 pm
by blue60007
Just copy and paste that into Notepad and save it as the name tltrude said.
That file gets installed with the MOHAATools. So you could also redownload it from EA and reinstall as well, of course the other method is easier.