Site Navigation
QuakeOne News
» Latest News
» News Archives
» QuakeOne Movies

QuakeOne Help
» File Downloads
» Quake Help
» Quake Servers

QuakeOne Community
» Forums
» Chat *new*
» Poll Booth
» Memberlist
» Member Map

Site Info
» Community Rules
» Moderator List

» Buy Quake

Visit QuakeOne.com On Facebook!Visit QuakeOne
on Facebook

Log in
User Name:

Password:

Not a member yet?
Register Now!
Online Users: 162
9 members and 153 guests
Defender Go Blue, Dreadful, manwithnoname22, nahuel, nucas, Six-Shoota, talisa
Most users ever online was 2,542, 06-04-2016 at 12:58 AM.
Go Back Home > Forums > Quake Help > Servers and Coding > Location files (.loc) in qw and Quake 1 Search Forums

Closed Thread
LinkBack Thread Tools
Unread 10-17-2009, 02:27 PM   #1 (permalink)
Shambler
dfsp_spirit's Avatar
USER INFO »
Posts: 353
+/-  Reputation: dfsp_spirit is on a distinguished road
Join Date: Sep 2009
Currently: Offline
Location files (.loc) in qw and Quake 1

I'm working on a map and I'd like to release all the files needed with it once it's done so I looked into creating .loc files. Did this before for other games but I got a bit confused for q1/qw cause there seem to be different formats around so...

1) Is there a standard format that all modern/common clients read? Or if not, which formats should I supply?
2) Could you link me to a proper tutorial on howto create those?
3) Is there a difference between q1 and qw .loc files?
4) Which other files should I add? I already created a radar image of the map using bsp2bmp (though I'm not sure yet where to put it) as well as the .lit and .dlit files using the hmap2 compiler.

Thanks,
__________________
dfsp*spirit
my FPS maps
Unread 10-17-2009, 07:02 PM   #2 (permalink)
Chthon
Baker's Avatar
USER INFO »
Posts: 9,996
+/-  Reputation: Baker has a spectacular aura aboutBaker has a spectacular aura aboutBaker has a spectacular aura about
Join Date: Nov 2005
Currently: Offline
Originally Posted by dfsp_spirit View Post
I'm working on a map and I'd like to release all the files needed with it once it's done so I looked into creating .loc files. Did this before for other games but I got a bit confused for q1/qw cause there seem to be different formats around so...

1) Is there a standard format that all modern/common clients read? Or if not, which formats should I supply?
2) Could you link me to a proper tutorial on howto create those?
3) Is there a difference between q1 and qw .loc files?
4) Which other files should I add? I already created a radar image of the map using bsp2bmp (though I'm not sure yet where to put it) as well as the .lit and .dlit files using the hmap2 compiler.

Thanks,
Unfortunately there are 2 standards for loc files:

1. The Quakeworld way (ezQuake, FTEQW, ZQuake, DarkPlaces)
2. The ProQuake way (ProQuake, Qrack, DarkPlaces)

There are about 160 loc files for Quakeworld, about 120 for the "ProQuake way".

The ProQuake way is harder to make, but far more accurate about your actual location (a series of 3d "boxes" defines where you are), the Quakeworld way is easier to make (a series of points, closest point matches).

Personally, I'd opt for the Quakeworld way as a priority because it is easier to get the Quakeworld community to play a custom map (the NQ community is more set on long-time favorite maps).
__________________
Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...
Unread 10-17-2009, 08:59 PM   #3 (permalink)
Chthon
=peg='s Avatar
USER INFO »
Posts: 1,062
+/-  Reputation: =peg= is on a distinguished road
Join Date: Mar 2006
Currently: Offline
Contact:  Send a message via ICQ to =peg= Send a message via MSN to =peg=
actually.. as far as custom maps are concerned.. i think its more like:
USA-community: dm3, dm3, dm3, dm3, dm3 .. and last but not least: DMF*CK'N3!!!
rest of world: lots of custom maps..

Last edited by =peg=; 10-18-2009 at 09:45 PM..
Unread 10-18-2009, 06:22 AM   #4 (permalink)
Shambler
dfsp_spirit's Avatar
USER INFO »
Posts: 353
+/-  Reputation: dfsp_spirit is on a distinguished road
Join Date: Sep 2009
Currently: Offline
Ok, thanks for the info.

Both Q3 and Q2 use the 'nearest-point'-way and it works pretty good imo.

I remember seeing a tutorial on howto make proQuake waypoints by Baker around here somewhere but the process seemed very annoying (it involved writing down coordinates and like 10 steps. In r1q2 you just go somewhere in-game and /addloc <name>). I may do that someday when I'm bored but it's good to hear that the qw way is more important.

Final question on this:
I already had a look at darkplaces and there are the locs_* commands, but the locs_add command needs x y z coordinates, not only the name of the waypoint. How do you get those in-game?
Guess there's some console command to show them. I could get them from GtkRadiant by opening the .map file of course but that can hardly be the way you're supposed to do it...
__________________
dfsp*spirit
my FPS maps
Unread 10-18-2009, 09:42 PM   #5 (permalink)
Chthon
=peg='s Avatar
USER INFO »
Posts: 1,062
+/-  Reputation: =peg= is on a distinguished road
Join Date: Mar 2006
Currently: Offline
Contact:  Send a message via ICQ to =peg= Send a message via MSN to =peg=
copied from this thread: http://quakeone.com/forums/quake-tal...iles-maps.html

Originally Posted by R00k
You can use Qrack to make your own locs.

Load up any map, and use noclip. Then to make a location u must define a location box. To do this move your POV to upper north west corner of your area, and type loc_startpoint and it will mark your current position, then move your POV to the bottom south east corner of your area and type loc_endpoint location where 'location' is the name YOU specify for that given area.
Also for fun type r_drawlocs 1 to display a grid of the current Location
and/or
show_locname 1 will display the name of the current area you are standing in.
this displays the name of each location, on the HUD, as you are playing.

and of course loc_save will save to /id1/locs/mapname.loc

if in all type loc_ and press tab to see other location commands

Last edited by =peg=; 10-18-2009 at 09:52 PM.. Reason: added links
Unread 10-19-2009, 06:40 AM   #6 (permalink)
Shambler
dfsp_spirit's Avatar
USER INFO »
Posts: 353
+/-  Reputation: dfsp_spirit is on a distinguished road
Join Date: Sep 2009
Currently: Offline
Thanks!

EDIT: Done, I made both qw and proQuake waypoints. I used qrack (see above) to make the NQ waypoints and a tutorial on howto make QW waypoints using ezQuake can be found at quakeworld.nu.

Making the proQuake locs is easier than expected if you use Qrack to make them.
__________________
dfsp*spirit
my FPS maps

Last edited by dfsp_spirit; 09-28-2010 at 02:42 PM.. Reason: added link to Quakeworld loc file tutorial
Unread 10-22-2009, 02:17 PM   #7 (permalink)
MH
An Elemental Force
MH's Avatar
USER INFO »
Posts: 1,344
+/-  Reputation: MH is on a distinguished road
Join Date: Jan 2008
Currently: Offline
Could somebody please elaborate on why the .loc format was not designed to be readable by COM_Parse? This is not funny.
__________________
IT LIVES! http://directq.blogspot.com/
Closed Thread

Bookmarks

Tags
mapping loc files


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

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 02:54 PM.


eXTReMe Tracker