Show Posts

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.


Messages - Quartz

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 22
76
Modification Help / Re: Dynamic ImpulseForce for different players
« on: December 27, 2015, 09:30:07 AM »
I found a solution thanks to Quartz and wanted to post it here.

What I basically did was add a schedule when a player got hit by the explosion that would increase his speed by a factor of his Energy level.

Since my playertype has a max energy of 200, it ranges from 0 (not getting knocked back at all) to 2 (getting knocked back 2 times as far as the original)

77
Modification Help / Re: Dynamic ImpulseForce for different players
« on: December 26, 2015, 02:58:39 PM »
You could use vectorScale(%velocityVector,%playerVariable) on the vector from the explosion I guess?

78
Suggestions & Requests / Re: 3 things...
« on: December 19, 2015, 04:40:36 PM »
Code: [Select]
function serverCmdRollDice(%client, %eyes)
{
    talk(%client.name SPC "rolled" SPC getRandom(%eyes)+1@".");
}

79
Modification Help / Re: [Long Term RPG Project] "Rosemarble"
« on: December 02, 2015, 11:12:09 AM »
Oooo pretty shaders :D

I did a quick mockup of how I'm handling skill trees (this is for the Ranger class)

https://www.youtube.com/watch?v=5HE0lbi-x88&feature=youtu.be

Apologies it's so dark in the Ranger cave, it's not so dark at night in-game but the video processed that way. Regardless, the skill tree is still visible :D
It would look good with another font, the combination of the colors and the font makes me think of Borderlands.

80
Modification Help / Re: invert
« on: November 09, 2015, 11:46:08 AM »
btw idk why but you double declared all the variables
Code: [Select]
%a1 = %a1 = ...
LOL, I didn't even notice.

81
Modification Help / Re: Looking for a scripter/coder
« on: November 05, 2015, 05:12:03 PM »
I think he mean't the part about you running dogs over.
He knows.

82
Modification Help / Re: Projectile item source
« on: November 05, 2015, 04:16:04 PM »
ok so package projectileData::onAdd and make it get whatever weapon the client is holding and then store that weapon image on the projectile
I'll try that.
EDIT: Yay, it works.
Code: [Select]
function Projectile::onAdd(%this)
{
%player = %this.sourceObject;
%this.weaponImage = %player.tool[%player.currTool];
}

Cheers!

83
Modification Help / Re: Projectile item source
« on: November 05, 2015, 04:02:41 PM »
Couldn't you achieve the same by getting the player that killed / damaged someone and seeing what they're holding / if it relates to the projectile?
When the projectile hits, the person could have changed weapon.

84
Modification Help / Re: Projectile item source
« on: November 05, 2015, 03:50:12 PM »
Why don't you just say exactly what you're trying to do?
What I want to do is make the script know what WeaponImage fired the projectile that killed/damaged someone, so that I can do different things for each WeaponImage. The projectile does not store this information.

86
Modification Help / Re: Projectile item source
« on: November 05, 2015, 11:21:07 AM »
Pretty sure you can't figure out what weapon it came from, only the client/player
Yep, I know that. That's why I asked – was wondering if anyone knew a workaround.

87
Modification Help / Re: invert
« on: November 04, 2015, 05:20:37 PM »
Cool stuff, though i wish this did change the colors in the appearance menu so that you could save this to your avatar favorites
I guess you could do it manually in these files:

88
Modification Help / invert
« on: November 04, 2015, 02:21:07 PM »
Code: [Select]
if(isPackage(invertedavatar))
deactivatePackage(invertedavatar);
package invertedavatar
{
function serverCmdUpdateBodyColors(%client, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10, %a11, %a12, %a13)
{
%a1 = 1-getWord(%a1,0) SPC 1-getWord(%a1,1) SPC 1-getWord(%a1,2);
%a2 = 1-getWord(%a2,0) SPC 1-getWord(%a2,1) SPC 1-getWord(%a2,2);
%a3 = 1-getWord(%a3,0) SPC 1-getWord(%a3,1) SPC 1-getWord(%a3,2);
%a4 = 1-getWord(%a4,0) SPC 1-getWord(%a4,1) SPC 1-getWord(%a4,2);
%a5 = 1-getWord(%a5,0) SPC 1-getWord(%a5,1) SPC 1-getWord(%a5,2);
%a6 = 1-getWord(%a6,0) SPC 1-getWord(%a6,1) SPC 1-getWord(%a6,2);
%a7 = 1-getWord(%a7,0) SPC 1-getWord(%a7,1) SPC 1-getWord(%a7,2);
%a8 = 1-getWord(%a8,0) SPC 1-getWord(%a8,1) SPC 1-getWord(%a8,2);
%a9 = 1-getWord(%a9,0) SPC 1-getWord(%a9,1) SPC 1-getWord(%a9,2);
%a10 = 1-getWord(%a10,0) SPC 1-getWord(%a10,1) SPC 1-getWord(%a10,2);
%a11 = 1-getWord(%a11,0) SPC 1-getWord(%a11,1) SPC 1-getWord(%a11,2);
%a12 = 1-getWord(%a12,0) SPC 1-getWord(%a12,1) SPC 1-getWord(%a12,2);
%a13 = 1-getWord(%a13,0) SPC 1-getWord(%a13,1) SPC 1-getWord(%a13,2);

Parent::serverCmdUpdateBodyColors(%client, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10, %a11, %a12, %a13);
}
};
activatePackage(invertedavatar);

89
Modification Help / Re: Looking for a scripter/coder
« on: November 04, 2015, 11:25:05 AM »
This belongs in suggestions and requests. You're not asking for help with coding, you're asking someone to do it.
It's kinda a gray zone, since it's still a discussion regarding modifications, but what the hell.

@QuantumEagle: Maybe someone would like to see some material before investing their time in it.

90
Off Topic / Re: You don't see this anymore
« on: November 03, 2015, 06:11:36 PM »
Dang I never seen an ID that low before.
lol

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 22