S
spree
Guest
Hello I"m new here, and new to moding, I konw this has been done but I still wanna brag with my first successfull moding
I was playing with the HL2 weapons so I made the gravity gun to be the super gravity gun during all the game ( and not only since the last level ).
this is how i did it: weapon_physicscannon.cpp
The function which checks if the player should have the MegaPhysCannon. Instade of checking now it returns true.
bool PlayerHasMegaPhysCannon()
{ return true; // MYMOD
// return ( GlobalEntity_GetState("super_phys_gun") == GLOBAL_ON );
}
Here are some pics:
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_040029.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_040030.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_040044.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_080003.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_080009.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_080016.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_080020.jpg
I was playing with the HL2 weapons so I made the gravity gun to be the super gravity gun during all the game ( and not only since the last level ).
this is how i did it: weapon_physicscannon.cpp
The function which checks if the player should have the MegaPhysCannon. Instade of checking now it returns true.
bool PlayerHasMegaPhysCannon()
{ return true; // MYMOD
// return ( GlobalEntity_GetState("super_phys_gun") == GLOBAL_ON );
}
Here are some pics:
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_040029.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_040030.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_040044.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_080003.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_080009.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_080016.jpg
http://www.geocities.com/ciu_il/images/hl2mod/d3_c17_080020.jpg