Mirage Engine
Map Size - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Map Size (/showthread.php?tid=1249)



Map Size - NejiHyuga - 03-09-2007

Where do you go to change the map size of the game? Like i may want it like elyisum.


Re: Map Size - Matt - 03-09-2007

MAX_MAP_X
MAX_MAP_Y


Re: Map Size - NejiHyuga - 03-09-2007

What module is it in server side?


Re: Map Size - Matt - 03-09-2007

303 I think it's in modTypes.
MSE1, I THINK it's in modDeclares.

Could also press alt+F and search for it. Tongue


Re: Map Size - NejiHyuga - 03-09-2007

Alright, thanks for your help. Smile
Is this it?

' 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


Re: Map Size - Robin - 03-09-2007

NejiHyuga Wrote:Alright, thanks for your help. Smile
Is this it?

' 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

You need to find where MAX_MAPX and MAX_MAPY are set.

So search for this:
Code:
max_mapx =



Re: Map Size - NejiHyuga - 03-09-2007

Ok, i'm having a error with this. I change the MAPX AND Y on server and client, still didn't work. Any help?


Thanks, Joachim.


Re: Map Size - Coke - 04-09-2007

brb cutting my own wrists...

k back.

Server side:

max_mapx = 1
max_mapy = 1

Client side:

max_mapx = 1
max_mapy=1

Delete all maps server side.

Gratz you now have 2x2 maps.

The endz.


Re: Map Size - NejiHyuga - 04-09-2007

Edit: I change the map size of x and y and as well as theserver folder and cleint and the maps just coming back and nothing is happening.


Re: Map Size - Rezeyu - 05-09-2007

There IS a tutorial on this..


Re: Map Size - NejiHyuga - 05-09-2007

Where???


Re: Map Size - Rezeyu - 05-09-2007

In Tutorials section probably..

Yep, here, a picScreen tutorial for changing map size: viewtopic.php?f=75&t=175


Re: Map Size - NejiHyuga - 07-09-2007

Ok, the map size works, I have another question.
Do you no how to keep fullscreen and not restore down?


Re: Map Size - William - 07-09-2007

NejiHyuga Wrote:Ok, the map size works, I have another question.
Do you no how to keep fullscreen and not restore down?
Please create a new topic for new questions. So people know what they are looking at.

There are tutorials for fullscreen.


Re: Map Size - NejiHyuga - 07-09-2007

Ok, i'll do that now. Also thanks for helping me.
EDIT: Still couldn't find it, i used search


Re: Map Size - Rezeyu - 08-09-2007

Search doesn't work for old topics.


Re: Map Size - NejiHyuga - 08-09-2007

Oh, i didn't know about that..


Re: Map Size - Rezeyu - 08-09-2007

I didn't either till I was trying to search for one of my own posts..

XD


Re: Map Size - NejiHyuga - 08-09-2007

I used ControlBox and i put fullscreen instead but when i get on client, i get a runtimeerror9.


Re: Map Size - Coke - 08-09-2007

Maybe you should try working on something a lil easier first.. like learning to use notepad or something ^_^

I even searched the tutorial for you :*

How to use notepad


Re: Map Size - NejiHyuga - 08-09-2007

Eh? I think i fix it..Also i forgot to change the screen in some ways. Like the top of the screen for example. I'll ask anymore questiions about this if i get another error.

EDIT: ok i get this error.
[Image: Help.png]

All i did was change the mapx to 64 and mapy to 24 on client/server on Module ModConstant.


Re: Map Size - Robin - 08-09-2007

That's a fucking retarded amount of fucking tiles.

Change it to something more realistic you tit.


Re: Map Size - Coke - 10-09-2007

Given that it doesent even count the first tile (since its zero), your having 65x65 tiles, thats 4225 tiles... jeesus christ?