Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Support

    3. Suggestions

Archived Requests, need ideas?


Andrew
 Share

Recommended Posts

TheGreatSatan

 

SuperCharged ur an idiot, Lenin are u Kocayine on Steam?

Aye

ok try this, i wrote super fast and i dont play gtaiv anymore so im not planning to test so let me know

 

 

namespace Riot{   using System;   using System.Windows.Forms;   using System.Collections.Generic;   using GTA;   public class Main : Script   {       List<Ped> armedPeds;       Random random;       RelationshipGroup[] groups;       bool toggle;       public Main()       {           armedPeds = new List<Ped>();           groups = new RelationshipGroup[] { RelationshipGroup.Bum, RelationshipGroup.Civillian_Female, RelationshipGroup.Civillian_Male, RelationshipGroup.Cop, RelationshipGroup.Criminal, RelationshipGroup.Dealer, RelationshipGroup.Fireman, RelationshipGroup.Gang_AfricanAmerican, RelationshipGroup.Gang_Albanian, RelationshipGroup.Gang_Biker1, RelationshipGroup.Gang_Biker2, RelationshipGroup.Gang_ChineseJapanese, RelationshipGroup.Gang_Irish, RelationshipGroup.Gang_Italian, RelationshipGroup.Gang_Jamaican, RelationshipGroup.Gang_Korean, RelationshipGroup.Gang_PuertoRican, RelationshipGroup.Gang_Russian1, RelationshipGroup.Gang_Russian2, RelationshipGroup.Medic, RelationshipGroup.Player, RelationshipGroup.Prostitute, RelationshipGroup.Special };           random = new Random();           BindKey(Keys.Insert, Toggle);       }       private void Toggle()       {           toggle = !toggle;                      if (toggle) { Tick += Main_Tick; }           else { Tick -= Main_Tick; }           World.PedDensity = toggle ? 0.7f : 1f;           Game.DisplayText("Riot " + (toggle ? "En" : "Dis") + "abled");       }       private void Main_Tick(object sender, EventArgs e)       {           foreach (Ped ped in World.GetAllPeds())           {               if (!Game.Exists(ped)) continue;               if (Game.LocalPlayer.Character == ped) continue;               if (!ped.isAliveAndWell) continue;               if (armedPeds.Contains(ped)) continue;               HateEveryone(ped);               ped.BlockGestures = true;               ped.BlockPermanentEvents = true;               ped.Task.AlwaysKeepTask = true;               ped.CanSwitchWeapons = true;               if (ped.isInVehicle())               {                   ped.WillDoDrivebys = true;                   if (random.Next(0, 2) == 0) { ped.Weapons.Uzi.Ammo = 500; }                   else { ped.Weapons.MP5.Ammo = 500; }                   if (ped.CurrentVehicle.GetPedOnSeat(VehicleSeat.Driver) == ped) { ped.Task.CruiseWithVehicle(ped.CurrentVehicle, 100, false); }               }               else               {                   ArmPed(ped);                   ped.Task.FightAgainstHatedTargets(25f);               }               armedPeds.Add(ped);           }       }       private void HateEveryone(Ped ped)       {           foreach (RelationshipGroup group in groups)           {               if (ped.RelationshipGroup == RelationshipGroup.Cop && group == RelationshipGroup.Cop) continue;               ped.ChangeRelationship(group, Relationship.Hate);           }       }       private void ArmPed(Ped ped)       {           int selection = random.Next(0, 5);           if (selection == 0) { if (random.Next(0, 2) == 0) { ped.Weapons.Glock.Ammo = 500; } else { ped.Weapons.DesertEagle.Ammo = 500; } }           else if (selection == 1) { if (random.Next(0, 2) == 0) { ped.Weapons.Uzi.Ammo = 500; } else { ped.Weapons.MP5.Ammo = 500; } }           else if (selection == 2) { if (random.Next(0, 2) == 0) { ped.Weapons.BasicShotgun.Ammo = 500; } else { ped.Weapons.BarettaShotgun.Ammo = 500; } }           else if (selection == 3) { if (random.Next(0, 2) == 0) { ped.Weapons.AssaultRifle_AK47.Ammo = 500; } else { ped.Weapons.AssaultRifle_M4.Ammo = 500; } }           else if (selection == 4) { if (random.Next(0, 2) == 0) { ped.Weapons.MolotovCocktails.Ammo = 500; } else { ped.Weapons.Grenades.Ammo = 500; } }       }       private void CleanList()       {           for (int i = armedPeds.Count - 1; i > -1; i--)           {               if (!Game.Exists(armedPeds[i])) armedPeds.RemoveAt(i);           }       }   }}

 

 

i added a toggle and not at home so cant get on Steam, they wont exit cars now and if ur game crashes then gta cant handle this sh*t

 

ok i set weapon switching to true for all peds and dont bother with dat mods im already giving them weapons

Edited by TheGreatSatan
Link to comment
Share on other sites

Hmm, doesn't seem to do anything :\.. Put it in a .vb file in scripts folder. There's no toggle key or anything, is there?

Link to comment
Share on other sites

TheGreatSatan

perhaps u should tell me the error if u want it fixed lol

 

let me guess missing method exception Game.Exists???

Edited by TheGreatSatan
Link to comment
Share on other sites

TheGreatSatan

actually u havrent changed the file extension to .cs like i previously told u to

 

this is not a vb script

 

riot.cs

 

not riot.vb

Edited by TheGreatSatan
Link to comment
Share on other sites

Oh, man, I'm an idiot. That seemed to do the trick! Although the game crashed after 20-30 secs of playing sad.gif. I don't know if it's because there's too many peds in my game?

 

Also, it seemed like a lot of the peds weren't armed and that they would rather exit their cars as soon as you near them and begin to melee/shoot people, than drive around crazy and do drive-bys and what not.

Link to comment
Share on other sites

TheGreatSatan

im going to add this line when u toggle to reduce peds in game if u dont like the affect then delete this

 

 

World.PedDensity = toggle ? 0.7f : 1f;

 

Link to comment
Share on other sites

Definitely seemed to help. No crashes this time. Although very few peds have guns. They are just knocking on each other, lol. Maybe they have guns but refuse to use them?

Also, while I ran around shooting everyone, it seemed like all cars disappeared from the streets. Even tho I DISABLED the police? Is that just GTA being GTA?

 

Btw, thanks for your help man, you're obviously an amazing scripter.

Link to comment
Share on other sites

TheGreatSatan

yeah some peds refuse to cooperate, i believe the pedtype affects this, gta being gta i guess

 

i told drivers of vehicles to drive crazy so maybe they all took off lol

 

ill make one more small edit to allow weapon switching maybe that is the problem scroll up and paste the entire script again

Link to comment
Share on other sites

Just making them exit and go bananas would be ok too.

 

I guess I could just use a .dat mod that makes all peds carry weapons and be aggresive. It's just not very toggle-able lol

Link to comment
Share on other sites

Cars are defnitely just driving around in a panic now - pretty dangerous!

 

I made you a video to show how the peds behave now. It's very mixed. Sometimes they're carrying guns but not using them.

 

Link to comment
Share on other sites

Getting better and better! But peds still prefer to punch people rather than using their guns (which they have, im sure, sometimes if i aim at them they draw their AKs out of the pocket lol).. plus sometimes peds just walk around casually not caring about the chaos.

 

Still! Getting good biggrin.gif

Link to comment
Share on other sites

WARNING! ACHTUNG! biggrin.gif

 

About my skin i dont need him now ANYMORE!

 

Why ?

 

tounge.gif i just download plenty skins from some sites and mixed to make him, maybe its not 100% looks like him but very similar...i gonna soon upload him if someone wanna played this charachter.

Link to comment
Share on other sites

Hello, would someone please convert this Hatsune Miku model from San Andreas to Vice City? I've tried to do it myself, but it crashes when it's called apon.

 

http://www.mediafire.com/?bc46h1h5j2hjvhz

Edited by theNGclan
Link to comment
Share on other sites

John Appetite

user posted image

i need smethin like dis. i knw dis is gta iv modified to make sa, but i wnt bulletholes for sa. i mean, when cj gets shot, he shud be bleedin with bulletholes on his body.

Link to comment
Share on other sites

 

Lenin, have you ever tried "Ambient Wars"? It is the most chaos I have seen in a riot mod yet, and highly customizable.

 

Check it out

Hmm, yes. I had a look at it. I can't remember what drove me away from it, whether it was crashes or because that I find it quite complex and I'm really just looking for something simple chaos.

 

 

Ok I watched vid and yeah needs work I'll figure it out, prolly will work on it tomorrow

I'm at Steam, remember smile.gif

Edited by Lenin
Link to comment
Share on other sites

Hello modders! biggrin.gifbiggrin.gifbiggrin.gif

 

For the past year or so i have been working on making a "GTA FPS Russia" game

Its a major modification for GTA SA that changes almost every part of San Andreas except for the map itself.

I retextured like %75 of the whole game, replaced all the cars with the ones from GTA IV, made custom HUD, weapon icons, weapon.dat, timecyc, missions, and a lot more...

But no matter how hard i try, no matter how many tutorials i read, i just cant seem to edit my own dff models!

 

If you %100 know how to edit a ped DFF or main character DFF, I WILL PAY YOU TO EDIT MODELS FOR ME!!!

 

If you are interested, we can talk more through...

 

Youtube:

http://www.youtube.com/user/XgenDaNcEs

 

Facebook:

https://www.facebook.com/XgenDaNcEs

Edited by XgenDaNcEs
Link to comment
Share on other sites

Can anybody make a good lowpoly DFF and txd for Michael Rappaport's Zebrahead character?

I'd like to design a mission where the gameplayer must chase Zebrahead (driving a Mesa)

around town trying to kill him.

 

Thought it might go well with the game's "era". Also would like an Ice Cube dff/txd.

 

Maybe someone could suggest a good NPC dff that might work. Making the txd would

prove difficult, unless someone knows a good photo to txd for GTASA type textures.

Is there one of those?

 

Thanks,

Donut "[email protected] IS MURDER" Eater

 

 

Link to comment
Share on other sites

Can someone help me with this stuff:

I need to detect a moment when player made a car steal (he throw ped from his car and enter it or broke window of a parked car)

And i need to know, is there any cop/ped in 50 meters radius from a player (not in whole world...)

is that correct?

{do { Person = World.GetRandomPed(Player.Character.Position, 50); if (Person != null) break;} while (true);       //also there can be trouble if there is no peds around and do..while will be too long, need somehow prevent thatif (Person.PedType == PedType.Cop)  func();else {//waiting while ped call 911      Random rnd = new Random();      int qwe = rnd.Next(500,5000); //dont know how to add delay in gta 4... System.Threading.Thread.Sleep(qwe); func();}}...public static void func () {//increases player wanted level...   switch (Player.WantedLevel) {       case 0:            Player.WantedLevel +=3;           break;       case 1:           Player.WantedLevel +=2;           break;       case 2:           Player.WantedLevel +=1;           break;       default:           break;   };}

 

thx

Edited by jstq
Link to comment
Share on other sites

TheGodfather.

Can someone provide me a link for SCM Hook for San Andreas ??I found one made by op9080 but the link was broken..

Link to comment
Share on other sites

MaryseDynasty

Just wondering if there's anybody out there who could get Catalina from GTA III's XBOX Model and convert it to San Andreas if possible.

Link to comment
Share on other sites

Hi, I am looking for someone who can create custom skins, and walk animations etc... I am willing to pay if anyone has time on their hands and can create good skins.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • 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.