View Issue Details

IDProjectCategoryView StatusLast Update
0002871The Dark ModGeneralpublic22.07.2013 19:19
Reporteruser81Assigned ToSpringheel  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWin32OSWindowsOS Version7 sp1
Summary0002871: Spawned Ai keys float in mid-air when dropped by player,
DescriptionSpawned key dosent behave like a placed in-map key.
Steps To Reproduce1.Add args to an Ai to spawn an attached key etc.
2. When in-game the player pickpockets the key, but then if the player tried to drop the key.

a. the player cant drop they of there isnt enough free space around the player
b. when the player is able to drop they key, the key is left floating in mid air and becomes a solid obsticale to both the player and Ai alike.
TagsNo tags attached.

Activities

tels

tels

06.10.2011 18:16

reporter   ~0004062

What spawnargs exactly are you using to create the attached key?
Springheel

Springheel

16.07.2013 00:45

administrator   ~0005734

Last edited: 17.07.2013 01:48

I noticed this in Heart of Lone Salvation. Eleanor's chest key. I could drop it into the grabber, but when I then "dropped" it, it just stayed where it was, as if physics wasn't affecting it.

Springheel

Springheel

17.07.2013 01:45

administrator   ~0005743

Last edited: 17.07.2013 01:50

Here are the keys in Heart this applies to:

"classname" "func_static"
"name" "KeyEleanorsChest"
"bind" "Eleanor"
"frobable" "1"
"inv_category" "Keys"
"inv_droppable" "1"
"inv_icon" "guis/assets/hud/inventory_icons/key_good_gold"
"inv_name" "Eleanor's chest key"
"inv_stackable" "0"
"inv_use_on_frob" "1"
"model" "models/darkmod/door_related/key_fancy01.ase"
"origin" "2232.01 5382.52 220.5"
"originORG" "2132.01 5318.27 235.375"
"rotation" "-0.327808 0.187303 -0.327808 -0.132443 -0.463592 -0.132443 -0.353553 -7.7393e-008 0.353553"
"rotationORG" "0.996195 0 0.0871558 0 1 0 -0.0871558 0 0.996195"
"snd_acquire" "tdm_key_pickup"
"usable" "1"
"used_action_script" "frob_trigger"

"classname" "atdm:prop_key_simple"
"name" "KeyHatchAttic"
"inv_name" "an old lock key"
"inv_stackable" "0"
"origin" "1318.52 5610.75 305"
"rotation" "0.241925 -0.970297 0 0.970297 0.241925 0 0 0 1"
"skin" "key_simple_rust"

"classname" "atdm:prop_key_simple"
"name" "KeyBedrooms"
"inv_name" "Master bedroom key"
"model" "models/darkmod/door_related/key_fancy01.ase"
"origin" "2115 5744.88 82.5"
"rotation" "0 0.207912 -0.978148 0 0.978148 0.207912 1 0 0"

"classname" "atdm:prop_key_simple"
"name" "KeyOldStoreRoom"
"inv_name" "disused room key"
"origin" "-96.625 3788.75 237.5"

Springheel

Springheel

17.07.2013 02:02

administrator   ~0005744

The prop_key_simple ones all inherit from atdm:prop_key_base, which inherits from
"atdm:item_key". I'm not sure any of these are actually movables, which is why they don't fall.

Either they need to be made movables, or they should not be droppable at all. I think the latter is the most reasonable option right now, as making keys movable now could cause mission problems.
Springheel

Springheel

17.07.2013 17:52

administrator   ~0005747

Last edited: 17.07.2013 17:53

Hmm, added "inv_droppable" "0" to atdm:prop_key_base, but I could still drop the keys. Although this was from an earlier saved game; maybe that's a def change that doesn't override saved games, like the zombie ik change.

Springheel

Springheel

22.07.2013 19:19

administrator   ~0005860

Ok, this should be fixed now.

Issue History

Date Modified Username Field Change
02.10.2011 20:50 user81 New Issue
03.10.2011 08:51 greebo Project DarkRadiant => The Dark Mod
06.10.2011 18:16 tels Note Added: 0004062
06.10.2011 18:16 tels Assigned To => tels
06.10.2011 18:16 tels Status new => feedback
06.10.2011 18:16 tels Assigned To tels =>
16.07.2013 00:45 Springheel Note Added: 0005734
16.07.2013 00:45 Springheel Status feedback => confirmed
17.07.2013 01:44 Springheel Note Edited: 0005734
17.07.2013 01:45 Springheel Note Added: 0005743
17.07.2013 01:48 Springheel Note Edited: 0005734
17.07.2013 01:50 Springheel Note Edited: 0005743
17.07.2013 01:50 Springheel Assigned To => Springheel
17.07.2013 01:50 Springheel Status confirmed => assigned
17.07.2013 02:02 Springheel Note Added: 0005744
17.07.2013 17:52 Springheel Note Added: 0005747
17.07.2013 17:53 Springheel Note Edited: 0005747
22.07.2013 19:19 Springheel Note Added: 0005860
22.07.2013 19:19 Springheel Status assigned => resolved
22.07.2013 19:19 Springheel Resolution open => fixed