Graal Forums  

Go Back   Graal Forums > Gold Servers > Graal Kingdoms > GK Suggestions
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-21-2002, 12:11 PM
BombermanExtreme BombermanExtreme is offline
Registered User
Join Date: Apr 2002
Location: California
Posts: 11
BombermanExtreme is on a distinguished road
Send a message via AIM to BombermanExtreme
chat bubbles

You know how you type and text appears above
your head? well if it is possible, could you make it so a bubble
appears above your head showing the text? like in comic scripts?
and could you make some weapons like hang glider(similar to
zepplin air) and bicycle for easy transportation?
Reply With Quote
  #2  
Old 07-21-2002, 05:14 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Re: chat bubbles

Quote:
Originally posted by BombermanExtreme
You know how you type and text appears above
your head? well if it is possible, could you make it so a bubble
appears above your head showing the text? like in comic scripts?
and could you make some weapons like hang glider(similar to
zepplin air) and bicycle for easy transportation?
Currently it wouldn't be simple to make. The largest problem is that, to my knowledge, default text can't be turned off. What I'd like is two commands:

disablechatdrawing; //stops Graal from drawing #c over players' heads and leaves it open for a gani script to do so instead

disablechatbox; //stops Graal from automatically sending the contents of the chat bar to the server, instead triggering the player with the text as a param, so it could be interpreted like this:

NPC Code:

if(actionplayerchats){
if(strequals(#p(0),/sit)){
//do sitting stuff
}
//check other commands
else{
setplayerprop #c,#p(0);
}
}

__________________
Reply With Quote
  #3  
Old 07-21-2002, 11:32 PM
Aknts Aknts is offline
Level Designer
Aknts's Avatar
Join Date: Apr 2001
Location: USofA
Posts: 3,340
Aknts will become famous soon enough
Send a message via AIM to Aknts
I've already wanted to do this for Oasis chatting. I made the chat system for it, and now Stefan just needs to make the disable default chatting.
__________________
Reply With Quote
  #4  
Old 07-22-2002, 12:31 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
Well, couldn't you just make a script to detect whenever there is text above the head, and tell it to display blank text above the head instead? Then save the original text in a string for display using your alternate way.
Reply With Quote
  #5  
Old 07-22-2002, 01:46 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Yeah, that'd be fairly trivial. Only downside is chat-triggered stuff would have to detect the string instead of #c
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #6  
Old 07-22-2002, 02:00 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
Quote:
Originally posted by Tyhm
Yeah, that'd be fairly trivial. Only downside is chat-triggered stuff would have to detect the string instead of #c
Thats not entirely true..though to us it may seem like an instant, if will not with the NPCs. You could make a system like that and STILL allow the NPCs to react to #c...I've had a problem with that in some movie systems I made...
Reply With Quote
  #7  
Old 07-22-2002, 02:13 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
you forget the handy dandy callnpc index,flag; ?
__________________

subliminal message: 1+1=3
Reply With Quote
  #8  
Old 07-22-2002, 03:14 AM
Aknts Aknts is offline
Level Designer
Aknts's Avatar
Join Date: Apr 2001
Location: USofA
Posts: 3,340
Aknts will become famous soon enough
Send a message via AIM to Aknts
Quote:
Originally posted by Frolic_RC2
Well, couldn't you just make a script to detect whenever there is text above the head, and tell it to display blank text above the head instead? Then save the original text in a string for display using your alternate way.
You can't make a players chat text disappear. Playerprop only sets the chat invisible clientside. So if that was done, you would have a player say something like "Hello!", and to the player it would display properly, but to everyone else, they would see the speech bubble, and also the chat text "Hello!". It doesn't set "" as chat serverside.
__________________
Reply With Quote
  #9  
Old 07-22-2002, 03:48 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Well then, stefan will have to add another serveroptions wont he...
__________________

subliminal message: 1+1=3
Reply With Quote
  #10  
Old 07-22-2002, 03:58 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Really? It always worked globally for me...
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #11  
Old 07-22-2002, 06:09 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
Konidias, that wouldn't make much sense at all if you think about it.

The text display is client side input...if you think about it, shouldn't the script be emulating that client side input? Hitting tab, then typing in "Hello" and pressing enter would be the same thing as a script running setplayerprop #c, Hello. Its all clientside input, it would make no sense at all if Stefan made setplayerprop sent only to the client, and not to the server like typing in text manually does.

Just my thought, it seems pretty logical to me...
Reply With Quote
  #12  
Old 07-22-2002, 07:11 AM
Aknts Aknts is offline
Level Designer
Aknts's Avatar
Join Date: Apr 2001
Location: USofA
Posts: 3,340
Aknts will become famous soon enough
Send a message via AIM to Aknts
Quote:
Originally posted by Frolic_RC2
Konidias, that wouldn't make much sense at all if you think about it.

The text display is client side input...if you think about it, shouldn't the script be emulating that client side input? Hitting tab, then typing in "Hello" and pressing enter would be the same thing as a script running setplayerprop #c, Hello. Its all clientside input, it would make no sense at all if Stefan made setplayerprop sent only to the client, and not to the server like typing in text manually does.

Just my thought, it seems pretty logical to me...
Trust me, I've tried this already. Yes set playerprop TEXT shows up for all players, but putting:

setplayerprop #c,;

Only works for the player. Do not ask me why because I don't know. I just know that it only works for the player.
__________________
Reply With Quote
  #13  
Old 07-22-2002, 07:19 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
Quote:
Originally posted by Aknts


Trust me, I've tried this already. Yes set playerprop TEXT shows up for all players, but putting:

setplayerprop #c,;

Only works for the player. Do not ask me why because I don't know. I just know that it only works for the player.
Well...thats kinda weird. Maybe have it in a NPCW, out of the //#CLIENTSIDE area? It is just...very weird. I'll take your word for it though, I haven't tested this out myself considering I don't have a server.
Reply With Quote
  #14  
Old 07-22-2002, 09:28 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Kooky. Try it with a space then. setplayerprop #c, ;
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #15  
Old 07-22-2002, 09:25 PM
JAceves JAceves is offline
Registered User
Join Date: Sep 2001
Posts: 74
JAceves is on a distinguished road
Send a message via AIM to JAceves
doesnt setstring whatever, #c; setplayerprop #c,;
get rid of the text and allow the scripter to still manipulate the chat?
I dont recall that working for the player only, when i used it, no one saw the chat.
__________________
I obey Destiny...

Thank You B|2yan for the account ^-^
Reply With Quote
  #16  
Old 07-22-2002, 09:38 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by JAceves
doesnt setstring whatever, #c; setplayerprop #c,;
get rid of the text and allow the scripter to still manipulate the chat?
I dont recall that working for the player only, when i used it, no one saw the chat.
Setting #c to null removes the text (though not immediately - there's an ugly little pause before it's wiped), but then what? You've just deleted #c so you don't have chat text anymore. Put it in a string? Then how would you deliver the contents of that string to the other players? Problems.
__________________
Reply With Quote
  #17  
Old 07-22-2002, 10:27 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
That's why the chat bubbles, goober. You'd have to ganiscript it in to keep it from bouncing all over...
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #18  
Old 07-22-2002, 10:29 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
you could also try a null or space character like..

setplayerprop #c,#K(0); or setplayerprop #c,#K(32);
__________________

subliminal message: 1+1=3
Reply With Quote
  #19  
Old 07-23-2002, 08:07 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Tyhm
That's why the chat bubbles, goober. You'd have to ganiscript it in to keep it from bouncing all over...
Wait. Stop. What are you talking about?
__________________
Reply With Quote
  #20  
Old 07-23-2002, 10:06 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Quote:
Originally posted by Kaimetsu
Put it in a string? Then how would you deliver the contents of that string to the other players? Problems.
See also: The thread title. It would be delivered in the form of chat bubbles, probably via ganiscript displaying #s(P8) or something
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #21  
Old 07-23-2002, 11:08 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Tyhm


See also: The thread title. It would be delivered in the form of chat bubbles, probably via ganiscript displaying #s(P8) or something
Yeah, I know about the chat bubbles. But the problem is getting the chat text to the other players. Putting it into an arbitrary string doesn't work. The #Px stuff is okay, but those are limited in number. And can gani scripts even access them?
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.