Some troubles

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Some troubles

Post by Pachacuti »

Three questions in one topic. :P

1- I just cant find where the hell is the script that changes the items names. The script that puts "a" before their names. ex: "a robe" when the item name is robe, etc.

2- How can I activate the tooltips? Like, when you pass the mouse over something, without clicking it, will appear the name and informations and etc.

3- Im having some troubles handling with npcdesc.cfg. The objtype is the animation right? I dont know why, when I create a human NPC, with the objtype 0x190 (h_male), the attack and defend animations are all screwd up. It looks like that the npc, when attacking, is using the look arround animation. I tried to change the AttackAnim but nothing happened.

Thanks for everyting guys =D
Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Re: Some troubles

Post by Pachacuti »

EDIT:

News, I solved the animation problem, Ill soon explain what I did.
Damien.
Journeyman Poster
Posts: 63
Joined: Thu Feb 08, 2007 11:14 am

Re: Some troubles

Post by Damien. »

1. Use UOFiddler -> TileData tab -> ArticleA or ArticleAn
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Some troubles

Post by Tomi »

1. Use UOFiddler -> TileData tab -> ArticleA or ArticleAn
This is one solution yes, those are clientside articles ( can be on serverside stopped from using them though )

if you dont want these articles use ServsPecopt option UseTileFlagPrefix=0/1

otherwise you have to do your changes in tiledata.mul clientside
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm

Re: Some troubles

Post by *Edwards »

In the itemdesc entry you can add ToolTip text. Well, my suggestion would be to point you to the docs section to get exactly all possible options you can add in itemdesc, ...
Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Re: Some troubles

Post by Pachacuti »

Yeah, 2/3 problems solved.

Edwards, but these tooltips, if they are set in itemdesc, how could them be active for players and npcs? I believe I saw somewhere players and npcs with tooltips too.
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Some troubles

Post by Tomi »

Tooltip entry in itemdesc is for very old clients....
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm

Re: Some troubles

Post by *Edwards »

It works with all clients if you are not using contextMenu ( AOS Feature enable )( exception with KR and SA )...
Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Re: Some troubles

Post by Pachacuti »

Err... I still dont get how to add the tooltips. When I mean tooltip, I mean this:

Image
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm

Re: Some troubles

Post by *Edwards »

Look in config/servpercon.cfg (not sure it<s well spelled... ) and there is an elem inside called UOFeature and with the doc given in this file enable the AOS features. Then just start the server and it will work.
Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Re: Some troubles

Post by Pachacuti »

Sorry for the tons of questions =/

The Tooltips are working for items, but not for mobiles, any idea?

In the mobiles case, it just appears a blank tooltip.
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm

Re: Some troubles

Post by *Edwards »

This is because you need to script it yourself!! Hehe. It is not core functions so take a look in download section or simply do a search for tooltip in the forum to get a <where to start>. And if you have questions just post here. It is the goal of the community to make it easier for new comers. Pol forever!!!!!!!
Post Reply