Okay, so I'm kind of pissed that GTA IV doesn't have a drug mod and it's been out since 2008.. I figured I'd try and get back into modding, but since I haven't modded anything for damn near 6 years - I forgot how to do it... (not saying I was good, but I understood how to do sh*t)
I got .NET Reflector and opened up Dingo's Drug Mod trying to see if I could do/remember anything about scripts. But I fail. Is there anyone here that can help get this sh*t to work?
There's tons more code for this when I click on the assemblies line for each string, and it makes sense(I mean, I can understand it's actions), but I don't know how to basically rewrite it.
If anyone thinks they can redo the famous, Dingo's Drug Mod and make it work for at least 1.0.4.0, please post in this thread and I can give you the rest of the code.
| CODE |
public DingosDrugMod() { this.RandomMax = 0x4b; this.TickLock = true; this.TickLock2 = true; this.TickLock3 = true; this.animbuyandsell = new AnimationSet("amb@drugd_sell"); this.animwaitforcustomer = new AnimationSet("amb@drugd_idl_b"); this.animmale = new AnimationSet("gestures@male"); this.droppoint1 = new Vector3(-1531.57f, 469.66f, 18.53f); this.droppoint2 = new Vector3(743f, -207f, 8.88f); this.droppoint3 = new Vector3(-232.02f, 708.22f, 2.45f); this.droppoint4 = new Vector3(1175.31f, 1708.77f, 15.66f); this.droppoint5 = new Vector3(39.27f, 120.68f, 13.96f); this.droppoint6 = new Vector3(1489.23f, 563.76f, 28.77f); this.drugdealpoint1niko = new Vector3(-195.5f, 1380.31f, 19.31f); this.drugdealpoint1buyer = new Vector3(-196.75f, 1380.35f, 19.38f); this.drugdealpoint2niko = new Vector3(-406.37f, 99.98f, 9.13f); this.drugdealpoint2buyer = new Vector3(-406.37f, 102.19f, 9.06f); this.drugdealpoint3niko = new Vector3(-863.34f, 1312.4f, 20.98f); this.drugdealpoint3buyer = new Vector3(-863.29f, 1310.75f, 20.98f); this.drugdealpoint4niko = new Vector3(-1539.16f, 165.44f, 9.49f); this.drugdealpoint4buyer = new Vector3(-1537.38f, 166.01f, 9.49f); this.drugdealpoint5niko = new Vector3(1695.35f, 668.63f, 27.76f); this.drugdealpoint5buyer = new Vector3(1697.36f, 668.87f, 27.62f); base.set_Interval(250); base.add_Tick(new EventHandler(this.TickTock)); base.add_Tick(new EventHandler(this.AssassinTick)); base.add_Tick(new EventHandler(this.AmbushTick)); base.add_Tick(new EventHandler(this.PickUpTick)); base.BindKey(Keys.N, new KeyPressDelegate(this, (IntPtr) this.OfferDrugs)); base.BindPhoneNumber("555 DRUG", new PhoneDialDelegate(this, (IntPtr) this.CallSupplier)); this.Buyer = null; this.GramsLeft = 0; }
|