Ronit.GAMES
Jak zrobić napisy nad TP. - Printable Version

+- Ronit.GAMES (https://forum.ronit.games)
+-- Forum: RonEngine Support / Wsparcie dla RonEngine (https://forum.ronit.games/forumdisplay.php?fid=18)
+--- Forum: Mapping / Tworzenie Map (https://forum.ronit.games/forumdisplay.php?fid=20)
+--- Thread: Jak zrobić napisy nad TP. (/showthread.php?tid=730)



Jak zrobić napisy nad TP. - kretonus - 02-05-2012

Jak zrobić napisy nad tp?
np. takie
[Image: scaled.php?server=14&filename=efektyp.jpg&res=landing]


RE: Jak zrobić napisy nad TP. - Ron - 14-05-2012

(02-05-2012, 09:46 PM)kretonus Wrote: Jak zrobić napisy nad tp?
np. takie
[Image: scaled.php?server=14&filename=efektyp.jpg&res=landing]

Za pomocą skryptu jedynie:

Do pliku triggers.xml możesz dodać wpis:
Quote:<trigger id="1" type="ON_LOOK" script="triggers/pokaz_napis.lua">
<look itemid = "98"/>
</trigger>

Do katalogu actions/scripts/triggers musisz dodać plik: pokaz_napis.lua:

Quote:function onTrigger(cid, item1, pos1, item2, pos2, trigger)
if trigger.id == 1 then -- ID Triggersa
if item1.type == 1930 then -- ID teleportu
if (pos1.x == 100 and pos1.y == 100 and pos1.z == 7) then
text1 = 'Opis teleportu.'
addEvent(doPlayerSendTextMessage,200,cid,22,text1)
return true
end
end
end
return false
end

Ów skrypt będzie wysyłał w czasie 200 milisekund od spojrzenia na teleport, napis: "Opis teleportu.".


RE: Jak zrobić napisy nad TP. - kretonus - 14-05-2012

Nie wiem ale u mnie nie działa Smile


RE: Jak zrobić napisy nad TP. - Ashanti - 24-09-2012

U mnie też nie trybi. :/


- - BousSaum - 29-06-2022

Czytasz mi w myślach. Zauważyłem, że to nie jest takie proste. Przydałby się taki poradnik wyjaśniający krok po kroku, z żargonem przetłumaczonym na ludzki język, jak zrobić hardka z pliku wideo i pliku z subami.

