Fortress Forever

Go Back   Fortress Forever > Editing > Modding

Reply
 
Thread Tools Display Modes
Old 10-10-2008, 11:36 PM   #1
BlackHoleSon
Retired FF Staff
 
BlackHoleSon's Avatar
 
Join Date: Jun 2008
Posts Rated Helpful 0 Times
I am a cursed compiler.

I have been compiling for a short time now, and it seems like i have no trouble whatsoever compiling a pre-existing model.

However, every single time i attach a custom model or replace something with a custom model, it always comes out purple and black.

Image:
http://img373.imageshack.us/img373/8...andpurpet3.jpg


and well ive double checked my .vmt's and such, and am stumped on this.

.qc file:

$cd "C:\Documents and Settings\gerry\Desktop\ff knife\decompiled"
$modelname "weapons/knife/v_knife.mdl"
$model "studio" "reference_Knife.smd"
$cdmaterials "models\weapons\knife\"
$cdmaterials "models\v_arms\"
$hboxset "default"
// Model uses material "v_heavyArms.vmt"
// Model uses material "uv_release.vmt"
$surfaceprop "default"
$illumposition 6.000 20.000 7.000
$sequence Draw "Draw" ACT_VM_DRAW 1 snap rotate -90 fps 30.00
$sequence Idle1 "Idle1" ACT_VM_IDLE 3 snap rotate -90 fps 30.00
$sequence Idle2 "Idle2" ACT_VM_IDLE 3 snap rotate -90 fps 30.00
$sequence Idle3 "Idle3" ACT_VM_IDLE 3 snap rotate -90 fps 30.00
$sequence MissCenter1 "MissCenter1" ACT_VM_MISSCENTER 1 snap rotate -90 fps 30.00
$sequence MissCenter2 "MissCenter2" ACT_VM_MISSCENTER 1 snap rotate -90 fps 30.00
$sequence MissCenter3 "MissCenter3" ACT_VM_MISSCENTER 1 snap rotate -90 fps 30.00
$sequence HitCenter1 "HitCenter1" ACT_VM_HITCENTER 1 snap rotate -90 fps 30.00
$sequence HitCenter2 "HitCenter2" ACT_VM_HITCENTER 1 snap rotate -90 fps 30.00
$sequence HitCenter3 "HitCenter3" ACT_VM_HITCENTER 1 snap rotate -90 fps 30.00

.vmt text

VertexLitGeneric
{
"$basetexture" "models\weapons\knife\uv_release"
"$bumpmap" "models\weapons\knife\normal"
}


Files inside 'knife' folder

uv_release (.vtf)
uv_release (.vmt)
normal (.vtf)


So if you can help me with this i would sure appreciate it - and if you need any other info, just ask.
__________________
Learning to make new content for FF users since summer 2008.
BlackHoleSon is offline   Reply With Quote


Old 10-10-2008, 11:44 PM   #2
PartialSchism
Keep On Keepin' On
 
PartialSchism's Avatar
 
Join Date: Feb 2008
Location: Mississippi
Class/Position: Offense
Gametype: Fun
Affiliations: I'm bad at FF, and my customs suck
Posts Rated Helpful 0 Times
Send a message via AIM to PartialSchism
U getting any errors in your console?

(one problem is u need $model set to "1" i believe) dont see that in the vmt
Quote:
Originally Posted by BlackHoleSon
// Model uses material "uv_release.vmt"
also if your trying to change the commented line for the texture. thats not going to work. Has to be changed in the modeling program. But ima nub w/ models so yea.
PartialSchism is offline   Reply With Quote


Old 10-10-2008, 11:59 PM   #3
BlackHoleSon
Retired FF Staff
 
BlackHoleSon's Avatar
 
Join Date: Jun 2008
Posts Rated Helpful 0 Times
i tried the "$model" "1", that didnt change it.. then i changed the .vmt info back to v_knife, and updated the .qc to accommodate it, still nothing.


I have no clue what you are talking about - the model is called "Slicer_final" and the uvmap is called "uv_release". Is that helping?
__________________
Learning to make new content for FF users since summer 2008.
BlackHoleSon is offline   Reply With Quote


Old 10-11-2008, 12:38 AM   #4
Crazycarl
D&A Member
Wiki Team
Fortress Forever Staff
 
Crazycarl's Avatar
 
Join Date: Apr 2007
Posts Rated Helpful 31 Times
The qc doesn't define what texture the model uses. It's in the smd. Open the reference smd in notepad and make sure it has the correct texture name. (uv_release.jpg or whatever. extension doesn't matter). If it's wrong you can do a search-and-replace, or put
Code:
$renamematerial [wrongname] [rightname]
in the qc.

In the .qc where it says
// Model uses material "v_heavyArms.vmt"
// Model uses material "uv_release.vmt"
Those are comments (probably put there by model decompiler). They don't do anything.
Crazycarl is offline   Reply With Quote


Old 10-11-2008, 01:29 AM   #5
PartialSchism
Keep On Keepin' On
 
PartialSchism's Avatar
 
Join Date: Feb 2008
Location: Mississippi
Class/Position: Offense
Gametype: Fun
Affiliations: I'm bad at FF, and my customs suck
Posts Rated Helpful 0 Times
Send a message via AIM to PartialSchism
Thanks Crazycarl. We need more people who know what they're talking about
PartialSchism is offline   Reply With Quote


Old 10-11-2008, 02:53 PM   #6
pF
no war but class war
Fortress Forever Staff
 
pF's Avatar
 
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout
Gametype: ctf
Affiliations: [w~k!]
Posts Rated Helpful 3 Times
Whoo, i never knew about $renamematerial
__________________
Support FF:

Gay And Lesbian Fiction | Teen Books | Bath Products
pF is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.