Mirage Source http://miragesource.net/forums/ |
|
Map converter? http://miragesource.net/forums/viewtopic.php?f=201&t=147 |
Page 1 of 11 |
Author: | Jobs [ Wed Jun 14, 2006 3:45 am ] |
Post subject: | Map converter? |
Hate to pop back just to ask for something...but does anyone have the old map converter thing? If ya do can ya email it to me at mailto:jobs248@yahoo.com thanks =) and of course post a post in reply =O |
Author: | Belier13 [ Wed Jun 14, 2006 9:30 am ] |
Post subject: | |
IF you know how to code it's kinda simple; ( taken from MS source ) Code: Sub ConvertOldMapsToNew()
Dim FileName As String Dim i As Long Dim F As Long Dim X As Long, Y As Long Dim OldMap As OldMapRec Dim NewMap As MapRec For i = 1 To MAX_MAPS FileName = App.Path & "\maps\map" & i & ".dat" ' Get the old file F = FreeFile Open FileName For Binary As #F Get #F, , OldMap Close #F ' Delete the old file Call Kill(FileName) ' Convert NewMap.Name = OldMap.Name NewMap.Revision = OldMap.Revision + 1 NewMap.Moral = OldMap.Moral NewMap.Up = OldMap.Up NewMap.Down = OldMap.Down NewMap.Left = OldMap.Left NewMap.Right = OldMap.Right NewMap.Music = OldMap.Music NewMap.BootMap = OldMap.BootMap NewMap.BootX = OldMap.BootX NewMap.BootY = OldMap.BootY NewMap.Shop = OldMap.Shop For Y = 0 To MAX_MAPY For X = 0 To MAX_MAPX NewMap.Tile(X, Y).Ground = OldMap.Tile(X, Y).Ground NewMap.Tile(X, Y).Mask = OldMap.Tile(X, Y).Mask NewMap.Tile(X, Y).Anim = OldMap.Tile(X, Y).Anim NewMap.Tile(X, Y).Fringe = OldMap.Tile(X, Y).Fringe NewMap.Tile(X, Y).Type = OldMap.Tile(X, Y).Type NewMap.Tile(X, Y).Data1 = OldMap.Tile(X, Y).Data1 NewMap.Tile(X, Y).Data2 = OldMap.Tile(X, Y).Data2 NewMap.Tile(X, Y).Data3 = OldMap.Tile(X, Y).Data3 Next X Next Y For X = 1 To MAX_MAP_NPCS NewMap.Npc(X) = OldMap.Npc(X) Next X ' Set new values to 0 or null NewMap.Indoors = NO ' Save the new map F = FreeFile Open FileName For Binary As #F Put #F, , NewMap Close #F Next i End Sub you also need old map and new map rec, once again if you know how to code.. |
Author: | Matt [ Wed Jun 14, 2006 1:57 pm ] |
Post subject: | |
Jobs knows how to code, he was just asking for a converter that was released awhile ago. Sorry Jobs, I havn't seen the converter in ages. |
Author: | funkynut [ Wed Jun 14, 2006 2:21 pm ] |
Post subject: | |
wow, havent seen you in ages jobs, anyway, what converter was it? |
Author: | Dragoons Master [ Wed Jun 14, 2006 2:30 pm ] |
Post subject: | |
Are you talking about mine? I did it a while ago, but I'm not home right now. When I'm back home I can send you. But Iwont be back home until the end of the weekend becouse I'm going to travel for a while. Its not hard, but mine is very simple to convert, you copyyour OldMapRecand the New MapRec and it does all the rest. |
Author: | Obsidian [ Wed Jun 14, 2006 2:33 pm ] |
Post subject: | |
i have one. when i get home tonight i'll dig through my old stuff and upload that and the code for 'sise |
Author: | L&M [ Wed Jun 14, 2006 6:39 pm ] |
Post subject: | |
its on the esyluim diamond site Click Me You know you want to |
Author: | Jobs [ Wed Jun 14, 2006 8:39 pm ] |
Post subject: | |
Thanks everyone, and I've been busy workin hard in school so I didn't fail xD then I got caught up in a NWN addiction...now I'm just talkin to my gf on the phone and workin on an OLD game of mine that I found on a CD and adding a few things just so I can mess around with it but I need the map converter that I think it was Dragoons Master made a while ago...And ok Obsidian, just talk to me on yahoo jobs248, msn mailto:jobs248@hotmail.com or just email me at mailto:jobs248@yahoo.com thanks =) |
Author: | Obsidian [ Wed Jun 14, 2006 10:50 pm ] |
Post subject: | |
You can download here. http://xthost.info/endieko/Map%20Converter.rar |
Author: | Jobs [ Wed Jun 14, 2006 10:55 pm ] |
Post subject: | |
Thanks Obsidian! |
Author: | wanai [ Fri May 27, 2022 4:48 am ] |
Post subject: | Re: Map converter? |
XVII |
Author: | wanai [ Fri May 27, 2022 4:49 am ] |
Post subject: | Re: Map converter? |
189.3 |
Author: | wanai [ Fri May 27, 2022 4:50 am ] |
Post subject: | Re: Map converter? |
demo |
Author: | wanai [ Fri May 27, 2022 4:51 am ] |
Post subject: | Re: Map converter? |
Figu |
Author: | wanai [ Fri May 27, 2022 4:52 am ] |
Post subject: | Re: Map converter? |
Nort |
Author: | wanai [ Fri May 27, 2022 4:53 am ] |
Post subject: | Re: Map converter? |
Yerb |
Author: | wanai [ Fri May 27, 2022 4:54 am ] |
Post subject: | Re: Map converter? |
Step |
Author: | wanai [ Fri May 27, 2022 4:56 am ] |
Post subject: | Re: Map converter? |
Papu |
Author: | wanai [ Fri May 27, 2022 4:57 am ] |
Post subject: | Re: Map converter? |
Just |
Author: | wanai [ Fri May 27, 2022 4:58 am ] |
Post subject: | Re: Map converter? |
Andr |
Author: | wanai [ Fri May 27, 2022 4:59 am ] |
Post subject: | Re: Map converter? |
Fido |
Author: | wanai [ Fri May 27, 2022 5:00 am ] |
Post subject: | Re: Map converter? |
XVII |
Page 1 of 11 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |