Hopefully a simple question

  • Thread starter Thread starter Lonely Soldier
  • Start date Start date
L

Lonely Soldier

Guest
Hi everyone,

Please refer me to the appropriate page if this has been asked and answered already, which I'm almost certain it will have been.

I was wondering how to transfer weapon models from Counter Strike Source into HL2, I already have info on how to add them into HL2, I just can't access the models.

Specifically what I want to do is to add many of the CS:S weapons to an HL2 mod and to include their original animations. Therefore, I'd also like to be able to access the .cpp files, (or the code files, whatever the correct suffix is). I'm also planning to add the Smod iron sights code. By the way, does anyone know how this would be applied to dual weapons? Like the barettas? I think it would require a new animation, or totally new code, if so, forget it.

Thanks,
Lonely Soldier
 
Ok, well, I've found the models for CSS weapons, but where are the CPP files? And where are the weapon_(insert name here).txt files? Also, how do I add these files to my mod?
 
basicly dont worry about cpp files as youll be replacing hl2 weapons. so you want to switch the css mp5 with the hl2 smg. then youll get the model extract it decompile it. delete all the bones may aswell. and add your own hand models to it rig it compile it and your done. if you dont know how to do this see the files in the sourcesdk_content/modelsrc/weapons. if you dont have xsi get someone to explain it to you in detail as im too drunk.
 
:P I didn't think it would be so complicated. I'm a complete noob at all this stuff. I just wanted to add some CS:S weapons to HL2, and I thought it would be some simple coding and file copying :(
 
The CSS stuff hasn't got publicly available source code, so if you're going to port the weapons, you'll have to write them from scratch.

-Angry Lawyer
 
Back
Top