Welkom Gast! [Registreer] :: [Login]
Navigatie

Tutorials

Shoutbox
U dient in te loggen om een bericht te plaatsen.

11/07/2014 08:34
Stel je vraag op het forum. Daar dient het voor en zal je sneller een antwoord krijgen.

10/07/2014 20:45
Zend mij anders even een mail mocht je het antwoordt weten.THX Wink

10/07/2014 20:43
Heb COD4 opnieuw geinstalleerd en ben mijn save map ( perks ) dus ook kwijt. Is zo een map ergens te downloaden???

10/07/2014 20:41
Goedenavond. Kan en wil iemand mijn vraag beantwoorden

08/07/2014 22:09
AHAHAHA wat een heerlijke wedstrijd!


Registreer of log in
Om gebruik te maken van de volledige functionaliteit van Modbase moet je ingelogd zijn.
Na registratie kan je reageren, onderwerpen starten, projecten toevoegen en nog veel meer.

Dit is volkomen gratis en duurt hoogstens een minuut.

Registreer gratis

Laatste Actieve Forumonderwerpen
  Onderwerpen AuteurAntwoorden Laatste bericht
Trigger on/off
CoD 2 Mapping & Modding
Chainsaw4560 Chainsaw456
22-07-2014 16:43
wat is thread nu precies? (in scripts)
CoD Mapping & Modding
Bokkie12 Bokkie
22-07-2014 10:38
Teleport prefab
CoD 2 Mapping & Modding
Chainsaw4563 Chainsaw456
19-07-2014 09:52
Hulp nodig - objecten groter kleiner make ...
CoD 2 Mapping & Modding
laung3 Fristi
16-07-2014 11:35
Moeilijk selecteren
CoD 2 Mapping & Modding
Bokkie2 555henny555
13-07-2014 11:45


Onderwerp bekijken
U bent hier: Forum > CoD UO Mapping & Modding > Custom models show up black
 Onderwerp afdrukken
Custom models show up black
Geplaatst op 03-05-2012 22:24
#1  Bericht afdrukken
Avatar van gebruiker

Junior

Posts: 15
Joined: 27.10.11
I have custom models in my map that show up black or too dark.
These are the things i checked.

1. The custom models all have collmaps that work.

2. I'm using stock map world setting and skybox.

3. I placed stock models in my map and they all show up fine
with no lighting problems.


Whenever the collmap has Clipweap, Clipfull or Clipshot
anything that blocks bullets the model will show up in game
black.

Clipplayer and clipmissle dosen't darken the model as well.
also when i remove Clipweap, Clipfull or Clipshot the custom
model shows up fine but the player can shoot thru the model.

Please help!
 Top
 
Geplaatst op 03-05-2012 23:24 | Gewijzigd door HuRRaCaNe op 03-05-2012 23:25
#2  Bericht afdrukken
Avatar van gebruiker

Moderator


Donator
Posts: 5552
Joined: 24.08.06
What are the settings you're compiling with? Specifically the flare part could be quite interesting.
 Top
 
Geplaatst op 04-05-2012 00:06 | Gewijzigd door HuRRaCaNe op 04-05-2012 18:26
#3  Bericht afdrukken
Avatar van gebruiker

Junior

Posts: 15
Joined: 27.10.11
My compile
---------------------------

Download broncode  Code
C:\Documents and Settings\Curtis\Desktop>"c:\Program Files\Call of Duty\uoTools\
bin\q3map" -game uo "c:\Program Files\Call of Duty\uo\maps\pow"
Q3Map v1.2 (c) 2003 Id Software Inc. / Infinity Ward / GMI Studios
---- q3map ----
----- FS_Startup -----
Current search path:
c:/Program Files/Call of Duty/\uo\zzzz_M36_Uniform.pk3 (6 files)
c:/Program Files/Call of Duty/\uo\UserTextures.pk3 (13 files)
c:/Program Files/Call of Duty/\uo\pakuo07.pk3 (157 files)
c:/Program Files/Call of Duty/\uo\pakuo06.pk3 (12 files)
c:/Program Files/Call of Duty/\uo\pakuo05.pk3 (3 files)
c:/Program Files/Call of Duty/\uo\pakuo04.pk3 (7646 files)
c:/Program Files/Call of Duty/\uo\pakuo03.pk3 (2275 files)
c:/Program Files/Call of Duty/\uo\pakuo02.pk3 (790 files)
c:/Program Files/Call of Duty/\uo\pakuo01.pk3 (1657 files)
c:/Program Files/Call of Duty/\uo\pakuo00.pk3 (6233 files)
c:/Program Files/Call of Duty//uo
c:/Program Files/Call of Duty//Call of Duty
c:/Program Files/Call of Duty/\main\pakb.pk3 (60 files)
c:/Program Files/Call of Duty/\main\paka.pk3 (41 files)
c:/Program Files/Call of Duty/\main\pak9.pk3 (149 files)
c:/Program Files/Call of Duty/\main\pak8.pk3 (235 files)
c:/Program Files/Call of Duty/\main\pak6.pk3 (3 files)
c:/Program Files/Call of Duty/\main\pak5.pk3 (4858 files)
c:/Program Files/Call of Duty/\main\pak4.pk3 (1668 files)
c:/Program Files/Call of Duty/\main\pak3.pk3 (1992 files)
c:/Program Files/Call of Duty/\main\pak2.pk3 (694 files)
c:/Program Files/Call of Duty/\main\pak1.pk3 (2642 files)
c:/Program Files/Call of Duty/\main\pak0.pk3 (12816 files)
c:/Program Files/Call of Duty//main
c:/Program Files/Call of Duty/\uo\localized_english_pakuo02.pk3 (12 files)
c:/Program Files/Call of Duty/\uo\localized_english_pakuo01.pk3 (37 files)
c:/Program Files/Call of Duty/\uo\localized_english_pakuo00.pk3 (2578 files)
c:/Program Files/Call of Duty/\main\localized_english_pak5.pk3 (46 files)
c:/Program Files/Call of Duty/\main\localized_english_pak3.pk3 (7 files)
c:/Program Files/Call of Duty/\main\localized_english_pak2.pk3 (9 files)
c:/Program Files/Call of Duty/\main\localized_english_pak1.pk3 (3736 files)
c:/Program Files/Call of Duty/\main\localized_english_pak0.pk3 (1204 files)

File Handles:
----------------------
51579 files in pk3 files
Loading map file c:\Program Files\Call of Duty\uo\maps\pow.map
WARNING: No collision map file for misc_model "xmodel/prop_RailRoad_line" file:
"collmaps/prop_RailRoad_line.map"
WARNING: No collision map file for misc_model "xmodel/prop_RailRoad_line" file:
"collmaps/prop_RailRoad_line.map"
WARNING: No collision map file for misc_model "xmodel/prop_RailRoad_line" file:
"collmaps/prop_RailRoad_line.map"
WARNING: No collision map file for misc_model "xmodel/prop_ruin_citymesh2" file:
 "collmaps/prop_ruin_citymesh2.map"
WARNING: No collision map file for misc_model "xmodel/prop_RailRoad_Master" file
: "collmaps/prop_RailRoad_Master.map"
WARNING: No collision map file for misc_model "xmodel/prop_RailRoad_NewSwitch1"
file: "collmaps/prop_RailRoad_NewSwitch1.map"
WARNING: No collision map file for misc_model "xmodel/prop_RailRoad_NewSwitch2"
file: "collmaps/prop_RailRoad_NewSwitch2.map"
WARNING: No collision map file for misc_model "xmodel/prop_RailRoad_NewSwitch3"
file: "collmaps/prop_RailRoad_NewSwitch3.map"
WARNING: No collision map file for misc_model "xmodel/prop_tracks_bendr" file: "
collmaps/prop_tracks_bendr.map"
WARNING: No collision map file for misc_model "xmodel/prop_tracks_bendl" file: "
collmaps/prop_tracks_bendl.map"
WARNING: No collision map file for misc_model "xmodel/prop_angle_statue" file: "
collmaps/prop_angle_statue.map"
WARNING: Couldn't find image for shader textures/common/clip_nosight_dirt
writing c:\Program Files\Call of Duty\uo\maps\pow.prt
    2 unique shaders
    1 actual shaders
finding triangle windings...
merging into concave windings...
added 0 points for thin polygons (0.0% more points)
fixing t-junctions...
finding index mapping and snapping vertices...
triangulating all windings...
0 self-tjunctions fixed
0 degenerate tris removed
simplifying triangles...
0 tris simplified away (0.0%)
emitting triangles...
0 vertices couldn't be merged because the textures point different ways
Writing c:\Program Files\Call of Duty\uo\maps\pow.bsp
   16 seconds elapsed

C:\Documents and Settings\Curtis\Desktop>pause
Press any key to continue . . .

C:\Documents and Settings\Curtis\Desktop>"c:\Program Files\Call of Duty\uoTools\
bin\q3map" -vis -fast -game uo "c:\Program Files\Call of Duty\uo\maps\pow"
Q3Map v1.2 (c) 2003 Id Software Inc. / Infinity Ward / GMI Studios
---- vis ----
fastvis = true
----- FS_Startup -----
Current search path:
c:/Program Files/Call of Duty/\uo\zzzz_M36_Uniform.pk3 (6 files)
c:/Program Files/Call of Duty/\uo\UserTextures.pk3 (13 files)
c:/Program Files/Call of Duty/\uo\pakuo07.pk3 (157 files)
c:/Program Files/Call of Duty/\uo\pakuo06.pk3 (12 files)
c:/Program Files/Call of Duty/\uo\pakuo05.pk3 (3 files)
c:/Program Files/Call of Duty/\uo\pakuo04.pk3 (7646 files)
c:/Program Files/Call of Duty/\uo\pakuo03.pk3 (2275 files)
c:/Program Files/Call of Duty/\uo\pakuo02.pk3 (790 files)
c:/Program Files/Call of Duty/\uo\pakuo01.pk3 (1657 files)
c:/Program Files/Call of Duty/\uo\pakuo00.pk3 (6233 files)
c:/Program Files/Call of Duty//uo
c:/Program Files/Call of Duty//Call of Duty
c:/Program Files/Call of Duty/\main\pakb.pk3 (60 files)
c:/Program Files/Call of Duty/\main\paka.pk3 (41 files)
c:/Program Files/Call of Duty/\main\pak9.pk3 (149 files)
c:/Program Files/Call of Duty/\main\pak8.pk3 (235 files)
c:/Program Files/Call of Duty/\main\pak6.pk3 (3 files)
c:/Program Files/Call of Duty/\main\pak5.pk3 (4858 files)
c:/Program Files/Call of Duty/\main\pak4.pk3 (1668 files)
c:/Program Files/Call of Duty/\main\pak3.pk3 (1992 files)
c:/Program Files/Call of Duty/\main\pak2.pk3 (694 files)
c:/Program Files/Call of Duty/\main\pak1.pk3 (2642 files)
c:/Program Files/Call of Duty/\main\pak0.pk3 (12816 files)
c:/Program Files/Call of Duty//main
c:/Program Files/Call of Duty/\uo\localized_english_pakuo02.pk3 (12 files)
c:/Program Files/Call of Duty/\uo\localized_english_pakuo01.pk3 (37 files)
c:/Program Files/Call of Duty/\uo\localized_english_pakuo00.pk3 (2578 files)
c:/Program Files/Call of Duty/\main\localized_english_pak5.pk3 (46 files)
c:/Program Files/Call of Duty/\main\localized_english_pak3.pk3 (7 files)
c:/Program Files/Call of Duty/\main\localized_english_pak2.pk3 (9 files)
c:/Program Files/Call of Duty/\main\localized_english_pak1.pk3 (3736 files)
c:/Program Files/Call of Duty/\main\localized_english_pak0.pk3 (1204 files)

File Handles:
----------------------
51579 files in pk3 files
reading c:\Program Files\Call of Duty\uo\maps\pow.bsp
reading c:\Program Files\Call of Duty\uo\maps\pow.prt
    65 portalclusters
   156 numportals
   207 numfaces
   312 active portals
     0 hint portals
visdatasize:1048
0...1...2...3...4...5...6...7...8...9... (0)
creating leaf vis...
Average clusters visible: 58
writing c:\Program Files\Call of Duty\uo\maps\pow.bsp
 1.00 seconds elapsed

C:\Documents and Settings\Curtis\Desktop>pause
Press any key to continue . . .

C:\Documents and Settings\Curtis\Desktop>copy /Y "c:\Program Files\Call of Duty\
uo\maps\pow.bsp" "c:\Program Files\game\uo\maps\pow.bsp"
        1 file(s) copied.

C:\Documents and Settings\Curtis\Desktop>copy /Y "c:\Program Files\Call of Duty\
uo\maps\pow.prt" "c:\Program Files\game\uo\maps\pow.prt"
        1 file(s) copied.

C:\Documents and Settings\Curtis\Desktop>"c:\Program Files\Call of Duty\uoTools\
bin\flare" -fast -Extra -DiffuseSun -ExtraDiffuseSun -ModelAlphaShadow -SunDiffu
seSamples 10 -MaxOccluders 5000000 -game uo "c:\Program Files\game\uo\maps\pow"

----- FS_Startup -----
Current search path:
c:/Program Files/game/\uo\zzzz_M36_Uniform.pk3 (6 files)
c:/Program Files/game/\uo\UserTextures.pk3 (13 files)
c:/Program Files/game/\uo\pakuo07.pk3 (157 files)
c:/Program Files/game/\uo\pakuo06.pk3 (12 files)
c:/Program Files/game/\uo\pakuo05.pk3 (3 files)
c:/Program Files/game/\uo\pakuo04.pk3 (7646 files)
c:/Program Files/game/\uo\pakuo03.pk3 (2275 files)
c:/Program Files/game/\uo\pakuo02.pk3 (790 files)
c:/Program Files/game/\uo\pakuo01.pk3 (1657 files)
c:/Program Files/game/\uo\pakuo00.pk3 (6233 files)
c:/Program Files/game/\uo\mp_broadsword.pk3 (89 files)
c:/Program Files/game/\uo\british_infantry.pk3 (24 files)
c:/Program Files/game//uo
c:/Program Files/game/\main\pakb.pk3 (60 files)
c:/Program Files/game/\main\paka.pk3 (41 files)
c:/Program Files/game/\main\pak9.pk3 (149 files)
c:/Program Files/game/\main\pak8.pk3 (235 files)
c:/Program Files/game/\main\pak6.pk3 (3 files)
c:/Program Files/game/\main\pak5.pk3 (4858 files)
c:/Program Files/game/\main\pak4.pk3 (1668 files)
c:/Program Files/game/\main\pak3.pk3 (1992 files)
c:/Program Files/game/\main\pak2.pk3 (694 files)
c:/Program Files/game/\main\pak1.pk3 (2642 files)
c:/Program Files/game/\main\pak0.pk3 (12816 files)
c:/Program Files/game//main
c:/Program Files/game/\uo\localized_english_pakuo02.pk3 (12 files)
c:/Program Files/game/\uo\localized_english_pakuo01.pk3 (37 files)
c:/Program Files/game/\uo\localized_english_pakuo00.pk3 (2578 files)
c:/Program Files/game/\main\localized_english_pak5.pk3 (46 files)
c:/Program Files/game/\main\localized_english_pak3.pk3 (7 files)
c:/Program Files/game/\main\localized_english_pak2.pk3 (9 files)
c:/Program Files/game/\main\localized_english_pak1.pk3 (3736 files)
c:/Program Files/game/\main\localized_english_pak0.pk3 (1204 files)

File Handles:
----------------------
51692 files in pk3 files
failed to load misc_model 'xmodel/prop_RailRoad_line'
failed to load misc_model 'xmodel/prop_RailRoad_line'
failed to load misc_model 'xmodel/prop_RailRoad_line'
failed to load misc_model 'xmodel/prop_ruin_citymesh2'
failed to load misc_model 'xmodel/prop_RailRoad_Master'
failed to load misc_model 'xmodel/prop_RailRoad_NewSwitch1'
failed to load misc_model 'xmodel/prop_RailRoad_NewSwitch2'
failed to load misc_model 'xmodel/prop_RailRoad_NewSwitch3'
failed to load misc_model 'xmodel/prop_tracks_bendr'
failed to load misc_model 'xmodel/prop_tracks_bendl'
failed to load misc_model 'xmodel/prop_angle_statue'
failed to load misc_model 'xmodel/static_peleliu_shelves_ammo'
failed to load misc_model 'xmodel/6pounder'
failed to load misc_model 'xmodel/gaz_medic_d'
failed to load misc_model 'xmodel/static_peleliu_shelves_ammo'
couldn't load shader 'textures/building_clips/clip_modelwood'
couldn't load shader 'textures/sky/mp_carentan'
couldn't load shader 'textures/sky/mp_carentan'
sunlight = 1.2
ambient = 0.2
----------------------------------------
Building flare's bsp from all polygons...
Finished in 2 seconds.
----------------------------------------
Finding portals in flare's bsp...
Finished in 1 seconds.
----------------------------------------
Filtering solid brushes into tree...
Finished in 0 seconds.
Finding non-solid part of flare's bsp...
----------------------------------------
Removing areas in solid...
Finished in 0 seconds.
----------------------------------------
Performing sample-based diffuse lighting...
Using 300 samples with hemicube form factor approximation
Finished in 59 seconds.
----------------------------------------
Performing world and model lighting...
Finished in 2 seconds.
----------------------------------------
More thorough check for model diffuse sunlighting areas...
used 8732 polys and 30588 verts total

C:\Documents and Settings\Curtis\Desktop>copy /Y "c:\Program Files\game\uo\maps\
pow.bsp" "c:\Program Files\Call of Duty\uo\maps\pow.bsp"
        1 file(s) copied.

C:\Documents and Settings\Curtis\Desktop>copy /Y "c:\Program Files\game\uo\maps\
pow.prt" "c:\Program Files\Call of Duty\uo\maps\pow.prt"
        1 file(s) copied.

C:\Documents and Settings\Curtis\Desktop>pause
Press any key to continue . . .




Bericht van Moderator:
Added code tags
~HuRRaCaNe

 Top
 
Geplaatst op 04-05-2012 13:32
#4  Bericht afdrukken
Avatar van gebruiker

Moderator

Posts: 2288
Joined: 05.08.08
And the settings in asset manager?
 Top www.codevilclan.tk
 
Geplaatst op 04-05-2012 18:21 | Gewijzigd door HuRRaCaNe op 04-05-2012 18:25
#5  Bericht afdrukken
Avatar van gebruiker

Moderator


Donator
Posts: 5552
Joined: 24.08.06
Niels schreef:
And the settings in asset manager?


The asset manager has got nothing to do with this. Back in the pre-cod2 days the asset manager wasn't really that useful.

In any case, the compile settings look a bit off. The thing I'm talking about is this:
Download broncode  Code
"c:\Program Files\Call of Duty\uoTools\
 bin\flare" -fast -Extra -DiffuseSun -ExtraDiffuseSun -ModelAlphaShadow -SunDiffu
 seSamples 10 -MaxOccluders 5000000 -game uo "c:\Program Files\game\uo\maps\pow"




The flags are all weird.. Why do you have a 'fast' and an 'extra' flag? Those contradict each other. Also, try removing 'modelAlphaShadow' (or replace it with 'modelshadow') and remove 'maxOccluders 5000000' because it's completely unnecessary and probably has negative effects on your lighting (i.e. the default is completely fine). The -ModelAlphaShadow flag allows transparent surfaces to cast shadows, so perhaps clips count as a transparent surface.

So, basically use this for compiling the lighting:

Download broncode  Code
"c:\Program Files\Call of Duty\uoTools\bin\flare" -Extra -DiffuseSun -ExtraDiffuseSun -ModelShadow -SunDiffuseSamples 10 -game uo "c:\Program Files\game\uo\maps\pow"



 Top
 
Geplaatst op 05-05-2012 00:56
#6  Bericht afdrukken
Avatar van gebruiker

Junior

Posts: 15
Joined: 27.10.11
I set up my compile settings just as you said HuRRaCaNe and
the custom models still show up black. I'll just set up the playerclips instead
of full clips or weapon clips instead.


Thanks for your help anyway guys!
 Top
 
Geplaatst op 05-05-2012 10:47
#7  Bericht afdrukken
Avatar van gebruiker

Moderator


Donator
Posts: 5552
Joined: 24.08.06
Alternatively, try clip_weap or something like that. There are massive amounts of different clips, I'm sure a couple will be fit for purpose :)
 Top
Spring naar forum:

Gelijkaardige onderwerpen
Onderwerpen Forum Antwoorden Laatste bericht
CoD 1.5 Custom maps CoD Mapping & Modding 3 10-04-2014 09:10
Models onzichtbaar maar wel aanwezig. CoD Mapping & Modding 18 07-02-2014 14:03
Custom Water Texture CoD Mapping & Modding 4 22-09-2013 10:24
CoD1/UO Models CoD Mapping & Modding 8 25-08-2013 12:36
Gratis models Algemene vragen 5 12-05-2013 21:04


Naar Boven

© 2006-2014 Modbase. Alle rechten voorbehouden. Disclaimer & cookies | Gedragscode