PDA

View Full Version : IdentifyTime and OpenTime


desophos
02-07-2012, 02:54 AM
I'd like to speed up opening and identifying, as I feel that the high maximum time blocks up the game. I found these parms in GameSystem in systems.gdb:
// Item identify stuff

MinIdentifyTime 1.0
BaseIdentifyTime 4.0
IdentifyTimeIncreasePerLevel 1.0
IdentifyTimeDecreasePerLevel 0.25

// Chest open stuff

MinChestOpenTime 1.0
BaseChestOpenTime 2.5
ChestOpenTimeIncreasePerLevel 1.0
ChestOpenTimeDecreasePerLevel 0.25
How exactly do these work? How are the times scaled? There is clearly some level-scaling system at work here, but I don't know how it works.

Shadow
02-07-2012, 10:48 AM
Here's basically how it works:

if ( itemLevel > userLevel )
{
identifyTime = baseIdentifyTime + ( itemLevel - userLevel ) * identifyTimeIncreasePerLevel
}
else
{
identifyTime = baseIdentifyTime - ( userLevel - itemLevel ) * identifyTimeDecreasePerLevel
}

if ( identifyTime < minIdentifyTime )
identifyTime = minIdentifyTime

desophos
02-07-2012, 02:48 PM
Thank you! That clears it up and I have it working now. I really appreciate that you take time to read the forums and respond to posts even during heavy development on Drox Operative (which looks awesome!).

Shadow
02-07-2012, 03:54 PM
Thank you! That clears it up and I have it working now. I really appreciate that you take time to read the forums and respond to posts even during heavy development on Drox Operative (which looks awesome!).

It's easy to fall behind, but I try to be helpful. :)