Weight Equip System and Limit
#1
Weight Equip System and Limit
V 1.0
By Samo, the thief.
Jan 29 2007


This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Simulating the Black isle games (like Icewind Dale, Baldur's Gate), this
script makes weapons and armors have his own weight, and actors have a
limit of weight depending on their strenght.



SCREENIES:
----------
No, because it doesn't needs too much. It only has two more window that shows weight, and limit.


CODE:
-----
here it is:

CODE


INSTRUCTIONS:
-------------

-PLace this script above main to work.
-Search these lines:

Code:
@WEAPONS_WEIGHT = {


and another one:
Code:
@ARMORS_WEIGHT = {


Complete the hash(this variable) with these things:


Code:
item_id =>  weight

either weapon or armor. don't forget the comma(,) after each value, but not in the last one.



-Search this another line:

Code:
plus_str = 0.5


put the number you want there. the strenght of the actor will be
multiplied by this number. EX:
actor's strenght = 30
30 * 0.5 = 15 KG of limit.

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Features:

- Each armor and weapon has his own weight. In this way, you can
limit the items the actor wear, depending on his strenght.

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>


Possible Bugs:
--------------
-Let's say you put like initial items to an actor that are too heavy for him,
but he wears them instead. Try to only give but don't equip the items. let the
player equip the items instead.

-The script Takes base strenght , so states don't bug it.


-This script won't work with equip battle system.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Enjoy the script and give me the credit. Replies please! What do you think of this?

Samo, the thief.
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dynamic Weather and Time System ThallionDarkshine 0 2,848 05-25-2012, 01:00 PM
Last Post: ThallionDarkshine
  Tutorial system Jimmie 0 2,687 08-14-2009, 01:00 PM
Last Post: Jimmie
  New and Easy Cache system azrith001 0 2,765 09-02-2008, 01:00 PM
Last Post: azrith001
  Vehicle System El Conductor 0 2,775 12-22-2007, 01:00 PM
Last Post: El Conductor
  IMPROVED Fog of War System Samo the thief 0 2,502 05-06-2007, 01:00 PM
Last Post: Samo the thief
  Prize Points System Dark Ruby 0 2,538 01-28-2007, 01:00 PM
Last Post: Dark Ruby
  Export and Import System EmilyAnnCoons 0 2,414 12-29-2006, 01:00 PM
Last Post: EmilyAnnCoons
  Hawk's Mouse Control System Hawk-McKain 0 2,746 11-05-2006, 01:00 PM
Last Post: Hawk-McKain
  Time / Day/Night System mikah 0 2,373 09-26-2006, 01:00 PM
Last Post: mikah
  Unleash System Vandette 0 2,499 11-06-2005, 01:00 PM
Last Post: Vandette



Users browsing this thread: 1 Guest(s)