Files

> > CS2D > Lua Scripts > Minimap Image Generator v1.2
Files overviewCS2D overviewLua Scripts overview

English Minimap Image Generator v1.2 >

15 comments3 kb, 409 Downloads

old Minimap Image Generator v1.2

MikuAuahDark
User Off Offline

Minimap image generator by user MikuAuahDark

∗ Description ∗
This LUA allows you to generate a minimap image in a Bitmap format
This LUA is created to celebrate the Indonesian Independence Day that happend yesterday
Just a note that i don't know for what this LUA for, because there is a mapexport exist already

∗ Features ∗
• Fast generating(48 ms on con_sandbox)
• Configurable colors
• Separated LUA file and Config file
• Bitmap file format
• Configurable settings(password, save directory)

∗ Information ∗
> Hooks: 1(cs2d lua hook parse)
> Lines: 57(w/o comments),95(with comments)
> Size: 2098 Bytes and 3185 Bytes

∗ How to Install ∗
Put minimap.txt or minimap_desc.txt and minimap.cfg at desired folder, make sure to edit server.lua

∗ Configuration ∗
• Configuration file is minimap.cfg •
> Password - Minimap password, to prevent abusing. Please change this if you gonna use it on public servers.
> MinimapPath - Where minimap image is should stored. It located at where CounterStrike2D.exe is started.
> <PropertyName>Color - Color to written on image to represent <PropertyName>(Table: {red,green,blue})

∗ Console Commands ∗
> Minimap <password> - Command to generate the minimap.

∗ Rules ∗
√ You can use it(for your server)
√ You can edit it
√ You can upload at another website, say user MikuAuahDark made it
× You can't say this is yours
× You can't upload on another website without put me on credits

∗ Notes ∗
1. Feedbacks? Bug reports? write on comment

∗ Known Bugs ∗
> V1.1
• > Generating minimap for de_cs2d map cause the generated map to be distorted
> V1.0
• > Generated images are flipped

∗ Version History ∗
> V1.2
>
FIXED
Distorted image when generating de_cs2d minimap
>
CHANGED
Configuration now set to default if it can't load configuration file
> V1.1
>
FIXED
Images now generated correctly and not flipped
> V1.0
>
ADDED
Initial Release
edited 4×, last 04.08.14 05:24:26 am
Approved by Seekay

Download Download

3 kb, 409 Downloads

Comments

15 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

FlooD
GAME BANNED Off Offline

you know you can save it as .lua in notepad right...
it's bad practice to use the txt extension for code.

old

MikuAuahDark
User Off Offline

user Infinite Rain has written
I actually care, very much.
Because when I want to take a look at the code using notepad++, the script isn't getting highlighted, and it is VERY annoying. It's better for you to change that!
then you can simply change the syntax highlighting in Notepad++
Im just simply create this lua as txt because i just use normal notepad.

old

Avo
User Off Offline

It does not need screenshots, son of the Jefer.
I like it!

old

Jeferes
User Off Offline

shows the images

old

Infinite Rain
Reviewer Off Offline

@user MikuAuahDark:
I actually care, very much.
Because when I want to take a look at the code using notepad++, the script isn't getting highlighted, and it is VERY annoying. It's better for you to change that!

Oh, and happy Independence Day!
I like it!

old

MikuAuahDark
User Off Offline

user Gajos has written
Open the text file. Save as (dokonane).lua
im just too bored to change it. and nobody cares if it has diferent extension than another. just take a look at timerEx, it also .txt

old

Avo
User Off Offline

@mafia_man: I meant that, you´re right.
@_PolishCoder_: oh man, don´t treat him like an idiot...
I like it!

old

Gajos
BANNED Off Offline

@user MikuAuahDark Open the text file. Save as (dokonane).lua
I like it!

old

MikuAuahDark
User Off Offline

Question:
user Gajos has written
Why .txt but not .lua?
and
user Avo has written
Actually, all formats are supported, but I have no idea why he uses .txt.

Answer: it because that i don't have time to change the extension to .lua
It should works just like those people said
user mafia_man has written
It's not different format, it's just different extension.
and
user Obronca has written
using txt or lua its same

old

Gajos
BANNED Off Offline

@user Obronca Really? I didn't know about it.
I like it!

old

mafia_man
User Off Offline

@user Avo:
It's not different format, it's just different extension.

old

Sebax
User Off Offline

Nicely done.
I like it!

old

Avo
User Off Offline

Actually, all formats are supported, but I have no idea why he uses .txt.
I like it!

old

Obronca
User Off Offline

@user Gajos: using txt or lua its same
I like it!

old

Gajos
BANNED Off Offline

Why .txt but not .lua?
I like it!
To the start Previous 1 Next To the start