=============================================================================
//
// QLadder.
//
=============================================================================
class QLadder expands Triggers;
function Touch( actor Other ) //actor touches the ladder, calls this function
{
if( Pawn(Other) != None && Pawn(Other).bIsPlayer ) //if actor is a player do...
{
Other.SetPhysics(PHYS_Flying); //...do this
}
}
function tick(float DeltaTime) //tick tock.
{
local PlayerPawn pp; //define player class as pp
foreach TouchingActors(class'PlayerPawn',pp) //for all touching actors, if they are pp
{
if(pp.ViewRotation.Pitch < 57344 && pp.ViewRotation.Pitch > 40960) //at some point of view rotation do...
{
pp.Velocity.Z = -140; //...do this.
}
if(pp.ViewRotation.Pitch < 24576 && pp.ViewRotation.Pitch > 8192) //same as above.
{
pp.Velocity.Z = 140;
}
}
}
function UnTouch( actor Other ) //when actor untouches...
{
if( Pawn(Other) != None && Pawn(Other).bIsPlayer ) //...and is a player...
{
Other.SetPhysics(PHYS_Falling); //... go down make boom!
}
}
It uses the view rotation to determine if player climbes or not.
zacman wrote:Uh, I'd also like to use my weapons from UT Tactics (Available for Dload in the general gameplay section) I also wanna use my ZacmanDecos pack (Dload in Content Creation)
If you could re-post your downloads here then it's probably OK. Don't make us go hunting for the links, though.
Waffnuffly wrote:You can't use stuff you created earlier that wasn't meant for the contest, though. Sorry.
It's allowed if it's shared with everyone. But your map shouldn't rely on it for its wow factor. This contest is meant to be about mapping, not your abilities to create other custom content.
[img]http://www.unrealsp.org/mike/attach/profile/scragsig.gif[/img]
Life is what you make of it.
zacman wrote:Uh, I'd also like to use my weapons from UT Tactics (Available for Dload in the general gameplay section) I also wanna use my ZacmanDecos pack (Dload in Content Creation)
If you could re-post your downloads here then it's probably OK. Don't make us go hunting for the links, though.
Waffnuffly wrote:You can't use stuff you created earlier that wasn't meant for the contest, though. Sorry.
It's allowed if it's shared with everyone. But your map shouldn't rely on it for its wow factor. This contest is meant to be about mapping, not your abilities to create other custom content.
I'm only really using the Zacmandecos.Celinglight...
It's really simple, just a triangle with a cut off top that glows...
My map is now using the inventory killer trigger created by UArchitect for EXU2, with Waffnuffly's permission.
There's no compiled download for this, so if you intend to use it, you will need to compile it yourself - and, if you do, it might be able to give it your own distinctive classname to avoid conflict with other packages. For instance, mine is called a "VVVRemoveInventory".
sana wrote:Can I use a couple of pawns that .:..: made for me? There's no way for my entry to win anyway, so I don't think it should be that much of a problem..
I guess the six hour entries are kinda anomalous anyway... so go ahead.
[img]http://www.unrealsp.org/mike/attach/profile/scragsig.gif[/img]
Life is what you make of it.