Announcement

Collapse
No announcement yet.

How can i modified the speed of everything?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How can i modified the speed of everything?

    I am trying to make a mod called "Matrix Gamespeed". I do not want it to be a config mutator. I just want it to be a regular mutator. I want the game speed to change when you shoot, for example, I want normal gamespeed but as soon you start shooting the game speed changes to 50%.

    I also want to make my own kill slow time. It want it to be 15% instead of 50%...

    I want all of this in one mutator. Please help me on this!

    #2
    Look at the Monkey Matrix Moves mutator in UT2004. They changed game speed, and it should give you a good idea how to do this

    Comment


      #3
      I know. I have made 3 mods that have gamespeed in it. But i also want to add kill slow time in it. Please give me the link to Monkey Matrix moves mutator in UT2004.

      Comment


        #4
        Kill Slow Time? You mean like the bodies slowly play their death animations? Or something else?

        Heres Monkey Matrix:

        http://www.filefront.com/Monkey+Matr.../fileinfo.html

        You'll have to decompile it though (You can use WOTGreal or the UT2004 Editor to do this)

        Comment


          #5
          Yes. Just like the mutator the UT3 game comes with. I don't have UT2004...

          Comment


            #6
            Well take the code from that mutator and slap it into yours. Then you have slow kill death too

            Comment


              #7
              How do you do that? I been trying to do that with some other mutator...

              Comment


                #8
                Select code from mutator. Right Click and hit Copy. Go to your mutator, hit paste.

                Comment


                  #9
                  Which file is the mutator?

                  system folder:
                  Matrix2004_v130.u
                  Matrix2004_v130.ucl
                  MonkeyMatrixMoves2004.int

                  Texture folder:
                  matrixrings.utx
                  MonkeyMatrixInterface.utx

                  NOTE:
                  I want to make a cook of this mod! I will not allow mod just in PC. Because my PC is very weak and have really bad graphics.

                  Comment


                    #10
                    Copy the UT3 mutator KillSlowTime and paste it, or just use both the mutators together.

                    Comment


                      #11
                      Can i have more than 2 UTMutator Scripts in one package? For example:

                      MyMutator > Classes >

                      Scripts:
                      UTMutator_KillSlowTime.uc

                      Is that what you are saying?
                      UTMutator_Slomo.uc

                      Comment


                        #12
                        I think you can, you can have many classes doing the same mutator, so you can have more in one pack, if they subclass mutator.uc then they'll show in the list. But you just need to have different names for your mutators. Any one will be turned on separatedly in the game.

                        Comment


                          #13
                          I want both mutator into one mutator.

                          How can i change the kill slow time speed? I noticed that it 50% (i think). When i look at the script. There was no number value for that...

                          Comment


                            #14
                            Code:
                            // Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
                            class UTMutator_SlowTimeKills extends UTMutator;
                            
                            var class<GameRules> GRClass;
                            
                            function bool MutatorIsAllowed()
                            {
                            	return (WorldInfo.NetMode == NM_Standalone);
                            }
                            
                            function InitMutator(string Options, out string ErrorMessage)
                            {
                            	WorldInfo.Game.AddGameRules(GRClass);
                            
                            	Super.InitMutator(Options, ErrorMessage);
                            }
                            
                            defaultproperties
                            {
                            	GRClass=class'UTGame.UTGameRules_SlowTimeKills'
                            	GroupNames[0]="GAMESPEED"
                            }
                            Code:
                            // Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
                            
                            class UTGameRules_SlowTimeKills extends GameRules;
                            
                            var float SlowTime;
                            var float RampUpTime;
                            var float SlowSpeed;
                            
                            function ScoreKill(Controller Killer, Controller Killed)
                            {
                            	if ( PlayerController(Killer) != None )
                            	{
                            		WorldInfo.Game.SetGameSpeed(SlowSpeed);
                            		SetTimer(SlowTime, false);
                            	}
                            	if ( NextGameRules != None )
                            	{
                            		NextGameRules.ScoreKill(Killer,Killed);
                            	}
                            }
                            
                            function timer()
                            {
                            	GotoState('rampup');
                            }
                            
                            state Rampup
                            {
                            	function Tick(float DeltaTime)
                            	{
                            		local float NewGameSpeed;
                            
                            		NewGameSpeed = WorldInfo.Game.GameSpeed + DeltaTime/RampUpTime;
                            		if ( NewGameSpeed >= 1 )
                            		{
                            			WorldInfo.Game.SetGameSpeed(1.0);
                            			GotoState('');
                            		}
                            		else
                            		{
                            			WorldInfo.Game.SetGameSpeed(NewGameSpeed);
                            		}
                            	}
                            }
                            
                            defaultproperties
                            {
                            	RampUpTime=0.1
                            	SlowTime=0.3
                            	SlowSpeed=0.25
                            }

                            Comment


                              #15
                              Ok. Thank for the code. Now can i combine it with my own gamespeed such as slomo. Remember i want it to be a single mutator.

                              EDIT:
                              What is RampUpTime in the default properties in the second code you gave me?

                              Comment

                              Working...
                              X