Dateien

> > CS2D > Lua Scripts > Map Callouts
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Map Callouts >

15 Kommentare5 kb, 481 Downloads

alt Map Callouts

Cure Pikachu
User Off Offline

Announcement: file cs2d advanced radio,teamchat script v2, which was released in 27 Aug 2019, effectively makes this obsolete. Will still keep this around though.

Displays the map callout location below the radar, just like every Counter-Strike game since Condition Zero.
Only supports maps which have map callout data the script can read (Read on!)

> Installation
• Extract the autorun and pikachu folders to your *CS2D folder*\sys\lua folder.
• Extract callout_test.map to your *CS2D folder*\maps folder. (Optional, for testing purposes)
• If you are using the v1 build of file cs2d advanced radio,teamchat script , inside the Compatibility Patch folder of the archive is a patched cs_radio.lua file. Overwrite your existing cs_radio.lua with this for it to take full advantage of this script.
× Does not include the other resources (images)! Since v2 is out, I may have to include them...

> Map callout data file
All the map callout locations are stored in a file named *map name*.lua (where *map name* is the name of the map), and stored in either of the following locations:
• *CS2D folder*\sys\lua\pikachu\callouts
• *CS2D folder*\maps (This takes priority over all other methods due to the sequence CS2D executes Lua scripts)
Included is a map callout data file for de_dust2_classic.
× I will most likely not make map callout data for other maps, especially since you can do that yourself.
Making your own map callout data file >

> Reading from entities
Inexperienced at scripting? No worries, since you can now create map callout locations using entities!
Included is a test map to test this functionality out.
The script only reads from entities if the map does not have a map data file!
Instructions >

× No I will not modify any maps to support this due to compatibility reasons!
Changelog >
60× editiert, zuletzt 30.10.19 23:13:51
Zugelassen von DC

Download Download

5 kb, 481 Downloads

Kommentare

15 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

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

alt

Arvel
User Off Offline

I like this map is nice
Ich mag es!

alt

kerker
User Off Offline

Nice and useful.
Ich mag es!

alt

Cure Pikachu
User Off Offline

user GeoB99 hat geschrieben
One thing I slightly dislike is the fact that the function gets the callout data from Info_TeamGate instead from Info_NoBuldings. In this way, this script and file cs2d advanced radio,teamchat script combined it'd be really great!

Will do. It's back to the drawing board for me.
EDIT x3: If anyone wants to contribute making callout data for the other maps that will be great.
4× editiert, zuletzt 12.09.16 16:55:34

alt

GeoB99
Moderator Off Offline

Wanted to do a similar script like this before but I abandoned on working into it afterwards. I appreciate you took my place instead.

One thing I slightly dislike is the fact that the function gets the callout data from Info_TeamGate instead from Info_NoBuldings. In this way, this script and file cs2d advanced radio,teamchat script combined it'd be really great! Still, great work indeed.
Ich mag es!

alt

Rainoth
Moderator Off Offline

You may want to avoid more tags for changelog. It's there to hide long walls of text (which isn't the case here).
Ich mag es!

alt

Jite
User Off Offline

cool.
Ich mag es!

alt

Rainoth
Moderator Off Offline

@user Rainoth: Ye, that's not what I suggested anyways ^.o
Ich mag es!
1× editiert, zuletzt 11.09.16 15:18:01

alt

Cure Pikachu
User Off Offline

@user Rainoth: I could do that, but I will not modify the official maps themselves due to compatibility reasons.

alt

Rainoth
Moderator Off Offline

@user Cure Pikachu: Make it with entities. I DEMAND that before I like this.
Why that would be better?
1. Nobody will have to open the actual script = less hassle & more convenient
2. You do not have to define the locations (as the script will get the entity positions)
3. It would be easier to define because you won't need to look up positions on the map editor (since you'll do everything there anyways)

Here's an example:

The creator places an env_hurt or env_nobuildings entity:
Name:CT Spawn
Due to the type of entity, you won't have to define width and height of the field. Alternatively, it can be any other entity that people don't need and have 'trigger:5,10' for width and height definition.

So basically any dumbass will know how to do it, he won't be able to screw up code accidentally and it'll actually take less time to make these things.

Hopefully, you take this into consideration. It'll be 10 minutes of work and simplify everything greatly.
Ich mag es!

alt

sonkii
User Off Offline

The worsted thing in this idea was declined.So,I will put a like.
Ich mag es!

alt

Masea
Super User Off Offline

user Lobwver hat geschrieben
I like this file, but I would like to see more callout-ed maps in the file not only dust2.
Dude seriously, are you fucking kidding me? He made the best and earthly convenience anyway. If you getting hard by adding few more lines to lua file then we are saying that is the real laziness.

Good job 10/10
Ich mag es!

alt

VADemon
User Off Offline

We need a map entity for this.
Ich mag es!

alt

Cure Pikachu
User Off Offline

@user Lobwver: Unfortunately for you, I am on National Service, and I don't really play CS2D/CS:CZ that often nowadays to even bother finding out callout names for other maps. And there already exists a similar script? Where?

alt

Lobwver
User Off Offline

There's already a script like this but I think this one is better, also combining both will do a 1000% used script on Competitive scene. Also this should be added as default in next versions, add-able with editor.

I like this file, but I would like to see more callout-ed maps in the file not only dust2.

this is the competitive official mappack can someone do callouts for them? you can ask me on pm for the callouts names.
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang