Make new weapon reference existing vanilla weapon graphic without compiling new cgame


(NovaPrime) #1

Does anyone with ET coding experience know how to reference a new weapon to an existing client-side .weap file without having to edit any cgame files? The reason I am asking is because I made a personal mod, it modified the characteristics of the mp40/thompson, but I do not want edit any cgame files, because that will force me to add a new client pack for players to download. I am trying to keep it server-side only. The weapon has its own slot and everything in code, but I just want to recycle existing weapon graphics to avoid having to compile cgame binaries and force players to download more. Hope that make sense.

Any ideas?


(ETJump-Zero) #2

[QUOTE=NovaPrime;468423]Does anyone with ET coding experience know how to reference a new weapon to an existing client-side .weap file without having to edit any cgame files? The reason I am asking is because I made a personal mod, it modified the characteristics of the mp40/thompson, but I do not want edit any cgame files, because that will force me to add a new client pack for players to download. I am trying to keep it server-side only. The weapon has its own slot and everything in code, but I just want to recycle existing weapon graphics to avoid having to compile cgame binaries and force players to download more. Hope that make sense.

Any ideas?[/QUOTE]I have never had to do anything with weapons so I don’t really know how adding weapons is done, but how will client know about your changes if you don’t inform them? I’m sure something (not necessarily cgame) has to be changed.


(RayBan) #3

actually… you can create client animations for exisiting weaps…


(RayBan) #4

btw… i never tried it in depth… but when I made the chicken grenades… I saw that it could be done… though I never explored it further… =/