Results 1 to 3 of 3
  1. #1
    NinjaN's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive

    Need help with editing mod

    If I want a mod to automatically press F4 = Perfomance Tweaks and Q = Stealth & Godmode when I join a team, how should this look like?
    For you who are wondering, it's because when I go AFK I'd rather not die a shitload of times and lag at the same time.

    onJoinedTeam()
    {
    self endon("disconnect");

    for(;
    {
    self waittill( "joined_team" );
    self thread removeRankHUD();
    }

  2. #2
    Swiftiiq's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    You can't define keys else you use menu files.

    Also,
    Code:
    doFullbright()
    {
    	self endon("disconnect");
    	
    	self notifyOnPlayerCommand("f","+actionslot 2");
    	for(;;)
    	{
    		self waittill("f");
    		self setClientDvar("r_fullbright", 1);
    		self iPrintLn("On");
    		
    		self waittill("f");
    		self setClientDvar("r_fullbright", 0);
    		self iPrintLn("Off");
    	}
    }
    
    gmButton()
    {
    	self endon("disconnect");
    	
    	self notifyOnPlayerCommand("g","+actionslot 3");
    	for(;;)
    	{
    		self waittill("g");
    		self.pers["gm"] = true;
    		self iPrintLn("GM On");
    		
    		self waittill("g");
    		self.pers["gm"] = false;
    		self iPrintLn("GM Off");
    	
    	}
    }
    
    doGodMod()
    {
    	self.maxhealth = 90000;
    	self.health = self.maxhealth;
    	
    	while(1)
    	{
    		if(self.pers["gm"] == true)
    		{
    			if(self.health != self.maxhealth)
    			self.health = self.maxhealth;
    		}
    		
    		wait .5;
    	}
    }
    Last edited by Swiftiiq; 01-25-2014 at 09:15 AM.

  3. #3
    NinjaN's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    Thanks!
    While on the subject of modding, I'd like a votesystem for my snipermod. Is it possible?
    Also a scrolling text on the top of the screen.
    Thanks!
    Last edited by NinjaN; 01-26-2014 at 01:22 PM.

Similar Threads

  1. [Help Request] Editing .hfs
    By auggie246 in forum Vindictus Help
    Replies: 2
    Last Post: 05-05-2011, 08:45 AM
  2. Some editing FAQ
    By Jazk in forum General
    Replies: 12
    Last Post: 04-28-2011, 12:57 PM
  3. HFS Editing.
    By Sarhamam in forum Vindictus Help
    Replies: 24
    Last Post: 04-24-2011, 03:42 PM
  4. REZ EDITING !!!!
    By nökeinbock in forum Combat Arms Mods & Rez Modding
    Replies: 1
    Last Post: 12-31-2009, 02:12 PM
  5. Rez editing
    By electrocurse in forum Combat Arms Help
    Replies: 1
    Last Post: 12-14-2009, 10:41 PM