Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Adding a weapon, camo, reticle and more!
#1
Hello,

This is a really EASY tutorial of something that has been asked many times on modding help section. How to give a weapon, add camo, lens and attachments.

To give a weapon:


Code:
self giveWeapon("weaponname");
For example, this will give me famas.
Code:
self giveWeapon("famas_mp");

If you want to add camo:
Code:
self giveWeapon("weaponname", 0, self calcWeaponOptions ( <camo>, <lens>, <reticle>, <tag>, <emblem> ));

Code:
Camos:
0-None
1- Dusty
2-Ice
3-Red
4-Olive
5-Nevada
6-Sahara
7-ERDL
8-Tiger
9-Berlin
10-Warsaw
11-Siberia
12-Yukon
13-Woodland
14-Flora
15-Gold

Changing number of camo will give you the camo you want.

Example:
Code:
self giveWeapon("famas_mp", 0, self calcWeaponOptions ( 12, 0, 0, 0, 0 ));

We got Yukon famas!

How to add emblem and clan tag?
This is the code of our Yukon Famas. Where you can see <emblem> you can write 1 to enable and 0 to disable. It's same with clan tag.
Code:
self giveWeapon("famas_mp", 0, self calcWeaponOptions (12, 0, 0, 0, 0 ));

Example:
Code:
self giveWeapon("famas_mp", 0, self calcWeaponOptions (12, 0, 0, 1, 1 ));

How to add attachments to my famas?


5 random attachments:
Code:
1-Dual Mag - _dualclip
2-Extended Mag - _extclip
3-ACOG - _acog
4-Reflex - _reflex
5-Suppresor - _silencer

Example:
Code:
self giveWeapon("famas_silencer_extclip_acog_mp", 0, self calcWeaponOptions (12, 0, 0, 1, 1 ));
This code give us Famas with Yukon camo, clan tag, emblem, Supressor, Acog and Extended magz.

I really want to change reticle too! How?
Reticle list:
Code:
1-Dot
2-Semi-Circle
3-Lines With Dot
4-Circle
5-Smiley Face
6-Arrows Horizontal
7-Arrows Vertical
8-Arrows With Dot
9-Bones
10-Burst
11-Circle Within A Circle
12-Circle
13-Circle Outline
14-Circle Outline With DOt
15-Circle With Crosshairs
16-Circle With Outer Lines
17-Circle with Inner Lines
18-Circle With Arrows
19-Circle With Triangles
20-Outer Crosshairs
21-Small Crosshairs
22-Large Crosshairs
23-Crosshairs
24-Crosshairs With Dot
25-Diamond
26-Diamond Outline
27-Heart
28-Radiation
29-Skull
30-Square
31-Square Outline
32-Square With Crosshairs
33-Star
34-Three Dots
35-Treyarch
36-Triangle
37-Outer triangles
38-X
39-X With Dot
40-Ying Yang

Now change the number of <reticle> to number of your reticle.

Example:
Code:
self giveWeapon("famas_silencer_extclip_acog_mp", 0, self calcWeaponOptions (12, 0, 40, 1, 1 ));
This code give us Famas with Yukon camo, clan tag, emblem, Supressor, Acog, Extended Magz and Ying Yang reticle!

How to switch to this weapon?
Code:
self giveWeapon("famas_silencer_extclip_acog_mp", 0, self calcWeaponOptions (12, 0, 40, 1, 1 ));
self switchToWeapon("famas_silencer_extclip_acog_mp");


You made it, and guys dont post anything like "What? Who doesnt know that?". ItsMods community is growing and we have a lot of new people that would like to learn to modd. So if the tutorial diddnt help you dont be an as*.

I LIKE SUBSCRIBERS:

http://www.youtube.com/user/OrgasmGaming

You are ready for next steps:
http://www.itsmods.com/forum/Thread-Basi...orial.html http://www.itsmods.com/forum/Thread-Inte...ead-s.html

Awesome tutorials by Hector! Wink
Reply

#2
nice work keep it up Awesome
Reply

#3
Thank you!
Reply

#4
(07-27-2011, 15:28)rotceh_dnih Wrote: nice work keep it up Awesome

(07-27-2011, 15:35)Puffiamo Wrote: Thank you!

No problem hope i helped you. + rep? ^^
Reply

#5
finnaly we will know which camo and sight ..
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#6
(07-27-2011, 16:18)Se7en Wrote: finnaly we will know which camo and sight ..

Hope i helped... Smile
Reply

#7
How can I get the meat reticle in zombies?
Reply

#8
(07-27-2011, 16:26)Lemon Wrote: How can I get the meat reticle in zombies?

Sorry, i dont know about that.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Mw2 weapon skin question FroxIVx4 1 2,771 10-13-2013, 16:54
Last Post: hmann
Question Help Weapon Name iRoNinja 8 6,061 10-08-2013, 08:31
Last Post: iRoNinja
Wink [Release] se7en_ace's I'm On A Bus [Nuketown Texture Mod + Camo] Ace 12 12,839 09-22-2013, 02:58
Last Post: Ace
  Mw2 weapon porting? Cuddlyedits 3 4,375 09-15-2013, 16:43
Last Post: DidUknowiPwn
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 30,717 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
Exclamation [Request] Random Weapon At Spawn Scripts18 3 4,431 07-27-2013, 23:53
Last Post: DidUknowiPwn
  Help Mw2 weapon skin question FroxIVx4 1 2,702 07-06-2013, 19:22
Last Post: surtek
Information [Tutorial] Adding DLC Maps as Custom Maps. Nekochan 151 139,088 05-25-2013, 01:05
Last Post: Nero Z zero
  [Request] List of all weapon models DidUknowiPwn 3 4,351 04-20-2013, 09:13
Last Post: Dominator56
  Black Ops 2 DLC camo trainer surtek 10 9,948 04-19-2013, 23:16
Last Post: Gladio

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.