GIMMIE!

Search, find and discuss about Mutators!
User avatar
EvilGrins
Godlike
Posts: 10214
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA

GIMMIE!

Post by EvilGrins »

Image

What is that gun and where can I get it?!

Image
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 758
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England

Re: GIMMIE!

Post by UT Sniper (SJA94) »

my advice would to google moz to see what comes up.(Going by the name on the gun mesh) also look at the download topics on this website there might be a link here.

a link to a site that has many weapon modshttp://www.ut-files.com/
User avatar
EvilGrins
Godlike
Posts: 10214
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA

Thanks!

Post by EvilGrins »

There's a MOZ listed under weapons. That's probably it. :agree1:
JackGriffin
Godlike
Posts: 3776
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: GIMMIE!

Post by JackGriffin »

I host that server. If you still need the mod, let me know.
So long, and thanks for all the fish
User avatar
EvilGrins
Godlike
Posts: 10214
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA

Please!

Post by EvilGrins »

I found it and it works but they're all Arena type weapons, can only use them one at a time p/game.

Or is there another mutator/mod that allows the use of multiple arena type weapons?
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 758
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England

Re: GIMMIE!

Post by UT Sniper (SJA94) »

if you want that weapon to be the default weapon (Enforecer) post the download link to the weapons and i will make a mod for you.(it will still have all the other normal weapons aswell)
JackGriffin
Godlike
Posts: 3776
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: GIMMIE!

Post by JackGriffin »

What about ammo and reloading? ;)
So long, and thanks for all the fish
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 758
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England

Re: GIMMIE!

Post by UT Sniper (SJA94) »

What about ammo and reloading?
ammo easy to make, i will make the weapon pickup a typical ammo eg rocket pack. i have done it before with weapons i modded, made a beserk instagib,custom pulse guns ect. yet to put the on my website think i do it soon.

don't worry if i mod the weapon i will creadit the maker of it. all i need to do is change the ammo pickup.
JackGriffin
Godlike
Posts: 3776
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: GIMMIE!

Post by JackGriffin »

If you mod a package you need to get permissions. Besides changing the ammo pickup also will require changes to the main weapon, requiring a version forward. That's a very good way to make coders angry with you.

There's an easier way, just award the weapon via modify player and add maxammo. Want me to send you the class and you can fill in what you want?
So long, and thanks for all the fish
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 758
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England

Re: GIMMIE!

Post by UT Sniper (SJA94) »

There's an easier way, just award the weapon via modify player and add maxammo. Want me to send you the class and you can fill in what you want?
that would be good, im not the best unreal scripter i find c++ easier.
JackGriffin
Godlike
Posts: 3776
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: GIMMIE!

Post by JackGriffin »

Code: Select all

class RENAME_ME expands Mutator config(RENAME_ME);

var bool bInitialized;

var config bool bUseRegenAmmo;
var config int AmmoInterval;

event PreBeginPlay()
{
   if (bInitialized)
      return;

   bInitialized = True;

   Level.Game.BaseMutator.AddMutator(Self);

   if ( NextMutator != None )
      NextMutator.PreBeginPlay();
}

function PostBeginPlay()
{
   SetTimer(1, True);
}

function AddMutator(Mutator M)
{
   if ( M.Class != Class )
      Super.AddMutator(M);
   else if ( M != Self )
      M.Destroy();
}

function ModifyPlayer(Pawn Other)
{
   if (Other !=None)
   {
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"U4eT.katana");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"U4eT.flamer2");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"U4eT.quicksilver");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"Bpak.Bripper");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"Bpak.bbiorifle");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"Bpak.bflakcannon");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"Bpak.galticlauncher");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"applesblossomatic.blossomatic");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"rrboombox.rrboombox");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"SFC.SFC");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"AuKIBubbleGun.AuKIBubbleGun");
      DeathMatchPlus(Level.Game).GiveWeapon(Other,"RocketX3.KonglauncherVX");
      //DeathMatchPlus(Level.Game).GiveWeapon(Other,"");   //Blank-fill me in :)
}

function Timer()
{
   local Pawn P;
   local Inventory Inv;

   if (Level.Game.bGameEnded) return;  //Stops the timer and ammo reload

   for (P = Level.PawnList; P != None; P = P.NextPawn)
   {
      if (P.IsA('Bot') || P.IsA('TournamentPlayer'))
      {
         if (P.Health > 0)
         {
            if (bUseRegenAmmo)
            {
               for (Inv = P.Inventory; Inv != None; Inv = Inv.Inventory)
               {
                  if ((Ammo(Inv) != None) && (P.bFire == 0) && (P.bAltFire == 0))
                  {
                     if (Ammo(Inv).AmmoAmount < Ammo(Inv).MaxAmmo * 10)
                     {
                        Ammo(Inv).AmmoAmount += (Ammo(Inv).Default.AmmoAmount / AmmoInterval);
                        if (Ammo(Inv).AmmoAmount > Ammo(Inv).MaxAmmo * 10)
                           Ammo(Inv).AmmoAmount = Ammo(Inv).MaxAmmo * 10;
                     }
                  }
               }
            }
         }
      }
   }
}

defaultproperties
{
   bUseRegenAmmo=True //Enable or disable reload
   AmmoInterval=5  //20 is very slow, 5 is fast, 2 is VERY fast reload
}
Fill in the Giveweapon with anything you want and remove my examples. Rename the mod and add a config name. Your config will look like this:
[RENAME_ME.RENAME_ME]
bUseRegenAmmo=True
AmmoInterval=2
Ammo interval controls the reload. A larger number means more time before addition of ammo so 20 is a very slow reload while 2 or 3 is very fast. This will also reload to the weapon's specific max ammo too. Won't work with redeemer weapons though. Those are a different story.

Make several versions and use them to control loadout for your different mapvote lines. Be sure to add a server package line for any weapon packs you call in giveweapon.
So long, and thanks for all the fish
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 758
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England

Re: GIMMIE!

Post by UT Sniper (SJA94) »

great thanks for that.

im going to lose it with ut, error after error after error bug bug bug im sick off it this pc sucks.UT3 when i have a new pc aswell as UT1 off course. but more UDK. don't mind me moaning. :lol2: its just one of thoes days
User avatar
EvilGrins
Godlike
Posts: 10214
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA

Re: GIMMIE!

Post by EvilGrins »

Ammo & reloading haven't been a huge issue with my use on my home games. I just combine the {MOD}-Uzi with the Excessive health & ammo regenerator.
JackGriffin
Godlike
Posts: 3776
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: GIMMIE!

Post by JackGriffin »

I did this mod here:
http://www.moddb.com/mods/monsterhunt2
Using this will give you all the control on MH games you could possibly want.
So long, and thanks for all the fish