Jump to content
Forumu Destekleyenlere Katılın ×
Paticik Forumları
2000 lerden beri faal olan, çok şukela bir paylaşım platformuyuz. Hoşgeldiniz.

Level Sistemi lazım yardım edersenız sevınırım


serberius

Öne çıkan mesajlar

bana level sistemi lazım ama bu level sıstemı Galleon die bır server vardı burdakı gıbı bı level sistemı arıorum bı aralar paticikin scripts bolumunde bulmustum tabıkı bu bolum active olmadıgı ıcın sızden yardım istiorum sımdıden herkese tesekkurler[signature][hline]Dünya varoldukça insanlar savaşacaklardır!!!
Link to comment
Sosyal ağlarda paylaş

doğru mesaj keyn :^)


[spo1=Hirz da kod]
////////////////////////////////////////////////////////////////////////////////////
//
// EXPERIENCE SYSTEM
//
// CONTENTS
//
// 1. INTRODUCTION
// 2. SETTING UP
// 3. AUTO-LEVEL FUNCTION
// 4. LEVEL UP BONUSES
// 5. PLAYER INTERFACE
// 6. USEFUL TEST FUNCTIONS
// 7. EVENTS
// 8. EXPERIENCE ENGINE
//
////////////////////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////////////////////
//
// INTRODUCTION
//
// Ever wanted to make a level system, but can't seem to find one that does what
// you want, or don't know how to make one yourself? If so, then the Infinitum
// is for you!
//
////////////////////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////////////////////
//
// SETTING UP THE
//
// Firstly, find your spheretables.scp file, scroll to the SKILLCLASS section, and
// paste this line in at the bottom of [SKILLCLASS 0] (if you have custom classes,
// paste it into the bottom of those too)
//
// ON=@LOGIN
// EVENTS +e_exp_add
//
//
//
// The Infinitum calculates how much experience a monster gives based on its level,
// which is determined by its total stats, plus its AR, plus its base damage,
// divided by 10. However, you can also manually override the level automatically
// given, by adding the TAG.LEVEL for the monster into its CHARDEF, like so, where
// is the level to give the monster:
//
//
// Example:
//
// [CHARDEF 01]
// DEFNAME=c_ogre
// NAME=#NAMES_OGRE the Ogre
// SOUND=snd_MONSTER_OGRE1
// ICON=i_pet_OGRE
// ANIM=078c7f
// CAN=MT_WALK|MT_USEHANDS
// DAM=5,15
// ARMOR=16
// RESOURCES=6 i_ribs_raw
// FOODTYPE=15 t_meat_raw
// DESIRES=c_ogre, t_arock
//
// ALIGNMENT=EVIL
// SHELTER=r_forests,r_mountains
// AVERSIONS=t_TRAP,r_civilization
//
// CATEGORY=Monsters
// SUBSECTION=Ettins, Ogres, Trolls, Cyclops, and Titans
// DESCRIPTION=Ogre
//
// ON=@Create
// TAG.LEVEL=20 <--------------------------------- ADD THE LEVEL HERE
// NPC=brain_monster
// STR={165 195}
// DEX={46 65}
// INT={46 70}
//
// PARRYING={45.0 55.0}
// MAGICRESISTANCE={45.0 60.0}
// TACTICS={60.0 70.0}
// WRESTLING={70.0 80.0}
//
// FAME=4500
// KARMA={-1000 -1999}
//
// ON=@NPCRestock
// ITEM=loot_OGRE
//
//
// Do this with all the monsters you wish to manually define levels for. Otherwise,
// it will be calculated automatically.
//
////////////////////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////////////////////
//
// AUTO-LEVEL FUNCTION
//
// This section comes into action when a player levels up, and determines the
// speed (and difficulty) of leveling, and what bonuses are applied.
//
////////////////////////////////////////////////////////////////////////////////////
[FUNCTION f_auto_level]
IF !(0)
//////
////// Keyword: STARTING EXPERIENCE
////// This is the experience needed to go from level 0 to level 1.
//////
TAG.NEXTLEVELEXP 100
ELSE
IF (> >= >)
f_levelup
ENDIF
ENDIF
//////
//////
//////
//////

[FUNCTION f_levelup]
IF !(0)
TAG.LEVEL 1
ELSE
TAG.LEVEL + 1
ENDIF
SYSMESSAGE You are now level >!
//////
////// Keyword: LEVEL SPEED
////// This section determines how fast you level up from level 1 onwards.
////// The default setting is 30% increases every level.
//////
IF !(> >= 10000000)
TAG.NEXTLEVELEXP * 30) / 100) + >
TAG.EXPERIENCE 0
ELSE
SYSMESSAGE You have gone past 10 million experience, and now require the same amount of TNL experience for each level hereafter.
TAG.EXPERIENCE 0
ENDIF
//////
////// Keyword: LEVEL BONUSES
////// This section holds the functions which will add skills, stats or whatever
////// you wish to give on levelup.
//////
f_stats_adder


////////////////////////////////////////////////////////////////////////////////////
//
// LEVEL UP BONUSES
//
// This is where the functions for bonuses from leveling are stored. I have
// included a simple +10 to all stats on level bonus, although you will
// most likely want to make a more elaborate bonus system :)
//
////////////////////////////////////////////////////////////////////////////////////


[FUNCTION f_stats_adder]
STR + {1 10}
DEX + {1 10}
INT + {1 10}



/////////
Link to comment
Sosyal ağlarda paylaş

Diğer Türk veya yabancı ultima sitelerinede bakabilirsin.
edit:
Yararlı bir konu
[signature][hline]Ardhath

"Türkler öldürülebilir, lakın mağlup edilemezler. Türk askerlerini dal kılıç olmaya mecbur edecek kadar üstlerine varmamalıdır. Bir defa dal kılıç olmayı göze almış bir kaç yüz Türk meydana çıkarsa önelerinde mağlup olmamak mümkün değildir."

Napeleon BONAPART


[Bu mesaj Khazab tarafından 20 Haziran 2005 10:51 tarihinde değiştirilmiştir]
Link to comment
Sosyal ağlarda paylaş

×
×
  • Yeni Oluştur...