Jump to content
Eternal Lands Official Forums
Sign in to follow this  
lucifer_wn

Some question about def file

Recommended Posts

Hi, I have some questions about how to configure the .def file, I hope you can help me :)

 

1- As we can't use the same definition in a range of tiles, for example:

 

[use_area]

min_x: 10

min_y: 100

max_x: 20

max_y: 120

teleport_x: 95

teleport_y: 28

teleport_map: 0

map_object_id: 2167

[/use_area]

 

[use_area]

min_x: 20

min_y: 150

max_x: 30

max_y: 160

teleport_x: 85

teleport_y: 23

teleport_map: 0

map_object_id: 2278

[/use_area]

 

We are using the Tile X=20 so it will bring an error.

 

 

The question is: Can I use a same Tile for 2 or more definitions? for example:

 

[use_area]

min_x: 10

min_y: 100

max_x: 20

max_y: 120

teleport_x: 95

teleport_y: 28

teleport_map: 0

map_object_id: 2167

[/use_area]

 

[text_area]

min_x: 10

min_y: 100

max_x: 20

max_y: 120

text: 'Hello world'

[/text_area]

 

 

2- In "teleport_map" as we only have one map, must we write "teleport_map: 0" or other number?

 

3- If you use a area (to text_area, usea_area....) where you have some killed tiles (you can't walk some tile in area) will it bring an error?

Edited by lucifer_wn

Share this post


Link to post
Share on other sites

1. Yes

2. Just write a place holder like "guildmapname", then when you pay for your map i'll give you the real # which you can replace it with.

3. No errors.

Share this post


Link to post
Share on other sites

Hi, me agin :brooding: I have more questions if its possible

 

1- How can i know the numbers of objects to "inv_object_id"?

 

When the map will be at test server:

 

2- How many people would enter? how many at same time?

 

3- How many modifications (at elm and def) i can make? Only One to solve the errors, or would i make more?

Share this post


Link to post
Share on other sites

Hi,

 

I dont' really understand your first question...

 

You can have as many people test out your map as you want.

 

If it's a NEW guildmap you can have some extra uploads as long as it doesn't get unreasonable. You should have all you want in place the first time then just bug fixes and small additions after.

Share this post


Link to post
Share on other sites

For your first question, if you want to use an object as a key for a guild map, you must specifically PM roja and ask her (and saying which item you'd like). I believe there is a limit as to how many you can have in a guild map, but again, PM Roja.

Share this post


Link to post
Share on other sites

A key for a guild map? i don't understand it :brooding:

 

I asked because i saw it:

 

How to get coordinates in the map editor:

 

1.open map in editor. move around with arrow keys, pageup/down=zoom, home/end=rotate, m =minimap that you can click to move to spot.

 

[...]

 

Example:

 

Correct:

"white tower door"

[use_area]

min_x: 117

min_y: 151

max_x: 123

max_y: 156

teleport_x: 19

teleport_y: 66

teleport_map: 32

map_object_id: 1023

inv_object_id: -1

send_sparks: 0

too_far_text: `You are too far away from the door`

use_text: ``

wrong_object_text: `Nothing happens.`

[/use_area]

 

[...]

 

There some maps at EL where you can use a Magic Essence (for example) and go to other location of same map. I want know How can i get de ID of objects (which isn't at guild map)?

 

Thanks i hope now you can understand me, my english isn't very good XD

Share this post


Link to post
Share on other sites

As Ace stated. Your going to need to pm Roja for any info regarding the ID of a item. Iirc your allowed up to 2 keys for the entire guild map. I could be wrong. But of those 2 items persay, I beleive your your choices are only limited to what is available as a item in game. :brooding:

Share this post


Link to post
Share on other sites

Hi again :)

 

2 questions :P

1- Does "allow_tport" works at def? I putted

[attributes]
[allow_tport]
min_x: 100
min_y: 100
max_x: 200
max_y: 200
value: 0
text: No se permite Teleport to Range en esta zona
[/allow_tport]
[/attributes]

 

And it isn't work :(

 

2- i didn't try but does [allow_spellcasting] works on def and guild maps?

 

Thank you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×