Jump to content
Ghost Recon.net Forums

BQ-Phantom

Members
  • Content Count

    34
  • Joined

  • Last visited

Posts posted by BQ-Phantom

  1. Hey all,

    I been making a level and builded the lightmaps, Everything is showing up cool in the editor.

    But when i look in game only the things i placed in there have a texture but the bunker dousnt have textures.

    Here are some of my xml's

    Texture Scope

    <scope>
    
    	<texture_set name="atlas_characters"/>
    
    	<texture_set name="atlas_weapons"/>
    
    	<texture_set name="atlas_vehicles"/>
    
    	<texture_set name="atlas_world/atlas_mexico_city_tiles"/>
    
    	<texture_set name="atlas_world/atlas_sky"/>
    
    	<texture_set name="atlas_gui"/>
    
    	<texture_set name="atlas_graffiti"/>
    
    	<texture_set name="atlas_water"/>
    
    	<texture_set name="atlas_props"/>
    
    	<texture_set name="atlas_plants"/>
    
    	<texture_set name="atlas_brush"/>
    
    	<texture_set name="atlas_general"/>
    
    
    <!-- Level specific textures -->
    
    	<texture_set name="custom_levels/kashmiri"/>
    
    
    <!-- Mission 01,02 
    
    	<texture_set name="atlas_world/atlas_ghetto"/>
    
    	<texture_set name="atlas_world/atlas_industrial"/>
    
    	<texture_set name="atlas_world/atlas_ground_juarez"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_juarez/"/>
    
    	<texture_set name="atlas_mission_specific/mission01"/>
    
    -->
    
    <!-- Mission 03 
    
    	<texture_set name="atlas_world/atlas_ghetto"/>
    
    	<texture_set name="atlas_world/atlas_industrial"/>
    
    	<texture_set name="atlas_world/atlas_ground_industrial"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_industrial/"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_ghetto/"/>
    
    	<texture_set name="atlas_mission_specific/mission03"/>
    
    -->
    
    <!-- Mission 04 
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_bump"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_diffuse"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_storefronts_bump"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_storefronts_diffuse"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_special_bump"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_special_diffuse"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_church_bump"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_church_diffuse"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_city/"/>
    
    	<texture_set name="atlas_mission_specific/mission03"/>
    
    -->
    
    <!-- Mission 05 
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_bump"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_diffuse"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_storefronts_bump"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_storefronts_diffuse"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_church_bump"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_church_diffuse"/>
    
    	<texture_set name="atlas_world/atlas_ground_city"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_city/"/>
    
    	<texture_set name="atlas_mission_specific/mission05"/>
    
    -->
    
    <!-- Mission 06 
    
    	<texture_set name="atlas_world/atlas_ghetto"/>
    
    	<texture_set name="atlas_world/atlas_ground_ghetto"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_ghetto/"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_dam/"/>
    
    	<texture_set name="atlas_world/atlas_industrial"/>
    
    	<texture_set name="atlas_mission_specific/mission06"/>
    
    -->
    
    <!-- Mission 07 
    
    	<texture_set name="atlas_world/atlas_hacienda"/>
    
    	<texture_set name="atlas_world/atlas_ground_hacienda"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_hacienda/"/>
    
    	<texture_set name="atlas_mission_specific/mission07"/>
    
    -->
    
    <!-- Mission 08 
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_bump"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_diffuse"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_storefronts_bump"/>
    
    	<texture_set name="atlas_world/atlas_city/atlas_city_storefronts_diffuse"/>
    
    	<texture_set name="atlas_world/atlas_ground_city"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_city/"/>
    
    	<texture_set name="atlas_mission_specific/mission08"/>
    
    -->
    
    <!-- Mission 09 
    
    	<texture_set name="atlas_world/atlas_dam"/>
    
    	<texture_set name="atlas_world/atlas_ground_dam"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_dam/"/>
    
    	<texture_set name="atlas_mission_specific/mission09"/>
    
    -->
    
    
    	<texture_set name="atlas_world/atlas_industrial"/>
    
    	<texture_set name="atlas_world/atlas_ground_industrial"/>
    
    	<texture_set name="atlas_world/atlas_terrain/atlas_terrain_industrial/"/>
    
    	<texture_set name="atlas_mission_specific/mission10"/>
    
    
    </scope>
    World info
    <?xml version="1.0" encoding="UTF-8"?>
    
    <world_info name="kashmiri">
    
    	<world path="world.xml">
    
    	</world>
    
    	<mission_script path="mission.xml">
    
    	</mission_script>
    
    	<environments path="/data/levels/global_environments.xml"/>
    
    	<massunits path="massunit.bin"/>
    
    	<texture_scope path="texture_scope.xml"/>
    
    	<world_info path="/data/levels/common/tdm_settings.xml" type="tdm">
    
    		<texture name="loading" texture="data/textures/atlas_gui/mission_gfx/load_mp_tdm_dm" uv_rect="0,0,2048,1080" width="2048" height="2048"/>
    
    	</world_info>
    
    </world_info>
    Unit List
    <unit_list>
    
    	<props>
    
    		<unit name="alarm_light" amount="2"/>
    
    		<unit name="buildingtext_military" amount="1"/>
    
    		<unit name="cable_reel" amount="5"/>
    
    		<unit name="ceilingfan_02" amount="7"/>
    
    		<unit name="compressor_tank" amount="1"/>
    
    		<unit name="crate_large" amount="27"/>
    
    		<unit name="dam_control_panel" amount="2"/>
    
    		<unit name="efx_Vent01" amount="3"/>
    
    		<unit name="electric_box_medium" amount="14"/>
    
    		<unit name="emergency_switch" amount="27"/>
    
    		<unit name="filing_cabinet" amount="7"/>
    
    		<unit name="gascan_propane" amount="33"/>
    
    		<unit name="ind_wall_concrete_18m" amount="1"/>
    
    		<unit name="ind_wall_concrete_3m" amount="2"/>
    
    		<unit name="kashmira_missile" amount="1"/>
    
    		<unit name="lamp_desk" amount="1"/>
    
    		<unit name="lamp_floor_spot" amount="55"/>
    
    		<unit name="laptop" amount="11"/>
    
    		<unit name="m05_roof_light_long" amount="4"/>
    
    		<unit name="m10_long_roof_light_red" amount="58"/>
    
    		<unit name="metal_desk" amount="9"/>
    
    		<unit name="office_chair" amount="9"/>
    
    		<unit name="pallet" amount="30"/>
    
    		<unit name="paper_box" amount="24"/>
    
    		<unit name="roof_light_long" amount="90"/>
    
    		<unit name="rs_forklift" amount="2"/>
    
    		<unit name="rs_light" amount="16"/>
    
    		<unit name="rs_the_cut_crate_wood_a" amount="13"/>
    
    		<unit name="rs_the_cut_gas_tank" amount="1"/>
    
    		<unit name="rs_the_cut_lpg_tank_A" amount="1"/>
    
    		<unit name="rs_the_cut_plastic_barrel" amount="15"/>
    
    		<unit name="television_set" amount="1"/>
    
    		<unit name="transformer" amount="24"/>
    
    		<unit name="wall_airconditioner" amount="17"/>
    
    	</props>
    
    	<buildings_and_roads>
    
    		<unit name="ind_mission10_bunker" amount="1"/>
    
    	</buildings_and_roads>
    
    </unit_list>
    
    
    Mission.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    
    <mission_script>
    
    
    	<mission_script name="tdm">
    
    		<xi:include href="/data/levels/common/mp_ranks.xml"/>
    
    		<xi:include href="/data/levels/common/tdm_rules.xml"/>		
    
    	</mission_script>
    
    
    </mission_script>
    I got the following lightmaps: 1_catwalk.tga 1_ind_mission10_bunker_01.tga 1_ind_mission10_bunker_02.tga 1_ind_mission10_bunker_03.tga 1_rail.tga 1_silo_room.tga 2_ind_wall_concrete_3m.tga 3_ind_wall_concrete_3m.tga 9_ind_wall_concrete_18m.tga Lighmap_positions.
    <lightmaps>
    
    	<lightmap name="1_ind_mission10_bunker_01" position="200 2377.5 -361.5"/>
    
    	<lightmap name="1_ind_mission10_bunker_02" position="-625.615 5850 -387.5"/>
    
    	<lightmap name="1_ind_mission10_bunker_03" position="-1737.5 4512.5 -374.752"/>
    
    	<lightmap name="1_silo_room" position="-175.615 7825 -1429.36"/>
    
    	<lightmap name="1_rail" position="-275 4287.5 -512.5"/>
    
    	<lightmap name="1_catwalk" position="-275 6137.5 -540"/>
    
    	<lightmap name="2_ind_wall_concrete_3m" position="-61.9916 1275.78 -237.5"/>
    
    	<lightmap name="3_ind_wall_concrete_3m" position="-61.9262 1275.64 31.4848"/>
    
    	<lightmap name="9_ind_wall_concrete_18m" position="146.299 7930.53 -1741.9"/>
    
    </lightmaps>
    
    
    

    Thanks so far!

  2. in 3dsmax after some trial and error i found that to texture your terrain, add the diffuse texture to a slot in the material editor ( the one with the balls).

    then..click on the arrow under and to the right of the balls that is the "go to parent"(Here is a screenshot) click on it until you back to the place you added the diffuse texture. probably half way down the material editor, there's a slot with a "+" that is named "maps" click on the "+" (see a screen of it here)and go down to where it has a slot for bump. this is where you add the bump map that is the sister to the diffuse texture.

    diffuse texture: jua_grass_xy_df (Diffuse)

    bump map texture : jua_grass_xy_bm (bump map) I set this bump map to about 30 and no more

    apply this to your terrain and you got it going on! next add a UVW map modifier or unwrap UVW depending on what you need to get the texture right.

    just a quick help on it. :thumbsup:

    Thanks man!

    that helps alot, maybe you can also help me with the next one?

    How do the UVW Unwrap works? ( I searching at google, but i can't realy find something.

    Thanks again.

  3. Hey All,

    I been moddeling some new custom landscapes for graw 2, but i can't realy get them in game.

    Can someone tell me what files need to be placed were into the dir... of graw 2, I think i been putting files in the wrong dir... or maybe missing some filers.

    Thanks so far.

    Right now I can only tell you to look at how the original landscapes are setup. Where they are located they have the diesel file, an XML file linked to it and an materials.xml file defining it's shaders. Besides that it needs an entry in a U_*.xml file. You can create a new one in the same folder where u_lanscapes.xml is found and copy how an entry inside it is setup into your new file.

    I'll try to help out more once I've solved all the stuff I've collected during the weekend.

    Now i know what i been missing: u_lanscapes.xml ....

    Can you tell me in what directory of graw 2 i have to place the data directory and that stuff?

    Is it in mods, custom level or local?

    thanks for the reply wolf!

  4. Hey All,

    I been moddeling some new custom landscapes for graw 2, but i can't realy get them in game.

    Can someone tell me what files need to be placed were into the dir... of graw 2, I think i been putting files in the wrong dir... or maybe missing some filers.

    Thanks so far.

  5. Hey guys,

    I am working on a custom landscape with the grin tutorial, but when i create a new landscape and i try to add the mixed texture (Multy/Sub Object ) the texture will be strecht ( spread out ) and it will not look nice then.

    Also when i just add a single texture to it it does the same.

    I hope im clear anough if not please let me know.

    Thanks for your help.

    Phantom

  6. Do I have to render lightmaps for each gametype when using the same map?

    Example: Grim Compound DM "Copy"

    Example: Grim Compound DM "Paste & Rename" Grim Compound HH

    From this point Can I just export or do I realy have to render lightmaps again?

    Another question, I noticed some changes can be made to a map without rendering

    the lightmaps again. Zones, respawns, building text, etc...

    Can you make this a little more clear? I'm assuming anything that dont have a texture.

    I never rendered lightmaps when i changed the game type.( And it always worked :) )

  7. You need to put the object inside a body, like this:

    
    <body name="groundplane" editable="true" template="static_ground">
    
       <object name="root_point"/>
    
       <object name="name_of_your_mesh" collision_type="mesh_mopp" material="stone"/>
    
    </body>
    
    
    If the object is a box you should change the collision_type to "box" instead of "mesh_mopp". Good luck!
    I made the changes you sad but i keep falling tryough it, i also can walk trough the walls i made. What i did is the following: I made walls and a floor in 3DS putted a texture on it, linked everything to the root_point and then i added it to "PROPS" in graw ( Maybe its because its on object and its located in props ? ) Thanks sofar This is my model.xml file
    
    <?xml version="1.0" encoding="iso-8859-1"?>
    
    <dynamic_object xmlns:xi="x">
    
    <diesel file="/data/objects/props/house/house.diesel" materials="/data/objects/props/house/materials.xml" orientation_object="root_point"/>
    
    
    
    
    <lightmap>
    
    <object name="box01" width="64" height="64"/>
    
    <object name="box02" width="64" height="64"/>
    
    <object name="box03" width="64" height="64"/>
    
    <object name="box04" width="64" height="64"/>
    
    <object name="box05" width="64" height="64"/>
    
    <object name="box06" width="64" height="64"/>
    
    <object name="box07" width="64" height="64"/>
    
    <object name="box08" width="64" height="64"/>
    
    <object name="box09" width="64" height="64"/>
    
    <object name="box13" width="64" height="64"/>
    
    <object name="box15" width="64" height="64"/>
    
    <object name="box19" width="64" height="64"/>
    
    <object name="geosphere02" width="64" height="64"/>
    
    <object name="plane01" width="64" height="64"/>
    
    <object name="plane02" width="64" height="64"/>
    
    <object name="plane03" width="64" height="64"/>
    
    </lightmap>
    
    
    
    <decal_surfaces static="true">
    
    <ds_mesh object="box01" material="stone"/>
    
    <ds_mesh object="box02" material="stone"/>
    
    <ds_mesh object="box03" material="stone"/>
    
    <ds_mesh object="box04" material="stone"/>
    
    <ds_mesh object="box05" material="stone"/>
    
    <ds_mesh object="box06" material="stone"/>
    
    <ds_mesh object="box07" material="stone"/>
    
    <ds_mesh object="box08" material="stone"/>
    
    <ds_mesh object="box09" material="stone"/>
    
    <ds_mesh object="box13" material="stone"/>
    
    <ds_mesh object="box15" material="stone"/>
    
    <ds_mesh object="box19" material="stone"/>
    
    <ds_mesh object="geosphere02" material="stone"/>
    
    <ds_mesh object="plane01" material="stone"/>
    
    <ds_mesh object="plane02" material="stone"/>
    
    <ds_mesh object="plane03" material="stone"/>
    
    </decal_surfaces>
    
    
    <!-- COLLISION also this is how you write comments...!-->
    
    
    <body editable="true" name="house" tag="stone" template="static">
    
    <object name="root_point"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box01"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box02"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box03"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box04"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box05"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box06"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box07"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box08"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box09"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box13"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box15"/>
    
    <object collision_type="box" hidden="false" material="stone" name="box19"/>
    
    <object collision_type="mesh_mopp" hidden="false" material="stone" name="geosphere02"/>
    
    <object collision_type="box" hidden="false" material="stone" name="plane01"/>
    
    <object collision_type="box" hidden="false" material="stone" name="plane02"/>
    
    <object collision_type="box" hidden="false" material="stone" name="plane03"/>
    
    </body>
    
    
    
    
    </dynamic_object>
    
    
    This is my material.xml file:
    
    <materials>
    
    
    	<material name="house" src="diffuse_lightmap">
    
    		<diffuse_texture file="house_df"/>
    
    	</material>
    
    
    </materials>
    
    

    Regards,

    Phantom

  8. Hey guys,

    I builded a model in 3ds 7, out of 1 box and 1 plane...... I linked everything to the root point.

    i created all xml's like they sayed in the tut.

    What happens when i add the model in the graw:editor and a spawn dummy id the following:

    When i spawn i fall trough everything in a black hole.

    Anyone know the problem or a way to fix it?

    Regards, :g_withgrin:

  9. I need your max hierarchy links too... but if you have only one mesh (called gfx_wall4) in your max scene, the xml seems to be ok

    No i have more meshes, i already tryed naming them the same but then the bundle extractor gives a error about multyply names.

    So if i have 3 meshes named: gfx_wall1 , gfx_wall2 , gfx_roof

    What do i have to add to the model.xml then?"

    thanks,

    Phantom

×
×
  • Create New...