Results 1 to 12 of 12
  1. #1
    Palace Guard
    Join Date
    Feb 2010
    Location
    Tegleg Records
    Posts
    3,626
    Gamer IDs

    Gamertag: tegleg digital
    Last edited by tegleg; 02-02-2013 at 07:50 AM.
    Code:
    We.spazmodicaly.simulate.new.sound.with.technical.equipment.that.is.specificaly.manufactured.for.humans.to.communicate.in.outer.space.Tegleg.manipulates.time.and.space.to.create.new.experiences.to.generate.a.hardcore.database.generation.
    Please ask questions in the forum, NOT a private message
    tegleg.co.uk
    My Tutorials n Stuff
    Games: Tegs Playground - Unwheel2 - VCTF Game - Sponic Mesh 3D - Shh.. dont tell anyone about my android apps.
    will code for money

  2. #2
    MSgt. Shooter Person
    Join Date
    Nov 2010
    Location
    Oregon
    Posts
    114

    Default

    this is all great stuff man thanks!

  3. #3
    MSgt. Shooter Person
    Join Date
    Sep 2011
    Posts
    116

    Default

    Random Movement AI don't work on muntiplayer online

  4. #4
    Palace Guard
    Join Date
    Feb 2010
    Location
    Tegleg Records
    Posts
    3,626
    Gamer IDs

    Gamertag: tegleg digital

    Default

    what do you mean it doesnt work?
    works fine for me, maybe something in your pawn not right?
    Code:
    We.spazmodicaly.simulate.new.sound.with.technical.equipment.that.is.specificaly.manufactured.for.humans.to.communicate.in.outer.space.Tegleg.manipulates.time.and.space.to.create.new.experiences.to.generate.a.hardcore.database.generation.
    Please ask questions in the forum, NOT a private message
    tegleg.co.uk
    My Tutorials n Stuff
    Games: Tegs Playground - Unwheel2 - VCTF Game - Sponic Mesh 3D - Shh.. dont tell anyone about my android apps.
    will code for money

  5. #5
    Palace Guard
    Join Date
    Feb 2010
    Location
    Tegleg Records
    Posts
    3,626
    Gamer IDs

    Gamertag: tegleg digital

    Default

    cheeky bump*

    just added a few new things
    Code:
    We.spazmodicaly.simulate.new.sound.with.technical.equipment.that.is.specificaly.manufactured.for.humans.to.communicate.in.outer.space.Tegleg.manipulates.time.and.space.to.create.new.experiences.to.generate.a.hardcore.database.generation.
    Please ask questions in the forum, NOT a private message
    tegleg.co.uk
    My Tutorials n Stuff
    Games: Tegs Playground - Unwheel2 - VCTF Game - Sponic Mesh 3D - Shh.. dont tell anyone about my android apps.
    will code for money

  6. #6

    Default

    Awesome. Subbed to the thread. Can't wait to start going through some of it.


    Sent from my iPhone using Tapatalk
    Audio Specialist, Sound Designer, Audio Implimentation
    Personal Portfolio Click Here
    Current Project: none
    Affiliations: UDK learning, Fraktured Games, VI Productions

  7. #7
    Skaarj
    Join Date
    Aug 2012
    Location
    Spain
    Posts
    7
    Gamer IDs

    PSN ID: kimikazio

    Default

    thank you tegleg! very helpful!

  8. #8

    Default Spawning a vehicle instead of a player


    HI.

    Am a grad student new to Uscript.
    Am trying to spawn a vehicle instead of player.

    But am not able to achieve with the code what i have written.
    Please help me if i have gone wrong somewhere.

    This is my GameInfo class

    Code:
    class mygameinfo extends UTGame;
    var String VechileClass;
    var Vehicle yourvehicle;
    var PlayerController P;
    var vector alteredlocation;
    
    function RestartPlayer( Controller aPlayer)
    {
    	super.RestartPlayer(aPlayer);
    	
    	startspawning();
    }
    
    exec function startspawning()
    {
    	local PlayerController pc;
    	`log("Spawn Players in Vehicles");
    	pc.GotoState('PlayerVehicleState');
    }
    
    state PlayerVehicleState
    {
    Begin:
    spawnplayersinvehicle();
    }
    
    exec function spawnplayersinvehicle()
    {
    	foreach worldInfo.AllControllers(class'PlayerController',P)
    	{
    		alteredlocation = P.Pawn.Location;
    		alteredlocation += vect(100, 100, 100);
    		SetCollision(false, false);
    		yourvehicle = Spawn(class 'UTGameContent.UTVehicle_Scorpion_Content',,, alteredlocation, P.Pawn.Rotation);
    		SetCollision(false, false);
    		yourvehicle.AttachDriver(P.Pawn);
    	}
    }
    
    simulated event PostBeginPlay()
    {
    	`log("Player restart");
    	super.PostBeginPlay();
    }
    
    DefaultProperties
    {
    	DefaultPawnClass = class'blur.mypawn'
    	PlayerControllerClass = class'blur.mycontroller'
    }
    This is my pawn class

    Code:
    class mypawn extends GamePawn;
    
    simulated function PostBeginPlay()
    {
    	super.PostBeginPlay();
    	`log("Custom Pawn UP");
    
    }
    
    
    DefaultProperties
    {
    }
    Controller Class

    Code:
    class mycontroller extends PlayerController;
    
    simulated function PostBeginPlay()
    {
    	super.PostBeginPlay();
    	`log("Player Controller Initialized");
    }
    //state PlayerDriving
    //{
    //Ignores SeePlayer, HearNoise, Bump;
    //	function ProcessMove(float DeltaTime, vector NewAccel, eDoubleClickDir DoubleClickMove, rotator DeltaRot);
    	
    //	function ProcessDrive(float InForward, float InStrafe, float InUp, bool InJump)
    //	{
    //		local myvechile CurrentVechile;
    //		CurrentVechile=myvechile(pawn);
    //		if(CurrentVechile != none)
    //		{
    //			bpressedJump = InJump;
    //			CurrentVechile.SetInputs(InForward, -InStrafe, InUp);
    //			CheckJumpOrDuck();
    //		}
    //	}
    //	function PlayerMove(float DeltaTime)
    //	{
    //		UpdateRotation(DeltaTime);
    //		ProcessDrive(PlayerInput.RawJoyUp, PlayerInput.RawJoyRight, PlayerInput.aUp, bPressedJump);
    //		if(Role < ROLE_Authority)
    //		{
    //			ServerDrive(PlayerInput.RawJoyUp, PlayerInput.RawJoyRight, PlayerInput.aUp, bPressedJump, ((Rotation.Yaw & 65535) << 16) + (Rotation.Pitch & 65535));
    //		}
    //		bPressedJump = false;
    //	}
    //	event BeginState(Name PreviousStateName)
    //	{
    //		cleanOutSavedMoves();
    //	}
    //	event EndState(Name NextStateName)
    //	{
    //		CleanOutSavedMoves();
    //	}
    
    //}
    
    
    DefaultProperties
    {
    	//PawnClass=Class'blurring.mypawn'
    }

  9. #9
    MSgt. Shooter Person
    Join Date
    Jul 2010
    Posts
    33

    Default

    Thanks, tegleg. Studying your work has helped me a lot. Thanks for sharing.

  10. #10
    MSgt. Shooter Person
    Join Date
    Jul 2012
    Location
    USA
    Posts
    195

    Default

    Thanks, man. Your contributions to this community are well appreciated

  11. #11
    Palace Guard
    Join Date
    Feb 2010
    Location
    Tegleg Records
    Posts
    3,626
    Gamer IDs

    Gamertag: tegleg digital

    Default

    little bump
    a few more things have been added
    Code:
    We.spazmodicaly.simulate.new.sound.with.technical.equipment.that.is.specificaly.manufactured.for.humans.to.communicate.in.outer.space.Tegleg.manipulates.time.and.space.to.create.new.experiences.to.generate.a.hardcore.database.generation.
    Please ask questions in the forum, NOT a private message
    tegleg.co.uk
    My Tutorials n Stuff
    Games: Tegs Playground - Unwheel2 - VCTF Game - Sponic Mesh 3D - Shh.. dont tell anyone about my android apps.
    will code for money

  12. #12

    Default

    Also note for vehicle top speed if u copied and pasted the scorpion code. Somewhere in all the booster codes in the scorpion, there's a speed restriction or something. I commented out everything involving the boost and my vehicle will go as fast as I want it to now . Ill go back and figure out what part of code it is later.


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.