Author Topic: Hug Help (ANOTHER PROBLEM)  (Read 1598 times)

I slapped this together with some help from Zeblote, and it shows up on the add on list now, but it doesnt work :/


Code: [Select]
package Script_Hugs
{
function servercmdHug(%a)
{
parent::servercmdHug(%a);
%a.play2d(patrick);
}
};
activatepackage(Script_Hugs);



And yes, I made the sound and placed it in the folder. And it is looped and done correctly.
« Last Edit: April 06, 2013, 11:18:18 PM by Aerodynamic »

I'm pretty sure the package name cannot contain that "+"

If it won't show up in the addon list, make sure you have a description.txt in the actual packaged .zip file.

If you're using a normal folder so that you don't have to restart Blockland, you have to manually execute the file doing:

exec("Add-Ons/Foldername/Filename");

If it won't show up in the addon list, make sure you have a description.txt in the actual packaged .zip file.

If you're using a normal folder so that you don't have to restart Blockland, you have to manually execute the file doing:

exec("Add-Ons/Foldername/Filename");


I have all the crap inside the folder. And i made this OUTSIDE of Blockland. then I dragged it in the Add-Ons.

pretty sure that plus is illegal


'patrick' is the name of the actual sound datablock i'm assuming?


also, a tip, you could probably also do with packaging /zombie unless it's intended that that won't work

'patrick' is the name of the actual sound datablock i'm assuming?


also, a tip, you could probably also do with packaging /zombie unless it's intended that that won't work


its the name of the datablock. so I would replace hug with zombie?


its the name of the datablock. so I would replace hug with zombie?

no, it's just a clone of serverCmdHug. some people may use it over that one.

no, it's just a clone of serverCmdHug. some people may use it over that one.


still doesnt work.


still doesnt work.
i didn't say to change it, i actually said not to, lol


post the definition of the sound datablock

i didn't say to change it, i actually said not to, lol


post the definition of the sound datablock


Lol I didnt replace it, i tried again with the zombie thing in game.


And what do you mean "definition"?

I tried fixing a case sensitive spot and it still doesnt work.


Lol I didnt replace it, i tried again with the zombie thing in game.


And what do you mean "definition"?

the datablock AudioProfile(patrick){urgh horse meat}; thing

the datablock AudioProfile(patrick){urgh horse meat}; thing


Where is that?