Freitag, 27. August 2010

Arrange folder.

Arrange folder contains cell/chaoticlocation/location/maprespawn/portallocation/siegeteleport/skyteleport/teleport/warp.csv files.


The most important files and which u will work the most with are location.csv/teleport.csv and warp.csv


Lets start with Location;


Open the file and I'll explain,


Index,Location_Name,MapIndex,Pos_X,Pos_Y,Direction,Pos_X2,Pos_Y3,Direction4


Index = Used in teleport.csv and warp.csv.
Location_Name = Name of the Location.
MapIndex = Index of the Map.
Pos_X = Position of the X axis.
Pos_Y = Position of the Y axis.
Direction = The direction of ur Character which he'll be facing.
Pos_X2 = Same as Pos_X
Pos_Y3 = Same as Pos_Y

Direction4 = Same as Direction.


Now I'll take that line as an example.


Index,Location_Name,MapIndex,Pos_X,Pos_Y,Direction,Pos_X2,Pos_Y3,Direction4
104,Parca Temple,6,416,333,0,416,333,0


Not hard to understand right? location.csv actually contains all the locations for the teleport.csv and warp.csv files. Means if you make an new teleporter and lets say u add a new map and u want the Teleporter to teleport u to that map u will also have to add a new location line for that map.


=========================
Now open Teleport.csv,


Teleporter is easy to understand, Click on a Teleport > location.csv and u will be Teleported.


Index,Teleport_StringIndex,UnitCount,UnitIndex_1,LocationIndex_1,String_1,Cost_1,Level_1,UnitIndex_2,LocationIndex_2,String_2,Cost_2,Level_2,UnitIndex_3,LocationIndex_3,String_3,Cost_3,Level_3,UnitIndex_4,LocationIndex_4,String_4,Cost_4,Level_4,UnitIndex_5,LocationIndex_5,String_5,Cost_5,Level_5,UnitIndex_6,LocationIndex_6,String_6,Cost_6,Level_6,UnitIndex_7,LocationIndex_7,String_7,Cost_7,Level_7,UnitIndex_8,LocationIndex_8,String_8,Cost_8,Level_8,UnitIndex_9,LocationIndex_9,String_9,Cost_9,Level_9

Index = Used is npc.csv file.
Teleport_StringIndex = Don't change it leave it at 1.
UnitCount = Count of how many locations do u want to have, 9 is max as far as i know more then 9 will crash u.
UnitIndex_1 = Don't change it leave it at 1. UnitIndex_2 = 2. UnitIndex_3 = 3 and so on..
LocationIndex_1 = Used from location.csv as i explained already, thats the location u will teleport to.
String_1 = The location name used in stringtable_teleport.txt as i already explained it, If it will show up as a code u will have to add that.
Cost_1 = How much u will pay to teleport.
Level_1 = Min lvl to teleport to the location.


Now I'll use this line as an example;
106,1,7,1,111,100,20,1,2,102,200,20,1,3,103,300,10,15,4,104,400,20,25,5,109,500,15,40,6,106,600,20,45,7,112,700,175,65,8,0,0,0,0,9,0,0,0,0

Now go to share/creature and open npc.csv and search for Alvin, Look at his coloum 9 its 106 right?


Means, Alvin is the Index in teleport.csv 106;

Alvin has 7 Locations to teleport to. Now back to teleport.csv look at the coloum 5 its 111 and the index 111 at location.csv is Braiken Castle 1 in my location.csv file. Coloum 6 is 100 means u will pay 100 dil to teleport to braiken. Coloumn 7 is 1 means u will have to be level 20 to teleport to Braiken 1..


Now lets look at the other coloumns the next Location is 102 means this is Braiken Castle 2 in my location.csv then the next coloumn is 200 means u will pay 200dil to teleport there, the next coloumn is 20 means u have to be level 20 to teleport to Braiken 2.


And so on, It should be all clearly explained now right? Thought so.


=========================
Next one is the warp.csv;


Warp.csv is also easy to understand warp.csv > location.csv and you will be warped.


Open up warp.csv and I'll explain;


Index,From_LocationIndex,Rect_X,Rect_Y,To_LocationIndex,Seige,Dungeon


Index = Index obviously doesnt matter which u use.
LocationIndex = Location index from which u will be warped (location.csv)
Rect_X = make it 3-4.
Rect_Y = make it 3-4.
To_LocationIndex = Location index to which you will be warped.
Siege = This one is only for siege map.
Dungeon = Also this one is only for Dungeons.


Now I'll take those lines as an example from warp.csv;


Also open location.csv


11245,11245,4,3,11246,0,0
11248,11248,4,3,11244,0,0



Those are my 2 lines; 
First line =
11245 = 11245,Cursed Maze,21,15,375,0,15,375,0
11245 = 11245,Cursed Maze,21,15,375,0,15,375,0
4,3 = the Rect_X and Rect_Y as i explained it already make it 3-4.
11244 = 11246,The Death Lands,63,235,461,0,235,461,0

2nd line =

11248 = 11248,Space of Pilgrimage,47,484,38,0,484,38,0
11245 = 11248,Space of Pilgrimage,47,484,38,0,484,38,0
4,3 = the Rect_X and Rect_Y as i explained it already make it 3-4.
11244 = 11244,Aguirai ruins 1,46,52,449,0,52,449,0


Its clearly easy to understand what that means, the first line will warp u from maze to the deadlands.
And the 2nd line will warp u from Space back to Aquirai Ruins.


Not hard at all to understand right? I knoooooooooooow =3.


You can also make alot of other things into the arrange folder like making new respawn points etc or also niete points, but I didn't learn that since now though, Its not that important also.


Those are the most important files into the Arrange folder, I hope u will understand everything when reading this.


~Harmony.

Keine Kommentare:

Kommentar veröffentlichen