Olá, sou novo no rev lucera e queria fazer uma pergunta, estou gerando alguns NPCs, mas eles apenas olham para trás, tentei o sethead, mas não se encaixou, tentei procurar onde poderia ajustar isso, mas não encontrei, alguém poderia dar uma dica?
Hi mate, here is guides.Olá, sou novo no rev lucera e queria fazer uma pergunta, estou gerando alguns NPCs, mas eles apenas olham para trás, tentei o sethead, mas não se encaixou, tentei procurar onde poderia ajustar isso, mas não encontrei, alguém poderia dar uma dica?
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE list SYSTEM "spawn.dtd">
<list>
</list>
Verifiquei os guias, fiz o spawn correto conforme descrito no guia e funcionou, o problema é que o npc sempre está de costas, essa é a minha perguntaOi cara, aqui estão os guias.
Também aqui está sobre o spawn de NPCsBeginning of work:
- Lucera 2 Server Setup
- Client ini and dat file editor
- How to give the Admin rights
- How to reload HTML
- GM commands
- Starting items for the character, coordinates of his appearance and basic characteristics
- Starting location and armor/buffs for characters
- How to configure languages or add your own
- Locations of all dialogues and translations
- How to work with multisells
- How to do and work with Trade List (Not Multisell)
- How to edit teleports and...
- Deazer
- server guide server instructions server management server setup
- Replies: 0
- Forum: [EN] Guides for Lucera2
The specificity of our server is that we have all the data on the location of the NPC are in XML format.
1. Location data: gameserver\data\spawn
2. You need to create a file for example 96_96.xml with the following contents. In fact, we created an empty file with no spawn.
Code:<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE list SYSTEM "spawn.dtd"> <list> </list>
3. Now go to generate the location of the NPC (spawn).
For Administrator available commands like:
3.1. //spawn_pos npc_id - generates a single spawn. Designed to NOT spawn mobs.Better use for teleporters, Shops etc.
Then...
- Deazer
- Replies: 0
- Forum: [EN] Guides for Lucera2
No, you haven't read the guide.Verifiquei os guias, fiz o spawn correto conforme descrito no guia e funcionou, o problema é que o npc sempre está de costas, essa é a minha pergunta
x | y | z | heading |
| 82808 | 147784 | -3464 | 16383 |
<spawn name="[custom_spawn]" event_name="[gm_shop]">No, you haven't read the guide.
<spawn name="[custom_spawn]" event_name="[auctioner]">
<npc id="40026" count="1" respawn="60" pos="82808 147784 -3464 16383"/>
</spawn>
x y z heading82808 147784 -3464 16383
Heading is face position if NPC
so - 4 parameters.
Fist - x
Second - y
Third - z
Fourth - face position.
<spawn name="[custom_spawn]" event_name="[gm_shop]">
<npc id="40013" count="1" respawn="60" pos="83759 149054 -3392 32767"/>
</spawn>
<spawn name="[custom_spawn]">
<mesh>
<vertex x="83750" y="149051" minz="-3392" maxz="-3264" />
<vertex x="83766" y="149051" minz="-3392" maxz="-3264" />
<vertex x="83766" y="149067" minz="-3392" maxz="-3264" />
<vertex x="83750" y="149067" minz="-3392" maxz="-3264" />
</mesh>
<npc id="40013" count="1" respawn="60" />
</spawn> Is there something wrong?
<spawn name="[custom_spawn]">
<mesh>
<vertex x="83750" y="149051" minz="-3392" maxz="-3264" />
<vertex x="83766" y="149051" minz="-3392" maxz="-3264" />
<vertex x="83766" y="149067" minz="-3392" maxz="-3264" />
<vertex x="83750" y="149067" minz="-3392" maxz="-3264" />
</mesh>
<npc id="40013" count="1" respawn="60" />
</spawn>

<spawn name="[custom_spawn]" event_name="[gm_shop]">
<npc id="40013" count="1" respawn="60" pos="83759 149054 -3392 32767"/>
</spawn>
Thank you my friend, sorry for the inconvenienceWhy ?Code:<spawn name="[custom_spawn]"> <mesh> <vertex x="83750" y="149051" minz="-3392" maxz="-3264" /> <vertex x="83766" y="149051" minz="-3392" maxz="-3264" /> <vertex x="83766" y="149067" minz="-3392" maxz="-3264" /> <vertex x="83750" y="149067" minz="-3392" maxz="-3264" /> </mesh> <npc id="40013" count="1" respawn="60" /> </spawn>
That is mesh.... you are trying to spawn point-to-point NPC
View attachment 5405
That is correct
Code:<spawn name="[custom_spawn]" event_name="[gm_shop]"> <npc id="40013" count="1" respawn="60" pos="83759 149054 -3392 32767"/> </spawn>