Help with weapon models


(FatherChesz) #1

I need to figure out how to change the weapon models to something new (preferably non-weapons) I have knowledge in C++ and have been working in it for about two years. If anyone has any help or advice, please let me know. Thanks!


(Jaquboss) #2

Import MDC´s (compressed MD3) , change them , and rewrite weapon stuff …
(You should know that pk3 is zipped folder , and engine always prefer MDC (So you need to change model name , or export in MDC)


(No1_sonuk) #3

Actually, Jaquboss, the SplashDamage guys keep saying not to bother with MDC, and to use MD3. If you think about it, the engine has to decompress an MDC before it uses it, so using MD3s should improve the performance.

And simply changing the name of the model file won’t work.


(ikanatto) #4

pants wrote a tutorial to export a weapon model in RtCW. Great documentation.
http://www.mothermushroom.com/images/miscFiles/mdsGuide/weapons.html
Most of these processes are common in ET. However, you can edit the name of weapon parts something like “weapon_barrel#.md3” with configuring the weapons/weaponname.weap file. You also have to asign the frames to specific actions. But you can do this with refering to already-existing models and files.


(Jaquboss) #5

Ok , i have tried to remake thompson , and save it into v_thomson.md3 , packed that , but engine prefers still mdc version in original pack…
So then i must export to MDC or renamed to v_m1thomson.md3 and change weap file too
That´s a bit bothering…


(ikanatto) #6

but engine prefers still mdc version in original pack…

Really engine loves mdc rather than md3? :???: I suppose mdc is only for saving file size.


([RW]FRED) #7

Because the file weapons/thompson.weap references thompson.mdc instead thompson.md3. To target a new model with a different name, you must change the weapons/weaponname.weap.

Regards


(No1_sonuk) #8

I’d also suggest using a completely different directory for the model, such as “models/weapons2/mymod/thompson”, then change the references in “weapons/thompson.weap”.


(Jaquboss) #9

for Md3 : it still loads MDC first …


(No1_sonuk) #10

Just give the model a different name and change the weapons/weaponname.weap file! It’s as easy as that!

When I was doing tests for our mod’s thompson, I used “pop_m1a1” instead of “thompson” in all the model filenames.


(Jaquboss) #11

That´s no problem , just it can be a bit boring…


(FatherChesz) #12

Thx to everybody


(No1_sonuk) #13

That´s no problem , just it can be a bit boring

That’s the price you pay for good results. :slight_smile: