How do i go about Making Weighted Clothing? Does Weighted Clothing and When u take it off your powerlevel increases abit?
How do i go about this?
ID:169069
Jul 31 2005, 10:20 pm
|
|
In response to DarkView
|
|
So if this is the coding for the wearing and unwearing code here it is
verb How can include this into my wearing code? |
In response to Govegtos
|
|
Incidentally, you can leave out all those 'src.'s. If no source for a variable is specified, Dream Maker assumes src.
|
In response to Jp
|
|
Heh, Jp, you havnt looked at a zeta source lately have you? Everything that could be left as is has a src. in front of it. Now all the newb coders who learn from zeta think they need to do that. :P
|
In response to AJX
|
|
AJX wrote:
Heh, Jp, you havnt looked at a zeta source lately have you? Everything that could be left as is has a src. in front of it. Now all the newb coders who learn from zeta think they need to do that. :P So? I specifically like to know which variable belongs to what. That, and I know specifically that the variable I'm setting isn't a temporary one. |
In response to Teh Governator
|
|
Couldnt you just do a regular wear/remove code, and then, on the remove code do something like:
usr.pl += 1000 Or whatever to make it up your PL? |
Step One:
-In your equip proc/verbs make it so that if you're putting on these clothes your power level drops.
Step Two:
-In your unequip proc/verbs reverse that operation if you're unequipping these clothes.
Now in a more advanced model you'd want to make it so that when you get EXP (or gain PL, or whatever) your clothes effect how much you gain.
So what you'd want to do is go to any place where you add EXP and make it check to see if you're wearing these clothes, and if so increase your EXP by a little more.