Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
TKat

Fixing the original game bug in Breaking the bank at caligula's in GTA SA

Recommended Posts

TKat

I think very few people would be aware from a glitch that occur during the mission Breaking the bank at caligula's: this glitch is original in the game it seems, and it makes all CivMale stats peds throw very very weak punches, so you will noted that after this mission, all CivMale peds, if them attack you, will hardly suffer any damage, you will see that your health will almost NOT decline from any damage from any ped that use CivMale stats attributes. THIS IS A BUG that will only happen after this mission! Maybe many people will not care for this, but I could solved this after much time...

 

If you want to fix it, open the main script with sanny builder, and search for mission breaking the bank at caligula's (at about line 350 000) and searching for about the label HEIST9_3367, and then you will see this:

 

:HEIST9_3367
if and
  [email protected] == 0 
  $7935 == 1 
else_jump @HEIST9_3506 
if 
   not Actor.Dead($PLAYER_ACTOR)
else_jump @HEIST9_3506 
if and
82D8:   not actor $PLAYER_ACTOR current_weapon == 0 
82D8:   not actor $PLAYER_ACTOR current_weapon == 44 
82D8:   not actor $PLAYER_ACTOR current_weapon == 17 
82D8:   not actor $PLAYER_ACTOR current_weapon == 1 
82D8:   not actor $PLAYER_ACTOR current_weapon == 4 
else_jump @HEIST9_3491 
0746: set_acquaintance 4 of_actors_pedtype 4 to_actors_pedtype 0 // see ped.dat 
00BC: show_text_highpriority GXT 'HM9_99' time 100 flag 1  // ~s~Holster your weapon until you are past the staff door!
[email protected] = 1 
jump @HEIST9_3506 

 

:HEIST9_3491
0746: set_acquaintance 1 of_actors_pedtype 4 to_actors_pedtype 0 // see ped.dat 
[email protected] = 0

 

 

Now take a look at these commands:

 

0746: set_acquaintance 4 of_actors_pedtype 4 to_actors_pedtype 0 // see ped.dat 
0746: set_acquaintance 1 of_actors_pedtype 4 to_actors_pedtype 0 // see ped.dat


The line in the HEIST9_3491 (0746: set_acquaintance 1 of_actors_pedtype 4 to_actors_pedtype 0 // see ped.dat) and maybe the other one seems to be what cause the bug (don't know why), and if you want to undo this bug, just delete these lines! and no, I have NOT noted any problem in the game after doing this, I did everything, all missions and submissions ater. So just reporting this glitch (thats appears to be from original game glitch), since I found absolutely nothing about it!

Share this post


Link to post
Share on other sites
OrionSR

You might find mention of this modification to CivMale in discussions about fixing the Ped Riot glitch where a button cheat makes most peds hate everyone.

 

How do you know it's a bug and not an intended feature?

 

Rather than remove both adjustments to the ped acquaintences, consider resetting the value back to the original setting after the mission as it's pretty obvious they wanted CivMales to hate CJ during this mission.

:HEIST9_3491
//0746: set_acquaintance 1 of_actors_pedtype 4 to_actors_pedtype 0 // see ped.dat 
0746: set_acquaintance 2 of_actors_pedtype 4 to_actors_pedtype 0 // see ped.dat
[email protected] = 0

 

Share this post


Link to post
Share on other sites
TKat

Well I forgot to say that it must be done before playing the mission, otherwise this bug will be along your savedgame, I think.

 

OrionSR: Well, maybe the developers intended to change the ped acquaintences, it makes sense, but NOT intended to make CivMale peds so weakly in their attacks, so I think it should be a side effect, so not intended, so a bug then. I did not think about resetting the value to fix it, I will try this. But anyway my procedure seems to work well to. THANK YOU! 

Share this post


Link to post
Share on other sites
OrionSR
3 hours ago, TKat said:

otherwise this bug will be along your savedgame, I think.

You are correct. The Savegame Editor 3.x has a tool that can edit the ped acquaintances.

 

How can I confirm "weak attacks" in game? Is it just punching damage or are all attacks modified?

Do you know if attack damage is increased for a setting of 4 (hate)?

Share this post


Link to post
Share on other sites
TKat

Well, what happens, about what I actually noted, is that all CivMale type peds, will defer very weak attacks to CJ (when hitting the player, punching...) so you will note what these kind of peds (the CivMales), the damage they will do to you, will be absurdly low, but all other ped types (CivFemale, prostitute, gangs...) are NOT afflicted by this bug, just the CivMale types (after you do this missions of course). It seems that, although this bug happens, it seems that the pedstats (pedstats.dat) info do NOT change its values, but the bug happens anyway, it is strange but happens.

Share this post


Link to post
Share on other sites
OrionSR
3 hours ago, TKat said:

all CivMale type peds, will defer very weak attacks to CJ (when hitting the player, punching...)

I think I understand your basic hypothesis. I would like to replicate your experiment to verify the results but I don't have enough information to confirm your methodology or repeat the experiment. Can you describe a specific example where I can measure the damage of a CivMale punch? (I'd like to try managing the CivMale's relationship to the player with a save editor to test all possible settings.)

 

I'm wondering, but don't expect you to have answers just yet:

 

Do Ballas cause more damage after the Drive-By mission that changes their relationship from Dislike to Hate? (Pimping will reset to Dislike.)

Is "punch" damage the only damage type modified? Would this count as melee damage and also apply to bats?

Can the player's damage to other actors be modified by adjusting the player's relationship settings?

 

Does all damage between all actors depend on their relationship setting?

 

If we can find a flexible repro strategy for the basic premise then there's a much better chance that someone with the skills necessary to take a closer at what's really going on inside the game will offer definitive answers on some of the more difficult questions.

 

For reference: Ped relationships are loaded from ped.dat only on a new game start, some settings are immediately modified by the intro missions, and for the most part don't change after that. These settings persist in the save file.

 

Edited by OrionSR

Share this post


Link to post
Share on other sites
TKat

I think I understand your point, this questions are interesting, but I really do not have a good idea about these relations between stats and acquaintences, but yes, I noted something about you said, that although peds and player behavior caracteristics will be defined in the dat files, it seems that the scripting along the game missions appear to change something about you said, although I think the dat files (ped.dat and pedstats.dat) itself is not changed, what is something weird to me! Well, in a brief conclusion, you are right, same kind of behaviours change along the missions action scripting. I don't have much idea besides that, but anything I find out I will post.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.