NPC Direction

Nunes

Heir
Customer
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?
 

Attachments

  • WhatsApp Image 2025-02-22 at 16.11.28.webp
    WhatsApp Image 2025-02-22 at 16.11.28.webp
    17.9 KB · Views: 18
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.
Also here is about NPC spawn
 
Oi cara, aqui estão os guias.
Também aqui está sobre o spawn de NPCs
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
 
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
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​
heading​
82808 147784 -346416383

Heading is face position if NPC
so - 4 parameters.
Fist - x
Second - y
Third - z
Fourth - face position.
 
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​
heading​
82808 147784 -346416383

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]" 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?
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>
Why ?

That is mesh.... you are trying to spawn point-to-point NPC

1740255999679.webp

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>
 
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>
Why ?

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>
Thank you my friend, sorry for the inconvenience
 
Back
Top