How to attach bomb model to CT's back ?
Attempt 1 : By default, the terrorist models have a submodel backpack which is the same as "models/w_backpack.mdl" ( bomb ) while the counter-terrorists, also have a submodel backpack which is the same as "models/w_thighpack.mdl" ( defusal kit )
I want counter terrorists to have "models/w_backpack.mdl" as backpack but that's not possible due to submodels ( entity is not unique/ not found ) I tried and it failed as usual : Code:
give_item ( <player_index>, "item_thighpack" );Attempt 2 : By attaching a new entity to the player aiment but it's distorted and misplaced and need some maths with origin and angle which I can't figure out : Code:
new tempent = create_entity ( "info_target" );Code:
new Float: origin[3]; |
Re: How to attach bomb model to CT's back ?
PHP Code:
|
Re: How to attach bomb model to CT's back ?
@DavidJr - Unfortunately the submodels are unique... for CTs - it's defusal kit... for T's - it's bomb. I wanted CTs to get the bomb ( the bag at the back of the player )
|
Re: How to attach bomb model to CT's back ?
Quote:
Quote:
|
| All times are GMT -4. The time now is 06:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.