• DarkRP replace ammo with mad cow ammo
    8 replies, posted
  • Avatar of timbo59
  • Can someone please make a script or something were is replaces the ammo for darkrp with the mad cow ammo * like crossbow bolts n 5mm ammo stuff like that* Please im very desperate any help would be appreciated
  • Avatar of Vinze
  • It's easy to implement Mad Cow's Weapons into DarkRP. All you need to do is this: 1. Open up the DarkRP/Enteties, then open up Mad Cow aswell, in both the folders, there should be a "Weapons" and a "Enteties" folder, put the mad cow ones into the same place as the other ones, and merge them. That's step one, now you got the weapons added. 2. Make shipments with each of the weapons using "Addshipments.lua". 3. Go into the DarkRP/gamemodes folder, then edit "Main.lua", scroll down to [lua]local weaponClasses = {} weaponClasses["weapon_deagle2"] = "models/weapons/w_pist_deagle.mdl" weaponClasses["weapon_fiveseven2"] = "models/weapons/w_pist_fiveseven.mdl" weaponClasses["weapon_glock2"] = "models/weapons/w_pist_glock18.mdl" weaponClasses["weapon_ak472"] = "models/weapons/w_rif_ak47.mdl" weaponClasses["weapon_mp52"] = "models/weapons/w_smg_mp5.mdl" weaponClasses["weapon_m42"] = "models/weapons/w_rif_m4a1.mdl" weaponClasses["weapon_mac102"] = "models/weapons/w_smg_mac10.mdl" weaponClasses["weapon_para2"] = "models/weapons/w_mach_m249para.mdl" weaponClasses["weapon_pumpshotgun2"] = "models/weapons/w_shot_m3super90.mdl" weaponClasses["weapon_tmp2"] = "models/weapons/w_smg_tmp.mdl" weaponClasses["ls_sniper"] = "models/weapons/w_snip_g3sg1.mdl" weaponClasses["weapon_usp2"] = "models/weapons/w_pist_usp.mdl" weaponClasses["weapon_p2282"] = "models/weapons/w_pist_p228.mdl" weaponClasses["weapon_p90"] = "models/weapons/w_smg_p90.mdl" weaponClasses["weapon_knife2"] = "models/weapons/w_knife_t.mdl" [/lua] Add all the new weapons, with proper worldmodels. There, you can now buy/drop them, and they should work fine. There may be some other scripts needed, so make sure to have the addon, just in case. This is the only way I know to do it, since it will include the ammo aswell. You can then use the Mad Cow base to make your own Sweps, with the right ammo.
  • Avatar of Vinze
  • You need to make the weapons used compatible with the ammo aswell, so it's required to make new sweps with the base.
  • Avatar of Fallschirmjager
  • I think you mean classes, not entities. Ammo classes AR2 - Ammunition of the AR2/Pulse Rifle AlyxGun - (name in-game "5.7mm Ammo") Pistol - Ammunition of the 9MM Pistol SMG1 - Ammunition of the SMG/MP7 357 - Ammunition of the .357 Magnum XBowBolt - Ammunition of the Crossbow Buckshot - Ammunition of the Shotgun RPG_Round - Ammunition of the RPG/Rocket Launcher SMG1_Grenade - Ammunition for the SMG/MP7 grenade launcher (secondary fire) SniperRound SniperPenetratedRound Grenade - Note you must be given the grenade weapon (e.g. pl:Give ("weapon_grenade")) before you can throw any grenades Thumper - Ammunition cannot exceed 2 Gravity Battery GaussEnergy CombineCannon AirboatGun StriderMinigun HelicopterGun AR2AltFire slam Info retrieved from Wiki ( [url]http://wiki.garrysmod.com/?title=Ammo_type[/url] )
  • Has a solution been found for this? Has anyone changed their DarkRP successfully? Some people have said change the ammo the gun uses, do you change the shared.lua in the DarkRP folder where you move the Mad Cow weapons or in Mad Cows under addons? -bump-