Compiling Errors - List 'em and their solutions

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Stuffinator
Private
Posts: 3
Joined: Tue Oct 11, 2005 3:53 pm

Post by Stuffinator »

At0miC wrote:Give the door an origin.

Read this tutorial: http://dynamic.gamespy.com/%7Emap/mohaa/t.php?id=24 (rotating doors)

be sure the door + origin are the same func_rotatingdoor

g/l

I did all that and it still does not work.
=DVL=Bloom
Private
Posts: 2
Joined: Tue Oct 18, 2005 5:52 pm

Post by =DVL=Bloom »

Hi i'm kinda new in mapping and found most off the stuff on my own and fixed errors and suddenly when upgrading my map i ran into this one

********************
ERROR: LoadTGA: Only type 2 (RGB), 3 (gray), and 10 (RGB) TGA images supported

********************

Any ideas what i have 2 do?
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

make sure your .tga is 24bit rgb format or 32 bit if you have an alpha channel . PSP exports as a 24bit .tga with alpha channel so it actually a 32 bit file if it has an alpha channel.
Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

I just got a new one:

Code: Select all

************ ERROR ************
Backwards tree volume
It means there are no structural brushes in the map.

Don't ask how I got this error. ;)
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

^^ It's been in the list for a while :wink:
Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Whoops... Sorry, then... :oops: Maybe delete my post, then?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
YorK
Private
Posts: 2
Joined: Wed Dec 21, 2005 12:39 am
Location: Hungary
Contact:

1st MOH:AA Film Second Part Look For map and Script Editor!

Post by YorK »

Hello aLL !
Nick : [SAS] Alvin C. YorK
I am From Hungary and I Play MOH:AA SP BT
and i Search ppl s who are Can make Maps.

I did a MOH:AA Movie yes a Movie Or Film With a Story and that was the First Part and it was More than Half an hour.

The Film 1st part was about The SAS Special Air Service, The Born in 1941 and ther Fail in the first mission.
The Recording was too long. Every time need 20 or 30 player who are moving and acting and lots time we make 20 second for an Hour lol:o)

I Looking for a Map Editor and Script maker how help in the second part.
If you interested plz Throw a Mail for me alvincyork@sasklan.hu
Or if you want only what the film you can download here http://www.sasklan.hu/film/film.html

LET?LT?S Mean Download -In The 1st part The Language only hungarian without Subtitles ;(

So iF you Can help uS write a Mail Thx
byE
[SAS] Alvin C. YorK
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

please don't post in this thread unless you're contributing an error or solution. ;)
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Guderian
Lance Corporal
Posts: 19
Joined: Tue Apr 26, 2005 6:56 pm
Location: Ukraine

Post by Guderian »

Huy all!
I made my own trailer with own wheels (now only static), textured it with opel's wheels and
when compile my map, receive error (see below):

'textures/static_opeltread' : Shader has no surface type specified!
WARNING: Couldn't find image for shader textures/static_opeltread
'textures/static_opelhub' : Shader has no surface type specified!
WARNING: Couldn't find image for shader textures/static_opelhub

Then i went to the opel.shader, find opeltread, static_opeltread, finally I made my own opeltread in opel.shader and opeltread.TGA . But nothing is changing. :x
HELP me, please.
Ukraine is the best
PKM
General
Posts: 1888
Joined: Tue Aug 09, 2005 4:43 pm
Location: Philadelpia but stuck in San Antonio TX (hell)

Post by PKM »

post your shader for view. also list the full directory for the image.
i'm not f****** angry, i'm from philadelphia .
Image
Guderian
Lance Corporal
Posts: 19
Joined: Tue Apr 26, 2005 6:56 pm
Location: Ukraine

Post by Guderian »

The opel.shader has next (base )parameters:
opel
{
qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
{
map textures/models/vehicles/OpelTruck/opel.tga
rgbGen lightingSpherical
}
// {
// map textures/models/vehicles/OpelTruck/opel.tga
// rgbGen identity
// blendfunc blend
// }
}

opelheadlights
{
qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
{
map textures/models/vehicles/OpelTruck/opel.tga
rgbGen lightingSpherical
}
}

opel2sided
{
cull none
qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
{
map textures/models/vehicles/OpelTruck/opel.tga
rgbGen lightingSpherical
}
}

opelgreen2sided
{
cull none
qer_editorimage textures/models/vehicles/OpelTruck/opelgreen.tga
{
map textures/models/vehicles/OpelTruck/opelgreen.tga
rgbGen lightingSpherical
}
}


opel_cull
{
qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
cull none
{
map textures/models/vehicles/OpelTruck/opel.tga
rgbGen lightingSpherical
}
}
opelhub
{
qer_editorimage textures/models/vehicles/OpelTruck/opelhub.tga
noMerge
{
map textures/models/vehicles/OpelTruck/opelhub.tga
rgbGen lightingSpherical
tcmod rotate 5 0 -20
}
}
opelhub_norotate
{
qer_editorimage textures/models/vehicles/OpelTruck/opelhub.tga
{
map textures/models/vehicles/OpelTruck/opelhub.tga
rgbGen lightingSpherical
}
}

opelgreen
{
qer_editorimage textures/models/vehicles/OpelTruck/opelgreen.tga
{
map textures/models/vehicles/OpelTruck/opelgreen.tga
rgbGen lightingSpherical
}
// {
// map textures/models/vehicles/OpelTruck/opelgreen.tga
// rgbGen identity
// blendfunc blend
// }
}
opel_cullgreen
{
qer_editorimage textures/models/vehicles/OpelTruck/opelgreen.tga
cull none
{
map textures/models/vehicles/OpelTruck/opelgreen.tga
rgbGen lightingSpherical
}
}
opelgreen_d
{
qer_editorimage textures/models/vehicles/OpelTruck/opelgreen_d.tga
{
map textures/models/vehicles/OpelTruck/opelgreen_d.tga
rgbGen lightingSpherical
}
}
opel_cullgreen_d
{
qer_editorimage textures/models/vehicles/OpelTruck/opelgreen_d.tga
cull none
{
map textures/models/vehicles/OpelTruck/opelgreen_d.tga
rgbGen lightingSpherical
}
}

opelhubgreen
{
qer_editorimage textures/models/vehicles/OpelTruck/opelhubgreen.tga
noMerge
{
map textures/models/vehicles/OpelTruck/opelhubgreen.tga
rgbGen lightingSpherical
tcmod rotate 5 0 -20
}
}
opelhubgreen_norotate
{
qer_editorimage textures/models/vehicles/OpelTruck/opelhubgreen.tga
{
map textures/models/vehicles/OpelTruck/opelhubgreen.tga
rgbGen lightingSpherical
}
}
opeltread
{
qer_editorimage textures/models/vehicles/OpelTruck/opeltread.tga
noMerge
{
map textures/models/vehicles/OpelTruck/opeltread.tga
rgbGen lightingSpherical
tcmod scroll 2.4 0
}
}
opeltread_norotate
{
qer_editorimage textures/models/vehicles/OpelTruck/opeltread.tga
{
map textures/models/vehicles/OpelTruck/opeltread.tga
rgbGen lightingSpherical
}
}
opelwindows
{
qer_editorimage textures/models/vehicles/OpelTruck/opelwindows.tga
cull none
// {
// map textures/common/reflection1.tga
// rgbGen lightingSpherical
// tcgen environmentmodel
// Blendfunc blend
// }
{
map textures/models/vehicles/OpelTruck/opelwindows.tga
rgbGen lightingSpherical
blendFunc blend
}
}

opelwindows_cracked
{
qer_editorimage textures/models/vehicles/OpelTruck/opelwindows_cracked.tga
cull none
// {
// map textures/common/reflection1.tga
// rgbGen lightingSpherical
// tcgen environmentmodel
// Blendfunc blend
// }
{
map textures/models/vehicles/OpelTruck/opelwindows_cracked.tga
rgbGen lightingSpherical
blendFunc blend
}
}
/////////////////////////////////////////////////////////////////////////////////////
//grid lighting opel truck
/////////////////////////////////////////////////////////////////////////////////////
opel_grid
{
qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
{
map textures/models/vehicles/OpelTruck/opel.tga
rgbGen lightingGrid
}
}
opel_cull_grid
{
qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
cull none
{
map textures/models/vehicles/OpelTruck/opel.tga
rgbGen lightingGrid
}
}
opelhub_grid
{
qer_editorimage textures/models/vehicles/OpelTruck/opelhub.tga
{
map textures/models/vehicles/OpelTruck/opelhub.tga
rgbGen lightingGrid
}
}
opeltread_grid
{
qer_editorimage textures/models/vehicles/OpelTruck/opeltread.tga
{
map textures/models/vehicles/OpelTruck/opeltread.tga
rgbGen lightingGrid
}
}
opelwindows_grid
{
qer_editorimage textures/models/vehicles/OpelTruck/opelwindows.tga
cull none
// {
// map textures/common/reflection1.tga
// rgbGen lightingGrid
// tcgen environmentmodel
// Blendfunc blend
// }
{
map textures/models/vehicles/OpelTruck/opelwindows.tga
rgbGen lightingGrid
blendFunc blend
}
}
/////////////////////////////////////////////////////////////////////////////////////
//static opel truck
/////////////////////////////////////////////////////////////////////////////////////

static_opel
{
qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
{
map textures/models/vehicles/OpelTruck/opel.tga
rgbgen lightingSpherical
}
}
static_opel_cull
{
qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
cull none
{
map textures/models/vehicles/OpelTruck/opel.tga
rgbgen lightingSpherical
}
}
static_opelhub
{
qer_editorimage textures/models/vehicles/OpelTruck/opelhub.tga
{
map textures/models/vehicles/OpelTruck/opelhub.tga
rgbgen lightingSpherical
}
}

static_opeltread
{
qer_editorimage textures/models/vehicles/OpelTruck/opeltread.tga
{
map textures/models/vehicles/OpelTruck/opeltread.tga
rgbgen lightingSpherical
}
}
static_opelwindows
{
qer_editorimage textures/models/vehicles/OpelTruck/opelwindows.tga
cull none
// {
// map textures/common/reflection1.tga
// rgbgen lightingSpherical
// tcgen environmentmodel
// Blendfunc blend
// }
{
map textures/models/vehicles/OpelTruck/opelwindows.tga
rgbgen lightingSpherical
blendFunc blend
}
}

opellights
{
nomipmaps
qer_editorimage textures/models/items/beam.tga
{
map textures/common/airdust.tga
tcmod scroll 0 0.15

nextbundle
map textures/models/items/beam.tga
rgbGen dot 0 1.5
blendfunc add
}


}
opellightflare
{
qer_editorimage textures/sprites/corona_util.tga
{
map textures/sprites/corona_util.tga
rgbGen dot -1 1.5
blendfunc add
}
}

static_opelengine
{
qer_editorimage textures/models/vehicles/OpelTruck/engine.tga
{
map textures/models/vehicles/OpelTruck/engine.tga
rgbgen lightingSpherical
}
}
///////////////////////////////////////////////////////////////
//damaged opel
///////////////////////////////////////////////////////////////
opelengine
{
qer_editorimage textures/models/vehicles/OpelTruck/engine.tga
{
map textures/models/vehicles/OpelTruck/engine.tga
rgbGen lightingSpherical
}
}
opel_d
{
qer_editorimage textures/models/vehicles/OpelTruck/opel_d.tga
{
map textures/models/vehicles/OpelTruck/opel_d.tga
rgbGen lightingSpherical
}
}
opel_cull_d
{
qer_editorimage textures/models/vehicles/OpelTruck/opel_d.tga
cull none
{
map textures/models/vehicles/OpelTruck/opel_d.tga
rgbGen lightingSpherical
}
}
opelhub_d
{
qer_editorimage textures/models/vehicles/OpelTruck/opelhub_d.tga
{
map textures/models/vehicles/OpelTruck/opelhub_d.tga
rgbGen lightingSpherical
}
}

opelwindows_d
{
qer_editorimage textures/models/vehicles/OpelTruck/opelwindows_d.tga
cull none
// {
// map textures/common/reflection1.tga
// rgbGen lightingSpherical
// tcgen environmentmodel
// Blendfunc blend
// }
{
map textures/models/vehicles/OpelTruck/opelwindows_d.tga
rgbGen lightingSpherical
blendFunc blend
}
}

opelwindows_d2
{
qer_editorimage textures/models/vehicles/OpelTruck/opelwindows_d2.tga
cull none
// {
// map textures/common/reflection1.tga
// rgbGen lightingSpherical
// tcgen environmentmodel
// Blendfunc blend
// }
{
map textures/models/vehicles/OpelTruck/opelwindows_d2.tga
rgbGen lightingSpherical
blendFunc blend
}
}
// Additional Opel_w shaders
opel_side
{
qer_editorimage textures/models/vehicles/Opel_Truck_2_2/opel_side.tga
{
map textures/models/vehicles/Opel_Truck_2_2/opel_side.tga
rgbGen lightingSpherical
}
}
opel_crate_side
{
qer_editorimage textures/models/vehicles/Opel_Truck_2_2/opel_crate_side.tga
{
map textures/models/vehicles/Opel_Truck_2_2/opel_crate_side.tga
rgbGen lightingSpherical
}
}
opel_crate_top
{
qer_editorimage textures/models/vehicles/Opel_Truck_2_2/opel_crate_top.tga
{
map textures/models/vehicles/Opel_Truck_2_2/opel_crate_top.tga
rgbGen lightingSpherical
}
}
// opel_w_d shaders
opel_grill_d
{
qer_editorimage textures/models/vehicles/opel_w_d/opel_grill_d.tga
{
map textures/models/vehicles/opel_w_d/opel_grill_d.tga
rgbGen lightingSpherical
}
}
opel_fender_d
{
qer_editorimage textures/models/vehicles/opel_w_d/opel_fender_d.tga
{
map textures/models/vehicles/opel_w_d/opel_fender_d.tga
rgbGen lightingSpherical
}
}
opel_door_d
{
qer_editorimage textures/models/vehicles/opel_w_d/opel_door_d.tga
{
map textures/models/vehicles/opel_w_d/opel_door_d.tga
rgbGen lightingSpherical
}
}
opel_roof_d
{
qer_editorimage textures/models/vehicles/opel_w_d/opel_roof_d.tga
{
map textures/models/vehicles/opel_w_d/opel_roof_d.tga
rgbGen lightingSpherical
}
}
opel_floor_d
{
qer_editorimage textures/models/vehicles/opel_w_d/opel_floor_d.tga
{
map textures/models/vehicles/opel_w_d/opel_floor_d.tga
rgbGen lightingSpherical
}
}
opel_side_d
{
qer_editorimage textures/models/vehicles/opel_w_d/opel_side_d.tga
{
map textures/models/vehicles/opel_w_d/opel_side_d.tga
rgbGen lightingSpherical
}
}
opel_side1_d
{
qer_editorimage textures/models/vehicles/opel_w_d/opel_side1_d.tga
{
map textures/models/vehicles/opel_w_d/opel_side1_d.tga
rgbGen lightingSpherical
}
}
opel_hood_d
{
qer_editorimage textures/models/vehicles/opel_w_d/opel_Hood_d.tga
{
map textures/models/vehicles/opel_w_d/opel_Hood_d.tga
rgbGen lightingSpherical
}
}

opel_cover
{
qer_editorimage textures/models/vehicles/opel_w/cover.tga
{
map textures/models/vehicles/opel_w/cover.tga
rgbGen lightingSpherical
}
}

///////////////////////////////////////////////////////////////
//snowy opel
///////////////////////////////////////////////////////////////
opelsnow2sided
{
cull none
qer_editorimage textures/models/vehicles/OpelTruck/Opel_s.tga
{
map textures/models/vehicles/OpelTruck/Opel_s.tga
rgbGen lightingSpherical
}
}
opelsnow
{
qer_editorimage textures/models/vehicles/OpelTruck/Opel_s.tga
{
map textures/models/vehicles/OpelTruck/Opel_s.tga
rgbGen lightingSpherical
}
}
opelhubsnow
{
qer_editorimage textures/models/vehicles/OpelTruck/opelhub_s.tga
noMerge
{
map textures/models/vehicles/OpelTruck/opelhub_s.tga
rgbGen lightingSpherical
tcmod rotate 5 0 -20
}
}
opelhubsnow_norotate
{
qer_editorimage textures/models/vehicles/OpelTruck/opelhub_s.tga
{
map textures/models/vehicles/OpelTruck/opelhub_s.tga
rgbGen lightingSpherical
}
}
opeltreadsnow
{
qer_editorimage textures/models/vehicles/OpelTruck/opeltread_s.tga
noMerge
{
map textures/models/vehicles/OpelTruck/opeltread_s.tga
rgbGen lightingSpherical
tcmod scroll 2.4 0
}
}
opeltreadsnow_norotate
{
qer_editorimage textures/models/vehicles/OpelTruck/opeltread_s.tga
{
map textures/models/vehicles/OpelTruck/opeltread_s.tga
rgbGen lightingSpherical
}
}
opelwindowssnow
{
qer_editorimage textures/models/vehicles/OpelTruck/opelwindows_s.tga
cull none
{
map textures/models/vehicles/OpelTruck/opelwindows_s.tga
rgbGen lightingSpherical
blendFunc blend
}
}

////////////////////this is what's in the tiki
//
// surface opel2 shader opel2sided shader opelgreen2sided shader opelsnow2sided
// surface opel3 shader opel shader opelgreen shader opelsnow
// surface opel4 shader opel shader opelgreen shader opelsnow
// surface opelhub shader opelhub shader opelhubgreen shader opelhubsnow
// surface opeltread shader opeltread shader opeltreadsnow
// surface opelhubstill shader opelhub_norotate shader opelhubgreen_norotate shader opelhubsnow_norotate
// surface opeltreadstill shader opeltread_norotate shader opeltreadsnow_norotate
// surface opelwindows shader opelwindows shader opelwindows_cracked shader opelwindowssnow

opelsnow_d
{
qer_editorimage textures/models/vehicles/OpelTruck/Opel_s_d.tga
{
map textures/models/vehicles/OpelTruck/Opel_s_d.tga
rgbGen lightingSpherical
}
}
I put in my map every kind of textures of this list (opelhub, opelhub_norotate, static_opelhub), but the error only changed the names of textures, and nothing else was changing:

!#!#! 'textures/models/vehicles/opeltruck/opelhub' : Shader has no surface type specified!
...
!#!#! 1 shaders are missing a surface type. This should be fixed!



!#!#! 'textures/static_opelhub' : Shader has no surface type specified!
WARNING: Couldn't find image for shader textures/static_opelhub
...
!#!#! 1 shaders are missing a surface type. This should be fixed!


!#!#! 'textures/opelhub_norotate' : Shader has no surface type specified!
WARNING: Couldn't find image for shader textures/opelhub_norotate
...
!#!#! 1 shaders are missing a surface type. This should be fixed!

That's all. If you know how to avoid this problem or had this problem and decided it - answer, please.
Ukraine is the best
no_mercy
Private
Posts: 9
Joined: Thu Apr 14, 2005 10:03 pm
Location: greece
Contact:

Post by no_mercy »

How about this one.

max_surface_verts

after making prt it show that message.
no_mercy
Private
Posts: 9
Joined: Thu Apr 14, 2005 10:03 pm
Location: greece
Contact:

Post by no_mercy »

Well i see none of know about this maybe!
I try by my self & i find that i didn't use in my map caulk textures so my map didn't compile.
I change it so it compile & didn't show the message again :) 8-)
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Most of these errors speak for them selves

max_surface_verts

If you try for example to make a sphere you get that I think it is just too many vertecies on a surface or touching a surface it may also be the same error you get when you make a ladder and have too many rungs touching the rails . You just have to cut the rails into several brushes to avoid that error . As for Guderian's post those errors can be ignored most of the vehicle shaders don't have a surface type . For static models you have a .map file in the static directory for the vehicles collision that is made from clip brushes such as metal clip or tank clip . Those give the correct effect and surface sounds not the models texture . For script models the model targets clip brushes that have been made into a script object such as the opel truck you select form the amimate directory I think it is in . The script object is placed under the map or out of the way and it's used for the models collision .
Image
Devil_Dog
Warrant Officer
Posts: 140
Joined: Fri Feb 17, 2006 2:59 pm

Post by Devil_Dog »

ERROR: No such file or directory


ALTN.SOLUTION: Be sure to close SDK before you use MBuilder to compile your map.
Computers hate me!!!!!
Post Reply