TowerDefence.net Forums
Home
Forum
Contact
Search
Go Back   Tower Defence Forums > Tower Defence Games > Online games > Hex Tower Defence

Hex Tower Defence Hex Tower Defence

Reply
 
Thread Tools Display Modes
Old October 14th, 2009, 11:32 PM   #1
PTTG
Tower
Points: 51, Level: 3
Points: 51, Level: 3 Points: 51, Level: 3 Points: 51, Level: 3
Activity: 46%
Activity: 46% Activity: 46% Activity: 46%
 
Join Date: Oct 2009
Posts: 6
PTTG is a normal user
Default Problem with custom map

I thought I'd try out a map, but it's not working; whenever I paste it into the single player load window, all I get is a black screen. Here's the code:

Code:
{"backGroundImage":"","budget":700,"gridData":["b b n n b p p p p p n n n","b n n b p b b b b b b n","n n n b p b p p p p p b n","n n b p b p b b b b p b","n n b p b p b b b n b p b","b n b p b p b b b n b p","p b n b p p p p p b n b p","p b n b b b p b p b n b","b p b n b b b p b p b n n","b p b b b b p b p b n n","n b p p p p p b p b n n n","n b b b b b b p b n n b","n n n p p p p p b n n b b"],"info":"Author: <b>PTTG</b><br>Spiral Arm\n","interestIncrease":5,"interestStart":5,"lives":20,"orientation":0,"paths":[{"baseDelay":0.0,"owner":-1,"target":0,"waypoints":[[9,0],[8,0],[7,0],[6,0],[5,0],[4,1],[4,2],[3,3],[3,4],[3,5],[4,6],[5,6],[6,6],[6,7],[7,8],[6,9],[6,10],[5,10],[4,10],[3,10],[2,10],[1,9],[1,8],[0,7],[0,6]]},{"baseDelay":0.0,"owner":-1,"target":0,"waypoints":[[3,12],[4,12],[5,12],[6,12],[7,12],[7,11],[8,10],[8,9],[9,8],[8,7],[8,6],[7,6],[6,6],[5,5],[5,4],[5,3],[6,2],[7,2],[8,2],[9,2],[10,2],[10,3],[11,4],[11,5],[12,6]]}],"story":"","title":"Simetricente","towers":[],"waves":[{"crps":[["15","Nyr"]],"hp":225,"rw":1,"sc":1},{"crps":[["15","Nrr"]],"hp":259,"rw":2,"sc":2},{"crps":[["15","Lgp"]],"hp":299,"rw":3,"sc":3},{"crps":[["15","Sff"]],"hp":346,"rw":4,"sc":4},{"crps":[["14","hg","pep"]],"hp":403,"rw":6,"sc":5},{"crps":[["16","Nhh"]],"hp":470,"rw":7,"sc":6},{"crps":[["16","Nbb"]],"hp":551,"rw":9,"sc":7},{"crps":[["16","Sss"]],"hp":648,"rw":11,"sc":8},{"crps":[["16","Nprp"]],"hp":766,"rw":13,"sc":9},{"crps":[["15","hg","pep"]],"hp":907,"rw":15,"sc":10},{"crps":[["17","Lyr"]],"hp":1080,"rw":17,"sc":11},{"crps":[["17","Srr"]],"hp":1289,"rw":19,"sc":12},{"crps":[["17","Ngp"]],"hp":1545,"rw":22,"sc":13},{"crps":[["17","Nff"]],"hp":1859,"rw":24,"sc":14},{"crps":[["16","hg","pep"]],"hp":2244,"rw":27,"sc":15},{"crps":[["18","Nhh"]],"hp":2719,"rw":30,"sc":16},{"crps":[["18","Lbb"]],"hp":3307,"rw":33,"sc":17},{"crps":[["18","Lss"]],"hp":4036,"rw":36,"sc":18},{"crps":[["18","Nprp"]],"hp":4945,"rw":39,"sc":19},{"crps":[["17","hg","pep"]],"hp":6079,"rw":43,"sc":20},{"crps":[["19","Nyr"]],"hp":7500,"rw":46,"sc":21},{"crps":[["19","Nrr"]],"hp":9287,"rw":50,"sc":22},{"crps":[["19","Sgp"]],"hp":11541,"rw":54,"sc":23},{"crps":[["19","Nff"]],"hp":14392,"rw":57,"sc":24},{"crps":[["18","hg","pep"]],"hp":18011,"rw":62,"sc":25},{"crps":[["20","Nhh"]],"hp":22620,"rw":66,"sc":26},{"crps":[["20","Sbb"]],"hp":28508,"rw":70,"sc":27},{"crps":[["20","Nss"]],"hp":36054,"rw":74,"sc":28},{"crps":[["20","Nprp"]],"hp":45757,"rw":79,"sc":29},{"crps":[["19","hg","pep"]],"hp":58273,"rw":84,"sc":30},{"crps":[["21","Nyr"]],"hp":74469,"rw":89,"sc":31},{"crps":[["21","Lrr"]],"hp":95496,"rw":94,"sc":32},{"crps":[["21","Sgp"]],"hp":122880,"rw":99,"sc":33},{"crps":[["21","Sff"]],"hp":158660,"rw":104,"sc":34},{"crps":[["20","hg","pep"]],"hp":205559,"rw":109,"sc":35},{"crps":[["22","Nhh"]],"hp":267226,"rw":115,"sc":36},{"crps":[["22","Nbb"]],"hp":348573,"rw":120,"sc":37},{"crps":[["22","Nss"]],"hp":456220,"rw":126,"sc":38},{"crps":[["22","Sprp"]],"hp":599125,"rw":132,"sc":39},{"crps":[["21","hg","pep"]],"hp":789435,"rw":138,"sc":40},{"crps":[["23","Nyr"]],"hp":1043679,"rw":144,"sc":41},{"crps":[["23","Lrr"]],"hp":1384410,"rw":151,"sc":42},{"crps":[["23","Lgp"]],"hp":1842487,"rw":157,"sc":43},{"crps":[["23","Nff"]],"hp":2460261,"rw":164,"sc":44},{"crps":[["22","hg","pep"]],"hp":3296027,"rw":170,"sc":45},{"crps":[["24","Shh"]],"hp":4430248,"rw":177,"sc":46},{"crps":[["24","Nbb"]],"hp":5974319,"rw":184,"sc":47},{"crps":[["24","Sss"]],"hp":8082902,"rw":191,"sc":48},{"crps":[["24","Nprp"]],"hp":10971351,"rw":198,"sc":49},{"crps":[["23","hg","pep"]],"hp":14940399,"rw":206,"sc":50},{"crps":[["25","Nyr"]],"hp":20411222,"rw":213,"sc":51},{"crps":[["25","Srr"]],"hp":27975381,"rw":221,"sc":52},{"crps":[["25","Lgp"]],"hp":38466148,"rw":228,"sc":53},{"crps":[["25","Nff"]],"hp":53060657,"rw":236,"sc":54},{"crps":[["24","hg","pep"]],"hp":73426586,"rw":244,"sc":55},{"crps":[["26","Nhh"]],"hp":101933378,"rw":253,"sc":56},{"crps":[["26","Nbb"]],"hp":141957220,"rw":261,"sc":57},{"crps":[["26","Sss"]],"hp":198322586,"rw":269,"sc":58},{"crps":[["26","Nprp"]],"hp":277943272,"rw":278,"sc":59},{"crps":[["25","hg","pep"]],"hp":390755541,"rw":286,"sc":60},{"crps":[["27","Nyr"]],"hp":551080241,"rw":295,"sc":61},{"crps":[["27","Lrr"]],"hp":779616458,"rw":304,"sc":62},{"crps":[["27","Sgp"]],"hp":1106367474,"rw":313,"sc":63},{"crps":[["27","Nff"]],"hp":1574946639,"rw":322,"sc":64},{"crps":[["26","hg","pep"]],"hp":2248931156,"rw":332,"sc":65},{"crps":[["28","Shh"]],"hp":3221263156,"rw":341,"sc":66},{"crps":[["28","Nbb"]],"hp":4628197212,"rw":351,"sc":67},{"crps":[["28","Nss"]],"hp":6670048923,"rw":361,"sc":68},{"crps":[["28","Lprp"]],"hp":9642144251,"rw":370,"sc":69}]}
Also, I'd like to make it so all waves appear evenly split on the two paths. How do I do this?
PTTG is offline   Reply With Quote
Old October 14th, 2009, 11:53 PM   #2
Johnydl
Aquamarine
Points: 217, Level: 7
Points: 217, Level: 7 Points: 217, Level: 7 Points: 217, Level: 7
Activity: 10%
Activity: 10% Activity: 10% Activity: 10%
 
Join Date: Sep 2009
Posts: 21
Johnydl is a normal user
Default Re: Problem with custom map

if you go to edit dont change any settings and restart the map it should load (does for me) don't know why i think there might be a conflict, noid already knows there's a problem ^_^
Johnydl is offline   Reply With Quote
Old October 15th, 2009, 11:10 AM   #3
The Noid
TowerDefence.net Game Project Developer
Points: 5,837, Level: 35
Points: 5,837, Level: 35 Points: 5,837, Level: 35 Points: 5,837, Level: 35
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
The Noid's Avatar
 
Join Date: Feb 2008
Posts: 832
The Noid is a normal user
Default Re: Problem with custom map

I just fixed that problem yesterday evening. Make sure you see version 0.10.9. If your version is older you probably need to clear your browser cache.

That map looks nice by the way
The Noid is offline   Reply With Quote
Old October 20th, 2009, 08:00 PM   #4
PTTG
Tower
Points: 51, Level: 3
Points: 51, Level: 3 Points: 51, Level: 3 Points: 51, Level: 3
Activity: 46%
Activity: 46% Activity: 46% Activity: 46%
 
Join Date: Oct 2009
Posts: 6
PTTG is a normal user
Default Re: Problem with custom map

It works great now. Made a few changes, but still figuring out the custom wave making:

Code:
{"backGroundImage":"","budget":700,"gridData":["b b n n n p p p p p n n n","b n n n p b b b b n n n","n n n n p b p p p p p n n","n n n p b p b b b b p n","n n n p b p b n b n n p n","n n n p b p b b b n n p","p n n b p p p p p b n n p","p b n b b b p b p b n n","n p b n b n b p b p n n n","n p b b b b p b p n n n","n n p p p p p b p n n n n","n n n b b b b p n n n b","n n n p p p p p n n n b b"],"info":"Author: <b>PTTG</b><br>Spiral Arm\n","interestIncrease":5,"interestStart":5,"lives":20,"orientation":0,"paths":[{"baseDelay":0.0,"owner":-1,"target":0,"waypoints":[[9,0],[8,0],[7,0],[6,0],[5,0],[4,1],[4,2],[3,3],[3,4],[3,5],[4,6],[5,6],[6,6],[6,7],[7,8],[6,9],[6,10],[5,10],[4,10],[3,10],[2,10],[1,9],[1,8],[0,7],[0,6]]},{"baseDelay":0.0,"owner":-1,"target":0,"waypoints":[[3,12],[4,12],[5,12],[6,12],[7,12],[7,11],[8,10],[8,9],[9,8],[8,7],[8,6],[7,6],[6,6],[5,5],[5,4],[5,3],[6,2],[7,2],[8,2],[9,2],[10,2],[10,3],[11,4],[11,5],[12,6]]}],"story":"","title":"Simetricente","towerOptions":[],"towers":[],"waves":[{"crps":[["15","Nyr"]],"hp":225,"rw":1,"sc":1},{"crps":[["15","Nrr"]],"hp":259,"rw":2,"sc":2},{"crps":[["15","Lgp"]],"hp":299,"rw":3,"sc":3},{"crps":[["15","Sff"]],"hp":346,"rw":4,"sc":4},{"crps":[["14","hg","pep"]],"hp":403,"rw":6,"sc":5},{"crps":[["16","Nhh"]],"hp":470,"rw":7,"sc":6},{"crps":[["16","Nbb"]],"hp":551,"rw":9,"sc":7},{"crps":[["16","Sss"]],"hp":648,"rw":11,"sc":8},{"crps":[["16","Nprp"]],"hp":766,"rw":13,"sc":9},{"crps":[["15","hg","pep"]],"hp":907,"rw":15,"sc":10},{"crps":[["17","Lyr"]],"hp":1080,"rw":17,"sc":11},{"crps":[["17","Srr"]],"hp":1289,"rw":19,"sc":12},{"crps":[["17","Ngp"]],"hp":1545,"rw":22,"sc":13},{"crps":[["17","Nff"]],"hp":1859,"rw":24,"sc":14},{"crps":[["16","hg","pep"]],"hp":2244,"rw":27,"sc":15},{"crps":[["18","Nhh"]],"hp":2719,"rw":30,"sc":16},{"crps":[["18","Lbb"]],"hp":3307,"rw":33,"sc":17},{"crps":[["18","Lss"]],"hp":4036,"rw":36,"sc":18},{"crps":[["18","Nprp"]],"hp":4945,"rw":39,"sc":19},{"crps":[["17","hg","pep"]],"hp":6079,"rw":43,"sc":20},{"crps":[["19","Nyr"]],"hp":7500,"rw":46,"sc":21},{"crps":[["19","Nrr"]],"hp":9287,"rw":50,"sc":22},{"crps":[["19","Sgp"]],"hp":11541,"rw":54,"sc":23},{"crps":[["19","Nff"]],"hp":14392,"rw":57,"sc":24},{"crps":[["18","hg","pep"]],"hp":18011,"rw":62,"sc":25},{"crps":[["20","Nhh"]],"hp":22620,"rw":66,"sc":26},{"crps":[["20","Sbb"]],"hp":28508,"rw":70,"sc":27},{"crps":[["20","Nss"]],"hp":36054,"rw":74,"sc":28},{"crps":[["20","Nprp"]],"hp":45757,"rw":79,"sc":29},{"crps":[["19","hg","pep"]],"hp":58273,"rw":84,"sc":30},{"crps":[["21","Nyr"]],"hp":74469,"rw":89,"sc":31},{"crps":[["21","Lrr"]],"hp":95496,"rw":94,"sc":32},{"crps":[["21","Sgp"]],"hp":122880,"rw":99,"sc":33},{"crps":[["21","Sff"]],"hp":158660,"rw":104,"sc":34},{"crps":[["20","hg","pep"]],"hp":205559,"rw":109,"sc":35},{"crps":[["22","Nhh"]],"hp":267226,"rw":115,"sc":36},{"crps":[["22","Nbb"]],"hp":348573,"rw":120,"sc":37},{"crps":[["22","Nss"]],"hp":456220,"rw":126,"sc":38},{"crps":[["22","Sprp"]],"hp":599125,"rw":132,"sc":39},{"crps":[["21","hg","pep"]],"hp":789435,"rw":138,"sc":40},{"crps":[["23","Nyr"]],"hp":1043679,"rw":144,"sc":41},{"crps":[["23","Lrr"]],"hp":1384410,"rw":151,"sc":42},{"crps":[["23","Lgp"]],"hp":1842487,"rw":157,"sc":43},{"crps":[["23","Nff"]],"hp":2460261,"rw":164,"sc":44},{"crps":[["22","hg","pep"]],"hp":3296027,"rw":170,"sc":45},{"crps":[["24","Shh"]],"hp":4430248,"rw":177,"sc":46},{"crps":[["24","Nbb"]],"hp":5974319,"rw":184,"sc":47},{"crps":[["24","Sss"]],"hp":8082902,"rw":191,"sc":48},{"crps":[["24","Nprp"]],"hp":10971351,"rw":198,"sc":49},{"crps":[["23","hg","pep"]],"hp":14940399,"rw":206,"sc":50},{"crps":[["25","Nyr"]],"hp":20411222,"rw":213,"sc":51},{"crps":[["25","Srr"]],"hp":27975381,"rw":221,"sc":52},{"crps":[["25","Lgp"]],"hp":38466148,"rw":228,"sc":53},{"crps":[["25","Nff"]],"hp":53060657,"rw":236,"sc":54},{"crps":[["24","hg","pep"]],"hp":73426586,"rw":244,"sc":55},{"crps":[["26","Nhh"]],"hp":101933378,"rw":253,"sc":56},{"crps":[["26","Nbb"]],"hp":141957220,"rw":261,"sc":57},{"crps":[["26","Sss"]],"hp":198322586,"rw":269,"sc":58},{"crps":[["26","Nprp"]],"hp":277943272,"rw":278,"sc":59},{"crps":[["25","hg","pep"]],"hp":390755541,"rw":286,"sc":60},{"crps":[["27","Nyr"]],"hp":551080241,"rw":295,"sc":61},{"crps":[["27","Lrr"]],"hp":779616458,"rw":304,"sc":62},{"crps":[["27","Sgp"]],"hp":1106367474,"rw":313,"sc":63},{"crps":[["27","Nff"]],"hp":1574946639,"rw":322,"sc":64},{"crps":[["26","hg","pep"]],"hp":2248931156,"rw":332,"sc":65},{"crps":[["28","Shh"]],"hp":3221263156,"rw":341,"sc":66},{"crps":[["28","Nbb"]],"hp":4628197212,"rw":351,"sc":67},{"crps":[["28","Nss"]],"hp":6670048923,"rw":361,"sc":68},{"crps":[["28","Lprp"]],"hp":9642144251,"rw":370,"sc":69}]}
EDIT: Yeah, how do I add custom waves?

Last edited by PTTG; October 20th, 2009 at 08:14 PM. Reason: Adding something
PTTG is offline   Reply With Quote
Old October 21st, 2009, 10:38 AM   #5
The Noid
TowerDefence.net Game Project Developer
Points: 5,837, Level: 35
Points: 5,837, Level: 35 Points: 5,837, Level: 35 Points: 5,837, Level: 35
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
The Noid's Avatar
 
Join Date: Feb 2008
Posts: 832
The Noid is a normal user
Default Re: Problem with custom map

Right now it's a bit of a pain because the wave editor isn't integrated (and still outputs the old format)

Each wave is something like:
Code:
{
    "crps":[
        ["15", "Nyr"],
        ["5", "Nrr"]
    ],
    "hp":225,
    "rw":1,
    "sc":1
}
crps is the number and types of the creeps
hp is the base hitpoints
rw the reward in money
sc the score

I'll put the wave-gen integration higher on my todo list
The Noid is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom User Title The Swedish Tower Announcements 22 August 10th, 2008 05:16 PM
How do you post your custom maps? towermaster381 Onslaught Tower Defence 2 August 3rd, 2008 05:21 PM
problem with this game RainZ Elemental Tower Defence 3 June 27th, 2008 07:49 PM
Problem with game dstein Star Rebellion 2 June 19th, 2008 04:30 PM



All times are GMT. The time now is 05:46 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.