Tracking/Panning the Spawnscreen

Started by Gulk2, Oct 09, 2019, 01:33 AM

Previous topic - Next topic

Gulk2

.. to different locations, can it be done? Just tested setting:

SetSpawnCameraPos
SetSpawnCameraLook

both switching with different skin IDs and the camera just instantly teleports instead of travelling.

thanks in advanced for any input.

D4rkR420R

I mean, that would require lots of function calls to achieve the smoothness, thus it wouldn't be ideal.

Sebastian

Unfortunately, there is no such function like "MoveCamera"...

Gulk2

#3
I think its do-able guys, with a script like this, described...

1. Force player to spawn
2. Freeze player
3. Set players skindID to first skin wanted (for first spawnloc)
4. Read players skinID and sets SetCameraPos( [Vector] position, [Vector] look ); accordingly < New spawnlocs based on SkinID
 (note player needs to be teleported close by spawnscreen location for game to load textures/world correctly.
5. Set player skidID from onkeypress left & right arrows, just like original spawnscreen. and set Return key or shoot/rmb to spawn.

This technique seems to work in another VC program. But I'm unskilled at scripting.

Sebastian

I assume your already figured it out, in this post

Gulk2

Quote from: Sebastian on Oct 10, 2019, 10:08 AMI assume your already figured it out, in this post

Not yet. Bu it todo, wil share if succes :D