Client textures/models
by Jason Barno · in Torque Game Engine · 10/09/2006 (12:18 am) · 1 replies
Hi. I was hoping someone here could help me find information on the following:
a. Changing shape textures on client (without changing server, so only one player sees the changes)
b. Changing the ambient brightness on client (again, only for said player)
c. Placing a model only visible to one client (doesn't have to have collision)
d. playing a sound on a single client.
Basically the game I'm working on is a genre clash; crossing RPG, Horror, and Action. When a player's health gets low, they start to see strange things (trying not to give away too much of the plot). I was hoping to make these strange "apparitions" solitary to one client and not to the server (so one guy freaks out and the others wonder what for?)
Also, an unrelated question, I'm assuming the engine supports transparency althougth I haven't yet looked into how it works. Is there a way to "fade out" an object? It doesn't have to be literal, just the general appearance. If nothing else, seeing I'm just flashing the object in question, I could probably just do an intricate partical burst. Just wanted to ask rather than create a sperate thread.
Any help is much appreciated. Thanks!
a. Changing shape textures on client (without changing server, so only one player sees the changes)
b. Changing the ambient brightness on client (again, only for said player)
c. Placing a model only visible to one client (doesn't have to have collision)
d. playing a sound on a single client.
Basically the game I'm working on is a genre clash; crossing RPG, Horror, and Action. When a player's health gets low, they start to see strange things (trying not to give away too much of the plot). I was hoping to make these strange "apparitions" solitary to one client and not to the server (so one guy freaks out and the others wonder what for?)
Also, an unrelated question, I'm assuming the engine supports transparency althougth I haven't yet looked into how it works. Is there a way to "fade out" an object? It doesn't have to be literal, just the general appearance. If nothing else, seeing I'm just flashing the object in question, I could probably just do an intricate partical burst. Just wanted to ask rather than create a sperate thread.
Any help is much appreciated. Thanks!
About the author
Torque Owner Tim Heldna
That will give you some ways to make your player disappear. Won't work on a per client basis so you'll have to work something out. Triggering sounds per client is easy enough.
Good luck!