Author Topic: Simple RPG Kit  (Read 2653 times)

%damage*=(100/%obj.client.health);

Lets see what you can make out of that.

Heres my level up code so far:

-Code Deleted-

Redoing.

« Last Edit: October 08, 2008, 05:22:36 PM by Zenthos »

I dont even understand that code.
And for message____, %1 in the message part determines first arg. %client.level is the first arg. %1 doesn't say level 1, it says level (whatever %client.level is)

Either add my msn or post yours (if you have it). So is that the whole thing and then my message? I need to insta chat to understand.

Yea I was just editing what I thought were the variables, so. I'm still learning


I've done it the bad in efficient way of making a new message everytime you level up.



Ok I see its an equation, I'll figure how to do level =25/HP - 40. Thats not the code of course im simplifying it.

I don't want it to increase my damage, I will make the damage increase new weps.

Wait - This post is being edited a lot so don't respond to the mistakes I make. I am currently editing it.



-Clean- Ok, so what does that do? (the function you posted above)
« Last Edit: October 08, 2008, 05:24:36 PM by Zenthos »

Well you are supposed to keep maxDamage at 100 for that code, so we can pretend its a percentage.
%damage*=(100/%obj.client.health);
What that does is increases/decreases damage depending on the client's max health.
Lets say the person had 50 max health, and the weapon did 10 damage.
We dont want to just take off 10 damage from the physical object, because that would be 10%.
Thus, resulting (in human logic) in only 5 damage. If we go through that line, it will make the weapon do 20% to someone who has 50 health, resulting in 10 hp lost.

I love seeing these threads, here's how it normally goes:

Step 1: Over-ambitious kid wants to forge name for himself in cut-throat industry of Blockland Modding.

Step 2: Kid wants to emulate successful games like WoW etc.

Step 3: Kid tricks himself into the delusion that he has scripting talent.

Step 4: Kid posts thread, with extremely elaborate ideas.

Step 5: Random idiots of the community step in to try and get on the bandwagon of something that doesn't suck.

* Step 6: Random code is thrown around like faeces in a monkey cage.

Step 7: Failure.

I put a little star next to the step we're currently on here.

I love seeing these threads, here's how it normally goes:

Step 1: Over-ambitious kid wants to forge name for himself in cut-throat industry of Blockland Modding.

Step 2: Kid wants to emulate successful games like WoW etc.

Step 3: Kid tricks himself into the delusion that he has scripting talent.

Step 4: Kid posts thread, with extremely elaborate ideas.

Step 5: Random idiots of the community step in to try and get on the bandwagon of something that doesn't suck.

* Step 6: Random code is thrown around like faeces in a monkey cage.

Step 7: Failure.

I put a little star next to the step we're currently on here.


:( I was trying not to be nooby or over complicated. This project was to help me (maybe others) script.

Top tip: Don't start off making a pack for other people to use as something to help you learn. Make stuff like hello world, or a gun. Everyone makes guns.

Top tip: Don't start off making a pack for other people to use as something to help you learn. Make stuff like hello world, or a gun. Everyone makes guns.


This is something I've been wanting for a long time, and I'm not gonna go and request it a million times, so I'm making it. Also, I probably won't even release, only to select people (my friends, people who helped. :P) because there would be tons of really crappy rpgs.

Good luck then, see you on Step 7.

Good luck then, see you on Step 7.



? mkay. Well, this isn't RTB. IDK if I'm even going to complete it. I atleast want to get done with the leveling system, which was all I really wanted. I shouldn't of even posted the complicated stuff.

My recommendation would be to make something utterly useless.  This may sound dumb, but it really helps with the initial stages of learning to code.  I for instance, made something that is a /command that outputs the roll of two dice.  The thing is that it would output it differently if the roll was doubles, and even more so if it was snake eyes.  While this isn't that useful, it helped me get a grip on how to make /command, putting variables into global messages, and using if statements.  (note I did this a long time ago, so don't think I'm on that stage) 
While you may be going "thats just stupid, I can do something better then that", well, your kinda right.  The thing is that one really needs to get a grip on the bare basics, before they start making server filling mods.  Just making mods that do something that you think that you could do, but is a little beyond your "easy as cake" level, is the key to slowly getting better at mod making.

My recommendation would be to make something utterly useless.  This may sound dumb, but it really helps with the initial stages of learning to code.  I for instance, made something that is a /command that outputs the roll of two dice.  The thing is that it would output it differently if the roll was doubles, and even more so if it was snake eyes.  While this isn't that useful, it helped me get a grip on how to make /command, putting variables into global messages, and using if statements.  (note I did this a long time ago, so don't think I'm on that stage) 
While you may be going "thats just stupid, I can do something better then that", well, your kinda right.  The thing is that one really needs to get a grip on the bare basics, before they start making server filling mods.  Just making mods that do something that you think that you could do, but is a little beyond your "easy as cake" level, is the key to slowly getting better at mod making.


I will put this on standby then.