GTAMP.com

Grand Theft Auto Media Press
It is currently Sat Nov 18, 2017 2:04 pm

All times are UTC




Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Tue Jul 01, 2014 9:19 pm 
Offline

Joined: Sat May 16, 2009 6:14 am
Posts: 887
Location: London, UK
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?

_________________
GTA5 Race, DM & Capture | GTA2 Levels & Coding | GTA2 YouTube Videos
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)


Top
 Profile  
 
PostPosted: Tue Jul 01, 2014 10:59 pm 
Offline
Car Jacker

Joined: Sun Jan 29, 2012 6:56 pm
Posts: 27
Yes. I didn´t find any better searching for "camera bug".
Found out that an item_onscreen-check can improve it at least
Code:
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


Top
 Profile  
 
PostPosted: Sun Jul 06, 2014 10:50 am 
Offline

Joined: Sat May 16, 2009 6:14 am
Posts: 887
Location: London, UK
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!

_________________
GTA5 Race, DM & Capture | GTA2 Levels & Coding | GTA2 YouTube Videos
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)


Top
 Profile  
 
PostPosted: Tue Sep 23, 2014 6:57 pm 
Offline

Joined: Sun Apr 15, 2012 8:26 am
Posts: 332
I want to ask a question. Whose file is the "ms.sty"?

I only want to learn.


Top
 Profile  
 
PostPosted: Fri Oct 17, 2014 10:03 pm 
Offline

Joined: Sat May 16, 2009 6:14 am
Posts: 887
Location: London, UK
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?

_________________
GTA5 Race, DM & Capture | GTA2 Levels & Coding | GTA2 YouTube Videos
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)


Top
 Profile  
 
PostPosted: Tue Oct 21, 2014 6:26 pm 
Offline

Joined: Sun Apr 15, 2012 8:26 am
Posts: 332
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group