# Weapon Model Change

**URL:** <https://cod4x.ovh/t/weapon-model-change/354>\
**Category:** CoD4x | Mods & Script Support\
**Created:** [July 6, 2022, 12:36am UTC](https://cod4x.ovh/t/weapon-model-change/354 "2022-07-06T00:36:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sh3llK0de](https://cod4x.ovh/user_avatar/cod4x.ovh/sh3llk0de/32/161_2.png) [@Sh3llK0de](https://cod4x.ovh/u/Sh3llK0de)\
**Post date:** [July 6, 2022, 12:36am UTC](https://cod4x.ovh/t/weapon-model-change/354/1 "2022-07-06T00:36:43Z")

</div>

Hey all,

Seems like the new site is quiet. Let me pick some brains…

Is there a way to change how a weapon looks when equipped?  
For example, I want to use `giveWeapon("colt_mp")` but I want to also take that weapon and do a `SetModel("knife_mp")` since I can’t have the knife show as current onhand, i would like a gun with no ammo look like a knife and set up the behavior from there. I am attempting to design a throwing knife.

I have tried to look for a way to grab the gun as an entity, but I can’t seem to figure out how to. Is it even possible?

---

<div class="post-metadata">

**Author:** ![STEEP](https://cod4x.ovh/letter_avatar_proxy/v4/letter/s/e19b73/32.png) [@STEEP](https://cod4x.ovh/u/STEEP)\
**Post date:** [July 6, 2022, 9:46am UTC](https://cod4x.ovh/t/weapon-model-change/354/2 "2022-07-06T09:46:54Z")

</div>

there is a throwing knife script. But I’m not sure that it will fit

---

<div class="post-metadata">

**Author:** ![Sh3llK0de](https://cod4x.ovh/user_avatar/cod4x.ovh/sh3llk0de/32/161_2.png) [@Sh3llK0de](https://cod4x.ovh/u/Sh3llK0de)\
**Post date:** [July 6, 2022, 12:10pm UTC](https://cod4x.ovh/t/weapon-model-change/354/3 "2022-07-06T12:10:38Z")

</div>

If you are talking about the Duffman script, then no that will not work. That script has `giveWeapon("throwingknife_mp")` which is not a standard weapon, therefore the player will get nothing. Besides, it looks that that script is incomplete… missing a lot of movement stuff.

---

<div class="post-metadata">

**Author:** ![STEEP](https://cod4x.ovh/letter_avatar_proxy/v4/letter/s/e19b73/32.png) [@STEEP](https://cod4x.ovh/u/STEEP)\
**Post date:** [July 6, 2022, 12:15pm UTC](https://cod4x.ovh/t/weapon-model-change/354/4 "2022-07-06T12:15:44Z")

</div>

these are their own scripts. they make a throwing knife out of an ordinary knife.

---

<div class="post-metadata">

**Author:** ![STEEP](https://cod4x.ovh/letter_avatar_proxy/v4/letter/s/e19b73/32.png) [@STEEP](https://cod4x.ovh/u/STEEP)\
**Post date:** [July 6, 2022, 12:18pm UTC](https://cod4x.ovh/t/weapon-model-change/354/5 "2022-07-06T12:18:03Z")

</div>

changing the standard knife

---

<div class="post-metadata">

**Author:** ![Sh3llK0de](https://cod4x.ovh/user_avatar/cod4x.ovh/sh3llk0de/32/161_2.png) [@Sh3llK0de](https://cod4x.ovh/u/Sh3llK0de)\
**Post date:** [July 6, 2022, 1:59pm UTC](https://cod4x.ovh/t/weapon-model-change/354/6 "2022-07-06T13:59:41Z")

</div>

Do you have a link I can reference?

---

<div class="post-metadata">

**Author:** ![STEEP](https://cod4x.ovh/letter_avatar_proxy/v4/letter/s/e19b73/32.png) [@STEEP](https://cod4x.ovh/u/STEEP)\
**Post date:** [July 6, 2022, 5:41pm UTC](https://cod4x.ovh/t/weapon-model-change/354/7 "2022-07-06T17:41:32Z")

</div>

> **[\_globallogic.gsc](https://drive.google.com/file/d/119pCBDXWKuALqIbutVz8-cAnlgpHip-S/view?usp=sharing)**
>
> Google Drive file.

> **[Call of Duty 4 Modern Warfare 2022.07.06 - 20.32.35.02.mp4](https://drive.google.com/file/d/12UufJYD_gQS4hCnlmr3GeRaCbCzwGIci/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![Sh3llK0de](https://cod4x.ovh/user_avatar/cod4x.ovh/sh3llk0de/32/161_2.png) [@Sh3llK0de](https://cod4x.ovh/u/Sh3llK0de)\
**Post date:** [July 7, 2022, 3:12am UTC](https://cod4x.ovh/t/weapon-model-change/354/8 "2022-07-07T03:12:02Z")

</div>

This gave me ideas…thank you very much!
