Quantcast

Jump to content

» «
Photo

Barton's GTA2 Camera

19 replies to this topic
spaceeinstein
  • spaceeinstein

    巧克力

  • Members
  • Joined: 17 Jul 2003
  • None

#1

Posted 03 August 2005 - 11:21 PM Edited by spaceeinstein, 05 September 2005 - 03:44 AM.

CONVERTED FOR SAN ANDREAS!

Created by Barton Waterduck for Vice City. Conveted by me for San Andreas. This mod lets you play the game using a simulated version of GTA3's top-down view camera. If you have a joystick, use it. The on-foot camera is similar to GTA3's top-down view.

Installation for intermediate scripters only. Please download Barton's mission builder using Craig's link.

CODE
004F: create_thread ££MOD_CAMERA

:MOD_CAMERA
03A4: name_thread 'GTA2C'

:MOD_CAMERA1
0001: wait  10 ms
00D6: if  0
0256:   player $PLAYER_CHAR defined
004D: jump_if_false ££MOD_CAMERA1
00D6: if  0
8965:   NOT actor $PLAYER_ACTOR swimming_in_water
004D: jump_if_false ££MOD_CAMERA3
00D6: if  0
80DF:   NOT   actor $PLAYER_ACTOR driving
004D: jump_if_false ££MOD_CAMERA2
00A0: store_actor $PLAYER_ACTOR position_to @1 @2 @3
00A0: store_actor $PLAYER_ACTOR position_to @4 @5 @6
000B: @6 +=  15.0;; floating-point values
000B: @2 +=  2.0;; floating-point values
015F: set_camera_position @4 @5 @6  0.0  0.0  0.0
0160: point_camera @1 @2 @3  2
0002: jump ££MOD_CAMERA1

:MOD_CAMERA2
0001: wait  10 ms
00D6: if  0
0256:   player $PLAYER_CHAR defined
004D: jump_if_false ££MOD_CAMERA1
03C0: @0 = actor $PLAYER_ACTOR car
00D6: if  0
00DB:   actor $PLAYER_ACTOR in_car @0
004D: jump_if_false ££MOD_CAMERA1
02E3: @7 = car @0 speed
0087: @8 = @7;; floating-point values only
0017: @8 /=  2.0;; floating-point values
0407: create_coordinate @1 @2 @3 from_car @0 offset  0.0 @8  0.0
0407: create_coordinate @4 @5 @6 from_car @0 offset  0.0 @8  0.0
000B: @6 +=  15.0;; floating-point values
005B: @6 += @7;; floating-point values
000B: @2 +=  2.0;; floating-point values
015F: set_camera_position @4 @5 @6  0.0  0.0  0.0
0160: point_camera @1 @2 @3  2
0002: jump ££MOD_CAMERA2

:MOD_CAMERA3
02EB: restore camera with jumpcut
0002: jump ££MOD_CAMERA1

josh_5
  • josh_5

    It's me !!!!!!!!!!&#

  • BUSTED!
  • Joined: 30 Jul 2005

#2

Posted 04 August 2005 - 03:55 PM

im sure i used this for vc and it was very glitchy and screens plz!

Premium
  • Premium

    The Pref.

  • Members
  • Joined: 29 Mar 2002

#3

Posted 05 August 2005 - 03:07 AM

user posted image

user posted image

user posted image

The camera is glitchy if you tap accelerate/reverse when driving, It zoom's in/out in large jumps depending on which button you're tapping. The camera seems to work alot better if you keep your accelerator held down and avoid hard breaking. It's also slightly jumpy when driving at high speeds as the camera tries to catch up to the car.
On foot seems to work fine as long as you set the controller config to joypad, so that you can have ps2 style aiming.
I havent tried flying anything yet but im off to try that now. I also noticed when driving off the edge of liberty that the camera zoomed pretty damn far away from the car, creating a pretty cool effect. I assume it'll do the same when driving off chilliad and such, so i'll go give that a go aswell. It's pretty sweet to have a gta 2/3 style camera to play around with.
Nice work on the conversion, but yeah, a little work is needed.

josh_5
  • josh_5

    It's me !!!!!!!!!!&#

  • BUSTED!
  • Joined: 30 Jul 2005

#4

Posted 05 August 2005 - 11:33 AM

thnx fo the shots also may i ask how you got ur health bar that big and how u got a car into libert city

dertyjerzian
  • dertyjerzian

    I have a custom member title. I call it "Solid Snake"

  • BUSTED!
  • Joined: 08 Jun 2005

#5

Posted 05 August 2005 - 01:13 PM Edited by dertyjerzian, 29 November 2006 - 04:47 AM.

deleted

demonj0e
  • demonj0e

    Sa Coder In Training

  • Members
  • Joined: 05 Apr 2005

#6

Posted 05 August 2005 - 01:31 PM

sweet but until its not buggy i may not use it
and how did u get ure health bar so big?
and dertyjerzian how the hell did u get 700+posts in about 2 months???

Alick
  • Alick

    L)VE

  • Members
  • Joined: 16 Jul 2005

#7

Posted 05 August 2005 - 01:44 PM

Looks good, but i don't think i'll use it as i hated that camera view.

spaceeinstein
  • spaceeinstein

    巧克力

  • Members
  • Joined: 17 Jul 2003
  • None

#8

Posted 05 September 2005 - 03:43 AM Edited by spaceeinstein, 05 September 2005 - 03:47 AM.

Late reply: Thanks for the comments biggrin.gif

I updated the code. I changed the global vars to local vars, partly restored the camera if CJ is swimming, and with some other minor fixes.

scalliano
  • scalliano

    Ice Cold Killa

  • Members
  • Joined: 31 Jul 2004

#9

Posted 07 September 2005 - 05:00 PM Edited by scalliano, 07 September 2005 - 05:10 PM.

Link is broken.

Plus can anyone direct me to the VC one? I can't find it anywhere.

michael-z
  • michael-z

    Im dislex. FYI i spell bad

  • Members
  • Joined: 26 Jul 2005

#10

Posted 08 September 2005 - 01:18 AM

lol classic i gota get this one cookie.gif

wahgah
  • wahgah

    Lost In Postion

  • Members
  • Joined: 14 Jan 2006

#11

Posted 29 May 2006 - 03:44 AM Edited by wahgah, 02 June 2006 - 07:24 PM.

could anybody tell me what to put the :mod lines after?

EDIT:: Or could you give a download of the main.scm so I can use it or add it into mine where it is suppoed to do.

dodgeme
  • dodgeme

    Vendetta

  • BUSTED!
  • Joined: 30 Dec 2004

#12

Posted 22 June 2006 - 08:26 PM

can someone tell me how to instal this

wahgah
  • wahgah

    Lost In Postion

  • Members
  • Joined: 14 Jan 2006

#13

Posted 08 August 2006 - 02:53 AM

is there anyone nice enough to give me a pictures showing me
where to put the second bit after the
CODE
004F: create_thread ££MOD_CAMERA
part?

TonyResta
  • TonyResta

    Tony Resta

  • Members
  • Joined: 01 Mar 2006

#14

Posted 12 November 2006 - 01:35 PM

would somebody be kind enough to host a main.scm for me or send it to me over email, thanks

TonyResta
  • TonyResta

    Tony Resta

  • Members
  • Joined: 01 Mar 2006

#15

Posted 25 November 2006 - 09:59 AM

ok, ive added the code using a tutorial, now, when i start a new game i get the camera in gta2 style with cj in a grey background, the voices of the intro cutscene are still going and then after the voices go i cant do anything, the game has not frozen but i just cant move or skip the cutscene, can someone help me out please?

dertyjerzian
  • dertyjerzian

    I have a custom member title. I call it "Solid Snake"

  • BUSTED!
  • Joined: 08 Jun 2005

#16

Posted 29 November 2006 - 04:50 AM

QUOTE (demonj0e @ Aug 5 2005, 08:31)
sweet but until its not buggy i may not use it
and how did u get ure health bar so big?
and dertyjerzian how the hell did u get 700+posts in about 2 months???

since it's been bumped... And in case you are still wondering... I jsut lived this place last august. I f*cking love it.

_DK
  • _DK

    gta3 cleo

  • Feroci Racing
  • Joined: 12 Apr 2009
  • None

#17

Posted 04 June 2009 - 05:23 PM Edited by PatrickW, 05 June 2009 - 07:11 AM.

Now it is in .cs
<<<Link Removed>>>
I love this mod smile.gif

gtasearcher
  • gtasearcher

    No sh*t.

  • Members
  • Joined: 26 Aug 2008

#18

Posted 05 June 2009 - 04:42 AM

Why such a bump? And first, do you have permission to make it a cleo and release it?!?

PatrickW
  • PatrickW

    GTA Juggernaut

  • Inactive Staff
  • Joined: 07 Jan 2004
  • Netherlands
  • Best Script 2013 [DYOM]
    Best Script 2012 [DYOM]

#19

Posted 05 June 2009 - 07:12 AM

You're not allowed to release conversions without permission of the original author, link removed.

bender-40
  • bender-40

    Player Hater

  • Members
  • Joined: 22 Sep 2009

#20

Posted 22 September 2009 - 11:56 PM

Hi;I'm french and my English is not good.So I will want to know how install this mod and that will be really cool that one explains to me how to make. colgate.gif
I hope that what I have say is understandable and I thank you for your comprehension.Thanks




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users