Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2008-04-23 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 24, 2008, 12:11:08 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: cant acces matties forum, so im posting here  (Read 40 times)
[X].plo|Rasmus[Coding-Team]
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 660


noob "coder"



mig540
rasmus4j

myServer 85.190.14.51:27015 89.145.117.68:27015 8.9.4.113:27015
(Warning: click connects through Steam)
« on: March 28, 2008, 09:05:39 PM »

hi guys.
i have tried to make this addon to play songs for the userid.
but it doesnt work.
if some of you have any experience or now something about making addons, please help me!
im completly new at this!

Code:
event round_start
{
  es_xmsg #multi #green music_plugin is being used. type !mp to get a menu of avaiable songs. type !stop to stop the song.
}

event player_say
{
  if (event_var(text) == !mp) then es_xdoblock/music_plugin/music_menu
  if (event_var(text) == !stop) then es_stopsound
}

block music_menu
{
popup create music_menu
popup addline music_menu "Choose a song"
popup addline music_menu "->1. Chicken Dance"
popup addline music_menu "->2. Partyboy song"
popup addline music_menu "->3. We are the champions"
popup timeout music_menu view 0
es popup send music_menu event_var(userid)
popup select music_menu 1 music_plugin/es_musicplugin/Chicken_Dance
popup select music_menu 2 music_plugin/es_musicplugin/Partyboy_song
popup select music_menu 3 music_plugin/es_musicplugin/We_are_the_champions
}
block Chicken Dance
{
 es es_playplayer event_var(userid) musicplugin/Songs For Kids - Chicken Dance
}
block Partyboy_song
{
 es es_playplayer event_var(userid) musicplugin/Jackass - Partyboy Song
}
block We_are_the_champions
{
 es es_playplayer event_var(userid) musicplugin/Crazy Frog - We Are The Champions (Single)
}
Logged

Call me a noob if you want to?
i know i am at this, so i dont care:P
Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 421



WWW
Berettonawak
Berettonawak

myServer 81.93.59.99:30000
(Warning: click connects through Steam)
« Reply #1 on: March 28, 2008, 11:53:29 PM »

Is there a popup problem or a sound problem?
First, you have to mark the sounds as downloadable.
Second, I'm not sure spaces, -, and ( are allowed in sound names...
If i understood, your file is called es_music_plugin.txt no?
Logged

French guys aren't so stupid : Famas, Rafale, Leclerc...
[X].plo|Rasmus[Coding-Team]
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 660


noob "coder"



mig540
rasmus4j

myServer 85.190.14.51:27015 89.145.117.68:27015 8.9.4.113:27015
(Warning: click connects through Steam)
« Reply #2 on: March 29, 2008, 12:35:18 AM »

first of all, i have changed the name to es_musicplugin
and then, there is a general problem, it doesnt activate in-game, it doesnt download the songs (even though they are in the downloadlist fromm mani_plugin)
Logged

Call me a noob if you want to?
i know i am at this, so i dont care:P
Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 421



WWW
Berettonawak
Berettonawak

myServer 81.93.59.99:30000
(Warning: click connects through Steam)
« Reply #3 on: March 29, 2008, 07:35:27 PM »

Well i've never been able to set a file as downloadable with Mani Admin Plugin.
Use a eventscript.
Logged

French guys aren't so stupid : Famas, Rafale, Leclerc...
[X].plo|Rasmus[Coding-Team]
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 660


noob "coder"



mig540
rasmus4j

myServer 85.190.14.51:27015 89.145.117.68:27015 8.9.4.113:27015
(Warning: click connects through Steam)
« Reply #4 on: March 29, 2008, 09:01:27 PM »

then how do i do that?
Logged

Call me a noob if you want to?
i know i am at this, so i dont care:P
Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 421



WWW
Berettonawak
Berettonawak

myServer 81.93.59.99:30000
(Warning: click connects through Steam)
« Reply #5 on: March 29, 2008, 10:28:11 PM »

Look at the Gungamer race.
Teachercreature explains how to do that.
Logged

French guys aren't so stupid : Famas, Rafale, Leclerc...
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
April 23, 2008, 09:39:58 PM
Wow, is the shoutbox down or something? No ones talking D:::
April 20, 2008, 05:06:27 AM
yo anyone here?
April 18, 2008, 09:10:35 PM
10 days since it has been announced, hardly categorizing it as "ages"
April 18, 2008, 09:09:42 PM
Quoting from the topic: The date is not yet set, but its atleast 1-2 months awa
April 18, 2008, 06:41:55 PM
Whats happening with this wcs tournament weve been wating for ages [email protected]
April 18, 2008, 03:09:34 PM
voteban, menuselect "Frodo"
Recent
[April 23, 2008, 11:51:01 PM]

[April 23, 2008, 10:15:49 PM]

[April 23, 2008, 09:55:30 PM]

[April 23, 2008, 09:47:20 PM]

[April 23, 2008, 08:35:25 PM]

[April 23, 2008, 07:56:46 PM]

[April 23, 2008, 07:53:04 PM]

[April 23, 2008, 07:29:09 PM]

[April 23, 2008, 02:30:36 PM]

[April 23, 2008, 01:14:09 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.056 seconds with 26 queries.