Jump to content
The Dark Mod Forums

No physics for dropped pickpocketed objects


Sotha

Recommended Posts

While betatesting my map, Baal discovered a curious problem relating to stacking inventory objects.

 

Situation:

*There is a healing potion

*There is an AI with a healing potion (def_attach6 atdm:prop_potion_healing; pos_attach6 belt_back_right)

 

If the player picks up the normal healing potion and drops it with 'r', it falls on the floor as it should.

However, if the player picks up the PROP healing potion and drops it it just floats in the air.

 

If the player picks up the normal and prop potions and drops both of them, both potions will float in the air.

 

Surely the prop objects and normal objects should behave the same way?

 

If this interests someone, here is a test map for the problem:

 

 

 

*****

 

 

 

Version 2

// entity 0

{

"classname" "worldspawn"

"editor_drLastCameraPos" "116.472 -85.0422 5.59728"

"editor_drLastCameraAngle" "-9 164.1 0"

"editor_drMapPos1" "145.117 609.786 279.045"

"editor_drMapAngle1" "-48 150.8 0"

"editor_drMapPos2" "414.798 255.441 -264.933"

"editor_drMapAngle2" "2.10002 84.5976 0"

"editor_drMapPos3" "-749.97 -1606.21 -470.066"

"editor_drMapAngle3" "-3.29998 6.59757 0"

"editor_drMapPos4" "1014.05 -953.679 -556.857"

"editor_drMapAngle4" "-10.2 355.498 0"

"editor_drMapPos5" "987.599 3513.79 -319.877"

"editor_drMapAngle5" "-61.1999 172.198 0"

"editor_drMapPos6" "-1032.5 -2840 739.5"

"editor_drMapAngle6" "-77.0999 175.798 0"

"editor_drMapPos7" "952.822 285.005 1366.04"

"editor_drMapAngle7" "-74.8 149.373 0"

"editor_drMapPos8" "976 424 320"

"editor_drMapAngle8" "-3 15.3467 0"

"editor_drMapPos9" "409.146 547.464 392.83"

"editor_drMapAngle9" "-16.8 284.947 0"

// primitive 0

{

brushDef3

{

( 0 0 1 -160 ) ( ( 0.0078125 0 15.875 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 1 0 -232 ) ( ( 0.0078125 0 0.0625 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 1 0 0 -152 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 0 -1 -64 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 -1 0 -144 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( -1 0 0 -136 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 0 -1 152 ) ( ( 0.0078125 0 15.875 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

}

}

// primitive 1

{

brushDef3

{

( 0 0 1 -160 ) ( ( 0.0078125 0 15.875 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 1 0 -232 ) ( ( 0.0078125 0 0.0625 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 1 0 0 -152 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 0 -1 -64 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 -1 0 -144 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( -1 0 0 -136 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 -1 0 224 ) ( ( 0.0078125 0 0.0625 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

}

}

// primitive 2

{

brushDef3

{

( 0 0 1 -160 ) ( ( 0.0078125 0 15.875 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 1 0 -232 ) ( ( 0.0078125 0 0.0625 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 1 0 0 -152 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 0 -1 -64 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 -1 0 -144 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( -1 0 0 -136 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( -1 0 0 144 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

}

}

// primitive 3

{

brushDef3

{

( 0 0 1 -160 ) ( ( 0.0078125 0 15.875 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 1 0 -232 ) ( ( 0.0078125 0 0.0625 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 1 0 0 -152 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 0 -1 -64 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 -1 0 -144 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( -1 0 0 -136 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 0 1 56 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

}

}

// primitive 4

{

brushDef3

{

( 0 0 1 -160 ) ( ( 0.0078125 0 15.875 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 1 0 -232 ) ( ( 0.0078125 0 0.0625 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 1 0 0 -152 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 0 -1 -64 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 -1 0 -144 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( -1 0 0 -136 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 1 0 136 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

}

}

// primitive 5

{

brushDef3

{

( 0 0 1 -160 ) ( ( 0.0078125 0 15.875 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 1 0 -232 ) ( ( 0.0078125 0 0.0625 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 1 0 0 -152 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 0 -1 -64 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 0 -1 0 -144 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( -1 0 0 -136 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

( 1 0 0 128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/metal/detailed/bars_rivets_iron" 0 0 0

}

}

}

// entity 1

{

"classname" "atdm:ai_citywatch_lesser"

"name" "lr_patrol2"

"def_attach6" "atdm:prop_potion_healing"

"def_head" "atdm:ai_head_citywatch_clothcoif"

"def_vocal_set" "atdm:ai_vocal_set_grumbler_guard_01"

"origin" "0.518 -72.459 -55"

"pos_attach6" "belt_back_right"

"rotation" "0 1 0 -1 0 0 0 0 1"

"team" "0"

}

// entity 2

{

"classname" "light"

"name" "light_1"

"origin" "32 56 88"

"light_center" "0 0 0"

"light_radius" "320 320 320"

}

// entity 3

{

"classname" "atdm:playertools_health_potion"

"name" "atdm_playertools_health_potion_1"

"origin" "-72 -72 4"

}

// entity 4

{

"classname" "func_static"

"name" "func_static_1"

"origin" "-72 -72 -56"

"model" "models/darkmod/furniture/tables/pillar_grooved01. lwo"

}

// entity 5

{

"classname" "info_player_start"

"name" "info_player_start_1"

"origin" "0 55 26"

"angle" "90"

}

Clipper

-The mapper's best friend.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 1 reply
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 3 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...