upl1nk-v01d / cod4x_v01d_mod

0 stars 0 forks source link

There's probably not an easy solution to fix this, just reporting if you find an easy way to see bot/players detach their mags and/or visible bullet ejections from shotguns/sniper rifles/pistols/rifles/smgs whilst they reload with a shotshell (shotguns), bullet (bolt action sniper rifles), mag (pistols, rifles, mgs, smgs & semi-auto snipers). The cartridges and mags etc can either dissapear after 1 min and/or have a max limit spawned like 24 or so. RPG's animation would also work here too. #19

Open Daxy7 opened 2 years ago

Daxy7 commented 2 years ago

https://user-images.githubusercontent.com/91396482/187481581-24fdf4d2-7e4f-4a51-bfc2-9aef36b0a302.mp4

upl1nk-v01d commented 2 years ago

Theoretically it's possible in server script. As I understood it has to be created 3rd person reload anim with temporaly hiding m16 or whatever weapon mag with self hidePart(), spawn new mag entity with model dropping on ground (stay time 1 min) with spawn(script_model), set self setModel() and self MoveGravity(), spawn an entity and attach it to body model's moving right hand tag (this is the problem) with self attach(), at reload anim's end hide attached model with self hide() or better self delete() to free server's entities slot and show 3rd person mag model part with self showPart(). The problem is to attach an entity to model's tag.