logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Dynamic names
Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development
View previous topic :: View next topic  
Author Message
virusman



Joined: 30 Jan 2005
Posts: 1012
Location: Russia

PostPosted: Sat Sep 09, 2006 15:02    Post subject: Dynamic names Reply with quote

Recently I wrote an NWNX-plugin for my RP PW to dynamically change player/creature names that are being sent to clients. In other words, the real names remain (for DMs and scripts), while the ones displayed in player clients may be different and are changed by scripts.
For example, I see somebody for the first time, so his/her name is "Stranger" for me. When he/she tells me his/her name (it can be a false name), I can set this name to be displayed automatically next time we meet. So there will be no "name over the head" problem.
Something like that:
http://data.virusman.ru/nwn/name_disp3.jpg (just changed all display names to "Test name")
http://data.virusman.ru/nwn/name_disp4.jpg (first number is client PC object ID, second is the creature ObjID)
http://data.virusman.ru/nwn/names_party.jpg (party example; the grey word is "Stranger" in russian)
http://data.virusman.ru/nwn/nwnx_names1.jpg
http://data.virusman.ru/nwn/nwnx_names2.jpg
It can be used to hide real PC names and allow players to set a custom name to any other PC.

It's still in development and I haven't decided if it'll be released or not..


Last edited by virusman on Sat Feb 09, 2008 1:52; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
dorrian



Joined: 05 Apr 2007
Posts: 7

PostPosted: Thu Apr 05, 2007 21:15    Post subject: Reply with quote

That both sounds and looks truly amazing. Did you end up doing much with this? I would love to hear more about it.
Back to top
View user's profile Send private message
nwn_martin



Joined: 06 Apr 2007
Posts: 10

PostPosted: Fri Apr 06, 2007 17:10    Post subject: wonderful Reply with quote

i have always wished for hiding identity, this is totally awesome
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1012
Location: Russia

PostPosted: Fri Apr 06, 2007 21:24    Post subject: Reply with quote

We use it for our identity hiding system on my PW.
This is the most complicated plugin of all my NWNX plugins. It supports only NWServer 1.67 (Linux) now. When 1.69 comes out, I'll port it to 1.69.
It's impossible to port it to Windows.
And I'll probably never do anything like this again. Smile I spent 2 weeks in disasm/debug just to make something that nobody thought was possible.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1058
Location: Germany

PostPosted: Sat Apr 07, 2007 11:33    Post subject: Reply with quote

I know this feeling... Smile Happened to me with resource manager.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Sun Jul 08, 2007 3:47    Post subject: Reply with quote

Does SetName() effectively do the same thing as this plugin (for PCs), or does it actually change the PC's name with regards to everything? If the latter, then I just might have to try the impossible and port it to Windows.
Back to top
View user's profile Send private message Visit poster's website
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Sun Jul 08, 2007 7:18    Post subject: Reply with quote

You can do pc name changes fairly effortlessly using leto. I have a post on the leto forms with the needed functions, just fyi.
Funky
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1012
Location: Russia

PostPosted: Sun Jul 08, 2007 11:48    Post subject: Reply with quote

SetName doesn't work for PCs. Even if it did, its effect would be global.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Sun Jul 08, 2007 18:20    Post subject: Reply with quote

I don't want to permanently change the PC's name, as that would royally screw up all references to them in the DB.
Back to top
View user's profile Send private message Visit poster's website
bard



Joined: 20 Aug 2007
Posts: 1

PostPosted: Mon Aug 20, 2007 15:46    Post subject: Reply with quote

Any news with dynamic names plugin?
Such an amazing thing should definitely be part of all RP NWN worlds! Wink
Back to top
View user's profile Send private message
PhyrPhly



Joined: 16 Jun 2007
Posts: 25

PostPosted: Wed Aug 22, 2007 16:38    Post subject: Re: Dynamic names Reply with quote

This is very interesting. Nice job!

I'm curious... You state that a PC can dynamically name a "stranger". Since this is server-side, is the "new" name displayed for all clients? (e.g. PlayerA sets PlayerB's character's name from "Stranger" to "Bob", does PlayerC see PlayerB's character as "Stranger" or "Bob"?)

If all PC/NPC names are unique to every player, are you using some sort of table to store these names?

Thanks,
- PhyrPhly
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1012
Location: Russia

PostPosted: Wed Aug 22, 2007 17:39    Post subject: Re: Dynamic names Reply with quote

PhyrPhly wrote:
I'm curious... You state that a PC can dynamically name a "stranger". Since this is server-side, is the "new" name displayed for all clients? (e.g. PlayerA sets PlayerB's character's name from "Stranger" to "Bob", does PlayerC see PlayerB's character as "Stranger" or "Bob"?)
Of course no.

PhyrPhly wrote:
If all PC/NPC names are unique to every player, are you using some sort of table to store these names?
Yes.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Extreme



Joined: 28 Nov 2007
Posts: 135

PostPosted: Fri Feb 22, 2008 23:31    Post subject: Reply with quote

i Want to thank you for making this plugin. I have not put her in yet, but this is exactly what teh doctor ordered Very Happy
Back to top
View user's profile Send private message
Zaith



Joined: 05 Jun 2007
Posts: 21

PostPosted: Sat Feb 23, 2008 0:34    Post subject: Reply with quote

Extreme wrote:
i Want to thank you for making this plugin. I have not put her in yet, but this is exactly what teh doctor ordered Very Happy


I didn't realize that this had been released already. I've been waiting for this since virusman first hinted that he might release it.
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1012
Location: Russia

PostPosted: Sat Feb 23, 2008 15:04    Post subject: Reply with quote

The plugin is not available yet. As I said before, I'll release it after 1.69 (final) comes out.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development All times are GMT + 2 Hours
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group