69GIAP / 69GIAPBosWar

1 stars 1 forks source link

Access to BOS mission editor #121

Open 69giapstenka opened 10 years ago

69giapstenka commented 10 years ago

I have been discussing Stalingrad Mission Editor issues with Foxy and it seems that he is getting us access to a development version of the mission editor. I will set him up with access to github etc.

This means we have a significant workload arriving.

Tushka, what do you need to introduce the new Stalingrad maps to BOSWAR?

69giaptushka commented 10 years ago

The mission editor will do fine. :)

69giapstenka commented 10 years ago

Viks says I will probably receive mission editor Monday or Tuesday.

When I have it up and running we will request formal access for you and you sign NDA.

I don't want to snowball multiple requests till my foot is firmly in the door and I have eaten the contents of the fridge

69giapmyata commented 10 years ago

I don't require access.

69giaptushka commented 10 years ago

An NDA would be welcome so long as it doesn't inhibit our work on BOSWAR.

69giapmyata commented 10 years ago

But why not getting access to it - doesn't hurt. I agree to TUSHKA but this is obvious for our little project.

69giapstenka commented 10 years ago

An NDA is normal, it means if they give us confidential pre release stuff we do not give it to anyone else or talk about it outside of our development group.

I will ask for mission editor for Tushka but not until I have received it myself.

At the moment they have accepted to supply it to me. If I start asking for multiple copies someone in charge might get involved. Patience

PB0-Foxy commented 10 years ago

Hey guys ! Foxy in the place ;) Thx to stenka to have took of his spare time to explain me everything about this project.

I don't know if Tushka already has acces or not to the mission editor yet but if you need me to help you by creating something in the mission editor and play it in a way to have a log file just ask it to me and I will do it.

69giapmyata commented 10 years ago

Welcome to our project Foxy!

PB0-Foxy commented 10 years ago

Thx Myata :)

69giaptushka commented 10 years ago

Salute, Foxy! Sorry to not have replied right away, but I just got back from Chicago last night and this is the first I've fired up my computer.

What I need most is a text log that shows destruction of all (or many, or even a nice variety of) ground items like vehicles, artillery, bunkers, trains, etc because while I can get the "Model" name for an object directly from a mission file, I need to destroy that item and log that destruction to find out what name the log uses for that same Model. It is sometimes the same, but often not. I've been doing this with the QMB, but it is a slow process, as you can imagine. :)

The more text logs I have to chew on, the better the log parser will be. At the moment many of the "object_type" (i.e. log names for) entries for the BoS items are unverified guesses. :)

PB0-Foxy commented 10 years ago

I should be able to do this tonight. I have to make a mission with all the vehicles available in the mission editor and use the damage trigger and "kill" all those objects

69giaptushka commented 10 years ago

Great! That will help enormously with the bos_object_properties file!

Now Stenka's question also included the Stalingrad map. I've finished the Lapino map, but I don't yet have a handle on the Stalingrad map. What resources do you have that might help?

PB0-Foxy commented 10 years ago

I have the mission editor and the stalingrad map is inside so what do you need to include a map in BOSWAR ?

PB0-Foxy commented 10 years ago

let's give you some stuff to work with ! here are some mission files and mission reports I've made for you. http://pb0.foxy.free.fr/BOSWAR/missions-reports.zip

You should find usefull stuff for your business but if you need more informations just ask me

69giaptushka commented 10 years ago

Thanks, Foxy. The first one (dmg_all_V2) gave me about a dozen or so corrections. This is very helpful.

The second one (V3) though has something curious. The log files give more than the name... e.g.: instead of static_Yak1 it gives static_Yak1[6,0]. It is the [6,0] or [10,0] etc part that is unexpected. The first digit increases throughout the log with successive static objects, but this is not the object number. The second digit is always 0.

This "[integer,0]" appendage only appears on those items that begin with "static_".

Do you have any idea what it is for?

I'll have to trim it off before my parser will be able to find the objects.

Oh, and for some unknown reason none of the trains were destroyed.

69giaptushka commented 10 years ago

As for the staingrad map, the editor that Stenka provided only contains the small map. Here are the name of the files that are included - perhaps we are missing something... or perhaps we just don't know how to get to the stalingrad map.

CameraMan.dll CameraMan.ilk dxBackend.dll enviro.dll gfxShared.dll landscape.dll math.dll mgcommon.dll MissionManager.dll Registry.dll renderers.dll STEditor.ext STEditor.ilk

PB0-Foxy commented 10 years ago

I have no idea for the moment about what are those "[integer,0]" appendage on the static objects. I will try to investigate on that later.

I will try to give you a mission report files about trains tomorow.

To switch between maps in the mission editor you have to load a mission already saved. The first time I used a mission directly generated by the QMB. (you can select the map in the QMB) Anyway here is a zip file with a template of the Stalingrad map. Just unzip it in your mission folder and then open it in the mission editor. It should load normally http://pb0.foxy.free.fr/BOSWAR/Stalingrad_Template.zip

69giaptushka commented 10 years ago

Thanks, Foxy. That works great. You've now given me enough to chew on that I'll stay out of mischief for a good long time. :)

PB0-Foxy commented 10 years ago

Good luck then ;)

69giaptushka commented 10 years ago

Question for Foxy:

If I save a mission generated by the mission editor in the Missions directory, it shows up nicely in my Missions list. However, when I try to launch it I get an error message: This mission is not available to your account.

Is there some easy work-around?

I am trying to determine if including the data/Template/StalinMapLegend.Group would give me the names of towns and villages on the in-game map.

So far all I have is the names of airfields, and I don't see any town/village names on the QMB Stalingrad in-game map. (Obviously that will need to change for multi-player... otherwise how would a player describe his/her position when not close to an airfield?)

69giaptushka commented 10 years ago

Hmmm. The StalinMapLegend.Group only has about 89 entries... and that is about the total number of airfields, so there are probably no town and village names in there... otherwise there would be many more entries (600-700).

PB0-Foxy commented 10 years ago

You can load custom mission made by the mission editor only with the beta version of the game. So you need to be a beta tester for that

I didn't really check about the the groups files included in the template folder yet. I will have a look and if needed I will talk about that on the beta test forums. I will also ask about the digit in the static lines of the log files.

69giaptushka commented 10 years ago

Thanks. There is no point in adding town and village names to the map locations file if they are not named on the in-flight map, so I suppose the best question to the developers would be whether those names will be shown in the final version.

The data/Template/Stalingrad_ALL_Towns.Group has the locations of all the towns and villages, but none of their names.

PB0-Foxy commented 10 years ago

Tushka, just to let you know I've asked the devs about the displaying of city names on the Stalingrad map and about the digit of the log files after static objects. Now we just have to wait for their answers.

here is a report for trains destruction. http://pb0.foxy.free.fr/BOSWAR/trains.zip The damage command doesn't work on trains so I had to take an Il2 and strike them. That's why there is so many lines in the log file this time (sorry for the extra load of work)

train is set to german but be adviced there is 2 AAA carriages for each coalitions 61k and m4 are russians and flak38 and mg34 are german. All the other cariages can be used by both coalitions

69giaptushka commented 10 years ago

Thanks for asking, and thanks for the trains. Perhaps we should do bridges next. They will be important targets. Likewise any other strategic or tactical targets you can find... like factories (but I don't see any listed).

PB0-Foxy commented 10 years ago

Here are the bridges: http://pb0.foxy.free.fr/BOSWAR/Bridges.zip

69giaptushka commented 10 years ago

Thanks, Foxy, that worked nicely.

PB0-Foxy commented 10 years ago

I had the answer from the devs.

About the map, here is the answer: Stalingrad map is not yet ready, UI artist is still working on it.

Sadly they misunderstood my question for the digit between [ ] They gave me the description of the Atype. As there were some changements between RoF and BoS this is also interesting here they are:

  1. LET_MISSION_START,
  2. LET_HIT,
  3. LET_DAMAGE,
  4. LET_KILL,
  5. LET_PLAYER_MISSION_END,
  6. LET_TAKEOFF,
  7. LET_LANDING,
  8. LET_MISSION_END,
  9. LET_MISSION_OBJECT,
  10. LET_AIRFIELD,
  11. LET_PLAYERPLANE,
  12. LET_GROUPINIT,
  13. LET_GAMEOBJECTINVOLVED,
  14. LET_INFLUENCEAREA_HEADER,
  15. LET_INFLUENCEAREA_BOUNDARY,
  16. LET_LOG_VERSION,
  17. LET_BOT_UNINIT,
  18. LET_POSCHANGED,
  19. LET_BOT_EJECTLEAVE,
  20. LET_ROUND_END,

Edit: I had the answer for the digit : This digit is simply an ID of the mentioned static object.

69giaptushka commented 10 years ago

Very interesting! I called AType 17 'PLANEPOS' because it only shows positions for aircraft, and I called ATYPE 18 'BOTKILL' because it shows when and where a bot was killed. I haven't actually used the data from either of these for anything. The parser already knows about the dead bots from the KILL entry.

We don't need the 'ID' of a static object as it will be tracked by it's name, which is the name of the group it is in. For the purposes of the parser, I just strip off the ID and all is well again. :)