Jump to content

Attempting to test map in custom mod


MonolithicBacon

Recommended Posts

Hello once again, gents!

 

So, I'm trying to test the map in game to check that some of my designs actually work, and to do so I've followed some of the advice here on the forums.

 

http://theindiestone.com/forums/index.php/topic/11019-custom-map/

 

Using the above link, I've gotten most of the way there, but upon loading, I always get the same error within the console.txt file:

 

using spawn region Phoenix
1 possible spawn points
tiledef: loading media/tiledefinitions.tiles
tiledef: loading media/newtiledefinitions.tiles
tiledef: loading media/tiledefinitions_erosion.tiles
can't find map objects file: media/maps/Phoenix/objects.lua
MAX #ZONES is 0
java.lang.NullPointerException
at zombie.iso.IsoWorld.init(IsoWorld.java:1373)
at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:255)
at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:193)
at java.lang.Thread.run(Thread.java:724)
 
As per usual, I imagine that this is because of something very simple, but I'm hoping someone out there knows!
 
Thanks.
Link to comment
Share on other sites

This means your spawn point is not inside the map.

{ worldX = 39, worldY = 23, posX = 61, posY = 23, posZ = 0 },

Look at the bottom of the WorldEd window:

 

WorldEd-coords.png

"Current cell: 39,23" would become worldX=39 and worldY=23.

"Cell x,y=61,23" would become posX=61 and posY=23.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...