Adding an area to the world map, and being able to travel to it?
#1
Posté 17 novembre 2009 - 02:26
#2
Posté 17 novembre 2009 - 03:10
#3
Posté 17 novembre 2009 - 03:32
#4
Posté 17 novembre 2009 - 03:58
First, create a new map.
In the object inspector, set the map to wide open world.
Right click anywhere on the map shown and click "insert pin"
Name the pin using the object inspector window.
Export the map without the dependencies. Generate your module xml/manifest.
Now the tricky part, open up the actual file that was exported. It's going to be in the core->override->toolsetexport file
when that file is opened up in the object inspector, under the name MAP_MAP_PARENT_RESREF
it has a blank value. You need to set that value as "wide_open_world"
save it as the same file in the toolsetexport folder you found it in.
That will place a pin on the map. I havn't gone any further yet though and linked that pin to an area but I am sure it isn't difficult and someone here knows. I'm still in the process of making my area come to life in my module but if I happen to find out how to link the pin to area before I start exploring it on my own I'll post it here.
#5
Posté 17 novembre 2009 - 04:07
hwlreckles wrote...
If you know how to create a module then go ahead and do that.
First, create a new map.
In the object inspector, set the map to wide open world.
Right click anywhere on the map shown and click "insert pin"
Name the pin using the object inspector window.
Export the map without the dependencies. Generate your module xml/manifest.
Now the tricky part, open up the actual file that was exported. It's going to be in the core->override->toolsetexport file
when that file is opened up in the object inspector, under the name MAP_MAP_PARENT_RESREF
it has a blank value. You need to set that value as "wide_open_world"
save it as the same file in the toolsetexport folder you found it in.
That will place a pin on the map. I havn't gone any further yet though and linked that pin to an area but I am sure it isn't difficult and someone here knows. I'm still in the process of making my area come to life in my module but if I happen to find out how to link the pin to area before I start exploring it on my own I'll post it here.
Ok, thanks. Im gonna start looking into see where i can go from there to.
#6
Posté 17 novembre 2009 - 05:11
Anybody actually successfully visited their area from the main campaign ?
#7
Posté 17 novembre 2009 - 05:23
#8
Posté 17 novembre 2009 - 05:41
#9
Posté 17 novembre 2009 - 06:50
#10
Posté 17 novembre 2009 - 07:50
#11
Posté 17 novembre 2009 - 07:52
Vroongel wrote...
I've done that and my pin shows on the map in main campaign however every time I try to travel there game hangs (actually it never stops showing the loading screen). I can load my area as stand alone module just fine so the issue is in tying pin to the area properly.
Anybody actually successfully visited their area from the main campaign ?
I've done it fine on mine. Make sure the map pin has the right area tag and use a waypoint override on the pin to specify the waypoint to load into. The other thing is make sure that your mod (and any other mods you use) do not use module_core as their script. Set it to (none) or to your own script. I found that occasionally hangs on area transitions to inserted areas.
oh the other thing you need:
Add a trail to the map. Set the start tag to a pin that exists on the wide_open_world map from the single player campaign (you may need to extract the map from the erf and look up the tag to know what to put here) and set the end tag to your pin's tag.
Modifié par eiham, 17 novembre 2009 - 07:54 .
#12
Posté 17 novembre 2009 - 07:53
#13
Posté 17 novembre 2009 - 07:57
#14
Posté 17 novembre 2009 - 09:39
#15
Posté 17 novembre 2009 - 10:08
EDIT: There's a good chance it was al hokey since I was having module_core issues.
Modifié par eiham, 17 novembre 2009 - 10:09 .
#16
Posté 17 novembre 2009 - 10:11
#17
Posté 17 novembre 2009 - 10:14
#18
Posté 17 novembre 2009 - 10:26
#19
Posté 17 novembre 2009 - 10:27
#20
Posté 17 novembre 2009 - 11:04
#21
Posté 18 novembre 2009 - 12:52
eiham wrote...
BTW I have to say, the avatars in this thread = win.
Lol. Definitly have to agree.
#22
Posté 18 novembre 2009 - 02:36
Yeap, that did it, thanks!avantoreon wrote...
Here's the tutorial:
http://social.biowar...mpaign_Tutorial
Please do, I'm interested in that as welleiham wrote...
I can do something when I get home. Avan, you mind if I add it to your tutorial page? (or at least a link to it)
Modifié par Vroongel, 18 novembre 2009 - 02:38 .
#23
Posté 18 novembre 2009 - 03:04
Updated tutorial: http://social.biowar...mpaign_Tutorial
Map Pin List: http://social.biowar...gn_Map_Pin_List
EDIT: Will do some more later. Baby was fussy so I didn't get much done this evening.
Modifié par eiham, 18 novembre 2009 - 03:05 .
#24
Posté 18 novembre 2009 - 03:46
#25
Posté 18 novembre 2009 - 04:08
I am as far as seeing the location on my map, and I can click it, but I am getting a hang on the loading.
1. I am using the wm_ico_hut as my pin image and hut pin type.
2. Do I need to include .are in the area tag and tag? I just have it listed myhut (should be myhut.are ?)
I also notice in Fig 5 in your tag slot, you have "maptut_pin" Any significance to that? Could not find anything in the tut about it. Should I just put myhut_pin?
I'll keep screwing around while I wait for a response =)





Retour en haut






