IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 [SA] Opcode 0922

 Ba-dum-tsshhh
 
oksa8  
Posted: Saturday, Aug 11 2012, 08:56
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




Opcode 0922:
CODE
0922: set_camera_zoom_in_factor 70.0 out_factor 100.0 timelimit 10000 mode 1


Okay, so I found out that changing first float will kind of make FOV same as float, and also zooms out the more you increase it. But, what about second float? It doesn't seem to have any effect for me?

Oh, and I also asked some time ago about a small sound-problem with TC's, after loading game I have to go to menu and then back in-game, otherwise all sounds play really silently.
Users WebsitePM
  Top
 

 
Deji  
Posted: Saturday, Aug 11 2012, 14:12
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



The first value is the FOV you're zooming from. The second is the FOV you're zooming to.
Users WebsitePM
  Top
 

 
oksa8  
Posted: Saturday, Aug 11 2012, 14:20
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




Oh, that cleared a lot, though definition for it should be better. smile.gif

EDIT: If I use low value, like 5.0 with sniper, it's hard to use it as mouse-movement isn't as accurate and seems to skip but it's more notable as weapon is highly zoomed in. I also noticed that without pressing zoom in/out, it's even more of a problem. Some way to make the mouse-movement smooth at high zoom?

And, in weapon.dat, there's a value for this:

CODE
# Z:  int breakoutTime


But is it used? And if not, would it be possible to read, preferably in main.scm-compatible way?

This post has been edited by oksa8 on Saturday, Aug 11 2012, 14:53
Users WebsitePM
  Top
 

 
ZAZ  
Posted: Saturday, Aug 11 2012, 17:11
Quote Post


Kernlochbohrer
Group Icon
Group: Members
Joined: Jan 10, 2005

eu.gif

Member Award




QUOTE (oksa8 @ Saturday, Aug 11 2012, 09:56)


Oh, and I also asked some time ago about a small sound-problem with TC's, after loading game I have to go to menu and then back in-game, otherwise all sounds play really silently.


use 043C: before fade back and while active mission mode

CODE
DEFINE OBJECTS 1
DEFINE OBJECT SANNY BUILDER 3.04      

DEFINE MISSIONS 0

DEFINE EXTERNAL_SCRIPTS -1 // Use -1 in order not to compile AAA script

DEFINE UNKNOWN_EMPTY_SEGMENT 0

DEFINE UNKNOWN_THREADS_MEMORY 0

//-------------MAIN---------------
03A4: name_thread 'MAIN'
016A: fade  0 (in)  0 ms
042C: set_total_missions_to  0
030D: set_total_mission_points_to  0
01F0: set_max_wanted_level_to  6
0111: set_wasted_busted_check_to  0 (disabled)
00C0: set_current_time  23  0

04E4: unknown_refresh_game_renderer_at  -1995.0 -899.0
03CB: set_camera  -1995.0 -899.0 39.82
0053: $PLAYER_CHAR = create_player #NULL at  -1995.0 -899.0 39.82
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR
0173: set_actor $PLAYER_ACTOR z_angle_to  7.0
0373: set_camera_directly_behind_player
070D: $PLAYER_CHAR
0629: change_stat  181 (islands unlocked) to  4  // integer see statdisp.dat
01B6: set_weather  1
04BB: select_interior  0  // select render area
01B4: set_player $PLAYER_CHAR frozen_state  1 (unfrozen)
01B7: release_weather
016C: restart_if_wasted_at -1995.0 -899.0 39.82 angle 180.0 town_number 0
016D: restart_if_busted_at -1995.0 -899.0 39.82 angle 180.0 town_number 0
016C: restart_if_wasted_at -1995.0 -899.0 39.82 angle 180.0 town_number 1
016D: restart_if_busted_at -1995.0 -899.0 39.82 angle 180.0 town_number 1
016C: restart_if_wasted_at -1995.0 -899.0 39.82 angle 180.0 town_number 2
016D: restart_if_busted_at -1995.0 -899.0 39.82 angle 180.0 town_number 2
0629: change_stat  181 (islands unlocked) to  4  // integer see statdisp.dat
0998: add_respect 1000
062A: change_stat 165 (energy) to 800.0 // float
062A: change_stat 23 (muscle) to 800.0 // float
062A: change_stat 21 (fat) to 200.0 // float
0629: change_stat 225 (lung capasity) to 1000 // integer see statdisp.dat
0629: change_stat 22 (stamina) to 1000 // integer see statdisp.dat
0629: change_stat 156 (dance skill) to 1000 // integer see statdisp.dat
062A: change_stat 81 (gambling skill) to 1000.0 // integer see statdisp.dat
087B: set_player $PLAYER_CHAR clothes_texture "HAWAIIRED" model "HAWAII" body_part 0
087B: set_player $PLAYER_CHAR clothes_texture "BASK2HEATBAND" model "BASK1" body_part 3
087B: set_player $PLAYER_CHAR clothes_texture "GLASSES05DARK" model "GLASSES03" body_part 15
087B: set_player $PLAYER_CHAR clothes_texture "LEATHERTR" model "LEATHERTR" body_part 2
070D: rebuild_player $PLAYER_CHAR
0109: player $PLAYER_CHAR money += 350000
0001: wait  100 ms
03E6: remove_text_box
0180: set_on_mission_flag_to $ONMISSION // Note: your missions have to use the variable defined here
wait 1000
0004: $ONMISSION =  1
wait 1000
043C: disable_sounds_after_fade 0
wait 1000
016A: fade 1 time 1000
wait 1000
0004: $ONMISSION =  0
wait 1000
end_thread
Users WebsitePM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG