Welcome
Welcome to the Official<strong>World of Phaos</strong>Forums.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining the World of Phaos community for free, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join the World of Phaos community today</a>!

Portals

If you have Modified WoP, and I mean majour modifications. Then post a link here and tell us about it.
(PLEASE NOTE: If you intend to Modify WoP please Email Zeke and explain to make sure he is ok with it. WoP is zekes' baby and he would like to know if you intend to do any MODs.)

Moderators: zeke, Aradan

Portals

Postby grasshopper » Thu Jul 09, 2009 6:19 pm

OK - I'm trowing my hat in the ring here. I'm scratching the surface of Kallen to get it playable for what I want to do. Pretty new at the Phaos engine, but it seems easy to mess with. (It helps that I already do web dev and SQL support for my 9-5)

My HUGE hangup right now is the friggin' map. I think I've read every thread in this forum and see posts about creating the map, but they all seem to reference the 2d look or the windows-based map creator (which happens to be 2d). Does uploading this into sql "magically" create isometric? (homey don't think so) So there's gotta be another way. I also see the online mapcreator which also does some slllloooowww 2d creation.

Can anyone point me to the isometric map builder? I saw DaWolf talk about it in the bugs page (I think) but he leaned to making code changes. Nicely vague. :(

If anyone can help me out it would be greatly appreciated.

I will post the site when it's something other than a fresh Kallen install...

Many gracious thanks in advance to anyone able to assist.
grasshopper
Level 1
 
Posts: 13
Joined: Tue Jul 07, 2009 7:53 pm

Re: Portals

Postby mccragge » Thu Jul 09, 2009 8:23 pm

Sorry I can't be of help...I like the 2d look, a throw back to the old Super nintendo RPG's :) And it is much easier to draw your own custom tile sets

McCragge
mccragge
Level 4
 
Posts: 82
Joined: Mon Nov 10, 2008 5:46 am

Re: Portals

Postby DaWolf » Fri Jul 10, 2009 9:28 am

grasshopper, what I did for the longest time was use the 2d map editor, and there is only 3 or 4 variables at the end of the phaos_locations table that is not included with the 2d, so I would design in 2d, and basically use a massive "FIND ); replace with 'blah', 'blah', 'blah', 'blah'); and it added the needed variables, now I use a web-based isometric map editor that is more of a headache than it is probably worth...
http://apps.facebook.com/phaosapp/ Koitola, Phaos Integrated into Facebook
DaWolf
Level 4
 
Posts: 95
Joined: Sat Feb 02, 2008 5:11 am

Re: Portals

Postby grasshopper » Fri Jul 10, 2009 2:44 pm

DaWolf,

So you create the 2d map with the 3d tiles, then correct those fields in the locations table and the travel.php will process it correctly? That simple!? NO WONDER I was having such a struggle! K - I - S - S, always forget that.
grasshopper
Level 1
 
Posts: 13
Joined: Tue Jul 07, 2009 7:53 pm

Re: Portals

Postby DaWolf » Fri Jul 10, 2009 9:05 pm

lol, it's not hard you just gotta slowly learn wtf is missing, like all the 2d images are .png, and all isometric images are .gif, so you need to correctly alter with another FIND .png REPLACE WITH .gif, so it points to the right image files, and create an extra set of 2d images that correspond directly to the isometric images (there are more isometric images than 2d, so create your own 2d images that let you know what they relate to via the iso images)

Hope all this makes sense.
http://apps.facebook.com/phaosapp/ Koitola, Phaos Integrated into Facebook
DaWolf
Level 4
 
Posts: 95
Joined: Sat Feb 02, 2008 5:11 am

Re: Portals

Postby grasshopper » Fri Jul 10, 2009 11:26 pm

I know exactly what you mean DaWolf. I;m actually opening all the isometric gifs and cleaning them up and daving them as pngs so it's not an issue.

But thanks! (Any hint on that Db hack you dealt with and how to fix the hole?)

Oh, and I got some cool reformatting of the travel screen underway already to look much cooler (in my humble opinion). So I may have a link up soon for you all to see ... something.
grasshopper
Level 1
 
Posts: 13
Joined: Tue Jul 07, 2009 7:53 pm

Re: Portals

Postby grasshopper » Sat Jul 11, 2009 1:05 am

update with question:

I moved the board down - little did I know the ramifications of such an artistic "nudge"...

Well, I was able to find the code (which I'm commenting appropriately as I work in it grrrr) to move the map tiles, and the icons for inventory etc... but the links to click on the tiles didn't move. Having a bit of an issue on that one. Can anyone point me to the place in travel.php where that is?

Thank you so much in advance.
GH
grasshopper
Level 1
 
Posts: 13
Joined: Tue Jul 07, 2009 7:53 pm

Re: Portals

Postby grasshopper » Sat Jul 11, 2009 1:37 am

screenshot so far. I tried to rip the right sidebar off, still working on that.

Image
grasshopper
Level 1
 
Posts: 13
Joined: Tue Jul 07, 2009 7:53 pm

Re: Portals

Postby DaWolf » Sun Jul 12, 2009 3:43 am

Line 823 in travel.php is the code that places the empty.gif image for clicking. (atleast in my code, it might be within 100 lines of that for you.)
http://apps.facebook.com/phaosapp/ Koitola, Phaos Integrated into Facebook
DaWolf
Level 4
 
Posts: 95
Joined: Sat Feb 02, 2008 5:11 am

Re: Portals

Postby jpoisson » Mon Jul 13, 2009 1:56 pm

well done, only with in a few hundred lines of code :P that really narrows it down lol
-Jeremy
WOPhaos Developer
jpoisson
Level 4
 
Posts: 89
Joined: Wed May 20, 2009 9:11 pm
Location: Toronto Canada

Re: Portals

Postby DaWolf » Mon Jul 13, 2009 11:02 pm

sorry gosh, I have done so many changes to my travel.php that it's just not even possible for me to remember where the code would have been originally.
http://apps.facebook.com/phaosapp/ Koitola, Phaos Integrated into Facebook
DaWolf
Level 4
 
Posts: 95
Joined: Sat Feb 02, 2008 5:11 am

Re: Portals

Postby jpoisson » Tue Jul 14, 2009 7:29 pm

:P im just playing with ya,
-Jeremy
WOPhaos Developer
jpoisson
Level 4
 
Posts: 89
Joined: Wed May 20, 2009 9:11 pm
Location: Toronto Canada

Re: Portals

Postby grasshopper » Thu Jul 16, 2009 4:17 pm

is this it??

$out_loc[ 1]['id'] = $row["above"]; $out_loc[ 1]['link'] = true; $out_loc[ 1]['block']=0;
$out_loc[ 3]['id'] = $row["above_right"]; $out_loc[ 3]['link'] = true; $out_loc[ 3]['block']=0;
$out_loc[ 7]['id'] = $row["rightside"]; $out_loc[ 7]['link'] = true; $out_loc[ 7]['block']=0;
$out_loc[ 9]['id'] = $row["below_right"]; $out_loc[ 9]['link'] = true; $out_loc[ 9]['block']=0;
$out_loc[13]['id'] = $row["below"]; $out_loc[13]['link'] = true; $out_loc[13]['block']=0;
$out_loc[15]['id'] = $row["below_left"]; $out_loc[15]['link'] = true; $out_loc[15]['block']=0;
$out_loc[19]['id'] = $row["leftside"]; $out_loc[19]['link'] = true; $out_loc[19]['block']=0;
$out_loc[21]['id'] = $row["above_left"]; $out_loc[21]['link'] = true; $out_loc[21]['block']=0;
grasshopper
Level 1
 
Posts: 13
Joined: Tue Jul 07, 2009 7:53 pm

Re: Portals

Postby jpoisson » Thu Jul 16, 2009 8:24 pm

umm yea thats part of the mapping system
-Jeremy
WOPhaos Developer
jpoisson
Level 4
 
Posts: 89
Joined: Wed May 20, 2009 9:11 pm
Location: Toronto Canada

Re: Portals

Postby grasshopper » Fri Jul 17, 2009 1:45 pm

being within a few hundred lines of code was slightly more helpful as travel.php is like 90% of the "mapping system"!!! :/

I'm looking for the block that assigns the hyperlink to move for each tile. It looks like I was wrong and it's right below the code that actually places the map images. 25 if statements for the map then 25 if statments for the links. Is that right?

This zeke guy is great for creating phaos, but commenting is a HUGE skill in programming, and it shouldn't be ignored!!!
grasshopper
Level 1
 
Posts: 13
Joined: Tue Jul 07, 2009 7:53 pm

Next

Return to Mods

Who is online

Users browsing this forum: No registered users and 0 guests

cron