Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

Author Topic: Respawn For AA2.5  (Read 11675 times)

0 Members and 1 Guest are viewing this topic.

Offline Vanoke

  • Epic Poster
  • ******
  • Posts: 1,760
  • Real war is to a GAME!!
    • View Profile
  • AA: =PUF=Vanoke
Re: Respawn For AA2.5
« Reply #15 on: Friday, February 12, 2016, 04:21:42 AM »
This gameplay is already prooft in the past for Border .the 3 difrend spawns will help you to get away from spawn place and  jou have and so far i know the first 5 ore 10 sec you can't be hit in the old mod. Border will de full for sure .players will be happy action till you get tyred from gamin

Offline Possessed

  • bWpnRecoil == False;
  • Administrator
  • Epic Poster
  • *
  • Posts: 3,620
  • You suffer, but why?!
    • View Profile
  • AA: Possessed
Re: Respawn For AA2.5
« Reply #16 on: Friday, February 12, 2016, 12:18:53 PM »
Code: [Select]

{
    local Vector NewLocation = Pawn(?).StartSpot.Location;

                NewLocation.X += 50;
                NewLocation.Y += 50;  //No need to mess with all 3 axis.
                NewLocation.Z += 120;

                Pawn = Spawn(PawnClass,,,NewLocation,StartSpot.Rotation);
}
Can use this to change the location in real time with config file, console command (Mutate) or even a random vector (who knows where the player will spawn).

http://romerounrealscript.blogspot.com.br/2011/10/using-vectors-in-unrealscript.html
https://wiki.beyondunreal.com/Legacy:UnrealScript_Vector_Maths
« Last Edit: Friday, February 12, 2016, 12:24:48 PM by Possessed »
These things I have spoken unto you, that in me ye might have peace. In the world ye shall have tribulation: but be of good cheer; I have overcome the world.
John 16:33


Offline Vanoke

  • Epic Poster
  • ******
  • Posts: 1,760
  • Real war is to a GAME!!
    • View Profile
  • AA: =PUF=Vanoke
Re: Respawn For AA2.5
« Reply #17 on: Friday, February 12, 2016, 19:25:07 PM »
I feel the right spirit is comming hooah !

Offline LEEFFM

Re: Respawn For AA2.5
« Reply #18 on: Friday, February 12, 2016, 20:34:14 PM »
The way crusade did it was he set God Mode true in the Respawn command and then set a timer, when the timer runs out God Mode turns to false.

Ive edited the original post to include it.

Tested on LAN, No known issues.

Additions to SOCOMPlayerController.uc:
Code: [Select]
class SOCOMPlayerController extends HumanController;

var SOCOMGameM SGM; //added

replication
{
  reliable if ( Role < 4 )
    respawn;
}

event PreBeginPlay () //added
{
    super.PreBeginPlay();
    SGM=Spawn(Class'SOCOMGameM');
}

exec function respawn ()
{
    if (PlayerReplicationInfo.bDead)
    {
        UnPossess ();
        Pawn.Destroy ();
        Pawn = Spawn(PawnClass,,,StartSpot.Location,StartSpot.Rotation);
        Possess (Pawn) ;
        PawnClass = Pawn.Class;
        ClientSetRotation(Pawn.Rotation);
        if(Pawn.Class != None)
        {
            PlayerReplicationInfo.bDead = false;
            PlayerReplicationInfo.bOutOfLives = false;
            PlayerReplicationInfo.bIsSpectator = false;
            SetStartupStage(6);
            bGodMode = True; // added
            SGM.settimer(10,false); //added
        }
    }
}

added SOCOMGameM.uc:
Code: [Select]
class SOCOMGameM extends Mutator;

event PreBeginPlay ()
{
Level.Game.BaseMutator.AddMutator(self);
}

function Timer ()
{
    local PlayerController PC;

foreach Level.AllActors(Class'PlayerController',PC)
{
PC.bGodMode = false;
}
}
« Last Edit: Friday, February 12, 2016, 20:41:38 PM by LEEFFM »

Offline -Vegeta-

  • Dedicated Poster
  • *****
  • Posts: 1,048
    • View Profile
  • AA: Vegeta
Re: Respawn For AA2.5
« Reply #19 on: Saturday, February 13, 2016, 12:00:19 PM »
It worked just fine when they had it before on bridge anyway. And yes there was a bit of spawn rape. But it also back fired and worked both ways.
Words are great possed but the tune is crap. A condeming fear strikes down
Things they cannot understand. An excuse to cover up weaknesses that lie within Lies
Laying your guilt and pain. On people that had no part in the molding of a life
That creates its destruction. Lies. Right before your very eyes
A reflection of the mistakes. To the end you will deny. Your part in the demise of a life
Lack of comprehension. Thriving on your cliche. Compelled by self-resentment
Reaching into the minds of those that created. The depression in which they
In which they drowned their flesh and blood. Lies. So easy to blame the
Everlasting fear on a pathetic attempt. To justify the ending of life. Lies
Right before your very eyes. A reflection of the mistakes. To the end you will deny
Your part in the demise of a life
Lack of comprehension. Thriving on your cliche. Compelled by self-resentment

Offline Galle

Re: Respawn For AA2.5
« Reply #20 on: Saturday, February 13, 2016, 20:22:04 PM »
I remember these respawn games. They were great fun but it always went that way that one team trapped other in one area. Many spawn points would help in that but I would be carefull to use right maps for this where it works.  :style:
Lasse Kukkonen, is there any better?

Offline LEEFFM

Re: Respawn For AA2.5
« Reply #21 on: Monday, February 15, 2016, 22:51:18 PM »
Original Post Updated.

Offline -Vegeta-

  • Dedicated Poster
  • *****
  • Posts: 1,048
    • View Profile
  • AA: Vegeta
Re: Respawn For AA2.5
« Reply #22 on: Tuesday, February 16, 2016, 10:13:13 AM »
SO is it up and running or does it need aproved by the admins or what?
Words are great possed but the tune is crap. A condeming fear strikes down
Things they cannot understand. An excuse to cover up weaknesses that lie within Lies
Laying your guilt and pain. On people that had no part in the molding of a life
That creates its destruction. Lies. Right before your very eyes
A reflection of the mistakes. To the end you will deny. Your part in the demise of a life
Lack of comprehension. Thriving on your cliche. Compelled by self-resentment
Reaching into the minds of those that created. The depression in which they
In which they drowned their flesh and blood. Lies. So easy to blame the
Everlasting fear on a pathetic attempt. To justify the ending of life. Lies
Right before your very eyes. A reflection of the mistakes. To the end you will deny
Your part in the demise of a life
Lack of comprehension. Thriving on your cliche. Compelled by self-resentment

Offline teddy_grizzly_bear

  • Used to be known as nobody
  • Administrator
  • Epic Poster
  • *
  • Posts: 5,699
  • what are you looking at?
    • View Profile
  • AA: teddy_grizzIy_bear
Re: Respawn For AA2.5
« Reply #23 on: Tuesday, February 16, 2016, 10:46:32 AM »
You should be able to run it as an untracked mod.
<image removed due to imgur stuff - probably for the best>

"Mathematics may be defined as the subject in which we never know what we are talking about, nor whether what we are saying is true." Bertrand Russell

Offline LEEFFM

Re: Respawn For AA2.5
« Reply #24 on: Tuesday, February 16, 2016, 10:55:32 AM »
I thought that anytime you extend a GameInfo class, PlayerController class that it has to be included Clientside (i could be wrong lol). it would have to be added to the ServerPackages (in the Server.ini) for sure to work.

Offline teddy_grizzly_bear

  • Used to be known as nobody
  • Administrator
  • Epic Poster
  • *
  • Posts: 5,699
  • what are you looking at?
    • View Profile
  • AA: teddy_grizzIy_bear
Re: Respawn For AA2.5
« Reply #25 on: Tuesday, February 16, 2016, 11:44:18 AM »
I'm not sure. But I have seen respawn mods without having to have anything on the client side.
<image removed due to imgur stuff - probably for the best>

"Mathematics may be defined as the subject in which we never know what we are talking about, nor whether what we are saying is true." Bertrand Russell

Offline LEEFFM

Re: Respawn For AA2.5
« Reply #26 on: Tuesday, February 16, 2016, 12:05:11 PM »
yes i know there is a Server Mod i modified it (Posted in Games & Programming) so its a little better then the original, but this version would work the best and be a true Respawn GameMode.

Offline -Vegeta-

  • Dedicated Poster
  • *****
  • Posts: 1,048
    • View Profile
  • AA: Vegeta
Re: Respawn For AA2.5
« Reply #27 on: Tuesday, February 16, 2016, 12:06:00 PM »
You got a server leeffm? Am sure Merlin would give it a go if not. Eh Merlin?
Words are great possed but the tune is crap. A condeming fear strikes down
Things they cannot understand. An excuse to cover up weaknesses that lie within Lies
Laying your guilt and pain. On people that had no part in the molding of a life
That creates its destruction. Lies. Right before your very eyes
A reflection of the mistakes. To the end you will deny. Your part in the demise of a life
Lack of comprehension. Thriving on your cliche. Compelled by self-resentment
Reaching into the minds of those that created. The depression in which they
In which they drowned their flesh and blood. Lies. So easy to blame the
Everlasting fear on a pathetic attempt. To justify the ending of life. Lies
Right before your very eyes. A reflection of the mistakes. To the end you will deny
Your part in the demise of a life
Lack of comprehension. Thriving on your cliche. Compelled by self-resentment

Offline LEEFFM

Re: Respawn For AA2.5
« Reply #28 on: Tuesday, February 16, 2016, 13:02:16 PM »
Ive added the ServerMod version of the RespawnMod tothe UltimateMod i relaesed here:
http://aao25.com/forum/games-programming/ultimatemod-v1-1-release!/

Ive added the UltimateMod to:
BnA.^ Brothers !n Arms Server | Minneapolis Respawn (the server is run on my laptop, not always up)

I cannot join my own server as my router does not allow NAT LoopBack :(

Offline Vanoke

  • Epic Poster
  • ******
  • Posts: 1,760
  • Real war is to a GAME!!
    • View Profile
  • AA: =PUF=Vanoke
Re: Respawn For AA2.5
« Reply #29 on: Thursday, February 18, 2016, 06:26:49 AM »
Ad the moment the sec player can`t get in the server, so we must wait for solution sorry it take time and work to make it run !!!! wait for it  :shock:

Be welcome to tryout respawn and pick a weapon on PUF CLAN BORDER so far so good thx to Mr. LEEFFM  to make this work. Hope people will like it  . ther will be possible more updates to make thing better . HOOAH !
« Last Edit: Thursday, February 18, 2016, 07:43:45 AM by Vanoke »

 

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager