Ep2 and studio compiler.
Ep2 and studio compiler.
Does studio compiler compile ep2 models ok?
I got some missing lod error on the recompile of the Jalopy. I hexed it to decompile I'll see if I can just hex the changes that I want for now.
I got some missing lod error on the recompile of the Jalopy. I hexed it to decompile I'll see if I can just hex the changes that I want for now.
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
You may try the studiomdl.exe in your sourcesdk\bin\orangebox\bin\ folder. Usually it works, if not, create a shortcut and add the parameter: -nop4
Or just create a TXT file, rename it to compile.cmd and copy paste the following into it:
Then drag'n'drop the QC onto that compile.cmd
Or just create a TXT file, rename it to compile.cmd and copy paste the following into it:
Code: Select all
"%sourcesdk%/bin/orangebox/bin/studiomdl" -nop4 %1
pause
Thanks Blues for your help, you always end up helping me.
Well I still can't get OB and Studio compiler to work out right. But I'm sure I'll be trying again at some point.
Back to this Jalopy I've sort of hex'd but I'm not sure if I've done something wrong (All I've done is renamed model change materials path and edited the paths in the VMT's to suit). I need to edit some of the VMT's phong settings or something idk?

By fug4life at 2009-08-24
What ya think?
Well I still can't get OB and Studio compiler to work out right. But I'm sure I'll be trying again at some point.
Back to this Jalopy I've sort of hex'd but I'm not sure if I've done something wrong (All I've done is renamed model change materials path and edited the paths in the VMT's to suit). I need to edit some of the VMT's phong settings or something idk?

By fug4life at 2009-08-24
What ya think?
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Rgr that back in 5
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Ney worry I've fixed it.
Before I had the model in models/69/ but the original vehicle model was located in just models like the npcs. So I re-hexed the name but left it in the same part of the directory as the vehicle and now it seems fine.
I'm sooo ***** happy right now. This was a major milestone I had to over come.
Thanks again for helping, it's appreciated.
Before I had the model in models/69/ but the original vehicle model was located in just models like the npcs. So I re-hexed the name but left it in the same part of the directory as the vehicle and now it seems fine.
I'm sooo ***** happy right now. This was a major milestone I had to over come.
Thanks again for helping, it's appreciated.
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Some parts are very bright and reflective, is does this look ok?
more pics coming, my internets is so.

By fug4life at 2009-08-24
More...

By fug4life at 2009-08-24

By fug4life at 2009-08-24

By fug4life at 2009-08-24
I've looked at the pics ConTron added to this forum and I'm still not quite sure I've got it totally right? I've just about added all missing files so I can't think of much else.
more pics coming, my internets is so.

By fug4life at 2009-08-24
More...

By fug4life at 2009-08-24

By fug4life at 2009-08-24

By fug4life at 2009-08-24
I've looked at the pics ConTron added to this forum and I'm still not quite sure I've got it totally right? I've just about added all missing files so I can't think of much else.
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Erm I think so, you mean something like this?
I can't see anythink pointing to the 'envmask'
"$bumpmap" "Models/charger/musclecar_normal"
I can't see anythink pointing to the 'envmask'
"$bumpmap" "Models/charger/musclecar_normal"
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Code: Select all
"VertexLitGeneric"
{
"$basetexture" "Models/charger/musclecar_col"
"$bumpmap" "Models/charger/musclecar_normal"
"$envmap" "env_cubemap"
"$normalmapalphaenvmapmask" 1
"$envmapcontrast" ".6"
"$envmapsaturation" ".5"
"$phong" 1
"$phongboost" 6
"$phongexponent" 1
"$phongtint" "[.4 .8 1]"
"$phongfresnelranges" "[1 0 .05]"
"360?$color2" "[ 0.6 0.6 0.6 ]"
}
whats this one I've found all about?
Code: Select all
"VertexLitGeneric"
{
"$basetexture" "Models/charger/jalopyTempColor"
"$bumpmap" "Models/charger/jalopyTemp_Normal"
"$surfaceprop" "Wood_lowdensity"
//"$basealphaenvmapmask" 1
"$phong" "1"
"$phongboost" "5"
"$halflambert" "1"
"$phongexponent" "15"
//"$phongexponenttexture" "Models/charger/jalopyTempPhong"
//"$phongalbedotint" "1"
"$phongfresnelranges" "[.1 .5 1.0]"
}
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
In this case the envmapmask is the alpha channel of the bumpmap texture. Caused by "$normalmapalphaenvmapmask" 1
Normally you should have a different strength of reflectivity.
For example you wouldn't want tyres to reflect the same way like the painted and polished chassis (actually tyres would'nt reflect in any way, due to the surface of the black rubber they're made of - at least I haven't ever seen any tyres reflecting something irl) So you would just paint the bumpmap's alpha channel black where the tires are.
That's what an envmapmask is for. Just to scale the reflectivity down or up for different parts of the texture.
Maybe you should open the jalopytempcolor.VTF with Photoshop to find out what that material is about. Maybe it's for some gauge thing or w/e.
Normally you should have a different strength of reflectivity.
For example you wouldn't want tyres to reflect the same way like the painted and polished chassis (actually tyres would'nt reflect in any way, due to the surface of the black rubber they're made of - at least I haven't ever seen any tyres reflecting something irl) So you would just paint the bumpmap's alpha channel black where the tires are.
That's what an envmapmask is for. Just to scale the reflectivity down or up for different parts of the texture.
Maybe you should open the jalopytempcolor.VTF with Photoshop to find out what that material is about. Maybe it's for some gauge thing or w/e.
How deep the rabbit hole goes....
So well I haven't done much about the skin and the brightness.
Of note I think I hexed, the vechile model that I took from the gcf's but also I've found obsidian already has a vechile_rich.mdl maybe I should of hexed that one. I've got some work to do so I wont be about until this afternoon.
My next trouble is my sounds.
So basically I wanted the original jalopy in the map and I wanted the new one to be a purchasable upgrade.
I wrote a new vehicle script for it, I made a custom sound script and Instead of: game_sounds_vehicles_ep2 I've added a new game_sounds_vehicles_charger.
So my custom sound script points like this.
Which is fine though the yellow jalopy tries to use this sound, when I spawn it.
So I've tried adding the Base_EP2
And then it overwrites my charger script, and I've even tried adding the
"precache_file" "scripts/game_sounds_vehicles_ep2.txt"
to my Base_CHARGER
I'm getting in too deep methinks.
So well I haven't done much about the skin and the brightness.
Of note I think I hexed, the vechile model that I took from the gcf's but also I've found obsidian already has a vechile_rich.mdl maybe I should of hexed that one. I've got some work to do so I wont be about until this afternoon.
My next trouble is my sounds.
So basically I wanted the original jalopy in the map and I wanted the new one to be a purchasable upgrade.
I wrote a new vehicle script for it, I made a custom sound script and Instead of: game_sounds_vehicles_ep2 I've added a new game_sounds_vehicles_charger.
So my custom sound script points like this.
Code: Select all
SoundCache
{
"precache_file" "scripts/game_sounds_vehicles_charger.txt"
}
So I've tried adding the Base_EP2
And then it overwrites my charger script, and I've even tried adding the
"precache_file" "scripts/game_sounds_vehicles_ep2.txt"
to my Base_CHARGER
I'm getting in too deep methinks.
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database