tutorial -- Putting New Guns In-game by Godsmack

Discussion in 'Modeling & Skinning' started by .:RIGGS:., Jul 29, 2004.

  1. .:RIGGS:. Daycare Member

    Contributions:
    41
    tutorial -- Putting New Guns In-game by Godsmack​
    For Lightray3D​

    Step 1. Go to you pak0.pk3 and go to models>weapons grab the skd and skc of the gun you want to replace.
    For this tut im gonna use the colt 45 skd skc.

    Step 2. Open up Lightray3D and import the model you are replaceing the MOH gun with then import the colt45 Skd and skc.

    Step 3. line up your model with the colt45 model once you do that then delete the colt45 just select it and hit delete.
    If you didnt make a new clip then just use the one from the colt 45 dont delete it.

    Step 4. Convert all your meshes to a skin to do this select a mesh and go to edit, scroll down to you see convert to skin
    Push it. Do this to all the meshes

    Step 5. Rename them to what ever you want but put this in front of the name "surf_" (with out the quotes) EX. surf_mygun

    Step 6. Select a part of the gun the hit edit little blue dots should pop up on the model select them all
    and clcik assign to bone then click the icon next to the edit button (it looks like a paper with a blue arrow at the bottom)
    then assign it to the colt45 bone. Do this to all parts of your gun. Also make sure your verts dont go over 1000 for each
    part of the gun

    Step 6. Your ready! to export so go to file export and export as a MOH skd then make a new pk3 and make a folder called
    models then in that folder make a folder called weapons and in that folder make a folder called cot45. Put your new skd in
    that folder

    Step 7. You now need to edit the colt45.tik file. Open that up and at the top of the tik there is sumthin like this
    surface colt45 shader colt45 change the surface to the names you gave your gun (EX. surface mygun)
    do that for all of the surfaces you have.

    Step 8. the shader, Open up notepad and copy and paste this:

    mygun
    {
    qer_editorimage textures/models/mygun/mygun.tga
    {
    map textures/models/mygun/mygun.tga
    rgbGen lightingSpherical
    }
    }

    make one for evey surface your gun has then save it as a .SHADER

    Step 9. put the colt45.tik in your pk3 in the models>weapons folder

    Step 10. make a new folder called scripts and put your SHADER file there

    Step 11. Make a folder called textures in that folder make another folder called models and in that folder make one called mygun (or what ever you want)

    your PK3 should look like this:
    [​IMG]

    Hope this helps all you people who are having trouble :beerbang:
  2. Private_Parts Supercalifragilisticex...

    Contributions:
    135
    Specialties:
    Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    stickied it!
    1 person likes this.
  3. .:RIGGS:. Daycare Member

    Contributions:
    41
    ooo my first sticky :)
  4. fubar515034 Private

    Contributions:
    2
    Bravo, wonder if you could make a mask for a jason skin by using the gasmask files in the same method. Riggs you make a mask for you sig skin didnt you?
    1 person likes this.
  5. .:RIGGS:. Daycare Member

    Contributions:
    41
    You mean my slipknot skins?
    [​IMG]
  6. fubar515034 Private

    Contributions:
    2
    Yeah thats them. Wow never seen em all just the corey skin. SK kicks arse. Saw em live in Shreveport LA coup a years back. Man they put on a good show.
  7. bulletproof Private

    Contributions:
    1
    alrite well im having troubles opening the skd and skc flies....someone told me to get plugins but how do i get and and how do i use them....and i was wondering wut god smack meant by import the model that u r going to replace....where do i get it from.....or r u just talking about the tga files
  8. Bobson Private

    Contributions:
    21
    Specialties:
    Modeler, Textures
    PREMIUM
    I Donated
    just going through this tutorial and I think this bit is incorrect...

    Step 4. Convert all your meshes to a skin to do this select a mesh and go to edit, scroll down to you see convert to skin

    Instead of edit should it not be modify... :)

    :waves:
    1 person likes this.
  9. .:RIGGS:. Daycare Member

    Contributions:
    41
    I have 1.3.3 mine says edit I think the newer version say modify
  10. Eversun Private

    Contributions:
    1
    "Step 5. Rename them to ..."

    Does anyone tell me rename what? Thanks.
  11. DON Private

    Contributions:
    9
    doesnt matter what name you give the skins
  12. Eversun Private

    Contributions:
    1
    I have done what the tutorial said, but there is no skin of the weapon, does anyone know why?
  13. DON Private

    Contributions:
    9
    The 'skin' is not a texture it is the name of a model part, a skin can be made when you convert a mesh into a skin, easy stuff just look around in the 3d prog
  14. destrukt Private

    Contributions:
    0
    I wondered if any have got Machine guns working with this tutorial?..Ive only got it working for the colt45..And I saw that there were a tutorial at the lightray forums, who showed to do it in another way..


    btw. each time I try to load a weapon it tells that the model has no skelmodel, any who knows why? kinda wierd since ive got colt45 working :zpalease:
  15. DON Private

    Contributions:
    9
    yeah because the exported gun has a surface with more than 1000 verts, re import your model and split the surface in 2
  16. LCW Private

    Contributions:
    0
    Awesome!~
    I Can Do New Weapons My Self After You Teaching Me About That~
    Preshaydit!!!
  17. fortismilites Private

    Contributions:
    2
    where do i get lightray 3d?
  18. Kachu Captain

    Contributions:
    108
    Specialties:
    Mapper, Modeler, Textures, Pure Gamer, Support
    Processing:
    Graphics:
  19. GoDSm@ck Private

    Contributions:
    1
    What Lightray's 100 dollars jesus marryy :eek:

Share This Page