Statistics
Latest topics
» List of weapons approved (after test)
Wed Feb 22, 2012 12:43 pm by 7Sins Admin

» MetaLife FAQ
Wed Feb 22, 2012 11:58 am by 7Sins Admin

» MetaLife License
Wed Feb 22, 2012 11:09 am by 7Sins Admin

» MetaLife Feature List, version 1.21
Fri Feb 17, 2012 11:19 am by 7Sins Admin

» NEU MetaLIfe 2 Bedienungsanleitung (deutsch)
Fri Feb 17, 2012 10:56 am by 7Sins Admin

» NOUVEAU MetaLife2 manuel d'instruction (franšais)
Fri Feb 17, 2012 10:53 am by 7Sins Admin

» NEW MetaLIfe 2 Manual (English)
Fri Feb 17, 2012 10:47 am by 7Sins Admin

» NUOVO MetaLIfe 2 - manuale di istruzioni (italiano)
Fri Feb 17, 2012 10:46 am by 7Sins Admin

» NUOVO - manuale di istruzioni (italiano)
Fri Feb 17, 2012 10:43 am by 7Sins Admin


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  Tala on Thu Sep 04, 2008 7:32 am

... 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 SevenSinsCeo, SevenSinsadmin and SevenSinsCao Resident

Tala
Admin

Posts : 56
Join date : 2008-06-27

View user profile http://metalife.powerrpg.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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