Talk:GetObjectValue
Active discussions
General TalkEdit
This looks sweet, but... Isn't there already a way for the game to detect this? I know when you steal something that the value is added to your bounty... The Imperial Dragon 05:41, 20 August 2006 (EDT)
- JOG 08:20, 20 August 2006 (EDT): Nope, this is hardcoded in the crime-detection AI. For me GetObjectvalue is THE Killerfeature for OBSE (along with the fact that it now runs with my NoCD-patched Oblivion.EXE). Just a bit of testing left and I'll release a mod that gives you a sneak-penalty for wearing heavy armor (Half the weight of boots and greaves and one third of a cuirass' weight). In addition the mod determines how suitable your weapon is for backstabbing by checking its speed and then modifies the sneak-attack-multiplier gamesettings accordingly.
Glitches, Bugs, Etc...Edit
JOG: seems like there's a little glitch:
getov 151 LeatherShield
Returns "1" although the Shield is LightArmor
BuggedEdit
I noticed that EVERY armor returns as 1, no matter if they're light or heavy :( --Mandrill 15:40, 19 August 2006 (EDT)
- Hm... other armor works fine here (I'm in the process of making a sneak-tweaking mod)
if Greaves != player.GetEquippedObject 3 ; Player Changed Lower Body Armor set Greaves to player.GetEquippedObject 3 player.modav sneak GreavesPenalty set GreavesPenalty to 0 if getov 151 Greaves == 1 ; New armor-type = Heavy? set GreavesPenalty to getov 0 Greaves / -2 ; Decrease sneak by 1/2 weight player.modav sneak GreavesPenalty set GreavesPenalty to -GreavesPenalty endif endif
- When the player equips light greaves, nothing happens, when he equips heavy greaves, his sneak skill is reduced by half the weight of the armor
- I use identical blocks for Upper Body and Boots, but when I use it for a Shield, the penalty is applied even when I equip light armor.
- JOG 15:48, 19 August 2006 (EDT)
- Just for the records: There were bugs, and they were fixed in v0007 --JOG 04:17, 1 September 2006 (EDT)