google-site-verification: googlebaca44933768a824.html "Ghost mode" - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

"Ghost mode"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    "Ghost mode"

    Ok, tried AlphaModulate as in Asus walls, didnt work also tried this, doesnt work. I dont see why :/

    Code:
    void cRemovals::Ghostmode()
    {
    	        //Textures and models to find
        IMaterial* C1 = HalFLife2.m_pMaterialSystem->FindMaterial("models\player\ct_gign\ct_gign", "Model textures");
        IMaterial* C2 = HalFLife2.m_pMaterialSystem->FindMaterial("models\player\ct_gsg9\ct_gsg9", "Model textures");
        IMaterial* C3 = HalFLife2.m_pMaterialSystem->FindMaterial("models\player\ct_sas\ct_sas", "Model textures");
        IMaterial* C4 = HalFLife2.m_pMaterialSystem->FindMaterial("models\player\ct_urban\ct_urban", "Model textures");
        IMaterial* T1 = HalFLife2.m_pMaterialSystem->FindMaterial("models\player\t_arctic\t_arctic", "Model textures");
        IMaterial* T2 = HalFLife2.m_pMaterialSystem->FindMaterial("models\player\t_guerilla\t_guerilla", "Model textures");
        IMaterial* T3 = HalFLife2.m_pMaterialSystem->FindMaterial("models\player\t_leet\t_leet", "Model textures");
        IMaterial* T4 = HalFLife2.m_pMaterialSystem->FindMaterial("models\player\t_phoenix\t_phoenix", "Model textures");
        
           // Lets make em niggas ghosts
    	if(HalFLife2.m_psCvar->vis_ghostmode == 1)
    	{
    	    C1->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		C2->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		C3->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		C4->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		T1->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		T2->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		T3->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		T4->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    	}
    	if(HalFLife2.m_psCvar->vis_ghostmode == 0)
    	{
    	    C1->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		C2->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		C3->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		C4->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		T1->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		T2->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		T3->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		T4->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    }
    }
    Idea is to make translucent playermodels, maybe wrong material_var but i dont think so, quickly look into SDK, this seems to be correct. So, why this doesnt do anything? :D
    lolmaoman: Germans are born with a lifetime x22 login engraved into their birth certificates. True story.
    I DONT HAVE TEAMVIEWER AND IM NOT GOING TO GIVE ANY 24/7 ONLINE SUPPORT VIA STEAM, XFIRE OR OTHER IM PROGRAMS SO DONT BOTHER ASKING. THANKS.

    #2
    Originally posted by therealgabe
    Ok, tried AlphaModulate as in Asus walls, didnt work also tried this, doesnt work. I dont see why :/

    Code:
    void cRemovals::Ghostmode()
    {
    	        //Textures and models to find
        IMaterial* C1 = HalFLife2.m_pMaterialSystem->FindMaterial("modelsplayerct_gignct_gign", "Model textures");
        IMaterial* C2 = HalFLife2.m_pMaterialSystem->FindMaterial("modelsplayerct_gsg9ct_gsg9", "Model textures");
        IMaterial* C3 = HalFLife2.m_pMaterialSystem->FindMaterial("modelsplayerct_sasct_sas", "Model textures");
        IMaterial* C4 = HalFLife2.m_pMaterialSystem->FindMaterial("modelsplayerct_urbanct_urban", "Model textures");
        IMaterial* T1 = HalFLife2.m_pMaterialSystem->FindMaterial("modelsplayert_arctict_arctic", "Model textures");
        IMaterial* T2 = HalFLife2.m_pMaterialSystem->FindMaterial("modelsplayert_guerillat_guerilla", "Model textures");
        IMaterial* T3 = HalFLife2.m_pMaterialSystem->FindMaterial("modelsplayert_leett_leet", "Model textures");
        IMaterial* T4 = HalFLife2.m_pMaterialSystem->FindMaterial("modelsplayert_phoenixt_phoenix", "Model textures");
        
           // Lets make em niggas ghosts
    	if(HalFLife2.m_psCvar->vis_ghostmode == 1)
    	{
    	    C1->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		C2->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		C3->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		C4->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		T1->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		T2->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		T3->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    		T4->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, true );
    	}
    	if(HalFLife2.m_psCvar->vis_ghostmode == 0)
    	{
    	    C1->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		C2->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		C3->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		C4->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		T1->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		T2->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		T3->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    		T4->SetMaterialVarFlag( MATERIAL_VAR_TRANSLUCENT, false );
    }
    }
    Idea is to make translucent playermodels, maybe wrong material_var but i dont think so, quickly look into SDK, this seems to be correct. So, why this doesnt do anything? :D
    this method is dod : s fps DOWN!!!, use materials in group for this

    Comment


      #3
      Im not exactly sure what you are trying to do, like if you wanted a slight off white color to remain or not...


      If you are just trying to erase the models than just do
      Code:
      void MaterialHacks(){
      	IMaterial* Material = NULL;
      	char * name;	char * group;
      	for(int i=m_pMaterialSystem->FirstMaterial(); i <    m_pMaterialSystem->GetNumMaterials(); i++){
      		Material = m_pMaterialSystem->GetMaterial(i);
      		name = (char*) Material->GetName();
      		if(strstr( name, "player" ))
      			Material->SetMaterialVarFlag( MATERIAL_VAR_NO_DRAW, true );
      	}
      }
      will just erase the models obviously:

      Comment


        #4
        Originally posted by hackersrus View Post
        Im not exactly sure what you are trying to do, like if you wanted a slight off white color to remain or not...


        If you are just trying to erase the models than just do
        Code:
        void MaterialHacks(){
        	IMaterial* Material = NULL;
        	char * name;	char * group;
        	for(int i=m_pMaterialSystem->FirstMaterial(); i <    m_pMaterialSystem->GetNumMaterials(); i++){
        		Material = m_pMaterialSystem->GetMaterial(i);
        		name = (char*) Material->GetName();
        		if(strstr( name, "player" ))
        			Material->SetMaterialVarFlag( MATERIAL_VAR_NO_DRAW, true );
        	}
        }
        will just erase the models obviously:
        No, ALMOST LIKE THAT :D but i want "translucent" effect to them, not fully invisible. I've seen this already done at one hack and it looked kinda cool and i've been trying to think about the way to make it myself. Thanks anyway :D
        lolmaoman: Germans are born with a lifetime x22 login engraved into their birth certificates. True story.
        I DONT HAVE TEAMVIEWER AND IM NOT GOING TO GIVE ANY 24/7 ONLINE SUPPORT VIA STEAM, XFIRE OR OTHER IM PROGRAMS SO DONT BOTHER ASKING. THANKS.

        Comment


          #5
          look around in the sdk for more commands
          MATERIAL_VAR_NO_DRAW
          i bet there is another command with the effect your looking for.
          Buy
          _______________________________________________

          Comment


            #6
            [EDIT]

            if you tryd something like :

            IMaterial* lol = m_pMaterialSystem->FindMaterial("\models\lol", "lol textures");

            lol->Alphamodulate( 160.0f );

            that dont work.. use this what hackersrus posted but change "SetMaterialVarFlag(..);" to

            "Alphamodulate( 160.0f );" and test it
            Last edited by Guest; 06-28-2008, 10:22 PM.

            Comment


              #7
              hook SetBlend(..)
              I 0x90 you!

              Comment


                #8
                lol its hoh admin/p7 smod i think? gtfo. he ask identical question on hoh forum...
                /* fibre */

                Comment


                  #9
                  Originally posted by fibre View Post
                  lol its hoh admin/p7 smod i think? gtfo. he ask identical question on hoh forum...
                  Correct.
                  It's Hardcore, HoH Admin and p7 Supermoderator.
                  I just dont understand why you are asking here since you just could ask hellboy to help you(who apparently coded the HoH VIP hack which includes ghost models). And I also guess you actually should know that RH doesn't like seeing HoH / P7 Admins / Smods in their own forum.
                  However, I don't care whether you are here or not.
                  Last edited by Om1; 06-29-2008, 07:15 PM.

                  Originally posted by Dead
                  8 digit steam acount willing to trade for any steam acount that everey one knows as a hacker lmao or BANNED ON ALOT OF SERVERS.

                  made by kimmi

                  Comment


                    #10
                    oops i got busted. Well go ahead and ban me, thank you everyone who helped and replied to this thread =) Bai :P
                    lolmaoman: Germans are born with a lifetime x22 login engraved into their birth certificates. True story.
                    I DONT HAVE TEAMVIEWER AND IM NOT GOING TO GIVE ANY 24/7 ONLINE SUPPORT VIA STEAM, XFIRE OR OTHER IM PROGRAMS SO DONT BOTHER ASKING. THANKS.

                    Comment


                      #11
                      Lol your a nice person i think but your with the enemies ^^
                      /* fibre */

                      Comment


                        #12
                        Rofl, P7 faggots lick mah ballz. All day everyday.

                        Comment


                          #13
                          ya HoH VIP sucks.... wasted 15$ getting a month sub while I am waiting for RH... but it crashes when you shoot... just a fucking rip off to steal money
                          give me 1 million dollars or you will never see me again

                          Comment


                            #14
                            Hmm.. Hellbot is a hack made by HoH too right ?


                            Feel free to contact me if you need support for HL2H or RH. I speak English , German and Turkish.

                            Buy RH- Buy HL2H- Buy Ring0- Donate - PM Me

                            Comment


                              #15
                              enough talk about p7/hoh
                              /* fibre */

                              Comment

                              Working...
                              X