Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 110 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoDUO Mapping
CoD United Offensive mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: [Tutorial] Visual light compiling [flare]
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoDUO Mapping
Posted: Monday, Jan. 10, 2011 01:34 pm
Hello, in this post i will show you how to compile lighting and rendering map at once. This is cool feature implemented to flare (light compiler). For unknown reason, this feature was not implemented to newer CoD games and this works for CoD1 and CoD:UO only.

1. Settings

There are few commands to enable this mode and to modify its options.


2. Usage

To use this feature you have to modify your BAT file for compiling map, here is example:
Code:
flare -extra -sundiffusesamples 10 -visual -width 1024 -height 768 -fullscreen -dumpoptions ../../main/maps/mp/bx_dawn


3. Debugging

You can also debug view in flare, to modify your flare settings go to: "c:\program files\call of duty\tools\bin", and modify flare.cfg . You can add your own binds there. For more informations about avaiable commands read CFG file.


4. Results

In this step im just showing how it looks when its enabled.





I hope that this will help you to debug your map while compiling :)
Share |
zeroy
General Member
Since: Nov 26, 2007
Posts: 1060
Last: Mar 12, 2014
[view latest posts]
Level 8
Category: CoDUO Mapping
Posted: Monday, Jan. 10, 2011 02:47 pm
Great Tutorial, a shame its not in COD4/5 [sad]
Share |
P.C.Invasion
General Member
Since: Mar 22, 2005
Posts: 700
Last: Oct 21, 2013
[view latest posts]
Level 6
Category: CoDUO Mapping
Posted: Tuesday, Jan. 11, 2011 03:11 pm
What does this do exactly? All I could do was Esc out when I tried this on a test map. What was it supposed to do?
Share |
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoDUO Mapping
Posted: Tuesday, Jan. 11, 2011 03:33 pm
/\
Topic name....

You can see updated lightmaps while flare is generating lights with this.
Share |
hoodydoody
General Member
Since: Dec 26, 2010
Posts: 5
Last: Feb 7, 2011
[view latest posts]
Level 0
Category: CoDUO Mapping
Posted: Sunday, Feb. 6, 2011 07:41 pm

C:\Programme\Call of Duty\uo\maps\mp>"C:\Programme\Call of Duty\uoTools\bin\q3ma
p" -v -game uo "C:\Programme\Call of Duty\uo\maps\mp\mp_lights"
Q3Map v1.2 (c) 2003 Id Software Inc. / Infinity Ward / GMI Studios
---- q3map ----
verbose = true
1 threads
qdir: C:\Programme\Call of Duty\
gamedir: C:/Programme/Call of Duty/uo/
----- FS_Startup -----
Current search path:
C:/Programme/Call of Duty/\uo\Z_D-Day+7.pk3 (11 files)
C:/Programme/Call of Duty/\uo\zzz_alpha_Rifle_Mod.pk3 (49 files)
C:/Programme/Call of Duty/\uo\wawa_3dAim.pk3 (13 files)
C:/Programme/Call of Duty/\uo\pakuo06.pk3 (12 files)
C:/Programme/Call of Duty/\uo\pakuo05.pk3 (3 files)
C:/Programme/Call of Duty/\uo\pakuo04.pk3 (7646 files)
C:/Programme/Call of Duty/\uo\pakuo03.pk3 (2275 files)
C:/Programme/Call of Duty/\uo\pakuo02.pk3 (790 files)
C:/Programme/Call of Duty/\uo\pakuo01.pk3 (1652 files)
C:/Programme/Call of Duty/\uo\pakuo00.pk3 (6231 files)
C:/Programme/Call of Duty/\uo\mp_lights.pk3 (8 files)
C:/Programme/Call of Duty/\uo\HAGENAU_FINAL.pk3 (38 files)
C:/Programme/Call of Duty/\uo\bsd_glassattack_v2.pk3 (22 files)
C:/Programme/Call of Duty//uo
C:/Programme/Call of Duty//Call of Duty
C:/Programme/Call of Duty/\main\Zzz_Soccer.pk3 (59 files)
C:/Programme/Call of Duty/\main\xz_bolonga.pk3 (8 files)
C:/Programme/Call of Duty/\main\sandbox2_mtl.pk3 (40 files)
C:/Programme/Call of Duty/\main\ppeds_pace.pk3 (77 files)
C:/Programme/Call of Duty/\main\paka.pk3 (41 files)
C:/Programme/Call of Duty/\main\pak9.pk3 (149 files)
C:/Programme/Call of Duty/\main\pak8.pk3 (235 files)
C:/Programme/Call of Duty/\main\pak6.pk3 (3 files)
C:/Programme/Call of Duty/\main\pak5.pk3 (4858 files)
C:/Programme/Call of Duty/\main\pak4.pk3 (1668 files)
C:/Programme/Call of Duty/\main\pak3.pk3 (1992 files)
C:/Programme/Call of Duty/\main\pak2.pk3 (694 files)
C:/Programme/Call of Duty/\main\pak1.pk3 (2642 files)
C:/Programme/Call of Duty/\main\pak0.pk3 (12816 files)
C:/Programme/Call of Duty/\main\jjumphouse.pk3 (29 files)
C:/Programme/Call of Duty/\main\jJm_LockOver.pk3 (30 files)
C:/Programme/Call of Duty/\main\jjm_house_of_pain.pk3 (26 files)
C:/Programme/Call of Duty/\main\jjm_ghoti.pk3 (7 files)
C:/Programme/Call of Duty/\main\jjm_canonjump.pk3 (18 files)
C:/Programme/Call of Duty/\main\jfunjump.pk3 (33 files)
C:/Programme/Call of Duty/\main\jdoorway.pk3 (37 files)
C:/Programme/Call of Duty//main

File Handles:
----------------------
44212 files in pk3 files
Couldn't load default.cfg. Make sure Call of Duty is run from the correct folde
r. 969 shaderInfo
--- LoadMapFile ---
Loading map file C:\Programme\Call of Duty\uo\maps\mp\mp_lights.map
WARNING: Couldn't find image for shader textures/sky/mp_powcamp
11 total world brushes
0 detail brushes
0 patches
0 boxbevels
0 edgebevels
8 entities
46 planes
0 areaportals
size: -496, -424, -72 to 376, 408, 536
############### model 0 ###############
----- PatchMapDrawSurfs -----
--- FaceBSP ---
66 faces
136 leafs
----- MakeTreePortals -----
0 tiny portals
----- FilterStructuralBrushesIntoTree -----
11 structural brushes
164 cluster references
--- FloodEntities ---
20 flooded leafs
--- FillOutside ---
100 solid leafs
16 leafs filled
20 inside leafs
----- ClipSidesIntoTree -----
--- FaceBSP ---
36 faces
64 leafs
----- MakeTreePortals -----
0 tiny portals
----- FilterStructuralBrushesIntoTree -----
11 structural brushes
80 cluster references
----- Building Portals and Cells -----
1 unique cells
--- NumberClusters ---
20 visclusters
40 visportals
80 solidfaces
--- WritePortalFile ---
writing C:\Programme\Call of Duty\uo\maps\mp\mp_lights.prt
--- FloodAreas ---
1 areas
----- FilterDetailBrushesIntoTree -----
0 detail brushes
0 cluster references
----- SubdivideDrawSurfs -----
----- MergeSides -----
0 siderefs
----- FixTJunctions -----
40 axial edge lines
0 non-axial edge lines
0 degenerate edges
40 edge lines of 131072
72 verts added for tjunctions
192 total verts
13 naturally ordered
12 rotated orders
5 can't order
--- AllocateLightmaps ---
3 unique shaders
2 actual shaders
5103 exact lightmap texels
262144 block lightmap texels
1.95% lightmap efficiency
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
----- FilterCollisionSurfsIntoTree -----
--- EndModel ---
Writing C:\Programme\Call of Duty\uo\maps\mp\mp_lights.bsp
3 seconds elapsed

C:\Programme\Call of Duty\uo\maps\mp>pause
Drücken Sie eine beliebige Taste . . .

C:\Programme\Call of Duty\uo\maps\mp>"C:\Programme\Call of Duty\uoTools\bin\q3ma
p" -vis -fast -game uo "C:\Programme\Call of Duty\uo\maps\mp\mp_lights"
Q3Map v1.2 (c) 2003 Id Software Inc. / Infinity Ward / GMI Studios
---- vis ----
fastvis = true
----- FS_Startup -----
Current search path:
C:/Programme/Call of Duty/\uo\Z_D-Day+7.pk3 (11 files)
C:/Programme/Call of Duty/\uo\zzz_alpha_Rifle_Mod.pk3 (49 files)
C:/Programme/Call of Duty/\uo\wawa_3dAim.pk3 (13 files)
C:/Programme/Call of Duty/\uo\pakuo06.pk3 (12 files)
C:/Programme/Call of Duty/\uo\pakuo05.pk3 (3 files)
C:/Programme/Call of Duty/\uo\pakuo04.pk3 (7646 files)
C:/Programme/Call of Duty/\uo\pakuo03.pk3 (2275 files)
C:/Programme/Call of Duty/\uo\pakuo02.pk3 (790 files)
C:/Programme/Call of Duty/\uo\pakuo01.pk3 (1652 files)
C:/Programme/Call of Duty/\uo\pakuo00.pk3 (6231 files)
C:/Programme/Call of Duty/\uo\mp_lights.pk3 (8 files)
C:/Programme/Call of Duty/\uo\HAGENAU_FINAL.pk3 (38 files)
C:/Programme/Call of Duty/\uo\bsd_glassattack_v2.pk3 (22 files)
C:/Programme/Call of Duty//uo
C:/Programme/Call of Duty//Call of Duty
C:/Programme/Call of Duty/\main\Zzz_Soccer.pk3 (59 files)
C:/Programme/Call of Duty/\main\xz_bolonga.pk3 (8 files)
C:/Programme/Call of Duty/\main\sandbox2_mtl.pk3 (40 files)
C:/Programme/Call of Duty/\main\ppeds_pace.pk3 (77 files)
C:/Programme/Call of Duty/\main\paka.pk3 (41 files)
C:/Programme/Call of Duty/\main\pak9.pk3 (149 files)
C:/Programme/Call of Duty/\main\pak8.pk3 (235 files)
C:/Programme/Call of Duty/\main\pak6.pk3 (3 files)
C:/Programme/Call of Duty/\main\pak5.pk3 (4858 files)
C:/Programme/Call of Duty/\main\pak4.pk3 (1668 files)
C:/Programme/Call of Duty/\main\pak3.pk3 (1992 files)
C:/Programme/Call of Duty/\main\pak2.pk3 (694 files)
C:/Programme/Call of Duty/\main\pak1.pk3 (2642 files)
C:/Programme/Call of Duty/\main\pak0.pk3 (12816 files)
C:/Programme/Call of Duty/\main\jjumphouse.pk3 (29 files)
C:/Programme/Call of Duty/\main\jJm_LockOver.pk3 (30 files)
C:/Programme/Call of Duty/\main\jjm_house_of_pain.pk3 (26 files)
C:/Programme/Call of Duty/\main\jjm_ghoti.pk3 (7 files)
C:/Programme/Call of Duty/\main\jjm_canonjump.pk3 (18 files)
C:/Programme/Call of Duty/\main\jfunjump.pk3 (33 files)
C:/Programme/Call of Duty/\main\jdoorway.pk3 (37 files)
C:/Programme/Call of Duty//main

File Handles:
----------------------
44212 files in pk3 files
Couldn't load default.cfg. Make sure Call of Duty is run from the correct folde
r.reading C:\Programme\Call of Duty\uo\maps\mp\mp_lights.bsp
reading C:\Programme\Call of Duty\uo\maps\mp\mp_lights.prt
20 portalclusters
40 numportals
80 numfaces
80 active portals
0 hint portals
visdatasize:168
0...1...2...3...4...5...6...7...8...9... (0)
creating leaf vis...
Average clusters visible: 20
writing C:\Programme\Call of Duty\uo\maps\mp\mp_lights.bsp
2.00 seconds elapsed

C:\Programme\Call of Duty\uo\maps\mp>copy /Y "C:\Programme\Call of Duty\uo\maps\
mp\mp_lights.bsp" "C:\Programme\game\uo\maps\mp\mp_lights.bsp"
1 Datei(en) kopiert.

C:\Programme\Call of Duty\uo\maps\mp>copy /Y "C:\Programme\Call of Duty\uo\maps\
mp\mp_lights.prt" "C:\Programme\game\uo\maps\mp\mp_lights.prt"
1 Datei(en) kopiert.

C:\Programme\Call of Duty\uo\maps\mp>"C:\Programme\Call of Duty\uoTools\bin\flar
e" -extra -sundiffusesamples 10 -visual -width 1024 -height 768 -fullscreen -dum
poptions -game uo "C:\Programme\game\uo\maps\mp\mp_lights"
models in world bsp: enabled
model shadows: enabled
model alpha shadows: enabled
occluder merging: disabled
area light backsplash: enabled
smooth normals: enabled
visual debugging: enabled
keep visual only polys: enabled
verbose messages: disabled
debug lightmap areas: disabled
debug lightmap bleeding: disabled
poly in solid correction: enabled
diffuse sunlighting: enabled
point-sampled diffuse sun: enabled
single-sample diffuse sun: disabled
lightmap calculation: enabled
extra alpha check: enabled
max alpha pixels: 1024
find leafs for lights: enabled
max polys: 1048576
max vertices: 4194304
max brushes: 262144
max occluders: 0
bsp poly split cost: 8
axis-aligned bsp threshold: 500
point light scale: 7500
linear light scale: 0.000125
light grid scale: 1
overbright scale: 2
one over min intensity: 255
hemicube edge size: 10
surface light step world: 16
surface light step sky: 128
----- FS_Startup -----
Current search path:
C:/Programme/game/\uo\pakuo06.pk3 (12 files)
C:/Programme/game/\uo\pakuo05.pk3 (3 files)
C:/Programme/game/\uo\pakuo04.pk3 (7646 files)
C:/Programme/game/\uo\pakuo03.pk3 (2275 files)
C:/Programme/game/\uo\pakuo02.pk3 (790 files)
C:/Programme/game/\uo\pakuo01.pk3 (1652 files)
C:/Programme/game/\uo\pakuo00.pk3 (6231 files)
C:/Programme/game/\uo\mp_zeitdruck.pk3 (19 files)
C:/Programme/game/\uo\mp_trompete.pk3 (17 files)
C:/Programme/game/\uo\mp_pistol.pk3 (17 files)
C:/Programme/game/\uo\mp_midair.pk3 (17 files)
C:/Programme/game//uo
C:/Programme/game/\main\paka.pk3 (41 files)
C:/Programme/game/\main\pak9.pk3 (149 files)
C:/Programme/game/\main\pak8.pk3 (235 files)
C:/Programme/game/\main\pak6.pk3 (3 files)
C:/Programme/game/\main\pak5.pk3 (4858 files)
C:/Programme/game/\main\pak4.pk3 (1668 files)
C:/Programme/game/\main\pak3.pk3 (1992 files)
C:/Programme/game/\main\pak2.pk3 (694 files)
C:/Programme/game/\main\pak1.pk3 (2642 files)
C:/Programme/game/\main\pak0.pk3 (12816 files)
C:/Programme/game//main

File Handles:
----------------------
43777 files in pk3 files
Couldn't load default.cfg. Make sure Call of Duty is run from the correct folde
r.
C:\Programme\Call of Duty\uo\maps\mp>copy /Y "C:\Programme\game\uo\maps\mp\mp_li
ghts.bsp" "C:\Programme\Call of Duty\uo\maps\mp\mp_lights.bsp"
1 Datei(en) kopiert.

C:\Programme\Call of Duty\uo\maps\mp>copy /Y "C:\Programme\game\uo\maps\mp\mp_li
ghts.prt" "C:\Programme\Call of Duty\uo\maps\mp\mp_lights.prt"
1 Datei(en) kopiert.

C:\Programme\Call of Duty\uo\maps\mp>pause
Drücken Sie eine beliebige Taste . . .

nothing happens to my map and im not getting this visual window...am i doing something wrong? and yes i already deleted all custom maps and mods and tried it again but the result was the same
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoDUO Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»