|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Archive::Tools Archive area for Tools's posts that were moved here after an inactivity period of 90 days. |
07-06-2004, 04:37 PM
|
Discordant
|
|
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
|
|
EQClient
Well, I've been working my ass off on the C version of EQClient (Codename FreakU, a play on Free EQ) and I'm finally really getting somewhere. Old-style zones work beautifully; fast and nice looking. Unfortunately, new-style zones seem to reference collide.dds. I have been working to figure out what the purpose of this is, but it's escaping me. If anyone has any input, please let me know.
And now for the screenshots:
http://archshadow.com/eqclient/kelethin_solid_1.jpg
http://archshadow.com/eqclient/pok_debug_1.jpg shows the collide texture.
Happy Hacking,
Lord Daeken M. BlackBlade
(Cody Brocious)
|
07-06-2004, 06:17 PM
|
Discordant
|
|
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
|
|
|
|
|
|
|
|
|
07-06-2004, 06:34 PM
|
Demi-God
|
|
Join Date: Jan 2002
Posts: 1,175
|
|
One thing to watch for is whether the poly is transparent -- if the Flags field in the 0x30 fragment is 2 then the poly is transparent, regardless of whatever texture it might reference (look at the first few routines in OpenZone's frmMainUnit.pas). Usually, though, the transparent polys don't reference actual textures (the 0x30 fragment doesn't actually reference a 0x05 fragment), but maybe they changed that in the new-style zones. Regardless, though, if Flags is 2 then it doesn't matter.
*Every* zone is completely surrounded by transparent polys that prevent players from going outside the zone boundaries. Also, when you're ingame and find that you can't climb a mountain, for instance, rest assured that a transparent poly is in your way (e.g. Butcherblock Mountains). When you add zone bounds in OpenZone, the result is the same -- OpenZone creates transparent polygons for every zone bound line you add, and it automatically surrounds a zone with a bounding box of transparent polys.
WC
|
|
|
|
07-06-2004, 07:10 PM
|
Discordant
|
|
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
|
|
I've been working on this for a few minutes, and I can get the 0x30 handler to recognize the transparent polygons in new zones, but in gfaydark for instance, every 0x30 is normal. Any hints on how to go about finding those bounding box entries?
Edit: I figured it out. I was returning -1 as soon as it recognized a bad 0x5 reference. Thanks for the help
|
07-07-2004, 04:10 AM
|
Demi-God
|
|
Join Date: Jan 2002
Posts: 1,175
|
|
How about showing some pics of Veldona so people can see what OpenZone can do
WC
|
07-07-2004, 08:35 AM
|
Discordant
|
|
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
|
|
|
07-07-2004, 08:52 AM
|
Discordant
|
|
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
|
|
Need a bit of help
With placeable objects, I can't get the X,Y,Z coords for the objects to be within the bounds of the zone. I tried just loading them normally, then I tried multiplying the coords by the appropriate scaling factor. Neither of which worked. If you have any input on this, I'd appreciate it.
|
07-07-2004, 11:15 AM
|
Demi-God
|
|
Join Date: Jan 2002
Posts: 1,175
|
|
The X,Y,Z values in the 0x15 fragments are the actual position of the object. The problem you're having is probably in decoding the 0x36 fragment for each placeable object. Make sure to correct the scale by dividing by (1<< Data10) to get actual vertex positions. Then, to place each object add the object's location from the 0x15 fragment. You might also have to add the 0x36 fragment's Params1 values to X, Y, and Z, respectively, but these are almost always 0 for placeable object meshes (doors might be an exception, though).
WC
|
07-10-2004, 12:03 PM
|
Fire Beetle
|
|
Join Date: Aug 2004
Location: Outside. Pressing my nose up against the window. YOUR window.
Posts: 0
|
|
Freaku sounds like a pretty hot project to me.
Keep it up gentlemen.
|
07-11-2004, 03:46 AM
|
Hill Giant
|
|
Join Date: Oct 2002
Posts: 212
|
|
If i have well understood :
for each vertex of a 0x36 fragment :
x_final = (0x36)x * (0x36)scale + (0x36)centerx + (0x15)posx
???
__________________
Sandy
|
07-11-2004, 04:22 AM
|
Demi-God
|
|
Join Date: Jan 2002
Posts: 1,175
|
|
Should be:
x_final = (0x36)x / SCALE + (0x36)centerx + (0x15)posx
where SCALE is 1 << (0x36)scale.
|
07-12-2004, 01:16 AM
|
Hill Giant
|
|
Join Date: Jul 2003
Location: Germany
Posts: 232
|
|
Pre-calc the scale:
float scale = (1 / float(1 << (0x36)scale));
and then multiply it with the coords. Much faster.
|
07-12-2004, 03:12 AM
|
Demi-God
|
|
Join Date: May 2004
Posts: 1,177
|
|
Daeken if you need webspace to host your stuff. I may be able to help. I noticed all the images have stopped working.
|
07-12-2004, 04:44 AM
|
Hill Giant
|
|
Join Date: Mar 2004
Location: South Florida
Posts: 247
|
|
I just stumbled across this thread, and am VERY excited about this project. Keep up the good work!
I know this is probably the smallest of concerns, but if would be at all possible I think building in a minilogin-type feature to connect to a local server would be sweet...allowing multiple chars on the same network even better. I dont even know if this is a client type request, but wanted to throw it out there none-the-less.
Let me know if there is anything you need to assist with this.
|
07-12-2004, 05:50 AM
|
Discordant
|
|
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
|
|
Thanks for the offer, but we already have webspace. It's just a matter of changing it over from the archshadow.com domain (hosting on that was cut off as we got fucked over by an ex-buisness partner)
Everything should be up (including the site, when it's built) within the next few days. Just to let everyone know where we are, we have basic culling in place, partial login code (Doodman has been working on that), and almost basic walking (without a BSP, no less) in place. Not only that, but 254 out of 259 zones render without a crash, though probably 5 or 6 have problems.
We'll keep you updated as we progress.
Happy Hacking,
Lord Daeken M. BlackBlade
(Cody W. Brocious)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:41 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|