Rename NPC, Message in the middle of the screen
I wonder if it is possible to rename an NPC? How do I send those messages that appear in red or yellow in the middle of the screen (gn_add does not show this) and how do I schedule happy hour to turn on and off automatically. Can anyone help?
I wonder if it is possible to rename an NPC? How do I send those messages that appear in red or yellow in the middle of the screen (gn_add does not show this) and how do I schedule happy hour to turn on and off automatically. Can anyone help?
Re: Rename NPC, Message in the middle of the screen
1:
Get the loc tools from Allods Devs
In your client folder open data\Packs\Text\EN.pak and you'll find pack.loc extract from there use the tools to unpack it change all the texts you want and then recompile it and put it back inside EN.pak ( make sure its under bin/pack.loc inside EN.pak)
2:
the red alerts i think needs some work for it to show on screen, not sure how to do it but working on it
3:
\Mechanics\Rules\LuckyDays\ modify the time table duration should work havent tried it though most servers i know enable/disable it manually
more on events
Re: Rename NPC, Message in the middle of the screen
gn_add does work, but only for others. Not for yourself. Everybody else sees the message in the middle of their screen. Just not the sender of the message.
Re: Rename NPC, Message in the middle of the screen
Yes gn_add works, but does not show the message in the middle of the screen, I wanted to know how to show that big red message in the middle of the screen.
Re: Rename NPC, Message in the middle of the screen
Quote:
Originally Posted by
Jaximus
gn_add does work, but only for others. Not for yourself. Everybody else sees the message in the middle of their screen. Just not the sender of the message.
With no modifications it doesn't show up on screen as a big red message only in text chat
some modification is needed. someone will make a guide on it on https://developers.allods-nova.eu soon @Marlthon
Re: Rename NPC, Message in the middle of the screen
gn_add X "<WarningLogRed>Blablabla</WarningLogRed>" should work perfectly fine.
or any other css tag.
<tip_red></tip_red> as example.
Or <Legendary></Legendary>
or <Relic></Relic> etc etc.
just check the Game.(WidgetCss).xdb file located \Interface\Common\Css\Game.(WidgetCss).xdb
it's easy af. I don't understand why most of the pservers were too dumb to use it lol
You can even combine multiple ones. just make sure you close them in the right order.
like: "<Size24><Legendary>blablabla</Legendary></Size24>"
Re: Rename NPC, Message in the middle of the screen
These CSS tags only affects messages that are displayed in text chat, by default gn_add does not seems to display messages in full screen. You have to modify java files to make it display messages on screen. Here is a tutorial : https://developers.allods-nova.eu/in...n-message.380/
- - - Updated - - -
Concerning lucky moments you can have a look here, I've made some modification to automatically enable lucky moment from friday 8pm to monday 0am https://github.com/AllodsDevelopersC...les/LuckyDays/