Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Classes
#1
Hello, I am 99IRock.
I really want a plugin, that makes it possible to make classes for specific persons on specific teams (And also on specifics maps)
Because I want to use infected, and so my friends get another weapon on start than other people.
Also for special people I want an ACR akimbo...
Is this possible an ACR akimbo?
Maybe someone can give me the code, and than I can figure out myself.
thanks

OKAY: So after training and getting help from people, like @Sailormoon and @JariZ (Not with coding but he helped me here with a little begin Smile Tongue ) and more people(I need to seek the names)

The code below can we use in different cases. in this case we use Onsay so if a player says the message !akimboacr he will receive an akimbo acr.

Code:
public override ChatType OnSay(String Message, ServerClient Client, bool Teamchat)
        {
            if (Message == "!akimboacr")
            {
int AkimboWeaponID = GetWeapon("iw5_acr_mp_silencer_camo09"); // Akimbo weapon.
                        
                        Client.Other.PrimaryWeaponAkimbo = true; //Primary weapon set to akimbo
                        Client.Other.SecondaryWeaponAkimbo = true; //Secondary weapon set to akimbo
                        Client.Other.PrimaryWeapon = AkimboWeaponID; // Your Primary weapon will be the acr (AkimboWeaponID)
                        Client.Other.SecondaryWeapon = AkimboWeaponID; // Your Secondary weapon will be the acr (AkimboWeaponID)
                        Client.Other.CurrentWeapon = AkimboWeaponID; // Your current weapon will be the acr (AkimboWeaponID)
                        Client.Ammo.PrimaryAmmoClip = +1000; // Gives primary +1000 ammo
                        Client.Ammo.SecondaryAmmoClip = +1000; // Gives secondary +1000 ammo
}
}
Why Primary & Secondary & Current weapon ?
Well there is a bug with akimbo guns (The akimbo who are normally not possible in the game)
If you switch from gun, it will be bugged and than you can't shoot anymore.
So if you set all guns to the same gun, you can't switch from weapon (Thanks @sailormoon for the Primary & Secondary idea)

Why Primary & Secondary akimbo?
Well you don't know if you are on the primary weapon slot or secondary weapon slot.
That's why we just set both to akimbo

KNOWN BUGS:
When you call in a carepackage, you can't shoot anymore
When you go over a fence (Press space to go over), you can't shoot anymore.

If you take another gun, and switch to it it will be akimbo.(FIX by @sailormoon)!
And if you have a spass you can't shoot anymore, because the spass is not able to use as akimbo gun.

http://www.itsmods.com/forum/Thread-Rele...n-fix.html

I use the code and give some info about it (Sailormoon already did but just to make it complete)

For the ACR akimbo we use
int akimbo = GetWeapon("iw5_acr_mp_silencer_camo09"); // The acr gun

Code:
public override void OnPlayerChangeWeapon(ServerClient Client, int WeaponID)
{
            int akimbo = GetWeapon("iw5_acr_mp_silencer_camo09");//You put your gun here, in this case we use the ACR
            if (WeaponID == akimbo)
            {
                Client.Other.PrimaryWeaponAkimbo = true; // PrimaryWeapon akimbo will be set to true, that means you get akimbo on primary weapon
            }
Else
{
Client.Other.PrimaryWeaponAkimbo = false; // PrimaryWeapon akimbo will be set to false, that means your akimbo will be removed on primary weapon
}
}

I hope this will help beginners.
Enjoy making akimbo guns!
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
Reply

#2
1. Possible
2. Possible.
3. Someone will. I could help, but i stopped modding/programming.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
(11-14-2012, 18:06)JayDi Wrote: 1. Possible
2. Possible.
3. Someone will. I could help, but i stopped modding/programming.

Ok thankyou for you're response
Atleast I know now that its all possible, but than my question for sure, this will only be SERVER side, so I don't need to mod my mw3 right ? Smile

Thanks again Smile
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
Reply

#4
No, Only texture mods are clientside.
Reply

#5
(11-14-2012, 20:01)JariZ Wrote: No, Only texture mods are clientside.

Sounds too, obviously.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#6
@jaydi I'm answering his question.
Reply

#7
Ok Im learning allot already now xD
So is someone possible to help me? Big Grin, or is someone able to give me a source code from an plugin so I can learn from the code
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
Reply

#8
Okay, I updated this topic and soon I will make a basic info topic for everyone who wants to learn coding for mw3 Smile.
So if someone needs help, they can ask me.
And also, if you look on my topic and see something what can be easier or better, please post Smile
ONE THING: I'm not the best, so I can do some basics, and I can work with booleans and stuff, but not with databases yet.
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
Reply

#9
(12-26-2012, 13:59)99IRock Wrote: Okay, I updated this topic and soon I will make a basic info topic for everyone who wants to learn coding for mw3 Smile.
So if someone needs help, they can ask me.
And also, if you look on my topic and see something what can be easier or better, please post Smile
ONE THING: I'm not the best, so I can do some basics, and I can work with booleans and stuff, but not with databases yet.

Well, basically its just learn C# and read addon functions documentation, but well ok.
Reply

#10
(12-26-2012, 14:33)kokole Wrote:
(12-26-2012, 13:59)99IRock Wrote: Okay, I updated this topic and soon I will make a basic info topic for everyone who wants to learn coding for mw3 Smile.
So if someone needs help, they can ask me.
And also, if you look on my topic and see something what can be easier or better, please post Smile
ONE THING: I'm not the best, so I can do some basics, and I can work with booleans and stuff, but not with databases yet.

Well, basically its just learn C# and read addon functions documentation, but well ok.

I knew someone would gonna hate on my post.
Atleast I'm trying to help new people?
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] 15 classes in MW3 OrangePL 14 15,652 06-28-2013, 19:14
Last Post: X-Track
  [Request] Teknogods Expert's Classes 1.5 request The6thMessenger 0 2,447 04-13-2013, 08:22
Last Post: The6thMessenger
  Modding online custom classes? jarniboi 0 2,597 03-12-2013, 00:21
Last Post: jarniboi
  edit the standard classes? astraioz 6 8,482 01-28-2013, 16:54
Last Post: Sthxz
  Help Gold Desert Eagle classes camxxcore 5 4,475 01-27-2013, 17:09
Last Post: camxxcore
Big Grin [Release] Awesome Classes modV3.1 ddaavvee 170 240,873 01-24-2013, 23:18
Last Post: KINGOFCRAFT909
  Edit Default Classes? jarniboi 1 2,630 01-24-2013, 00:44
Last Post: DidUknowiPwn
  [Request] Disabling Custom Classes NOT CHOOSE CLASS DidUknowiPwn 5 3,748 01-10-2013, 04:32
Last Post: banz
Rainbow [Request] Extra classes mod. Sauna 7 4,181 08-24-2012, 06:34
Last Post: Sauna
  [Tutorial] Change Custom Classes Yamato 16 11,500 06-29-2012, 21:02
Last Post: Yamato

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.