The Game Modding Community - Since 2001

modeling with hammer

A Tutorial for Garry's Mod

1 create prefab in hammer vhe. 
It must be textured with existed materials in game materials 


2 Compile your prefab as .bsp 
no skybox no run game needed.


3 Open. bsp file with Crafty use textured render for models. 
set up steam directory and game profile, materials for beginning can be in .tga format.


4 Export .obj from crafty you can preview yours materials if you install sage thumbs; paint.net and vtf shell extension, for vtfedit.


5 Import .obj to XSIDEMO Mod Tool
set camera to textured view 


note:

  For rendering in hammer: textures can be in materials steam game folder they just be converted to desktop for .obj so you will be sure all materials applied.

  In XsI rendering obj for smd - in game maderials; models; your model folder.  dont forget to create .wmt's as VertexlitGeneric. There need to change the path only and export smd and smd _collision


  Choose render; materials and change resources directory for .tga to game .vtf materials one by one; then export .smd, give it name. Also make copy of .smd and add collision to name followed with underscore


6 Open studio compiler and configure game and bin directory for sdk tools 


Add directory of qc file to Studiocompiler, which must be placed in folder where .smd and collision .smd files. Hit run with existed qc.



Preview your model in hammer or model viewer if it textured.



note:

  Save your own vtf files in bgra8888 for best results or if you want some source textures you can change they versions with HxD editor. In 8st column from 5 to 4 and resave.
if source texture has channl mask saved texture in dxt1 format, what export image without transparency if it has.



Any questions or correction appreciated.

notepad.qc


$modelname "barricade/barricade.mdl"
$cdmaterials "models/barricade"
$scale 1.0
$surfaceprop "barricade"
$body "Body" "barricade.smd"
$sequence "idle" "barricade.smd" fps 30
$collisionmodel "barricade_collision.smd"
{
$mass 256
}



When rendering materials in xsi mod tool use to copying folder path and paste then find vtf texture same as tga and replace.
If you has more vtf to apply on model just open up to 15 vtfs and resave them before uncheck auto vmt. then open all vmt and paste VertexlitGeneric instead of Lightmapped Generic.


you will need ValveSource.6.02.xsiaddon for xsi mod tool.


Promotional Content

Posts

  • 3y
    Devieus avatar
    Devieus username pic Joined 8y ago
    Moderator
    ONLINE
    82,749 points Ranked 45th
    67 medals 6 legendary 11 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 2017 Top Contributor Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    Posted by Jesse V92

    Posted by Devieus
    Has that ever gotten easier to install?
    It still works as long as you use SSDK to compile it, but Propper does still work. I used it today.


    So, not really.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 3y
    Reverend V92 avatar
    Reverend V92 username pic Joined 8y ago
    Away
    2,630 points Ranked 1857th
    22 medals 3 rare
    • 2nd Place - A Bananite's Guide to... Contest Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Building Bridges Entrant Medal icon
    • Became a Studio Leader Medal icon
    • Reached 1,000 Points Medal icon
    Posted by Devieus
    Has that ever gotten easier to install?
    It still works as long as you use SSDK to compile it, but Propper does still work. I used it today.

    Source Engine Wizard avatar
    Mantra
    Source Engine Wizard
  • 3y
    Devieus avatar
    Devieus username pic Joined 8y ago
    Moderator
    ONLINE
    82,749 points Ranked 45th
    67 medals 6 legendary 11 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 2017 Top Contributor Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
     Posted by Jesse V92

     Or just use Propper.

    Has that ever gotten easier to install?
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 3y
    Reverend V92 avatar
    Reverend V92 username pic Joined 8y ago
    Away
    2,630 points Ranked 1857th
    22 medals 3 rare
    • 2nd Place - A Bananite's Guide to... Contest Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Building Bridges Entrant Medal icon
    • Became a Studio Leader Medal icon
    • Reached 1,000 Points Medal icon
    Or just use Propper.
    • Interesting x 1
    • Thanks x 1
    Source Engine Wizard avatar
    Mantra
    Source Engine Wizard

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Credits

Key Authors
katersenay

Submitter

katersenay avatar
katersenay Joined 6y ago
Offline
1,735 points Ranked 2877th
15 medals 3 rare
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
  • 6 years a member Medal icon
  • Prefaber of the Month, January 2013 Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon

katersenay
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
  • Paypal Donate
Sign up to access this!

Category

Details

Difficulty Level
Beginner Difficulty

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 5,211 Views
  • 4 Posts
  • 3y Submitted
  • 2y Modified

Scores

  • Not yet rated
Sign up to access this!

Yo, buddy. Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Rate: Rate mods and help them stand out.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Sound fun? Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel