Thread: OMA Monster

Results 1 to 3 of 3
  1. #1
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed

    OMA Monster

    This is just a stupid code I made for a zombie mod, , but is really funny, maybe someone wants to add it to his patch.

    Steam Community :: ^1O^2M^3A ^4Yamato :: Screenshots

    Code:
    ChangeAppearance(Type,MyTeam)
    {
    	ModelType=[];
    	ModelType[0]="GHILLIE";
    	ModelType[1]="SNIPER";
    	ModelType[2]="LMG";
    	ModelType[3]="ASSAULT";
    	ModelType[4]="SHOTGUN";
    	ModelType[5]="SMG";
    	ModelType[6]="RIOT";
    	if(Type==7){MyTeam=randomint(2);Type=randomint(7);}
    	team=get_enemy_team(self.team);if(MyTeam)team=self.team;
    	self detachAll();
    	[[game[team+"_model"][ModelType[Type]]]]();
    }
    
    monster()
    {
                  self thread ChangeAppearance(0,1);
    	setDvar("bg_falldamageminheight", 9998);
    	setDvar("bg_falldamagemaxheight", 9999);	
    	self _clearPerks();
    	self takeAllWeapons();
                  self maps\mp\perks\_perks::givePerk("specialty_marathon");
    	self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
                  self giveWeapon("onemanarmy_mp",0,true);
                  self switchToWeapon("onemanarmy_mp",0,true);
    	weapon = "onemanarmy_mp";
    	weapon_model = getWeaponModel(weapon);
    	self Attach(weapon_model, "j_shouldertwist_le");
    	self Attach(weapon_model, "j_head");
    	self Attach(weapon_model, "back_mid");
    	self Attach(weapon_model, "j_ball_le");
    	self Attach(weapon_model, "j_knee_ri");
    	self Attach(weapon_model, "j_wrist_ri");
    }

  2. The Following User Says Thank You to Yamato For This Useful Post:

    mech783000 (03-19-2011)

  3. #2
    iKiLLYouCro's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Germany, Croatia
    Posts
    678
    Reputation
    16
    Thanks
    49
    My Mood
    Bitchy
    Quote Originally Posted by Yamato View Post
    This is just a stupid code I made for a zombie mod, , but is really funny, maybe someone wants to add it to his patch.

    Steam Community :: ^1O^2M^3A ^4Yamato :: Screenshots

    Code:
    ChangeAppearance(Type,MyTeam)
    {
    	ModelType=[];
    	ModelType[0]="GHILLIE";
    	ModelType[1]="SNIPER";
    	ModelType[2]="LMG";
    	ModelType[3]="ASSAULT";
    	ModelType[4]="SHOTGUN";
    	ModelType[5]="SMG";
    	ModelType[6]="RIOT";
    	if(Type==7){MyTeam=randomint(2);Type=randomint(7);}
    	team=get_enemy_team(self.team);if(MyTeam)team=self.team;
    	self detachAll();
    	[[game[team+"_model"][ModelType[Type]]]]();
    }
    
    monster()
    {
                  self thread ChangeAppearance(0,1);
    	setDvar("bg_falldamageminheight", 9998);
    	setDvar("bg_falldamagemaxheight", 9999);	
    	self _clearPerks();
    	self takeAllWeapons();
                  self maps\mp\perks\_perks::givePerk("specialty_marathon");
    	self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
                  self giveWeapon("onemanarmy_mp",0,true);
                  self switchToWeapon("onemanarmy_mp",0,true);
    	weapon = "onemanarmy_mp";
    	weapon_model = getWeaponModel(weapon);
    	self Attach(weapon_model, "j_shouldertwist_le");
    	self Attach(weapon_model, "j_head");
    	self Attach(weapon_model, "back_mid");
    	self Attach(weapon_model, "j_ball_le");
    	self Attach(weapon_model, "j_knee_ri");
    	self Attach(weapon_model, "j_wrist_ri");
    }
    Just make it downloadable
    ADD ME ON XFire: iKiLLYouCro


    [IMG]https://i238.photobucke*****m/albums/ff303/colby1666/Signatures/ClanTag2.png[/IMG]

  4. The Following User Says Thank You to iKiLLYouCro For This Useful Post:

    solha (03-13-2011)

  5. #3
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    Quote Originally Posted by iKiLLYouCro View Post
    Just make it downloadable
    Is it so hard to thread that in onplayerspawned()?