banimod / etpro / ettv forums Forum Index banimod / etpro / ettv forums
Bani's Discussion Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to use target_location in new levels

 
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Pro Documentation
View previous topic :: View next topic  
Author Message
WeblionX



Joined: 08 Sep 2002
Posts: 1163
Location: Tseaby

PostPosted: Wed Aug 03, 2005 9:50 am    Post subject: How to use target_location in new levels Reply with quote

Target_location for maps still in production
A "target_location" is a non-brush entity that allows a mapper to specify the name of a certain area to be displayed instead of map coordinates in both the fireteam box and the location displayed when you chat, unless it is set to use coordinates on the client side.

Note that using these will throw an error into the console for every one you have if use in etmain, or as of now, shrub and etpub. The map will still run, though. To use them, first make a file called "et_entities_location.def" in the scripts directory of your mapping install. Then, open the file in notepad and paste the following in the file, and then save.
Code:
/*QUAKED target_location (0 0.5 0) (-8 -8 -8) (8 8 8)
Set "message" to the name of this location.

Closest target_location in sight used for the location, if none
in site, closest in distance, within PVS
*/


This will allow you to place a target_location into your map inside of GTK Radiant. It will appear as a small green box. When selected, give it a key called "message" with a value that is the name you want at that location. You only need to place target_locations so you can always see one, any more are a waste of resources.

Locations for already finished maps
Note: This method is less efficient engine-wise than using actual target_locations.
TO BE POSTED SOON
_________________
Weblion "Th' Politically Inco'reck Tiger" X
If a VCR uses the 24-hour time format, does it still blink 12:00 after a power outage?
Pushing electrons since 1990
120VAC -> Ground == Bad


Last edited by WeblionX on Wed Aug 03, 2005 10:54 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
=FF=im2good4u



Joined: 05 Feb 2003
Posts: 3924
Location: The Netherlands, HOLLAND

PostPosted: Wed Aug 03, 2005 11:39 am    Post subject: Reply with quote

the 2nd way work for server and clients Very Happy a server can hav a .loc file for a map whil clients can have thier own also if the server doesnt have any .loc file for that map it plays cliens can use thier on file Razz
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Pro Documentation All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group