31
Modification Help / Re: MessageBox Yes/no
« on: August 25, 2011, 11:12:57 AM »Why not just use prompt events? it's matches what you describe.Nvm i figures out.,
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Why not just use prompt events? it's matches what you describe.Nvm i figures out.,
Awesome, I'm not the only one who scripts like that!
congratulations, you managed to fix the error as well as forget up his properly-placed line breaks.
Code: [Select]package xcruso {
function GameConnection::onClientEnterGame(%this){
Parent::onClientEnterGame(%this);
%this.schedule(2500, "snip");
}
};
activatepackage(xcruso);
function GameConnection::snip(%this) {
centerPrint(%this, "<bitmap:Add-Ons/Server_snip/thePicture...>", 5);
}
You forgot a semicolon on the parent.
package ...
{
function gameConnection::onClientEnterGame(%this)
{
parent::onClientEnterGame(%this)
schedule(2500, 0, "snip", %this);
}
};
activatepackage(...);
function snip(%this)
{
centerPrint(%this, "<bitmap:Add-Ons/Server_snip/thePicture...>", 5);
}
You don't need to make a decalDataty, now it needs to work in minigames to, if anyone know please tell me.
Just centerPrint(%client,"<bitmap:path/to/file>",5);
function MinigameSO::addMember(%mini,%client)
{
parent::addMember(%mini,%client);
centerPrint(%client, "<bitmap:" @ blablabla.textureName @ ">", 5);
}and to find it i usedatablock decalData(blablablabla)
{
textureName = "blablablalbal-thatthings thatshould have been here";
preload = true;
};Wait, is Diggy going to make an entirely new city?
Again?
Detecting whether you are in a minigame dealing damage to another player isn't impossible. Nor is displaying a transparent bitmap image to show a hit-box.
Client sided.
The thing is, it isn't. I know that it is possible to detect damage, because of say the hit-combo notifier. It is also possible to display a bitmap image in the center of the screen.
EDIT: It is also possible to detect if the projectile hits the head node, which is I think is 7...
I am trying to make a code where when you get a hit on a player with a weapon (In a minigame, of course) it would make a "Hit-Marker" appear like in Call of Duty, as well as multiply damage if you get a headshot, and if you get a headshot, it will make a diffrent hitmarker appear. Is this possible?
EDIT: I will use the Projectile::Damage function, as well.
The biggest problem with Sylvanor hosting right now is a question of trust; Diggy, understandably, is extremely cautious about who gets a hold of his mod. Really, seeing that Syl has played on the server for some time without any outstanding problems, whether or not he can be trusted with the mod is probably the only qualm at this point.