Forum

> > CS2D > Scripts > start game => play music
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch start game => play music

20 Antworten
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

alt geschlossen start game => play music

SRAN
User Off Offline

Zitieren
i want a lua plays a defined music and repeat whenever im in the main menu please give me code and where to put it

alt Re: start game => play music

oxytamine
User Off Offline

Zitieren
Mephiles hat geschrieben
i want a lua plays a defined music and repeat whenever im in the main menu please give me code and where to put it

You can do it with triggers in the map editor.

alt Re: start game => play music

oxytamine
User Off Offline

Zitieren
FN_Linkin Park hat geschrieben
oxytamine he says MAIN MENU.. u cant use lua scripts while in the main menu.

He'd better visit couple of english lessons. Anyway, why doesn't he just turn on music player and play?

alt Oh no!

oxytamine
User Off Offline

Zitieren
Yates hat geschrieben
He just wants music in main menu..
Just play some music on windows media player xP
That's what i do..

Windows Media Players sucks. Use iTunes. By the way, who uses Windows nowadays? MAC OS X - obviously the best OS.
Ice-cream16 hat geschrieben
Maybe your music instead of unreasoftware.ogg?

It's only small intro.

alt Offtop

oxytamine
User Off Offline

Zitieren
Yates hat geschrieben
I don't care if it sucks, mayb your comp is SLowwWw!
But mine isn't works perfect..

I have a laptop.

alt Re: start game => play music

DC
Admin Off Offline

Zitieren
it's not possible.

Lua runs on server only. it doesn't run while being a client or while being in the main menu.

only thing you can do: replace unreasoftware.ogg with a long music file. long because you can't make it loop.

alt Re: start game => play music

KimKat
GAME BANNED Off Offline

Zitieren
I got a quick solution, if you use Windows XP with Service Pack 2. Click the Start button, then click Run... and type in "mplay32" without the quotes. This will open Windows internal media player (no need to download things), then when you have it ready you just click File and Open... then find your song/soundclip then it will automaticly be loaded and play it for you then you could return to CS2D while being in menu, but the bad side with this is that when you join a server the music will still be playing (if that's a good thing or not, is all up to you).

If you run another operating system, then I'm sorry I can't help you. Lol.

alt Re: start game => play music

Nem
User Off Offline

Zitieren
KimKat hat geschrieben
but the bad side with this is that when you join a server the music will still be playing

Thats why i said about AIMP player, his hotkeys are awesome, for me its ctrl+w(play/pause)q(prev song)e(next song)g(stop song)

alt Profit!

oxytamine
User Off Offline

Zitieren
Mephiles hat geschrieben
i want a lua plays a defined music and repeat whenever im in the main menu please give me code and where to put it

1. Learn C#/C++.
2. Decompile CS2D.
3. Hack it and add your music to the main menu.
4. ???
5. PROFIT!

alt Re: start game => play music

medeiros
User Off Offline

Zitieren
oxytamine hat geschrieben
Mephiles hat geschrieben
i want a lua plays a defined music and repeat whenever im in the main menu please give me code and where to put it

1. Learn C#/C++.
2. Decompile CS2D.
3. Hack it and add your music to the main menu.
4. ???
5. PROFIT!

It is unbelievable that most of your replies are constantly referring to hacking.
Keep it to yourself, don't encourage people to do that.

alt Re: start game => play music

oxytamine
User Off Offline

Zitieren
Rodrigo X hat geschrieben
oxytamine hat geschrieben
Mephiles hat geschrieben
i want a lua plays a defined music and repeat whenever im in the main menu please give me code and where to put it

1. Learn C#/C++.
2. Decompile CS2D.
3. Hack it and add your music to the main menu.
4. ???
5. PROFIT!

It is unbelievable that most of your replies are constantly referring to hacking.
Keep it to yourself, don't encourage people to do that.

You're afraid of situation when every newbie will be able to hack you, aren't you? I just love programming and hacking, of course. I do not encourage people to hack CS2D as it is. For example my post up there was a joke. It's just my sense of humor. Outlook on life like a system administrator.
1× editiert, zuletzt 07.01.11 23:00:34

alt Re: start game => play music

medeiros
User Off Offline

Zitieren
oxytamine hat geschrieben
Rodrigo X hat geschrieben
oxytamine hat geschrieben
Mephiles hat geschrieben
i want a lua plays a defined music and repeat whenever im in the main menu please give me code and where to put it

1. Learn C#/C++.
2. Decompile CS2D.
3. Hack it and add your music to the main menu.
4. ???
5. PROFIT!

It is unbelievable that most of your replies are constantly referring to hacking.
Keep it to yourself, don't encourage people to do that.

You're afraid of situation when every newbie will be able to hack you, aren't you? I just love programming and hacking, of course. I do not encourage people to hack CS2D as it is. For example my post up there was a joke. It's just my sense of humor. System administrator's outlook on life.

Nah, I'm not scared. I'd hack them first.
But this is Off-Topic and doesn't matter.
Mehr >

alt Re: start game => play music

oxytamine
User Off Offline

Zitieren
Rodrigo X hat geschrieben
oxytamine hat geschrieben
Rodrigo X hat geschrieben
oxytamine hat geschrieben
Mephiles hat geschrieben
i want a lua plays a defined music and repeat whenever im in the main menu please give me code and where to put it

1. Learn C#/C++.
2. Decompile CS2D.
3. Hack it and add your music to the main menu.
4. ???
5. PROFIT!

It is unbelievable that most of your replies are constantly referring to hacking.
Keep it to yourself, don't encourage people to do that.

You're afraid of situation when every newbie will be able to hack you, aren't you? I just love programming and hacking, of course. I do not encourage people to hack CS2D as it is. For example my post up there was a joke. It's just my sense of humor. System administrator's outlook on life.

Nah, I'm not scared. I'd hack them first.
But this is Off-Topic and doesn't matter.
Mehr >

I was going to ask you what programming languages do you know, but thanks G-d you posted a spoiler minute later.
Zum Anfang Vorherige 1 2 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht