quick help

operative x

Newbie
Joined
Sep 22, 2003
Messages
1,238
Reaction score
0
what file do i edit to mess with the crossbows arrow speed/make the pistol shoot faster/and how could i make the console play a .wav file on start up?
 
"weapon_crossbow.cpp" @line "00031 #define BOLT_AIR_VELOCITY 2500" higher is faster
and "weapon_pistol.cpp" @line "00023 #define PISTOL_FASTEST_REFIRE_TIME 0.1f" lower is quicker.
the "" I put in, do not include them. both files are in hl2_dll folder in the src folder.
 
Oh dang, well the only weapon_crossbow.cpp/weapon_pistol.cpp files i found were in the src to the sroucesdk.GFC file, where do i put my newly edited .cpp files at in my mod folder? Scripts?
 
to change the crossbow bolt speed and the pistol rate of fire, you gonna have to code. those two files need to be edited where I showed you, then the mod must be compiled. its quite easy really.
 
naaier said:
to change the crossbow bolt speed and the pistol rate of fire, you gonna have to code. those two files need to be edited where I showed you, then the mod must be compiled. its quite easy really.
I understand that, but now that i've just changed the properties to the rate of fire where do i put those files into? Do i paste them into the scripts folder or?
 
it still needs to be compiled you still need to buy visual studio
 
Back
Top