Jump to content

Need Help getting my custom landscape into editor


cobbbbbb
 Share

Recommended Posts

Hey guys, I have made a new map from scratch

lookoutnr4.png

and am having a hard time getting it to show up in the editor. I followed the tutorial as best I can, but it's a little confusing. So I would like to list the steps I took, along with the xml's and maybe some of you can point me in the right direction.

1- exported to diesel (tried with and without material.xml)

2-extracted quick bundle, put in ..\Ghost Recon Advanced Warfighter\Data\

3- ..\Ghost Recon Advanced Warfighter\Data\levels\custom_levels\your_level\

texture_scope.xml:

<texture_set name="atlas_world/atlas_ground_ghetto_mission04_remade/atlas_gg_m04_remade_rock_diffuse" />

<texture_set name="atlas_world/atlas_ground_ghetto_mission04_remade/atlas_gg_m04_remade_rock_bump" />

4- ..\Ghost Recon Advanced Warfighter\Data\objects\city\custom_level: has these 3 files

lookout.diesel

lookout.xml:

<?xml version="1.0" encoding="iso-8859-1"?>

<dynamic_object xmlns:xi="x">

<diesel file="/data/objects/city/custom_level/lookout.diesel" orientation_object="root_point"

materials="/data/objects/city/custom_level/materials.xml" viewports="default|crosscom"/>

<body fixed="true" name="lookout" template="static_ground" max_walk_angle="35">

<object name="root_point"/>

<object name="lookout" collision_type="mesh_mopp" hidden="false" material="concrete"/>

</body>

<editor_marker_manager>

<marker name="lookout">

<offset x="0" y="0"/>

</marker>

</editor_marker_manager>

<decal_surfaces static="true">

<ds_mesh object="lookout"/>

</decal_surfaces>

<lightmap>

<object name="lookout" height="1024" width="1024"/>

</lightmap>

</dynamic_object>

materials.xml:

<materials>

<!-- Landscape -->

<!-- Dirt and sand-->

<material name="dirt_mud" src="landscape" decal_material="dirt">

<diffuse_texture file="gg_dried_mud_xy_df"/>

<bump_normal_texture file="gg_dried_mud_xy_bm"/>

<self_illumination_texture file="gg_dirt_xy_df"/>

<distorsion_texture file="gg_dirt_xy_bm"/>

</material>

<!-- Cliffs and sand -->

<material name="cliff_mud" src="landscape" decal_material="dirt">

<diffuse_texture file="gg_dried_mud_xy_df"/>

<bump_normal_texture file="gg_dried_mud_xy_bm"/>

<self_illumination_texture file="gg_rock_xy_df"/>

<distorsion_texture file="gg_rock_xy_bm"/>

</material>

<!-- Sand and grass -->

<material name="dirt_grass" src="landscape" decal_material="dirt">

<diffuse_texture file="gi_grass_xy_df"/>

<bump_normal_texture file="gi_grass_xy_bm"/>

<self_illumination_texture file="gg_dirt_xy_df"/>

<distorsion_texture file="gg_dirt_xy_bm"/>

</material>

</materials>

5- ..\Ghost Recon Advanced Warfighter\Data\units\city\

u_custom_level.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>

<units>

<unit type="static" name="ghe_lookout_01" slot="35">

<model file="/city/custom_level/lookout.xml"/>

<script_class name="base" class="Base"/>

<script_class name="editor" class="Editor"/>

<stats block="base_data">

<var name="lightmap" value="true"/>

<var name="no_silhouette" value="true"/>

<var name="ambient_points" value="155"/>

</stats>

</unit>

</units>

When I try to place the custom static landscape it kicks me to desktop, but no crash log is generated. :wall::wall:

What am I missing, or did I completely screw it up?

Any and all help would be appreciated greatly

Thanks

Link to comment
Share on other sites

anybody?

If i knew i would shure help you,I would like to learn how to do the terrain thing myself. I have made several maps but i have not been successfull in making a terrain from scratch..

Thanks for replying.

Ive noticed that i havnt got any help what so ever on any question i have posted lately,maybe cause i just make TDM maps and im not an [GR] fan i have no clue,hopefully someone will answer us soon . Hang in there !!

Link to comment
Share on other sites

I've noticed that i havnt got any help what so ever on any question i have posted lately,maybe cause i just make TDM maps and im not an [GR] fan i have no clue,hopefully someone will answer us soon . Hang in there !!

Edited by cobbbbbb
Link to comment
Share on other sites

Hard to know what might be wrong... it looks correct :)

You get the unit in the editor - but it crashes on spawn?

Is the name of the object inside max "lookout"?

These might cause trouble, but should no crash it really...

Is everything linked to the root point in the max file?

Have you placed 155 ambient points?

Are materials assigned correctly?

Link to comment
Share on other sites

Map editor crashed while trying to load it too :'( I was following this tutorial:

http://www.delta3d.org/article.php?story=2...topic=tutorials

When I export I get this error:

Encountered face with unknown material for Plane01, using default

Encountered face with unknown material for Plane01, using default

Encountered face with unknown material for Plane01, using default

Encountered face with unknown material for Plane01, using default

Encountered face with unknown material for Plane01, using default

Encountered face with unknown material for Plane01, using default

Encountered face with unknown material for Plane01, using default

Encountered face with unknown material for Plane01, using default

(above times like 1000)

Unable to find material Material: Default Material in group 01 - Default.MaterialGroup, using first material in group

Edited by FWF.Unleashed2k
Link to comment
Share on other sites

also when trying to load it, I can only see ONE blue square, not the other three, its either very extremely huge, or extremely small

do you mean the 4 pane view in 3dsmax? If so you can click on the icon in the bottom right corner and that should give you all 4 views. As far as the other error you are refering to, I have not had that problem, sorry

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...