ItsMods

Full Version: How to make Mods (BEGGINERS)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hey im gonna to teach you how to make Mod...

First We need ModLoader :
http://www.itsmods.com/forum/Thread-ItsModsloader.html

Second:
Gamescripts:
http://www.itsmods.com/forum/Thread-Call...ipt-s.html

ThirdBig Grinvar List:
http://www.itsmods.com/forum/Thread-Comp...rdump.html
Weapons Dvar List:
http://www.itsmods.com/forum/Thread-All-...DVARS.html

OK LETS START :

1.Extract Your BO_GameSCript To Modloader in folder mod (Just extract maps)

2.Ok now open Mod > Maps > mp > gametypes > _rank.gsc (if you dont find it just press CTRL + F in that and press _rank.gsc)

3.When you do that you need find somone like this

Code:
onPlayerSpawned()
{
    self endon("disconnect");

    for(;;)
    {
        self waittill("spawned_player");

        if(!isdefined(self.hud_rankscroreupdate))
        {

4.Ok we will now teach how to add weapon

a)First Choose What weapon want in weapon dvars.
b)My favorite weapon is ak74-u With clip so i will do this :

Code:
self giveWeapon ( "ak74u_dualclip_mp", 0, false );

c)Put in like this :

Code:
onPlayerSpawned()
{
    self endon("disconnect");

    for(;;)
    {
        self waittill("spawned_player");
self giveWeapon ( "ak74u_dualclip_mp", 0, false );
        if(!isdefined(self.hud_rankscroreupdate))
        {

GJ begginers now when i spawn i will get ak74-u with dualclip

Now let we teach how to make perks

5.Ok we now wanna perk look in weapon command there you have perk my favorite is killstreak perk (hardline) so i will type :

Code:
self setPerk("specialty_killstreak");

So final code :

Code:
onPlayerSpawned()
{
    self endon("disconnect");

    for(;;)
    {
        self waittill("spawned_player");
                self setPerk("specialty_killstreak");
self giveWeapon ( "ak74u_dualclip_mp", 0, false );
        if(!isdefined(self.hud_rankscroreupdate))
        {

YaaaaaaY you now have perk Smile now lets teach you speed,gravity,jump height and other things how to disable killstreaks.

6.Ok find this in your _rank.gsc

Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;

7.Now you need to find this :

Code:
init()
{
    level.scoreInfo = [];
    level.xpScale = GetDvarInt( #"scr_xpscale" );
    level.codPointsXpScale = GetDvarFloat( #"scr_codpointsxpscale" );
    level.codPointsMatchScale = GetDvarFloat( #"scr_codpointsmatchscale" );
    level.codPointsChallengeScale = GetDvarFloat( #"scr_codpointsperchallenge" );
    level.rankXpCap = GetDvarInt( #"scr_rankXpCap" );
    level.codPointsCap = GetDvarInt( #"scr_codPointsCap" );    

    level.rankTable = [];

    precacheShader("white");

    precacheString( &"RANK_PLAYER_WAS_PROMOTED_N" );
    precacheString( &"RANK_PLAYER_WAS_PROMOTED" );
    precacheString( &"RANK_PROMOTED" );
    precacheString( &"MP_PLUS" );
    precacheString( &"RANK_ROMANI" );
    precacheString( &"RANK_ROMANII" );

    if ( level.teamBased )
    {

8.Ok lets do speed folow this code :

Code:
init()
{
    setDvar("sv_cheats", 1);
    setDvar("g_speed", 350);
    level.scoreInfo = [];
    level.xpScale = GetDvarInt( #"scr_xpscale" );
    level.codPointsXpScale = GetDvarFloat( #"scr_codpointsxpscale" );
    level.codPointsMatchScale = GetDvarFloat( #"scr_codpointsmatchscale" );
    level.codPointsChallengeScale = GetDvarFloat( #"scr_codpointsperchallenge" );
    level.rankXpCap = GetDvarInt( #"scr_rankXpCap" );
    level.codPointsCap = GetDvarInt( #"scr_codPointsCap" );

9.Ok i now seted speed 350 you will go fast Big Grin sv_cheats 1 you need to have that for mods.

10.Ok lets add others :

Code:
init()
{
    setDvar("sv_cheats", 1);
    setDvar("jump_height", 1000);
    setDvar("g_speed", 350);
    setDvar("scr_tdm_timelimit", 99999999);
    setDvar("scr_tdm_score_kill", 250);
    setDvar("sv_vac", 0);
    setDvar("timescale",0);
    setDvar("player_sustainammo",1);
    setDvar("g_gravity",250);
    setDvar("custom_killstreak_mode",1);
    level.scoreInfo = [];
    level.xpScale = GetDvarInt( #"scr_xpscale" );
    level.codPointsXpScale = GetDvarFloat( #"scr_codpointsxpscale" );
    level.codPointsMatchScale = GetDvarFloat( #"scr_codpointsmatchscale" );
    level.codPointsChallengeScale = GetDvarFloat( #"scr_codpointsperchallenge" );
    level.rankXpCap = GetDvarInt( #"scr_rankXpCap" );
    level.codPointsCap = GetDvarInt( #"scr_codPointsCap" );

11.Ok i will now teach you to import things xd(only for me)
1.Jump_Height is how you much jump
2.TimeLimit is time of game i seted 9999999 because my game will be like 2562.60 minutes Big Grin
3.Score Kill Is when you kill somone then you got that points
4.Vac is the punkbuster if you set to 1 you will be banned for black ops so don't use that
5.Timescale is the game speed example if you set time scale to 0.5 it will be slow like in theater mode if you set to 4 or 5 it will be fast more than i poop -.-'
6.Oh you asking what is sustain ammo? Oh that's the unlimited ammo you can shoot and bullets are unlimited Smile
7.g_gravity is gravity of game if you set 25 you will fly Big Grin
8.custom killstreak mode is your killstreak if you set to 1 you will have killstreak in game if you set to 0 you will dont have killstreak

Ok today we learned so much happy scripting oh btw there are questions and answers what are asking me in the game.

Q = Question
A = Answer

Q:Hey Ivankec i registred on this site and i dont know how to use the mod loader plz help me ivankec Thank you.
A:

Q:Can i get banned using mods?
A:You Can't If you follow this :
1.When you are bored and you wanna play online go out of game.
2.Restart Steam.
3.Play Normal Game With steam


Q:How can i help to this site?
A:By donating in this post : http://www.itsmods.com/forum/Announcemen...aiser.html

Q:FUCK YOU ALL THIS MODS ARE FAKE FUCKING KEY STEALERS FUCK OFF NOOBS
A:Look kid, we are not key stealers we just made mods

Q:I need to pay for Roll The dice.
A:No Here is the free : http://www.itsmods.com/forum/Thread-Roll...-2011.html

Q:What are The roll the dice list?
A:The roll list:
=============
[+] = Advantage
[-] = Disadvantage
[?] = Neutral/Depends

1. Cocaine [+]
2. One-hit kill [-]
3. Triple HP [+]
4. 20 Perks [+]
5. FRAGment [+]
6. Go get 'em Makarov [?]
7. PSGFTBHQVFTW [+]
8. Knife Runner [-]
9. Needle Gun [+]
10. Turtle [-]
11. Chew bubblegum [?]
12. Unlimited Ammo [+]
13. Double HP and roll again! [+]
14. Godmode for 15 seconds [+]
15. REAPER [?]
16. Invisibility for 15 seconds [+]
17. Mudkipz [-]
18. Claymore [+]
19. Flashin', baby! [+]
20. No perks, no skills. [-]
21. Extra Hardcore [-]
22. Arcade [-]
23. Cartoon [+]
24. Blood Malfunction [+]
25. Spy [+]
26. The Golden Crossbow [+]
27. No Melee [-]
28. Explosion Resistant [+]
29. Blood Ammo [-]
30. Mini Gungame [?]
31. Lubetube [+]
32. Suicide Bomber [+]
33. Invisible Weapon [-]
34. BULLS EYE! [?]
35. Aura [+]
36. Super speed for 15 seconds [+]
37. Paranoid [-]
38. Zombie [-]
39. Artillery Marker [+]
40. Lovetube Pro [+]
41. Telekinetic [+]
42. Super Damage [+]
43. Ice Bullets [+]
44. Weapon Dealer [+]
45. Copycat [-]
46. Ninja [+]
47. Reflect Bullets [+]
48. Ragdoll [+]
49. Roll Twice [?]
50. RPG FIRE [+]
51. Jetpack [+] - Thanks master131
52. They're watching you.. [-] - Thanks alistair3149
53. Mecha [+] - Thanks Eekhoorn
54. Valkyrie [+] - Thanks Eekhoorn
55. ProMod [?] - Thanks Eekhoorn
56. You are on fire! [-] - Thanks Eekhoorn
57. Orgasm [OH YEAH] - Thanks Eekhoorn
58. Wallhack [?] - Thanks Eekhoorn
59. Double Bling [?]
60. Nuoh my god! [-] - Thanks Eekhoorn
61. RCXD [+] - Thanks Eekhoorn
62. Paradox [+]
63. Shades [+]
64. Pyromaniac [+]
65. No velocity [-]
66. Jump Height [+] - Thanks Eekhoorn
67. Knockback [+]
68. Pullback [+]
69. Fat [-]
70. Teleport [+]
71. Rainbow world [?]
72. Third Person [-]
73. Too much whisky [-]
74. No MACazines [-]
75. Cowbow [?]
76. 50 Perks [+]
77. Chrome [?]
78. Rockets n stuff [+]
79. Rockit Lawnchair [+]
80. WHAT THE FUUUUUU
81. World of Wax [?]
82. Sunset [?]
83. Roll Twice [?]
84. Unlimited Ammo and roll again! [+]
85. Submachine Gungame [?]
86. Heaven [?]
87. Sphere [?]
88. Cocaine Shot and Reroll [+]
89. Vampire [?]
90. Rapist [?]
91. One Man Army [?]
92. Syringe Gun [+] - Thanks Master131
93. Team Warfare [?]
94. 25% Chance of Nuke [+]
95. Super Health Regen [+]
96. Darkness Reincarnate [-]
97. Anticamp [-]
98. Teamkiller [?]
99. Paintball [?]
100. Choose a roll [+]
=============


PLEASE THANK YOU PRESS THAT FOR FREE BEER Big Grin
Thanks finally a tutorial that explains it really well.
Man no problem its begginer tutorial
thank you ivankec, well made
(02-25-2011, 20:15)d0h! Wrote: [ -> ]thank you ivankec, well made

Np d0h! its my tutorial and btw i explain to beginners how they can be popular like AZUMIKKEL , D0H! , SuperNovaAO , Eekhoorn etc...
this made my day Wink
ohoho Big Grin
(02-25-2011, 20:19)Ivankec Wrote: [ -> ]Np d0h! its my tutorial and btw i explain to beginners how they can be popular like AZUMIKKEL , D0H! , SuperNovaAO etc...

Well, I wonder 2 things.
- What SuperNova's reaction is.
- Why Eekhoorn is not there in the list Wink
Eekhoorn added Big Grin
Ok, anyway, pretty nice tutorial.
Pages: 1 2 3