Legendary Tales Official Website
News Search:
Home · Articles · Downloads · Discussion Forum · Old Forums (read only) · RegisterAugust 28 2008 04:47:00
Navigation
Home
Articles
Downloads
FAQ
Discussion Forum
Web Links
News
Contact Me
Screenshots
Search
Login
Username

Password

Save



Not a member yet?
Then register.

I forgot my password.

Why register?
Newsletter
Subscribe now to receive important news, game releases and site updates
Buy 3 Skulls only $9.99

Download a demo

Full version download immediately after purchase!

You can also use your credit card without a paypal account.

Visa Mastercard American Express Discover
Extended Data
Extended data is a way to make the game more realistic, in some cases. Say, if an item is unidentified, you don't want the player to see its real name. Like, it could be unidentified and still called "Godly Mace of Fiery Destruction". You don't want to give it away. Using extended data you can make its unidentified name "Glowing Mace", and that will change when
it is identified. You can also use extended data to change a creatures attack hit/miss message, make custom actions or ready a creature to join the party.


This is a list of all the extended data in LT and how it can be used.

Custom Actions:
In the extended data tab, check yes for extended data and put in...

Action=Destroy

Then you must put in the item's script...

function OnCustomAction("Destroy"){
Sender.RemoveItem(Self.ID);
Echo(Sender.Name+" destroys "+Self.Name+".");
}

Or if you want multiple actions put in te extended data...

Action=Destroy|Read

And the script should be...

function OnCustomAction(custom){
if(custom == "Destroy"){
Sender.RemoveItem(Self.ID);
Echo(Sender.Name+" destroys "+Self.Name+".");
}
else if(custom == "Read"){
Echo(Sender.Name+" reads, and gains great intelligence.");
Sender.SetValue(32,Sender.GetValue(32)+5,-1);
}
else{
}
}


For creatures, you can use extended data to give them a custom attack message. Like so...

AtkMsg=The bandit slices ??|The bandit narrowly misses

And ?? represents the player target. The first one is a hit, the secnd is a miss.



For creatures to join the party, they must have a set o extended data, like so...

IsMale=0
Class=1
Race=Human
Experience=1250
SkillValue1=5
SkillValue2=5
SkillValue3=10
SkillValue4=3
SkillValue5=5

This says that a female, human warrior has 1250 experience and skill values equal to above.
To explain...

IsMale, if this is 0 it means no, if 1 it means yes.

The classes are numeric, 1 for warrior, 2 for Wizard, 3 for Priest, 4 for Thief, 5 for
Pirate, 6 for Tormentor, 7 for Amazon (female only class), 8 for BattleWizard, 9 for
BattlePriest and 10 for Cultist.

Race is just in exact matching letters one of your races, or Default.

The experience determines the level of the creature, and the level shoul match how many
skill points they have allocated.

SkillValue1-5 are the skills of that class. They can be found in the help file under skills.



The final piece of extended data is this...

NotIdentifiedName=Dusty Tome

If the item is not identified you can have its name indicate that the player is unaware of
what it does.
Comments
No Comments have been Posted.
Post Comment
Please Login to Post a Comment.
Ratings
Rating is available to Members only.

Please login or register to vote.

Awesome! Awesome! 100% [3 Votes]
Very Good Very Good 0% [No Votes]
Good Good 0% [No Votes]
Average Average 0% [No Votes]
Poor Poor 0% [No Votes]
Play Online Now
Play Now
Requirements and info
Terms of Service
Privacy Policy
RSS Newsfeed
Shoutbox
You must login to post a message.

Throndir
21/08/2008 10:54
Then read this tutorial. http://h1.ripway.com/thro
ndir/Delete After Files/Tutorial.zip


Throndir
21/08/2008 10:51
It depends what you're trying to do. If you want to create a textbased game, download the engine and editor.

jfreak
20/08/2008 02:52
how do i begin smiley?

MrHelem
17/08/2008 15:22
Nevermind, got it figured out.

MrHelem
17/08/2008 04:13
Hey, can anyone tell me how to set up a custom skill so it uses mana? I scanned the tutorials and didn't find anything.

Throndir
10/08/2008 13:33
Or check out legendarytales.wikispaces
.com


Throndir
10/08/2008 13:09
Yes. Post in the forums with your problem.

critchell
09/08/2008 17:46
i need some help with a particular script which adds a new member to a party, can anyone help?

Throndir
05/08/2008 14:24
Legendarytales is a game engine and editor. You basically create textbased games, or hope for any other person to create an adventure so you could play it..

Delphinus
05/08/2008 10:17
You create. Check the 'Downloads' page.

Shoutbox Archive
Copyright www.legendarytales.com © 2001 - 2008

Terms Of Service Privacy Policy
eXTReMe Tracker