Willkommen ~Gast!
Registrieren || Einloggen || Hilfe/FAQ || Staff
Probleme mit der Registrierung im Forum? Melde dich unter registerEin Bild.
Autor Beitrag
000
21.11.2001, 08:01
Kroilmor



Kennt sich da jemand mit aus?
Habe mal versucht aber bekomme das nicht hin. Aus dieser Anleitung werde ich aber auch nicht recht schlau.
---------------------------------
Quellcode:
Map images are normal TGA files (1024x768x24) made as screenshots from the level in HL.
So, to create new map images, choose OpenGL 1024x768x32 as video mode for best results. The color green (0,255,0) is used as the transparent color.

The engine has a special cvar "dev_overview" to create new map images.
If set to "1", the engine draws the level from above, looking down, but using orthographic
projection instead of the normal perspective projection. This is done to avoid perspective distortions in overview mode.
The engine will write the current parameters to the console (make sure to set developer 1 also) like so:

Zoom 1.63, Map Origin (1903, -1283, -200), Z Min 500, Z Max -1088, Rotated 0


You can move the map around with keys FORWARD,BACKWARD, RIGHT & LEFT.
Maps will be automatically rotated to fit optimally onto the screen. If they are rotated,
FORWARD and RIGHT are swapped, etc. Use the keys ATTACK and ATTACK2 to change the zoom.
With zmin and zmax you can choose which parts of the map should be drawn. Only polygons between these two values are shown.
This can be used to cut off ceilings or other unwanted objects. Origin is your viewpoint projected into the map.
The map will be rotated around this point if you move the mouse in overview mode.
Zmin can be changed with UP & DOWN and zmax with JUMP & DUCK. If you think you've found the correct values for the new map,
simply make a screenshot and remember all of the values,
which are needed for the overview description file (to avoid console text on the screenshot set developer 0).

The screenshot can be edited with any paint program to erase areas or make dark rooms brighter.
The final map image could also be the result of several merged screenshots (each with different zmin/zmax values,
but some origin and zoom) to get an optimal map representation.

Next, you have to create an overview description file that will be parsed by the client DLL to get
the map image filename and the correct view parameters. This file must be in the overviews\ directory and must have
the same name as the current BSP file, but with TXT as its extension. Here is an example (overviews\de_vegas.txt):

// overview description file for de_vegas.bsp

global
{
ZOOM 1.63
ORIGIN 1903 -1283 -1088
ROTATED 0
}

layer
{
IMAGE "overviews/de_vegas.tga"
HEIGHT -1088
}

The global section describes zoom, the origin point the map is rotated around,
and a boolean to indicate if the map image is rotated or not. The layer section describes the map image
filename and at which height (z-axis) the map should be shown. The overview mode uses the some coordinate space
as the game world and all icons are drawn at the same position as their corresponding entities
(you could even combine map and world mode. For example real players and items moving over a map blueprint).
In software mode, map images should be BMP files with 512x384x8 resolution.

Remember, the complete description file parsing, inset window, map projection and drawing code
is all within the client DLL and may be changed as desired. It should just give an idea of what could be
done with the new multiple views per frame and the LoadMapSprite() functions. It's not really needed for HLTV support.

If you have any questions about HLTV support in your MOD, send e-mail to (martino@valvesoftware.com ).
--------------------------------------

wenn sich jemand auskennt bitte ich um Hilfe.

PS: In den gelben Seiten steht auch nix drin

PPS: hatte mein Glück schon bei cs.de im Map-Forum versucht, aber da hat wohl noch keiner so etwas gemacht.

--

zum Seitenanfang zum Seitenende Profil || Suche
001
21.11.2001, 09:08
Megge



was verstehst du denn dabei nicht ?!?
ist doch perfekt beschrieben...

--

zum Seitenanfang zum Seitenende Profil || Suche
002
21.11.2001, 11:48
Blooddragon



Was bedeutet das?
Bin nicht so perfekt in Englisch.

--

zum Seitenanfang zum Seitenende Profil || Suche
003
21.11.2001, 11:48
Kroilmor



Also,

ich habe einen hlds gestartet, hltv gestartet und mich dánn auf dem Server connected. Habe dann als Spectator developer 1 gesetzt und dev_overview 1 gemacht.

Nun habe ich das so vewrstanden das eine ausgabe in der console erscheinen sollte. Dies war aber nicht der fall.

Habe ich da was falsch verstanden.
Wäre über Hilfe sehr dankbar da heut Abend ein War ist und ich die Maps noch machen will.

--

zum Seitenanfang zum Seitenende Profil || Suche
004
21.11.2001, 14:02
Hanfling



ähm dein problem scheint zu sein das du das als spector client eigegeben hast, du musst das wenn dann am server bzw. über rcon machen...

--

Nun ist deine Zeit gekommen sprach der Tod, stolperte und brach sich das Genick. :o

zum Seitenanfang zum Seitenende Profil || Suche
005
22.11.2001, 00:25
TrackMasteR



Sagt mal, Leute : FORENSUCHE !!!

Hab das gleiche vor ner Woche auch gefragt & auch meine Lösung daruntergeposted !!!

Und zur Lösung : du must dich in den HLTV-Client einloggen, d.h. Anwählen & View Game machen, NICHT (eigentlich Logisch) den CS-Server joinen !

Und ich werd mit "DS im LAN" ins allgemeine Forum verschoben *grummel*

TrackMasteR

--

zum Seitenanfang zum Seitenende Profil || Suche