[Origins] Script Guide for Noobies

Josiko

LOMCN Veteran
Veteran
Loyal Member
Apr 4, 2010
428
8
44
Spain
Lesson 1.-Open Npc

1) You see to merchant and your npc believe

example:_

Merchant:
01Meet_Bichon 0 446 405 (Meat)_Origins 0 11

It is a number that is assigned to the npc, everyone has his number.
Name that is given to the text in Market_Def. 01Meet_Bichon-0.txt
I number of the map, it is the name that you have given him to the map in mapinfo and your folder map
coordinated where the npc is placed, always taken care of not placing it in one that does not exist
Name that appears in the center of the Npc, you can assign to him a name.
Always to put it in 0
The image for that he is going to look to the file of npc, the images go of 100 in 100 and every number that augmentes is another image that you select.

2) You see to merchant and your npc believe

Now when we have it placed, it is necessary to create the .txt.
There are 2 ways of creating it, then I will explain them further down.
We are going to choose for the easiest and clear for the beginners.
We will only use the Market_Def.
And we will create the text.


example:_

01Meet_Bichon-0

3) Here we come to the second lesson.

Lesson 2.-To make a npc work

1)We will always put [@main] to begin a script.
With the exception of something that he will explain then.

2)Basic orders of a script

· #SAY : you make to speak to a npc

example:_

[@main]
#say
Hello, Lomcn\

2.1) In the basic actions also there is an order for if the order is not fulfilled do another thing

· #ELSESAY : It does the opposite, a say has always to go earlier, to be able to do this.

example:_

[@main]
#IF
checklevel 3
#say
Hello, Lomcn\
#elsesay
Bye, Lomcn\

3)Here another new action is added, #if.
It serves to say to the npc, which if something is fulfilled or is not fulfilled should do a thing or the opposite.

example:_

[@main]
#IF
checklevel 30
#say
Hello, Lomcn\
#elsesay
Bye, Lomcn\

4) Now the last principal order comes, #act. It does that the npc does some action.

example:_

[@main]
#IF
checklevel 30
#ACT
giveexp %USERNAME 5000
break

Lesson 3.-To realize links of tasks in a npc.

1)A simple response and a different response

example:_

[@main]
#SAY
How is it called this forum?\\ {This creates a double space}
<Lomcn/@Lomcn>\
<Wemade/@wemade>\\

[@lomcn]
#say
Your response is correct\

[@wemade]
#say
Your response is incorrect\

To create a link, you will must put the text with this:

<Text/@TEXT>\ [@TEXT]

Lesson 4.-Basic actions that a npc can do.

1)To give and take objects

Take: this command uses for cojer something of the bag about whom he speaks with the npc

example:_

#ACT
Take sword 1
break

TakeW: this command uses for cojer something equipped of the one who speaks with the npc

example:_

#ACT
TakeW sword 1
break

Give: this command is used to give something to someone in his bag

example:_

#ACT
Give sword 1
break

GiveW: this command is used to give something to someone in his eqquipement

example:_

#ACT
GiveW sword 1
break

2) To give money or to remove money.

#ACT
Take gold 100

or

#ACT
Give gold 100

3) Other functions.

[[ In construction ]]





Soon:

- IF and his possibilities

- Flags

- Delaygoto

- Screams


/ORIGINS
 

Josiko

LOMCN Veteran
Veteran
Loyal Member
Apr 4, 2010
428
8
44
Spain
If a moderator was opening a folder to be able to put there lessons
we might put helps there.

Thank you/origins
 
Upvote 0

Josiko

LOMCN Veteran
Veteran
Loyal Member
Apr 4, 2010
428
8
44
Spain
Ty coly :) , If they make me the topic better for lessons I will put very much more esque like that the topic is very long and it ties up
 
Upvote 0

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,399
33
195
Germany
come down... all know this fact thats Xtreme has made some lessons. btw it is not 100% the same.
at the other Point : you can download one script editor here on LomCN thats have the Xtreme Lessons integratet...
 
Upvote 0

Josiko

LOMCN Veteran
Veteran
Loyal Member
Apr 4, 2010
428
8
44
Spain
@gigabit: Your gigabit you are dumb ... I have begun this handlebar to do her I, have not even copied it of xtrem, although I have to say that I learned to do script thanks to cheky.
And never I pirate nobody!

@coly: Thank you coly, aver if some moderator can open to me a special post to put the lessons, since only I have begun it is much that to explain and my servant has new systems etz and they are not copied of any side, asique believe that sufficient as to do some handlebar.

/Origins
 
Upvote 0

Gigabit

Dedicated Member
Dedicated Member
Oct 21, 2010
85
1
34
come down... all know this fact thats Xtreme has made some lessons. btw it is not 100% the same.
at the other Point : you can download one script editor here on LomCN thats have the Xtreme Lessons integratet...

It's only integrated into the software, because it's your software Coly.

@gigabit: Your gigabit you are dumb ... I have begun this handlebar to do her I, have not even copied it of xtrem, although I have to say that I learned to do script thanks to cheky.
And never I pirate nobody!

@coly: Thank you coly, aver if some moderator can open to me a special post to put the lessons, since only I have begun it is much that to explain and my servant has new systems etz and they are not copied of any side, asique believe that sufficient as to do some handlebar.

/Origins
You child are just that a child, don't come here and call me dumb. I more than likely know far more about both sets of files, than you will ever know and can do scripting without thinking about it.

01Meet_Bichon 0 446 405 (Meat)_Origins 0 11
That is a copy of the way xtreme do it, so don't tell me you are not copying what they have done.
 
Upvote 0

Josiko

LOMCN Veteran
Veteran
Loyal Member
Apr 4, 2010
428
8
44
Spain
Jjajaja, good if you go here of machine...
I go 5 months learning script of mir the III and when Origins server this online, you can pass and we speak. And you will have that silence and your words get where they fit you.
Useless

To teach to open a npc, you will have to teach to place it.
You are the useless one and you do not have it nor designs you're welcome.
Is it a guide noobi, if so good you are because you look post?
forget uncle and veto to going for a walk or making you a server better than those who exist online.
bye bye ..:)

/Origins
 
Upvote 0

Gigabit

Dedicated Member
Dedicated Member
Oct 21, 2010
85
1
34
Why would anyone want to learn what you are trying to say, your English is very poor and so understanding what you are trying to actually say is a waste of time. As I said why would anyone want to learn from you, when there is a site that teaches you in plan good old real English and using xtreme's lesson guides is really a no no. I'm sure Andy hasn't given you the right to use them.
 
Upvote 0

Josiko

LOMCN Veteran
Veteran
Loyal Member
Apr 4, 2010
428
8
44
Spain
Ami andy does not have to give to me right you're welcome, the mir is not his.
since I have not copied and given anything his.

2. My English is bad because translator used, invecil. I am Spanish.
And if so much you lose the time, do not answer to the post that I see that you like much..
- - - - - - - - - - - - - -
Ami andy no tiene que darme derecho de nada, el mir no es suyo.
ya que yo no he copiado y pegado nada suyo.

2. Mi ingles es malo porque uso traductor, invecil. Soy español.
Y si tanto pierdes el tiempo, no contestes a los post que veo que te gusta mucho..

/Origins
 
Upvote 0

Gigabit

Dedicated Member
Dedicated Member
Oct 21, 2010
85
1
34
Ami andy does not have to give to me right you're welcome, the mir is not his.
since I have not copied and given anything his.

2. My English is bad because translator used, invecil. I am Spanish.
And if so much you lose the time, do not answer to the post that I see that you like much..
- - - - - - - - - - - - - -
Ami andy no tiene que darme derecho de nada, el mir no es suyo.
ya que yo no he copiado y pegado nada suyo.

2. Mi ingles es malo porque uso traductor, invecil. Soy español.
Y si tanto pierdes el tiempo, no contestes a los post que veo que te gusta mucho..

/Origins
If you are using Andy's scripting lessons as you base for this, then yes you do need to ask permission first. I would suggest you learn and understand the rules of LOMCN, as it does clearly state not to write off other peoples work as your own.
 
Upvote 0

Josiko

LOMCN Veteran
Veteran
Loyal Member
Apr 4, 2010
428
8
44
Spain
i don't know if you are dumb or that it happens to you?
I do not need authorization since only I opened me mud3 copy 1 linia of
merchant and I explained it and then like to do that a npc speaks to you.
If you are dumb and cannot explain that without andy's help and without looking in xtreme
you are much noob.
- - - - - - - - - - - - - - - - - - - - -
Nose si eres tonto o que te pasa?
No necesito autorizacion ya que solamente abri mi mud3 copie la 1 linia del
merchant y lo explique y luego como hacer que un npc te hable.
Si tu eres tonto y no sabes explicar eso sin ayuda de andy y sin buscar en xtreme
esque eres muy noob.


/Origins
 
Upvote 0

Gigabit

Dedicated Member
Dedicated Member
Oct 21, 2010
85
1
34
i don't know if you are dumb or that it happens to you?
I do not need authorization since only I opened me mud3 copy 1 linia of
merchant and I explained it and then like to do that a npc speaks to you.
If you are dumb and cannot explain that without andy's help and without looking in xtreme
you are much noob.
- - - - - - - - - - - - - - - - - - - - -
Nose si eres tonto o que te pasa?
No necesito autorizacion ya que solamente abri mi mud3 copie la 1 linia del
merchant y lo explique y luego como hacer que un npc te hable.
Si tu eres tonto y no sabes explicar eso sin ayuda de andy y sin buscar en xtreme
esque eres muy noob.


/Origins
Would you care to explain on how you know what you know, oh yes we shall go back a couple of post's up shall we. Xtreme gave you the lessons to learn, you have learned the lessons and then decided that it would be a great idea to release those lessons here at lomcn. You are the one that is dumb and not me, you are the one that is incapable of the comprehension of the fact you are using another server teams own teachings to boost your own ego and come across as creating these yourself.
You are even copying the way Andy has explained the break down of reading the scripts...........
 
Upvote 0

Josiko

LOMCN Veteran
Veteran
Loyal Member
Apr 4, 2010
428
8
44
Spain
You are dumb .. I asked 2 or 3 times as you will be able to see it in xtrem, you doubt.
And since I never went so far as to understand anything, because I am Spanish.
Since I preferred looking for the things and reading in lomcn
many and many topics and by means of practising, I learned.
Asique I do not owe anything to anybody.
And it stops ****ing that you are very dumb.

/Origins
 
Upvote 0