PDA

View Full Version : [317] Tut



Redcen1
November 27th, 2010, 05:57
I made this, rate the guide please 0/10

I will improve it;

Grammar maybe pictures in the morning, for now this is what i came up with;


okay, Changing home you need to go to commands.java in your source, then to change coords you need to go to clickingbuttons.java


look for something like


if ___ starts with ("home")

Teleport(xxxx yyyy coods)
sendMessage ("Welcome To ____ Home")


Npc's go to autospawn.cfg
or spawn-config.cfg (Note: They are both the same)

Look for the npc you want say for example


Spawn = 50 xxxx yyyy 0 0 0 King Black Dragon


change the coords


x = coords (go ingame and put ::mypos gives you coords E.g 2342 2342 0

all you need to do is change the first lines as in


yyyy = 2322 xxxx = 2342 0


(the '0' leave it as it is, its for e.g you want a upstairs place like slayer tower. it has three floors

0 = First floor (main place where everyone walks)

1 = Second flood (their should be stuff built in there if.. you wish to add this etc

2 = Third floor (if their are things in there)



Moving Npc's;

like i said up there.. look for the Npc id in autospawn.cfg/spawn-config.cfg


and go where ever you want to move the npc to say Edge ville go to a place in edge ville and do ::mypos once it gives you coords go to the npc file and change the two Coords.


-----
Didnt do my best, will improve in the morning
-----

Stiflex
November 28th, 2010, 14:56
can i ask what is this tut about ? i read a bit of it and dont know what the hell are you tryin to do

EDIT: ooh you're making a how to change home spawn right? can u rename the post?

Redcen1
November 29th, 2010, 00:50
can i ask what is this tut about ? i read a bit of it and dont know what the hell are you tryin to do

EDIT: ooh you're making a how to change home spawn right? can u rename the post?

you dun' me good :p

iiNarbz
November 29th, 2010, 00:52
i lik it sir. Very usefull O_O and i forgot how to change npcs >_> tyy

^lol'd at sig.

Network
November 29th, 2010, 00:52
1/10, not good at all. You should use [ quote] tags and instead of saying "something like this", know what your saying. Explain yourself well.

Redcen1
November 29th, 2010, 00:54
Thanks Guise.

Kingdomkey01
December 7th, 2010, 04:04
Code tags work well :P.