vloup / sgfork

Automatically exported from code.google.com/p/sgfork
GNU General Public License v2.0
0 stars 1 forks source link

Ressurect location determining for each player #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Overall description of the new feature:
Each player have to know where is he.
It is done by location variable.
In vanilla Q3 we use weapons/powerups near to say the place.
There are must be some similar way to do it in SG.

Variables to control the new feature:
Player can say his/her location in chat like that:
say_team: I'm here #loc
(variations are possible)

Original issue reported on code.google.com by igorpana...@gmail.com on 23 Aug 2009 at 7:15

GoogleCodeExporter commented 9 years ago
In OSP (q3-mod) it was possible to create custom loc-files yourself by running 
around
the maps and entering console-commands.

Probably you should just add that possibility.. and someone else (nox-floppy 
likes to
do that stuff e.g.) will upload useful custom locations which could be included 
as
default locations then.

---

out of the OSP-docs:
cg_Customloc <0|1> (Default = 0 - disabled)
      Use custom location information (from files in the locs/<mapname>.cfg
      directory) for the teamoverlay and teamchat locations.  To add
      locations for a map, move to a particular location, and then issue:

            \addpos <location name>

      You can use all kinds of color and special characters in the
      location_name field. These position markers will be added to
      locs\<mapname>.cfg everytime a location is added.  These locations
      are loaded when a map is loaded or the client issues a vid_restart
      command.  If a customloc file is not found for the current map,
      the location information that is displayed will be from the map's
      default information.

Original comment by mortijs-...@yahoo.de on 23 Aug 2009 at 11:26

GoogleCodeExporter commented 9 years ago
Sounds good to me.
How does a player may say his location in the OSP mod?
And can we use the same variable/file names in our mod? OSP seems to be not 
open-
source.

Original comment by igorpana...@gmail.com on 24 Aug 2009 at 8:34

GoogleCodeExporter commented 9 years ago
In OSP you can say your location by typing #L.

Meaning - You type in chat "Hello, i am at #L" and others will see "Hello, i am 
at
Yellow Armor".

There are more flags like #L (e.g. a flag that shows the attacker, the last one 
who
you killed etc.).

Additionally in teamchat it shows the location in brackets behind your 
nickname. In
SG it currently says: "-nox-Thot(null): Hi Guys". The "null" usually represents 
the
locations which are totally missing in SG at the moment.

About OSP not being open-source and copy-right stuff: I am just throwing in 
ideas
which could be helpful in finding a good solution for our needs. If you want to 
get
in contact with OSP-team, try to contact them via
http://www.orangesmoothie.org/contact.html

Original comment by mortijs-...@yahoo.de on 24 Aug 2009 at 11:54

GoogleCodeExporter commented 9 years ago

Original comment by igorpana...@gmail.com on 8 Dec 2009 at 9:52