Quantcast

Jump to content

» «
Photo

open cj garage cam fixed mode

3 replies to this topic
elyo
  • elyo

    Player Hater

  • Members
  • Joined: 19 Aug 2008

#1

Posted 12 April 2009 - 06:55 PM

hello im elyo and i downloaded this mod :http://files.filefront.com/New+Garage+Mod/;6381838;/fileinfo.html
it opens the cj`s garage with interior
but wen i enter the building the camera goes to fixed mode
i want to remove that fixed mode
how can i do that


greetings elyo

gabe555
  • gabe555

    Stay Back!

  • Members
  • Joined: 06 Oct 2008

#2

Posted 26 April 2009 - 05:36 AM

you mean the camera doenst follow Cj,
it stay outside the garage?
smae problem here, hope somebody help you smile.gif

OrionSR
  • OrionSR

    Chain Game Development Team

  • Members
  • Joined: 23 May 2007

#3

Posted 29 April 2009 - 06:00 AM

The door properties are established when a new save is created. If you change a line in an IPL file you can change the remote camera angle. The code below has the original line commented out with an #. More information on IPL garage settings can be found at:
http://www.gtamoddin...Grge_Door_Types

From SFSe.ipl
CODE
#-2057.35, 150.803, 27.8286, -2038.91, 150.803, -2057.35, 182.876, 33.2286, 1, 1, hbgdSFS
-2057.35, 150.803, 27.8286, -2038.91, 150.803, -2057.35, 182.876, 33.2286, 5, 1, hbgdSFS // Doherty Mission Garage


Opcode 03DA is supposed to disable remote camera control of the player when in a garage, but I'm not sure if it sticks.

The code segments below are part of a CLEO custom mission (local variables are out of range of a CLEO script) that we used to tweak garage settings. You'll probably need to fiddle with it a little to get it to work the way you want. However, I looked up the proper garage index for you and I think I made the correct adjustment to the door flags. You can find more information on the door flags at:
http://www.gtamoddin...lock_3:_Garages

CODE
// --- Change Camera Angle ---

0006: 71@ = 22 // Garage to Modify   // Doherty Mission Garage
0006: 70@ = 0x28  // Door Type       // camera follows player
0050: gosub @sub_CG_Garage_DoorTweak


CODE
:sub_CG_Garage_DoorTweak
// tweak garage door flags (field 21 - offset 78)
// writes value 70@ to field 21 of garage 71@

00D6: if and
0029:   71@ >= 0      // index of garage to tweak (0-49)
002B:   49 >= 71@
0029:   70@ >= 0x00   // 70@ isn't out of range (1 byte)
002B:   0xFF >= 70@
004D: jump_if_false @sub_CG_Garage_DoorTweak_End

0085: 77@ = 71@        // write address = garage index
0012: 77@ *= 216       // *= record size
000A: 77@ += 0x96C048  // += start of garagezone data
000A: 77@ += 78        // write address += door flags offset  
0A8C: write_memory 77@  size 1 value 70@ virtual_protect 0  

:sub_CG_Garage_DoorTweak_End
0051: return

reaper20
  • reaper20

    Player Hater

  • Members
  • Joined: 22 Aug 2009

#4

Posted 23 August 2009 - 05:54 AM

hello?

Where can I find the original SFse.ipl original file???? smile.gif

My GTA SA is not working mad.gif

Thx..




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users