tutorial plss

View previous topic View next topic Go down

tutorial plss

Post  kamo96 on Thu May 16, 2013 12:14 pm

how i put sounds on a skin , the steps ? what i need ?
avatar
kamo96
Sergeant
Sergeant

Posts : 137
Points : 115
Join date : 2013-04-27
Age : 20
Location : Romania

View user profile

Back to top Go down

Re: tutorial plss

Post  leazq on Thu May 16, 2013 2:03 pm

well, you have to decompile the model and then edit the .qc file

you should search for this line
// 14 animation sequence(s) (the number may vary)
and then search for the desired animations (name will vary too xD)

for example:

$sequence "silencer_reload" "silencer_reload" fps 30 {
{ event 5004 14 "weapons/m4a1_clipout.wav" }
{ event 5004 38 "weapons/m4a1_clipin.wav" }
{ event 5004 48 "weapons/mac10_clipin.wav" }
{ event 5004 60 "weapons/m4a1_boltpull.wav" }
}

and this is $sequence "name" "name" (animation speed, should be written as fps X, where X is a number) {
{ (do not change this "event 5004") (at which frame should the sound start) "sound directory (dont include cstrike/" } --> you can add as many sounds you want, but you have to keep that structure
}

i hope you understand that i've wrote Razz

avatar
leazq
Moderator
Moderator

Posts : 245
Points : 217
Join date : 2013-04-14
Age : 22
Location : Zarate, Argentina

View user profile

Back to top Go down

Re: tutorial plss

Post  kamo96 on Fri May 17, 2013 6:38 am

when i compile it , its says
grabbing .\/scope.smd
grabbing .\/ghillie.smd
grabbing .\/body 1.smd
grabbing .\/body 2.smd
grabbing .\/HANDS.smd
grabbing .\/sleeve.smd
************ ERROR ************
bad command $texrendermode
[how i fix this] Neutral
avatar
kamo96
Sergeant
Sergeant

Posts : 137
Points : 115
Join date : 2013-04-27
Age : 20
Location : Romania

View user profile

Back to top Go down

Re: tutorial plss

Post  sloba_986 on Fri May 17, 2013 6:46 am

kamo96 wrote:when i compile it , its says
grabbing .\/scope.smd
grabbing .\/ghillie.smd
grabbing .\/body 1.smd
grabbing .\/body 2.smd
grabbing .\/HANDS.smd
grabbing .\/sleeve.smd
************ ERROR ************
bad command $texrendermode
[how i fix this] Neutral

Delete the line with $texrendermode from qc file
avatar
sloba_986
Moderator
Moderator

Posts : 472
Points : 514
Join date : 2011-10-22
Age : 30
Location : Serbia,Novi Sad

View user profile

Back to top Go down

Re: tutorial plss

Post  RAFAEL on Fri May 17, 2013 7:20 am

lea_zq wrote:well, you have to decompile the model and then edit the .qc file

you should search for this line
// 14 animation sequence(s) (the number may vary)
and then search for the desired animations (name will vary too xD)

for example:

$sequence "silencer_reload" "silencer_reload" fps 30 {
{ event 5004 14 "weapons/m4a1_clipout.wav" }
{ event 5004 38 "weapons/m4a1_clipin.wav" }
{ event 5004 48 "weapons/mac10_clipin.wav" }
{ event 5004 60 "weapons/m4a1_boltpull.wav" }
}

and this is $sequence "name" "name" (animation speed, should be written as fps X, where X is a number) {
{ (do not change this "event 5004") (at which frame should the sound start) "sound directory (dont include cstrike/" } --> you can add as many sounds you want, but you have to keep that structure
}

i hope you understand that i've wrote Razz

{ event 5004 38 "weapons/mac10_boltpull.wav" }
event 5004 means that u will play a custom sound file
the 38 is the frame of the animation that the sound will start
the "weapons/mac10_boltpull.wav" is the path to the sound file (cstrike/sound/ is predefined)
note that in the shoot animations uses the event 5001 instead of 5004,to play a predefined fire sound (like ak47-1.wav)

-use it to don't get mude fire shots Razz
avatar
RAFAEL
Brigadier General
Brigadier General

Posts : 1277
Points : 1351
Join date : 2011-07-14
Age : 22
Location : Brazil

View user profile http://rgggames.blogspot.com

Back to top Go down

Re: tutorial plss

Post  leazq on Fri May 17, 2013 7:29 am

RAFAEL wrote:{ event 5004 38 "weapons/mac10_boltpull.wav" }
event 5004 means that u will play a custom sound file
the 38 is the frame of the animation that the sound will start
the "weapons/mac10_boltpull.wav" is the path to the sound file (cstrike/sound/ is predefined)
note that in the shoot animations uses the event 5001 instead of 5004,to play a predefined fire sound (like ak47-1.wav)

-use it to don't get mude fire shots Razz

thanks, i've never understood what event 5004 meant Very Happy
avatar
leazq
Moderator
Moderator

Posts : 245
Points : 217
Join date : 2013-04-14
Age : 22
Location : Zarate, Argentina

View user profile

Back to top Go down

Re: tutorial plss

Post  kamo96 on Fri May 17, 2013 7:40 am

here is the link for model http://www.4shared.com/file/Bcc_IJ7c/v_sg550.html it has a scope lens and a ghillie :
$texrendermode "weapon_m14ebr_scope_lens_col.bmp" "additive"
$texrendermode "ghillie.bmp" "masked"
-skin:sg550
its the only way to fix it because i like the ghillie and the lens ...... Smile
avatar
kamo96
Sergeant
Sergeant

Posts : 137
Points : 115
Join date : 2013-04-27
Age : 20
Location : Romania

View user profile

Back to top Go down

Re: tutorial plss

Post  sloba_986 on Fri May 17, 2013 7:42 am

kamo96 wrote:here is the link for model http://www.4shared.com/file/Bcc_IJ7c/v_sg550.html it has a scope lens and a ghillie :
$texrendermode "weapon_m14ebr_scope_lens_col.bmp" "additive"
$texrendermode "ghillie.bmp" "masked"
-skin:sg550
its the only way to fix it because i like the ghillie and the lens ...... Smile
delete those lines in qc and than compile.
open hlmv and find the textires of guile and lens and check additive option and save the skin
avatar
sloba_986
Moderator
Moderator

Posts : 472
Points : 514
Join date : 2011-10-22
Age : 30
Location : Serbia,Novi Sad

View user profile

Back to top Go down

Re: tutorial plss

Post  kamo96 on Fri May 17, 2013 7:48 am

thanks man , why didn't i thought about it Razz
avatar
kamo96
Sergeant
Sergeant

Posts : 137
Points : 115
Join date : 2013-04-27
Age : 20
Location : Romania

View user profile

Back to top Go down

Re: tutorial plss

Post  sloba_986 on Fri May 17, 2013 7:50 am

kamo96 wrote:thanks man , why didn't i thought about it Razz
so you made it,good Razz
avatar
sloba_986
Moderator
Moderator

Posts : 472
Points : 514
Join date : 2011-10-22
Age : 30
Location : Serbia,Novi Sad

View user profile

Back to top Go down

Re: tutorial plss

Post  RAFAEL on Fri May 17, 2013 8:05 am

sloba_986 wrote:
kamo96 wrote:here is the link for model http://www.4shared.com/file/Bcc_IJ7c/v_sg550.html it has a scope lens and a ghillie :
$texrendermode "weapon_m14ebr_scope_lens_col.bmp" "additive"
$texrendermode "ghillie.bmp" "masked"
-skin:sg550
its the only way to fix it because i like the ghillie and the lens ...... Smile
delete those lines in qc and than compile.
open hlmv and find the textires of guile and lens and check additive option and save the skin
just compile without the "$textrendermode" line and open the model in hlmv:
go in the textures tab,select the lens and mark the "additive" box
select the ghillie texture and mark the "transparent" box
save the model Razz
avatar
RAFAEL
Brigadier General
Brigadier General

Posts : 1277
Points : 1351
Join date : 2011-07-14
Age : 22
Location : Brazil

View user profile http://rgggames.blogspot.com

Back to top Go down

Re: tutorial plss

Post  sloba_986 on Fri May 17, 2013 8:15 am

RAFAEL wrote:
sloba_986 wrote:
kamo96 wrote:here is the link for model http://www.4shared.com/file/Bcc_IJ7c/v_sg550.html it has a scope lens and a ghillie :
$texrendermode "weapon_m14ebr_scope_lens_col.bmp" "additive"
$texrendermode "ghillie.bmp" "masked"
-skin:sg550
its the only way to fix it because i like the ghillie and the lens ...... Smile
delete those lines in qc and than compile.
open hlmv and find the textires of guile and lens and check additive option and save the skin
just compile without the "$textrendermode" line and open the model in hlmv:
go in the textures tab,select the lens and mark the "additive" box
select the ghillie texture and mark the "transparent" box
save the model Razz

LOL,I allready told him that Very Happy
avatar
sloba_986
Moderator
Moderator

Posts : 472
Points : 514
Join date : 2011-10-22
Age : 30
Location : Serbia,Novi Sad

View user profile

Back to top Go down

Re: tutorial plss

Post  RAFAEL on Fri May 17, 2013 9:37 am

sloba_986 wrote:
RAFAEL wrote:
sloba_986 wrote:
kamo96 wrote:here is the link for model http://www.4shared.com/file/Bcc_IJ7c/v_sg550.html it has a scope lens and a ghillie :
$texrendermode "weapon_m14ebr_scope_lens_col.bmp" "additive"
$texrendermode "ghillie.bmp" "masked"
-skin:sg550
its the only way to fix it because i like the ghillie and the lens ...... Smile
delete those lines in qc and than compile.
open hlmv and find the textires of guile and lens and check additive option and save the skin
just compile without the "$textrendermode" line and open the model in hlmv:
go in the textures tab,select the lens and mark the "additive" box
select the ghillie texture and mark the "transparent" box
save the model Razz

LOL,I allready told him that Very Happy
i saw,but i think you forgot the hlmv Razz
avatar
RAFAEL
Brigadier General
Brigadier General

Posts : 1277
Points : 1351
Join date : 2011-07-14
Age : 22
Location : Brazil

View user profile http://rgggames.blogspot.com

Back to top Go down

Re: tutorial plss

Post  sloba_986 on Fri May 17, 2013 9:43 am

RAFAEL wrote:
sloba_986 wrote:
RAFAEL wrote:
sloba_986 wrote:
kamo96 wrote:here is the link for model http://www.4shared.com/file/Bcc_IJ7c/v_sg550.html it has a scope lens and a ghillie :
$texrendermode "weapon_m14ebr_scope_lens_col.bmp" "additive"
$texrendermode "ghillie.bmp" "masked"
-skin:sg550
its the only way to fix it because i like the ghillie and the lens ...... Smile
delete those lines in qc and than compile.
open hlmv and find the textires of guile and lens and check additive option and save the skin
just compile without the "$textrendermode" line and open the model in hlmv:
go in the textures tab,select the lens and mark the "additive" box
select the ghillie texture and mark the "transparent" box
save the model Razz

LOL,I allready told him that Very Happy
i saw,but i think you forgot the hlmv Razz

look again man Razz
avatar
sloba_986
Moderator
Moderator

Posts : 472
Points : 514
Join date : 2011-10-22
Age : 30
Location : Serbia,Novi Sad

View user profile

Back to top Go down

Re: tutorial plss

Post  kamo96 on Fri May 17, 2013 9:47 am

cheers cheers cheers thanks to all who helped me! tongue cheers cheers cheers
avatar
kamo96
Sergeant
Sergeant

Posts : 137
Points : 115
Join date : 2013-04-27
Age : 20
Location : Romania

View user profile

Back to top Go down

Re: tutorial plss

Post  RAFAEL on Fri May 17, 2013 9:58 am

sloba_986 wrote:
RAFAEL wrote:
sloba_986 wrote:
RAFAEL wrote:
sloba_986 wrote:
kamo96 wrote:here is the link for model http://www.4shared.com/file/Bcc_IJ7c/v_sg550.html it has a scope lens and a ghillie :
$texrendermode "weapon_m14ebr_scope_lens_col.bmp" "additive"
$texrendermode "ghillie.bmp" "masked"
-skin:sg550
its the only way to fix it because i like the ghillie and the lens ...... Smile
delete those lines in qc and than compile.
open hlmv and find the textires of guile and lens and check additive option and save the skin
just compile without the "$textrendermode" line and open the model in hlmv:
go in the textures tab,select the lens and mark the "additive" box
select the ghillie texture and mark the "transparent" box
save the model Razz

LOL,I allready told him that Very Happy
i saw,but i think you forgot the hlmv Razz

look again man Razz
avatar
RAFAEL
Brigadier General
Brigadier General

Posts : 1277
Points : 1351
Join date : 2011-07-14
Age : 22
Location : Brazil

View user profile http://rgggames.blogspot.com

Back to top Go down

Re: tutorial plss

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum