User:TheDonald: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
Why can't my physgun pick up manhacks without crashing?? | Why can't my physgun pick up manhacks without crashing?? | ||
Is there is problem in physgun.cpp or c_weapon_gravitygun.cpp? | Is there is problem in physgun.cpp or c_weapon_gravitygun.cpp? | ||
Physgun manhack fix: | |||
<nowiki> | |||
Go into physgun.cpp and add this to the function AttachObject | |||
C_BaseEntity *pEntity; | |||
if(!pEntity->ClassMatches("npc_manhack") | |||
{ | |||
//rest of function | |||
} | |||
</nowiki> | |||
PS Don't get sucked into a hopwire when in god mode because you will crash. | PS Don't get sucked into a hopwire when in god mode because you will crash. |
Revision as of 14:03, 15 July 2008
Hello this is TheDonald.
I'm just getting started modding so I need a lot of help. Currently I'm working on incorporating the physgun and hopwire into a mod I call Intermission. It is currently in the embryonic stage of development.
Problems 'n' Stuff!
Why can't my physgun pick up manhacks without crashing?? Is there is problem in physgun.cpp or c_weapon_gravitygun.cpp?
Physgun manhack fix: Go into physgun.cpp and add this to the function AttachObject C_BaseEntity *pEntity; if(!pEntity->ClassMatches("npc_manhack") { //rest of function }
PS Don't get sucked into a hopwire when in god mode because you will crash.