Statistics
Latest topics
» hosting changes
Fri Jan 02, 2009 5:24 am by Tala

» Standard Controls for Attack Variants
Sat Dec 27, 2008 7:14 pm by Tala

» problem with metalife
Sat Dec 27, 2008 6:26 pm by Tala

» Updates: region server 1.3, meter 1.14 and website
Tue Nov 04, 2008 4:42 pm by Tala

» How to set up your region server v1.3
Tue Nov 04, 2008 6:11 am by Tala

» REGION PRESET: standard (use this as template)
Tue Nov 04, 2008 5:56 am by Tala

» CHARACTER PRESET: tournament
Tue Nov 04, 2008 5:43 am by Tala

» CHARACTER PRESET: Gorean animals and Kurii
Tue Nov 04, 2008 5:41 am by Tala

» CHARACTER PRESET: strict Gor (unbalanced)
Tue Nov 04, 2008 5:35 am by Tala

How to develop weapons for MetaLife 1.10 PART TWO

View previous topic View next topic Go down

How to develop weapons for MetaLife 1.10 PART TWO

Post by Tala on Thu Sep 04, 2008 1:32 pm

... continued

10. COMPATIBILITY

You are encourages to use the damage types
    damage|STRENGTH (for ranged weapons and traps)
    damage|STRENGTH|RANGE|STAMINA_DAMAGE (for melee weapons)

For backwards compatibility the usual safezone damage types are supported, as well several fancy damage types that appeared recently. The translation table is this (delay is calculated using the above formulae):

TYPE DAMAGE STAMINA DAMAGECORE-RANGE (m) min. DELAY (s)
sword1501.50.50
punch531.00.17
kick731.20.24
dagger1001.00.34
axe1801.50.60
blunt1801.50.60
great1801.50.60
longsword1502.00.50
2hsword1501.50.50
2haxe1801.50.60
maul1502.50.50
staff1502.50.50
hammer2501.70.84
2hhammer2501.70.84
goad1502.00.50
spear1503.00.50
arrow1500.90
arrow~splash1500.90
arrow~direct1500.90
larrow1500.90
larrow~direct1500.90
larrow~splash1500.90
bullet1500.90
bolt2001.20
bolt~splash2001.20
bolt~direct2001.20
hbolt2001.20
hbolt~direct2001.20
hbolt~splash2001.20
thrown~dagger1200.72
bola2001.20
siege4002.40
poison1000.60
fire1000.60
trap800.48


If you want to make a weapon with an individual character, do this by adjusting these values by yourself.

For helmets use the command:
    helmet,OWNER_NAME,OWNER_NAME
    helmet|XX,OWNER_NAME,OWNER_NAME

where OWNER_NAME is the name of the owner and XX is a number between 1 and 80 indicating the strength of the helmet.
Note: the stronger the helmet, the smaller will be the visible area on your screen!

For armor use the command:
    amor,OWNER_NAME,OWNER_NAME
    armor|XX,OWNER_NAME,OWNER_NAME

where OWNER_NAME is the name of the owner and XX is a number between 1 and 80 indicating the strength of the armor.
Note: the stronger the armor, the more stamina you will need when running!

For shielding/blocking use the command:
    shield|XX,OWNER_NAME,OWNER_NAME

where OWNER_NAME is the name of the owner and XX is a number between 1 and 80 indicating the strength of the shielding/blocking.
Note: the stronger the shielding, the more stamina will be used!
Note: any weapon can be set up as shielding/blocking device, for example a sword


Only one helmet and one piece of armor can be attached at a time. Helmets decrease the damage delivered on head hits, armor decreases the damage delivered on the upper body. There can be multiple shields/blocking devices, but only the strongest will be active.


11. EXAMPLES

For a sword the following commands are equivalent

    llWhisper( (integer)("0x"+llGetSubString((string)llDetectedKey(0),0,7)), "sword,"+llKey2Name(llGetOwner())+","+llDetectedName(0));

    llWhisper( (integer)("0x"+llGetSubString((string)llDetectedKey(0),0,7)), "damage,"+llKey2Name(llGetOwner())+","+llDetectedName(0));

    llWhisper( (integer)("0x"+llGetSubString((string)llDetectedKey(0),0,7)), "damage|15,"+llKey2Name(llGetOwner())+","+llDetectedName(0));

    llWhisper( (integer)("0x"+llGetSubString((string)llDetectedKey(0),0,7)), "damage|15|1.5,"+llKey2Name(llGetOwner())+","+llDetectedName(0));

For a dagger the following commands are equivalent

    llWhisper( (integer)("0x"+llGetSubString((string)llDetectedKey(0),0,7)), "dagger,"+llKey2Name(llGetOwner())+","+llDetectedName(0));

    llWhisper( (integer)("0x"+llGetSubString((string)llDetectedKey(0),0,7)), "damage|10|1.0,"+llKey2Name(llGetOwner())+","+llDetectedName(0));

For an arrow the following commands are equivalent

    llWhisper( (integer)("0x"+llGetSubString((string)llDetectedKey(0),0,7)), "arrow,"+llKey2Name(llGetOwner())+","+llDetectedName(0));

    llWhisper( (integer)("0x"+llGetSubString((string)llDetectedKey(0),0,7)), "damage,"+llKey2Name(llGetOwner())+","+llDetectedName(0));

    llWhisper( (integer)("0x"+llGetSubString((string)llDetectedKey(0),0,7)), "damage|15,"+llKey2Name(llGetOwner())+","+llDetectedName(0));


12. Q & A



Questions and suggestions should be directed to Tala Nagy

Tala
Admin

Posts : 35
Joined : 27 Jun 2008

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum