ItsMods

Full Version: Adding a weapon, camo, reticle and more!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
nice work keep it up Awesome
Thank you!
(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? ^^
finnaly we will know which camo and sight ..
(07-27-2011, 16:18)Se7en Wrote: [ -> ]finnaly we will know which camo and sight ..

Hope i helped... Smile
How can I get the meat reticle in zombies?
(07-27-2011, 16:26)Lemon Wrote: [ -> ]How can I get the meat reticle in zombies?

Sorry, i dont know about that.