![]() |
Players Can't see stretchx?
So I was doing some tests and I found out that other players can't see the manipulation function of 'stretch'..
PHP Code:
|
the problem here is that stretchx/stretchy/red/green/blue/alpha/mode/rotation/zoom etc are not synchronised between players
the most common way to accomplish this is to set a player.attr[index] value (these are synchronised between players) to a gani script (which are processed on every players client), and then set stretchx within that gani script |
Quote:
I am trying to do everything through that... Allow me to elaborate on what I'm doing.. I have a system where the player can only move left and right. All the player's ganis are set to singledir and they face left. The system detects which way the player is facing and sets the stretchx according to that. PHP Code:
ANYWAY, I need the modifications done through the weapons script so other players can see. Help please :) |
in that case why not just make a left and right version of the gani, and then for each gani file edit them as text and include:
PHP Code:
|
Quote:
I'll see what I can do. If you think of anything else let me know! |
Quote:
PHP Code:
|
Quote:
It gets messed up with replaceAni.. (using default movement) Why can't player.stretchx just work correctly :( Maybe I should put in feature requests |
example
Weapon: PHP Code:
PHP Code:
|
That was a bit** to figure out. BUT I GOT IT :)
I set the player.attr[4] to either 1 or -1 1 = left -1 = right In the gani script for each animation I just made the stretchx = player.attr[4] |
| All times are GMT +2. The time now is 08:48 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.