AAO25.com

America's Army => mAAp Project => Topic started by: Spanky on Tuesday, January 24, 2012, 05:02:50 AM

Title: 2.8 Map Converting
Post by: Spanky on Tuesday, January 24, 2012, 05:02:50 AM
This post is mostly for Koden (who logged off while I was typing...) but I will sticky it in case anybody else wants to try to convert a 2.8 map to 2.5. Basically, the AA developers renamed texture/staticmesh/sound packages for 2.8. Why they did this... I have no idea, it serves absolutely no purpose and gave them more work. So, this is the main obstacle for converting maps.

If you have never seen an Americas Army map in text format then this link will show you exactly what it looks like
http://dl.dropbox.com/u/7352483/Americas%20Army/Bridge.txt
as daunting as it may seem actually converting is very simple (albeit tedious) process.



Extraction:
The first step to converting is to pull the map out of the editor. To do this, you need to have the 2.8 editor and the map you want to convert. Open the map in the editor and go to Edit > Select All Actors then Edit > Copy
On larger maps, the editor WILL stall out. Don't click around, don't close the editor, just wait. If it doesn't come back alive in 1 minute, kill it and try again. Now that you have copied all of the maps' contents, paste it into Notepad and save it.



Conversion:
Now you have to rename all those packages we talked about earlier. Sometimes it's easy and sometimes it's not. The easiest way to explain this is to give you an example of a line, and how you need to change it. We will take one from the bridge.txt linked to earlier:
Code: [Select]
Begin Polygon Texture=T_AA2_Sky.fog.sky_fog_grayfog Flags=128 Link=0here's something you gotta understand the periods, they separate the package name, group name and texture name. What we will currently focus on is the texture name. At the beginning of the texture name it says sky_ so you can pretty much safely assume that's from the T-Sky package, not T2-Sky package. So the line
Code: [Select]
Begin Polygon Texture=T_AA2_Sky.fog.sky_fog_grayfog Flags=128 Link=0will become
Code: [Select]
Begin Polygon Texture=T-Sky.fog.sky_fog_grayfog Flags=128 Link=0
However, if the original line had been
Code: [Select]
Begin Polygon Texture=T_AA2_METAL.Diamondplate.met2_diamondplate_Dplate_white_rustyWe can see the texture name begins with met2_ not just met_ so what happens in this case is we can determine this texture comes from package T2-Metal, so it will become
Code: [Select]
Begin Polygon Texture=T2-METAL.Diamondplate.met2_diamondplate_Dplate_white_rusty
This applies to other textures as well. T2-Doors.wood.doors2, T2-Fabric.Detail.fabric2_, T2-FX.Projector.FX2_, etc. This is usually a good rule of thumb but doesn't always work. Light meshes are notoriously problematic. To overcome this, you can find out where a specific resource is at in AA 2.5 with UTPT:
http://www.acordero.org/download/utpt20beta5.zip
You should be able to open most packages from 2.5 in UTPT to find out for sure what a specific resource is named.

This technique will also need to be done with staticmeshes and sounds;
Code: [Select]
StaticMesh=StaticMesh'M_AA2_Pipeline.Supports.pipe_supports_truss01But using what we learned above, we can already know how it is changed, just instead of T_AA2_ becoming T- its just M_AA2_ becoming M- or M2- respectfully, so that line will become
Code: [Select]
StaticMesh=StaticMesh'M-Pipeline.Supports.pipe_supports_truss01
But, there is good news. You don't need to change every single one by hand. Take note of this line:
Code: [Select]
Texture=T_AA2_METAL.Diamondplate.met2_As you can see its not the full line, just the important part. Use a "Find and Replace" feature of a text editor to replace all of these occurances with the updated string
Code: [Select]
Texture=T2-METAL.Diamondplate.met2_This way, not only does the met2_diamondplate_Dplate_white_rusty texture get converted but all of the other textures in the group get converted as well. Sure beats changing 300 of the exact same line.



Tips:
- When choosing a map to convert, try to choose one with little or no terrain. Terrain can be imported but it usually needs to have a lot of editing done.
- If you haven't converted a map before, choose a small one, as small as you can.
- Notepad++ is a great program to do this in.




Here is an unfinished list of textures I started many years ago. It's not much but it may help give you an idea:
Textures:
Code: [Select]
T_AA2_Attachments.carryobjects=T2-Attachments.carryobjects
T_AA2_Attachments.Civilian=T-Attachments.Civilian
T_AA2_Attachments.Default=T-Attachments.Default
T_AA2_Attachments.op-DesOp=T-Attachments.op-DesOp
T_AA2_Attachments.US_Special_Forces=T-Attachments.US_Special_Forces
T_AA2_Attachments.us-soldier.skn2=T-Attachments.us-soldier.skn2
T_AA2_Attachments.us-soldier.face_nvg_test2=T-Attachments.us-soldier.face_nvg_test2
T_AA2_Attachments.us-soldier.helmet_=T-Attachments.us-soldier.helmet_
T_AA2_Attachments.us-soldier.target=T-Attachments.us-soldier.target
T_AA2_Attachments.us-soldier.visors=T-Attachments.us-soldier.visors
T_AA2_Attachments.us-soldier.visors_m=T-Attachments.us-soldier.visors_m
T_AA2_Attachments.us-soldier.SKIN_=T-Attachments.us-soldier.SKIN_
T_AA2_Attachments.us-soldier.skn-=T-Attachments.us-soldier.skn-
T_AA2_Attachments.us-soldier.skn_=T-Attachments.us-soldier.skn_
T_AA2_Brick.Detail=T2-Brick.Detail
T_AA2_Brick.Floor=T2-Brick.Floor
T_AA2_Brick.Skins=T2-Brick.Skins
T_AA2_Brick.Trim.brk2_=T2-Brick.Trim.brk2_
T_AA2_Brick.Wall.brk2_=T2-Brick.Wall.brk2_
T_AA2_Brick.Trim.brk_=T-Brick.Trim.brk_
T_AA2_Brick.Wall.brk_=T-Brick.Wall.brk_
T_AA2_CampMackall=T-CampMackall
T_AA2_Characters.FlightCrew=T2-Characters.FlightCrew
T_AA2_Characters.Soldier=T2-Characters.Soldier
T_AA2_Characters.ArcOp=T-Characters.ArcOp
T_AA2_Characters.CivDoc=T-Characters.CivDoc
T_AA2_Characters.Civilian=T-Characters.Civilian
T_AA2_Characters.CivOp=T-Characters.CivOp
T_AA2_Characters.George=T-Characters.George
T_AA2_Characters.Inf=T-Characters.Inf
T_AA2_Characters.Instructor=T-Characters.Instructor
T_AA2_Characters.OpInf=T-Characters.OfInf
T_AA2_Characters.OpM=T-Characters.OpM
T_AA2_Characters.RealHeroes=T-Characters.RealHeroes
T_AA2_Characters.SF=T-Characters.SF
T_AA2_Characters.SFArc=T-Characters.SFArc
T_AA2_Characters.Soldier=T-Characters.Soldier
T_AA2_Characters.US_Guerrilla=T-Characters.US_Guerrilla
T_AA2_Characters.US_OpGuard=T-Characters.US_OpGuard
T_AA2_Characters.Wounded=T-Characters.Wounded
T_AA2_Characters.Yeti=T-Characters.Yeti
T_AA2_Concrete.ceiling.con_=T-Concrete.ceiling.con_
T_AA2_Concrete.Floor.con_=T-Concrete.Floor.con_
T_AA2_Concrete.misc.con_=T-Concrete.misc.con_
T_AA2_Concrete.skins.con_=T-Concrete.skins.con_
T_AA2_Concrete.trim.con_=T-Concrete.trim.con_
T_AA2_Concrete.wall.con_=T-Concrete.wall.con_
T_AA2_Concrete.ceiling.con2_=T2-Concrete.ceiling.con2_
T_AA2_Concrete.detail.con2_=T2-Concrete.detail.con2_
T_AA2_Concrete.floor.con2_=T2-Concrete.floor.con2_
T_AA2_Concrete.misc.con2_=T2-Concrete.misc.con2_
T_AA2_Concrete.skins.con2_=T2-Concrete.skins.con2_
T_AA2_Concrete.trim.con2_=T2-Concrete.trim.con2_
T_AA2_Concrete.wall.con2_=T2-Concrete.wall.con2_
T_AA2_Concrete.ceiling.conc2_=T2-Concrete.ceiling.conc2_
T_AA2_Concrete.Detail.conc2_=T2-Concrete.Detail.conc2_
T_AA2_Concrete.Floor.conc2_=T2-Concrete.Floor.conc2_
T_AA2_Concrete.misc.conc2_=T2-Concrete.misc.conc2_
T_AA2_Concrete.skins.conc2_=T2-Concrete.skins.conc2_
T_AA2_Concrete.trim.conc2_=T2-Concrete.trim.conc2_
T_AA2_Concrete.wall.conc2_=T2-Concrete.wall.conc2_
T_AA2_Doors.Gate=T-Doors.Gate
T_AA2_Doors.hospital=T2-Doors.hospital
T_AA2_Doors.metal.Door_=T-Doors.metal.Door_
T_AA2_Doors.metal.Door2_=T2-Doors.metal.Door2_
T_AA2_Doors.metal.Doors2_=T2-Doors.metal.Doors2_
T_AA2_Doors.sliding=T2-Doors.metal.sliding
T_AA2_Doors.storefront=T2-Doors.metal.storefront
T_AA2_Doors.unopenable=T2-Doors.metal.unopenable
T_AA2_Doors.wood.door_=T-Doors.wood.door_
T_AA2_Doors.wood.door2_=T2-Doors.wood.door2_
T_AA2_Doors.wood.doors2_=T2-Doors.wood.doors2_
T_AA2_Doors.wood.drs=T2-Doors.wood.drs
T_AA2_Doors.wtentrance=T2-Doors.wtentrance
T_AA2_Editor=T-Editor
T_AA2_Fabric.bedding=T-Fabric.bedding
T_AA2_Fabric.crpt=T-Fabric.crpt
T_AA2_Fabric.cubicle=T2-Fabric.cubicle
T_AA2_Fabric.Detail.FAB_=T-Fabric.Detail.FAB_
T_AA2_Fabric.Detail.fabric2_=T2-Fabric.Detail.fabric2_
T_AA2_Fabric.misc=T-Fabric.misc
T_AA2_Fabric.patterns=T2-Fabric.patterns
T_AA2_Fabric.skins=T2-Fabric.skins
T_AA2_Fabric.trim=T-Fabric.trim
T_AA2_Fabric.tweed=T-Fabric.tweed
T_AA2_FX.Animated=T2-FX.Animated
T_AA2_FX.Corona=T2-FX.Corona
T_AA2_FX.Coronas=T-FX.Coronas
T_AA2_FX.Cubes.CUBE-=T2-FX.Cubes.CUBE-
T_AA2_FX.Cubes.FX_=T-FX.Cubes.FX_
T_AA2_FX.Cubes.FX2_=T2-FX.Cubes.FX2_
T_AA2_FX.Cubes.SKY=T2-FX.Cubes.SKY
T_AA2_FX.Cubes.WT_=T2-FX.Cubes.WT_
T_AA2_FX.Decal=T-FX.Decal
T_AA2_FX.Decals=T2-FX.Decals
T_AA2_FX.Egg=T2-FX.Egg
T_AA2_FX.flash=T2-FX.flash
T_AA2_FX.Gradients=T2-FX.Gradients
T_AA2_FX.Light=T2-FX.Light
T_AA2_FX.Lights=T-FX.Lights
T_AA2_FX.MedicTraining=T2-FX.MedicTraining
T_AA2_FX.Optics=T-FX.Optics
T_AA2_FX.Overlay=T2-FX.Overlay
T_AA2_FX.Overlays=T-FX.Overlays
T_AA2_FX.Particle=T2-FX.Particle
T_AA2_FX.Particles=T-FX.Particles
T_AA2_FX.Projector.FX2_=T2-FX.Projector.FX2_
T_AA2_FX.Projector.FX_=T-FX.Projector.FX_
T_AA2_FX.ProjectorTerrain=T-FX.ProjectorTerrain
T_AA2_FX.Shadow.2FX_=T2-FX.Shadow.2FX_
T_AA2_FX.Shadow.FX_=T-FX.Shadow.FX_
T_AA2_FX.Shadow.FX2_=T2-FX.Shadow.FX2_
T_AA2_FX.Shadow.genshadow=T-FX.Shadow.genshadow
T_AA2_FX.sunflares=T-FX.sunflares
T_AA2_FX.tags=T3-FX.tags

Meshes:
Code: [Select]
M_AA2_Architectural.Pipes_low=M2-Architectural.Pipes_low.
M_AA2_Lights.Interior=M-Light.Interior



Blueblaster and Skrewy, be sure to add your thoughts on this and how to make it easier for noobs.
Title: Re: 2.8 Map Converting
Post by: BlueBlaster on Tuesday, January 24, 2012, 15:30:20 PM
Looks good. If you try to convert a map and run into any problems, post here and one of us will help you out.
Title: Re: 2.8 Map Converting
Post by: Koden on Wednesday, January 25, 2012, 04:29:22 AM
List of resources that are apparently missing from 2.5 (working on it and adding entries as i go through).
Posting the original names, obviously the 2.5 root name is different but after M_AAO_ the link is (should have been) fine - if the resource was there.
Tried looking over M-/M2-/M3- packages and found nothing for:


M_AAO_Architectural.structural.m (e.g. M_AAO_Architectural.structural.m_arch_struc_arch )

M_AAO_Architectural.Railings.m (e.g. M_AAO_Architectural.Railings.m_arch_railings_128_stairs)

M_AAO_Architectural.ibeam.m (e.g. M_AAO_Architectural.ibeam.m_arch_ibeam_hex_door )

M_AAO_Architectural.Windows.m (e.g. M_AAO_Architectural.Windows.m_arch_windows_idsecurity )

M_AAO_Equipment.chemical.m (e.g. M_AAO_Equipment.chemical.m_equi_chemical_bunsenburner )

M_AAO_Architectural.platform.m (e.g. M_AAO_Architectural.platform.m_arch_platform_stairs )

M_AAO_Equipment.biowpn.m ( e.g. M_AAO_Equipment.biowpn.m_equi_biowpn_tank )

M_AAO_Foliage.plants.m (e.g. M_AAO_Foliage.plants.m_foli_plants_fern_c )

M_AAO_Lights.modern.m (e.g. M_AAO_Lights.modern.m_ligh_modern_bunkerlight )

M_AAO_Architectural.catwalk.m ( e.g. M_AAO_Architectural.catwalk.m_arch_catwalk)

M_AAO_Bathroom.stall.m (e.g. M_AAO_Bathroom.stall.m_bath_toilet_stall_wall )

M_AAO_Equipment.watertreatment.m (e.g. M_AAO_Equipment.watertreatment.m_equi_watertreatment_ladder_long )
Title: Re: 2.8 Map Converting
Post by: BlueBlaster on Wednesday, January 25, 2012, 05:13:59 AM
Im pretty sure none of the 2.5 packages have a .m. as a grouping name. so it might be M_AAO_Architectural.structural.m = M-Architectural.structural

Unless you tried that already. I haven't actually opened the editor to look at the packages, just memory.
Title: Re: 2.8 Map Converting
Post by: Koden on Wednesday, January 25, 2012, 06:34:08 AM
Im pretty sure none of the 2.5 packages have a .m. as a grouping name. so it might be M_AAO_Architectural.structural.m = M-Architectural.structural

Unless you tried that already. I haven't actually opened the editor to look at the packages, just memory.

Nope already checked under every M/M2-/M3-Architectural package and there's no structural. Same for the other links i already posted. There are more and i gonna find and post them as soon as i find a little time (which is going to be in about 9-10 hours unfortunatly).
Title: Re: 2.8 Map Converting
Post by: BlueBlaster on Wednesday, January 25, 2012, 17:25:32 PM
Structural could be Building_husk. I'm just trying to extrapolate what the structural meshes could be since I assume those are the steamroller buildings.
Title: Re: 2.8 Map Converting
Post by: Koden on Thursday, January 26, 2012, 09:55:35 AM
Structural could be Building_husk. I'm just trying to extrapolate what the structural meshes could be since I assume those are the steamroller buildings.

There's a part of broken walls, damaged pillars and so on, in there. I would love to find a matching ID number to compare between AAEditor and UTPT, would make things easier to compare.

The sweet part of course is that i can't open 2.5 packages on the 2.8.5 editor (leads to editor stopping responding).
I swear, AA2 devs never heard of backward compatibilty?
Title: Re: 2.8 Map Converting
Post by: Koden on Thursday, January 26, 2012, 16:40:20 PM
So, today i went through the missing assets and found a list of the missing StaticMesh actors and i think the list is pretty much everything that's missing from Interdiction. The good thing is that the structure seems to be similar for Textures:

T_AAO_Foliage.grass.t_foli_grass_tallgrass_fb

That would be worth for sounds aswell, but the only ones i've found are NPCs related so who cares:

S_AAO_NPC.EnemyVoice3.s_npc_enemyvoice3_idle8

Now, i'm coming up with a thought: we got missing assets. Whenever we decide to let people play the map in a more complete version (you can find and try to play the temporary - old - version on the mAAp interdiction folder - ghost as fast you can or you'll die) we might try to complete the map with 2.5 assets, OR eventually manage to have people download their 2.8.5 assets - adapted to 2.5 - so to avoid map modding by hand (of course only if the latter it's going to be a more straightforward and easier process, because i am aware that you can't by no means simply copypaste 2.8.5 assets from folder to folder).

Quote
M_AAO_Architectural.structural.m (e.g. M_AAO_Architectural.structural.m_arch_struc_arch )

M_AAO_Architectural.Railings.m (e.g. M_AAO_Architectural.Railings.m_arch_railings_128_stairs)

M_AAO_Architectural.ibeam.m (e.g. M_AAO_Architectural.ibeam.m_arch_ibeam_hex_door )

M_AAO_Architectural.Windows.m (e.g. M_AAO_Architectural.Windows.m_arch_windows_idsecurity )

M_AAO_Equipment.chemical.m (e.g. M_AAO_Equipment.chemical.m_equi_chemical_bunsenburner )

M_AAO_Architectural.platform.m (e.g. M_AAO_Architectural.platform.m_arch_platform_stairs )

M_AAO_Equipment.biowpn.m ( e.g. M_AAO_Equipment.biowpn.m_equi_biowpn_tank )

M_AAO_Foliage.plants.m (e.g. M_AAO_Foliage.plants.m_foli_plants_fern_c )

M_AAO_Lights.modern.m (e.g. M_AAO_Lights.modern.m_ligh_modern_bunkerlight )

M_AAO_Architectural.catwalk.m ( e.g. M_AAO_Architectural.catwalk.m_arch_catwalk)

M_AAO_Bathroom.stall.m (e.g. M_AAO_Bathroom.stall.m_bath_toilet_stall_wall )

M_AAO_Equipment.watertreatment.m (e.g. M_AAO_Equipment.watertreatment.m_equi_watertreatment_ladder_long )
Title: Re: 2.8 Map Converting
Post by: BlueBlaster on Thursday, January 26, 2012, 20:10:54 PM
If there's a program that can export things from 2.8.5, we can import them into our mAAp packages.
Does this program work for exporting 2.8.5 assets? http://www.gildor.org/en/projects/umodel
Title: Re: 2.8 Map Converting
Post by: guner on Thursday, April 12, 2012, 17:52:36 PM
I am trying to convert a map I did for 2.8 and cant find -                                                                       
" StaticMesh'M_AAO_Equipment.Plastic_Containers.Large_plastic_bottle " in M or the M2.
What do you think?
Title: Re: 2.8 Map Converting
Post by: Koden on Thursday, April 12, 2012, 18:00:08 PM
I am trying to convert a map I did for 2.8 and cant find -                                                                       
" StaticMesh'M_AAO_Equipment.Plastic_Containers.Large_plastic_bottle " in M or the M2.
What do you think?

I've taken a look aswell, it seems to be a 2.8 asset, not available in 2.5 (until we decide to port 2.8 assets to 2.5 as a whole).

Most or likely all of the *_AAO assets belong to game versions published after 2.5.
Title: Re: 2.8 Map Converting
Post by: guner on Saturday, April 14, 2012, 18:59:52 PM
So to make the text back into a map or a .aao file do I just coppy all the text then past it back in to edd?
If so its not working?
Title: Re: 2.8 Map Converting
Post by: Koden on Saturday, April 14, 2012, 20:21:07 PM
So to make the text back into a map or a .aao file do I just coppy all the text then past it back in to edd?
If so its not working?

Possessed used the AARE tool made by Eliz to convert his custom maps, the tool is actually very reliable and unless you choose to use game material that was published in later version after 2.5, you shouldn't have huge issues.
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Saturday, May 19, 2012, 02:42:43 AM
based on all of this info, do you guys think my version of hospital is gonna be a bitch to convert over?
Title: Re: 2.8 Map Converting
Post by: Koden on Saturday, May 19, 2012, 04:22:40 AM
based on all of this info, do you guys think my version of hospital is gonna be a bitch to convert over?

Share the code and ill tell ya. At a first glance from the screenshot i've seen, it seems that a fair lot of the materials you used should be fine.

However as a rule of thumb i'd rather avoid AAO packages if you plan porting.
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Saturday, May 19, 2012, 05:23:26 AM
heres a link to it

http://dl.dropbox.com/u/80319621/hospital.txt (http://dl.dropbox.com/u/80319621/hospital.txt)
Title: Re: 2.8 Map Converting
Post by: Koden on Saturday, May 19, 2012, 05:31:50 AM
Those are the few i've found, there are more (for a total of 29) but they all seems to be belonging to the AA2 version of the map  (e.g. radar map images) so you most likely it works fine enough to port with ease.

Quote
AmbientSound=Sound'S_AAO_Lvl_MedicAmbient.machines.IronLung

StaticMesh=StaticMesh'M_AAO_Sky.clouds.sky_tube_clouddome01

StaticMesh=StaticMesh'M_AAO_Vehicles.infini_car.infini_car_full_wrecked1a_col'
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Saturday, May 19, 2012, 05:39:10 AM
Those are the few i've found, there are more (for a total of 29) but they all seems to be belonging to the AA2 version of the map  (e.g. radar map images) so you most likely it works fine enough to port with ease.

awesome. thanks :D
Title: Re: 2.8 Map Converting
Post by: Spanky on Saturday, May 19, 2012, 12:16:14 PM
There should be a vote to see if everybody thinks you should have the 2.5 editor.
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Saturday, May 19, 2012, 12:25:17 PM
There should be a vote to see if everybody thinks you should have the 2.5 editor.

i mean that works for me. I can give you guys a copy of the map if you have 2.8.5 and wanna check it out. It's not completely done but its getting there. Just working on adding in sounds and placing a few more random objects everywhere.
Title: Re: 2.8 Map Converting
Post by: Spanky on Saturday, May 19, 2012, 12:27:18 PM
I think you're at a point where you're showing increased momentum and haven't given up. I want to see what others think.
Title: Re: 2.8 Map Converting
Post by: BlueBlaster on Saturday, May 19, 2012, 14:36:59 PM
Your not done boy, keep working.
Title: Re: 2.8 Map Converting
Post by: Archeh on Saturday, May 19, 2012, 15:46:32 PM
While I support max getting the editor, I think he should create a small map from scratch beforehand. Together with hospital that should exemplify a wide range of editor skills. He seems to have learned a lot in a time only bested by Killaman :p
Title: Re: 2.8 Map Converting
Post by: august on Saturday, May 19, 2012, 17:41:36 PM
if I am understanding correctly, I would be fine with him getting the editor and working on moving 2.8.5 maps to 2.5
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Saturday, May 19, 2012, 18:10:13 PM
hahah ive come to realize with this editor you are NEVER done working.
Title: Re: 2.8 Map Converting
Post by: Alex on Saturday, May 19, 2012, 18:48:42 PM
I say give him the 2.5 editor. I'd like to see what he can make from scratch though. When it comes to making maps, creativity is just as important as knowing all the technical aspects of the editor. It doesn't matter how much you know if you can't create a balanced and creative map.
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Saturday, May 19, 2012, 19:20:25 PM
I say give him the 2.5 editor. I'd like to see what he can make from scratch though. When it comes to making maps, creativity is just as important as knowing all the technical aspects of the editor. It doesn't matter how much you know if you can't create a balanced and creative map.

My plan is to most definitely make my own map. I wanted to start with editing an already existing map to get my bearings with the editor. I've been planning out my own map in my head the whole time doing this and as soon as this hospital project is done I shall start building my own map.
Title: Re: 2.8 Map Converting
Post by: august on Saturday, May 19, 2012, 19:20:56 PM
Personally, I would rather have him first move the 2.8.5 maps over to Assist before attempting to create a new one.
Title: Re: 2.8 Map Converting
Post by: Spanky on Saturday, May 19, 2012, 19:28:17 PM
Personally, I would rather have him first move the 2.8.5 maps over to Assist before attempting to create a new one.

Plural? As in, all the maps that aren't in 2.5? Not just the Hospital one he's working on?
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Monday, May 21, 2012, 13:00:04 PM
ahahaha. soooo whats the word on me getting the 2.5 editor??  ;D
Title: Re: 2.8 Map Converting
Post by: BiG_SerGiO on Tuesday, May 22, 2012, 06:31:01 AM
ahahaha. soooo whats the word on me getting the 2.5 editor??  ;D

Create a poll asking. I will vote yes on you :)
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Thursday, May 24, 2012, 11:38:22 AM
so what happens when i come across aao files in the process of converting? what do i do with them?
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Thursday, May 24, 2012, 16:54:32 PM
Aright well I got everything converted and when I open the map in the 2.5 editor it's all there. But i can only view it in wireframe mode and I can't open it in game? Help someone?
Title: Re: 2.8 Map Converting
Post by: Spanky on Thursday, May 24, 2012, 17:02:06 PM
Build all.
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Thursday, May 24, 2012, 17:13:42 PM
Build AmericasArmy_Build_[2004-06-01_02.01.01]

OS: Windows NT 6.1 (Build: 7601)
CPU: GenuineIntel PentiumPro-class processor @ 2195 MHz with 4090MB RAM
Video: NVIDIA GeForce 9300M GS (8562)

General protection fault!

History: ASceneManager::CheckForErrors <- FPathBuilder::definePaths <- UEditorEngine::Exec_Paths <- UEditorEngine::Exec <- (PATHS DEFINE) <- UUnrealEdEngine::Exec <- WPageOptions::BuildPaths <- WPageOptions::OnBuildClick <- WEditorFrame::OnCommand <- WWindow::WndProc <- WWindow::StaticProc <- MessagePump <- MainLoop


this is the critical error i get when i do a build all.



Title: Re: 2.8 Map Converting
Post by: Spanky on Thursday, May 24, 2012, 17:38:03 PM
It mentions Scene Manager. Go look for matinees and delete them. There's 2 or so in Hospital and I think they're used for helicopter fly-overs.

I still recommend you re-do your work (now that you've learned more) on the 2.5 version (building off the updated one). That or just copying your work out of 2.8 and pasting it into the 2.5 one. Just a suggestion :)
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Thursday, May 24, 2012, 18:53:25 PM
Yeah im building over the one thats already there. NEVER again will you catch me trying to convert a 2.8 map to 2.5 haha
Title: Re: 2.8 Map Converting
Post by: Spanky on Thursday, May 24, 2012, 19:37:14 PM
Converting is nice to have, especially when considering the alternative of doing it manually but your case is kinda unique where the map does exist in 2.5.
Title: Re: 2.8 Map Converting
Post by: Koden on Friday, May 25, 2012, 14:21:22 PM
so what happens when i come across aao files in the process of converting? what do i do with them?

When i converted Interdiction i setted up a -285 class file for each kind of material i had to use for a decent porting, being it sound, a static mesh or a texture (so there's a S-285, an M-285 and a T-285). You can use them too if you need some object that hasn't a suitable similar option in the 2.5 packages (briefly, don't place things that already are on 2.5). When updating a file, no matter being a map or anything else, remember to upload it on Dropbox and let us guys know, possibly using the changelog.

Ah, btw you can also detect and possibly switch materials links in the file code, but i'd bet Spanky already told you about that.


P.s. you don't want to manually convert a whole map like Hospital editing the code, trust me. Many other maps are far more suitable (smaller sizes and a smaller object count).
Title: Re: 2.8 Map Converting
Post by: Maxbulldog_53 on Friday, May 25, 2012, 17:17:18 PM
When i converted Interdiction i setted up a -285 class file for each kind of material i had to use for a decent porting, being it sound, a static mesh or a texture (so there's a S-285, an M-285 and a T-285). You can use them too if you need some object that hasn't a suitable similar option in the 2.5 packages (briefly, don't place things that already are on 2.5). When updating a file, no matter being a map or anything else, remember to upload it on Dropbox and let us guys know, possibly using the changelog.

Ah, btw you can also detect and possibly switch materials links in the file code, but i'd bet Spanky already told you about that.


Im not sure i follow. How do you set up these files? I didnt know there was a way to convert maps that wasnt just going in and changing all that crap manually.


P.s. you don't want to manually convert a whole map like Hospital editing the code, trust me. Many other maps are far more suitable (smaller sizes and a smaller object count).
Title: Re: 2.8 Map Converting
Post by: Koden on Saturday, May 26, 2012, 02:49:03 AM

Im not sure i follow. How do you set up these files? I didnt know there was a way to convert maps that wasnt just going in and changing all that crap manually.

I took a look over Rummage, it "only" was about 77.000 rows of code (with just 30 AAO links), Interdiction was approx 180.000 just with the interiors (with about 1350 AAO links). They are just different maps built in different times, that's why i said smaller maps with smaller object count. It also matter whether how far in time those map were developed (Interdiction features NPCs and they unfortunatly can't be replaced but have to be taken out).


Try looking in your Static Meshes, sound and texture folders.

Download notepad++ and go check the amount, and type of materials you need to replace or eventually save in those *-285 files. I've done it already a few days ago and i recall there were about 20/30 copies of AAO materials being used in your map, which is a really small amount.


(The following is only worthy to replace materials that already are in 2.5, or to test whether or not they actually are in the same package).
By using notepad++ to edit the code (Select all actors - copy - paste into N++) you can select a piece of code:

Code: [Select]
T_AA2_Concrete.Wall.Conc2

and substitue it with

Code: [Select]
T2-CONCRETE.Wall.Conc2
This will work fine for many materials, it might not work for some others, but it surely is much faster than replacing each one by hand, also because you can do that for all the copies that relies on each sub-container of the package. You can look over packages content if you doubt whether a material is available or not, and if it is where it's supposed to be. For a rule of thumb, AA2 content related packages feature that "2" after the tag as shown above (T_AA2_Concrete.Wall.Conc2 - package in red, tag in green, the bold one is the first part of the material name).

Btw the one i used for this example was

Quote
T2-Concrete.Wall.Conc2_Wall_Chipwall_Spottedb

Keep in mind, as i said that you don't want to convert a whole map this way and especially you don't need to do that if you already have it on 2.5! The amount of possible mistakes you can achieve while editing the code by hand is just out of measure.
Title: Re: 2.8 Map Converting
Post by: SPC-D.Pelerine[3rdID] on Sunday, September 16, 2012, 00:59:04 AM
i made a map for the unit i am with that was made for AA2.8.5 and now i want to convert it to AA2.5 can i get a copy of the AA2.5 editor so i can finish the map
Title: Re: 2.8 Map Converting
Post by: ELiZ on Friday, January 25, 2013, 06:53:19 AM
Here is a new tutorial I've written on how to convert 2.8.5 maps.

https://dl.dropbox.com/u/62876385/2.8.5MapConversionTutorialv0.2.pdf