English Minimap Script icon

40 comments
12.02.11 01:47:07 pm
like 21 like it!
121 kb, 513 Downloads
EngiN33R
Moderator
Offline Off
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)
imageimage
edited 3×, last 17.02.11 07:50:25 am
ok This file has been reviewed and approved by Seekay (04.12.15 02:38:08 am)

Comments

40 comments
Goto Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in
14.02.11 07:58:05 pm
like I like it!
Up
DsTyLe
User
Offline Off
very nice work. I love it.
14.02.11 07:20:33 pm
Up
Robotic-Brain
User
Offline Off
he still wants the file

why don't you just include it in the download?
14.02.11 07:11:38 pm
Up
EngiN33R
Moderator
Offline Off
It's fixed already. Redownload the mod.
14.02.11 02:23:35 pm
like I like it!
Up
connor34
User
Offline Off
yes it wants a file
Lua Error:dofile("sys/lua/basicfuncs.lua") no such file or directory something liek that
13.02.11 08:12:33 pm
Up
EngiN33R
Moderator
Offline Off
Huh? It wants a file? Wat?
13.02.11 09:47:47 am
like I like it!
Up
connor34
User
Offline Off
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
edited 1×, last 13.02.11 08:06:17 pm
13.02.11 04:08:22 am
like I like it!
Up
J4x
User
Offline Off
AMAZING! its like in cs source
13.02.11 12:07:52 am
Up
R a G e
User
Offline Off
It's there any way to put the image where the radar is , and only show team-mates?
12.02.11 11:24:35 pm
like I like it!
Up
JONY
User
Offline Off
wow man! That's kinda amazing
12.02.11 10:36:08 pm
Up
EngiN33R
Moderator
Offline Off
@Dark Byte, my my, you're right, thanks!
12.02.11 10:08:00 pm
like I like it!
Up
archmage
User
Offline Off
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:
More >


Where pl_x_on_mm and pl_y_on_mm is the position for the image to be drawn on the mini map.
12.02.11 10:04:49 pm
Up
oxytamine
User
Offline Off
What a nice map hack tho.
12.02.11 08:24:35 pm
Up
EngiN33R
Moderator
Offline Off
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.
12.02.11 05:32:57 pm
like I like it!
Up
DC
Admin
Offline Off
@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)
12.02.11 05:22:41 pm
like I like it!
Up
DemonShake
User
Offline Off
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.
12.02.11 03:32:32 pm
like I like it!
Up
Deaglezz
User
Offline Off
Awesome
Note : DC should add this in next version of CS2D like other 3d game we can see the minimap
12.02.11 02:15:27 pm
like I like it!
Up
Gholan
User
Offline Off
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
12.02.11 02:13:07 pm
like I like it!
Up
DannyDeth
User
Offline Off
Cheating lua? Not really, it's for admins to see where people are
Cheating admins = little children.
12.02.11 02:12:02 pm
like I like it!
Up
Gholan
User
Offline Off
great,lol this is a cheating LUA
12.02.11 01:55:00 pm
like I like it!
Up
DannyDeth
User
Offline Off
Very good work Engi33r Keep it up, you and DarkByte are both very smart guys

EDIT: put in rating
To the start Previous 1 2 Next To the start