Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-16-2009, 07:58 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Replicating default flicker

I'm working on a custom movement system, and I'm trying to find a way to replicate the default flickering.

Needs to:
- flicker the player, but not the shadow
- not hide the player's nick as well
- not interfere with the player's gani(after the player 'flies back' when hit, they are still able to move, but will still flicker. This means setting the player's ani will making continuous animation like walking loop and such... not pleasant to look at)

hideplayer and player.alpha/zoom/etc... each do at least one of the above.

Any suggestions?
Reply With Quote
  #2  
Old 06-17-2009, 06:15 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
I guess you could hidePlayer() then showani a shadow at the player's location, but it might not look very smooth.
__________________
Reply With Quote
  #3  
Old 06-17-2009, 06:24 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Hideplayer hides the player's nick as well, and I'm trying to avoid having to rescript default nicks.
Reply With Quote
  #4  
Old 06-17-2009, 06:47 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by cbk1994 View Post
I guess you could hidePlayer() then showani a shadow at the player's location, but it might not look very smooth.
Quote:
Originally Posted by DustyPorViva View Post
Hideplayer hides the player's nick as well, and I'm trying to avoid having to rescript default nicks.
change player.alpha then?

I would imagine when it comes down to it the easiest thing to do would be modifying the hurt gani to add a shadow under their feet.
Reply With Quote
  #5  
Old 06-17-2009, 07:43 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
player.alpha hides the nick as well. And flickering persists beyond the hurt gani, as you are only 'hurt' for I think 1 second, and then can move for a second or so afterwards, still flickering.
Reply With Quote
  #6  
Old 06-17-2009, 08:40 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by DustyPorViva View Post
player.alpha hides the nick as well. And flickering persists beyond the hurt gani, as you are only 'hurt' for I think 1 second, and then can move for a second or so afterwards, still flickering.
perhaps run a small script on the clientside adjusting the players body/shield/head graphic to a transparent graphic for .2 sec, then adjust back, repeat a few times?
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 01:26 AM.


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