Page 3 of 3

Re: MultiSlayer 6 (Arenas & Team Games)

Posted: 01 Jul 2014, 21:19
by BenMillard
Sadly I'm not sure that can be worked around. Jailbreak: Army Base has similar problems if you die in a vehicle, due to the way I use WARP for team respawn locations.

Although looking back, it seems like delayed WARP solved the camera issue?

Also...have you replied to the right topic?

Re: MultiSlayer 6 (Arenas & Team Games)

Posted: 01 Jul 2014, 22:59
by Rick
Yes. I didnĀ“t find any better searching for "camera bug".
Found out that an item_onscreen-check can improve it at least

Code: Select all

IF (CHECK_CHARACTER_HEALTH (p, 0))
   IF (IS_ITEM_ACCURATELY_ONSCREEN (p))//this check prevents the camera bug in most cases
      IF (LOCATE_CHARACTER_ON_FOOT(p, 153.50, 107.50, 2.00, 1.50, 1.50))
         SET pweapon = 1
         WARP_FROM_CAR_TO_POINT (p, 155.50, 100.50, 2.70, 270)	    /*Entrance*/
      ENDIF
   ENDIF
ENDIF

Re: MultiSlayer 6 (Arenas & Team Games)

Posted: 06 Jul 2014, 10:50
by BenMillard
I see, so it will only warp the player if the camera can already see them. Warping when the camera cannot see them makes it fly across the level at moderate speed to them? The camera uses this slow mode just after you respawn, IIRC.

Nice find, either way. I guess the time delay I introduced means you see the player for a moment before the WARP, so it has the same effect but isn't specifically linked to the cause.

Your code looks way neater than using custom timers by looping on a COUNTER object, too!

Re: MultiSlayer 6 (Arenas & Team Games)

Posted: 23 Sep 2014, 18:57
by Galactic Boy
I want to ask a question. Whose file is the "ms.sty"?

I only want to learn.

Re: MultiSlayer 6 (Arenas & Team Games)

Posted: 17 Oct 2014, 22:03
by BenMillard
That file is mine. Most of the new textures in it were exported from GTA1 Vice City by other GTA modders. This is described in the readme and this topic and my website?

Re: MultiSlayer 6 (Arenas & Team Games)

Posted: 21 Oct 2014, 18:26
by Galactic Boy
OK. Thanks.

But there's a problem with the GTA1 Vice City map. I remembered while I was reading your reply. There aren't any error in files of this map. The game crashes when I slipping the camera. I couldn't fix this. I would be happy if you help.