Dateien

> > CS2D > Lua Scripts > Minimap Script
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Minimap Script >

40 Kommentare121 kb, 889 Downloads

alt Minimap Script

EngiN33R
Moderator Off Offline

To continue the "cheaty" uploads, I present - the MINIMAP SCRIPT!

This script draws a minimap on a pre-set position (you can set it in the script) that shows everything including players.
It's like the default CS2D minimap, except it shows players, it has more settings, and you can scale it!

√ The map has three modes:
1. Show to all players on XY on the map;
2. Show to all players on XY on their HUDs;
3. Show to admins on XY on their HUDs.
The map will appear half-transparent.

flame ATTENTION! If you are the server (running a server through New Game), CS2D can lag when drawing the map - on command and each round start, and when updating player positions - every second - when there are more than 4 players. If you're running it on dedicated, the script may cause little ping spikes, although it wasn't tested.

√ Chat commands:
!initmap - to initialize the map.
!mapscale <scale> - to scale the map.
By default, there are three scales:
Scale 1 - each tile is 2x2 px
Scale 2 - each tile is 4x4 px
Scale 3 - each tile is 6x6 px
So type "!mapscale 1" without quotes to scale it to 1.

√ You can add your own scales in the images table. There's a comment telling you how to do that.

Missing file bug fixed.

> Report any bugs you find, especially with map's third mode (show on admins' HUD).

PS: there's also a TF2 splash waiting for you in the archive (second screenshot)
3× editiert, zuletzt 17.02.11 07:50:25
Zugelassen von Seekay

Download Download

121 kb, 889 Downloads

Kommentare

40 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

DsTyLe
User Off Offline

very nice work. I love it.
Ich mag es!

alt

Robotic-Brain
User Off Offline

he still wants the file

why don't you just include it in the download?

alt

EngiN33R
Moderator Off Offline

It's fixed already. Redownload the mod.

alt

connor34
User Off Offline

yes it wants a file
Lua Error:dofile("sys/lua/basicfuncs.lua") no such file or directory something liek that
Ich mag es!

alt

EngiN33R
Moderator Off Offline

Huh? It wants a file? Wat?

alt

connor34
User Off Offline

its look like a radar hack but it isnt its a lua script thnx man i need it really mucht


WTF -- It wants a file
Ich mag es!
1× editiert, zuletzt 13.02.11 20:06:17

alt

J4x
User Off Offline

AMAZING! its like in cs source
Ich mag es!

alt

R a G e
User Off Offline

It's there any way to put the image where the radar is , and only show team-mates?

alt

JONY
User Off Offline

wow man! That's kinda amazing
Ich mag es!

alt

EngiN33R
Moderator Off Offline

@Dark Byte, my my, you're right, thanks!

alt

archmage
User Off Offline

Great work!

I have a suggestion. You could instead of creating an image for each player and then erasing them when the player no longer exists, just create 32 images (at round start) if the player does not exists (or is dead) set the image's alpha level to 0.0 if the player does exist and is alive set the image's alpha to 1.0. That way would not cause as much lag.

Here is an example:
Mehr >


Where pl_x_on_mm and pl_y_on_mm is the position for the image to be drawn on the mini map.
Ich mag es!

alt

oxytamine
User Off Offline

What a nice map hack tho.

alt

EngiN33R
Moderator Off Offline

I feel kinda honored that I got a 5 from the game creator
Thank you very much, all of you, I'm going to make some updates for this, like showing the objects' positions.

alt

DC
Admin Off Offline

@Deaglezz: the minimap is already part of cs2d. you can view it as spectator. of course you can't see it while you are alive because it's like a cheat

@upload: nice work! (even though this will cause much additional traffic and - as already said - probably some lags)
Ich mag es!

alt Xd

DemonShake
User Off Offline

Lua really difficult.
The map seems to the smallest detail.

Lua Study: 5/5
Lua Difficulty: 5/5
Lua Success: 5/5
Map Detail: 5/5

Namely:

Conclusion: 5/5

Nice Lua.
Ich mag es!

alt

Deaglezz
User Off Offline

Awesome
Note : DC should add this in next version of CS2D like other 3d game we can see the minimap
Ich mag es!

alt

Gholan
User Off Offline

O_o,i hate KIDS
they suck(only the ones who cheat,spam,flame,revenge-rate and especially hack(some might even visit adult websites))
i can't believe their parents allow them to use internet
Ich mag es!

alt

DannyDeth
User Off Offline

Cheating lua? Not really, it's for admins to see where people are
Cheating admins = little children.
Ich mag es!

alt

Gholan
User Off Offline

great,lol this is a cheating LUA
Ich mag es!

alt

DannyDeth
User Off Offline

Very good work Engi33r Keep it up, you and DarkByte are both very smart guys

EDIT: put in rating
Ich mag es!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang