Custom model for a medkit/ammopack

Volęger

L1: Registered
Dec 10, 2020
7
4
Hello,

Me and my friend were looking for making our own custom model and use it for a medkit.
My friend managed to create a testing model, it works, rotates as a pickup should.

But when I tell item_healthkit_full to use our custom model, in game it just goes straight down to the ground, no matter how high I place a health pack.
We have assumptions there is something wrong with our custom model, because with any other one it works just fine, but we don't know what is wrong (newbies in a 3d), and googling didn't really bring any progress in finding the answer.

Any suggestions are welcome, or answers if you know what is the problem.


Thank you. :)
изображение_2024-06-06_204107370.png

(Attached files are GIFs how it looks in Hammer++ and TF2)
(Medkits and prop_dynamics)
 

Attachments

  • Hammer_GIF.gif
    58.2 MB · Views: 58
  • TF2_GIF.gif
    52.3 MB · Views: 49

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,699
2,581
Maybe your model was accidentally exported with some physics on it?
 

Volęger

L1: Registered
Dec 10, 2020
7
4
Maybe your model was accidentally exported with some physics on it?
He said it does not contain any physics


By the way if anyone needs the .qc file to check

$modelname "zadrot\beer\beerT"
$body beer "brot1.smd"
$cdmaterials "zadrot\beer1\"
$model "beer" "brot1.smd"
$surfaceprop "glass"
$collisionmodel "beersa1.smd"

$animation "rots" "beersa1.smd" {
fps 30
loop
walkframe 900 LX LY
}

$sequence "rot" {
"rots" //anim
{ event 7001 18 "left" }
{ event 7001 16 "right" }
blend "move_y" -1 1
blend "move_x" 1 -1
fadein 0.2
fadeout 0.2
fps 30
loop
}
 

Volęger

L1: Registered
Dec 10, 2020
7
4
The answer was not the presence of physics, but the absence of it in the model, or collision box, whatever you name it
 
Solution