Results 1 to 7 of 7
  1. #1
    IvanMod's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    46
    Reputation
    9
    Thanks
    8
    My Mood
    Cool

    Cool How to make a mod (BEGINNERS)

    Hey im gonna to teach you how to make Mod...

    First We need ModLoader :
    https://www.mpgh.net/forum/361-call-d...modloader.html

    Second:
    Dvar And Weapon List :

    https://www.mpgh.net/forum/361-call-d...les-codes.html

    OK LETS START :

    2.Ok now open Mod > Maps > mp > gametypes > _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 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 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
    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
    7.g_gravity is gravity of game if you set 25 you will fly
    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

  2. The Following 6 Users Say Thank You to IvanMod For This Useful Post:

    bayofthecitay (04-17-2011),cacheat (04-06-2011),demon541 (04-06-2011),Insane (05-10-2011),pilatie (04-06-2011),se7en_ace (04-06-2011)

  3. #2
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,627
    Reputation
    11
    Thanks
    325
    My Mood
    Angelic
    This will come in handy for poeple just beging this is good

  4. #3
    demon541's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Anywhere
    Posts
    150
    Reputation
    9
    Thanks
    17
    My Mood
    Twisted
    this should be thanked alot more.

  5. #4
    xbeatsszzx's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Behind a dumpster jerking off. xD jks
    Posts
    2,519
    Reputation
    13
    Thanks
    1,508
    My Mood
    Asleep
    ^^not really,

    gj on tut.
    I Am on this site for the mods for mw2 ONLY. Not hacks.

  6. #5
    lolbie's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Netherlands
    Posts
    5,207
    Reputation
    288
    Thanks
    2,136
    My Mood
    Angelic
    nice tut
    great for noobs either
    I love it when people keep their agreements /sarcasm ftw

  7. #6
    se7en_ace's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Friisco
    Posts
    122
    Reputation
    25
    Thanks
    41
    My Mood
    Psychedelic
    Ivankec from ******* I assume? It's nice to see you here as well. Thank you for the tutorial. I might actually start trying to make my own mods.


  8. #7
    bayofthecitay's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    5
    My Mood
    Amazed
    Nice, made my own mod! Did they patch Jump and Gravity, because it doesn't jump high nor do i float.