Custom content being used by contestants

The archive for the 8th Anniversary Speedmapping Contest entries and discussion.

Moderators: Semfry, ividyon

User avatar
Buff Skeleton
>:E
>:E
Posts: 4175
Joined: 15 Dec 2007, 00:46

Post by Buff Skeleton »

qtit's ladder code, available here:

http://www.unrealsp.org/forums/viewtopic.php?t=1053

Code itself:
qtit wrote:I used for my ladders a touch function.

Code: Select all

=============================================================================
//
// 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.
User avatar
Hellscrag
Founder
Founder
Posts: 4014
Joined: 11 Nov 2007, 19:14
Location: In a random access memory of dreams

Post by Hellscrag »

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.
User avatar
Buff Skeleton
>:E
>:E
Posts: 4175
Joined: 15 Dec 2007, 00:46

Post by Buff Skeleton »

Oh right, I'm thinking of map geometry, which you aren't supposed to rip from other stuff you created beforehand.
User avatar
Hellscrag
Founder
Founder
Posts: 4014
Joined: 11 Nov 2007, 19:14
Location: In a random access memory of dreams

Post by Hellscrag »

Waffnuffly wrote:Oh right, I'm thinking of map geometry, which you aren't supposed to rip from other stuff you created beforehand.
Oh, yeah. Barring "limited use of prefabs", which the rules make provision for - e.g. I've borrowed some lantern brushes from DOM-TempoClasm.
[img]http://www.unrealsp.org/mike/attach/profile/scragsig.gif[/img]
Life is what you make of it.
UB_
Nali Priest
Nali Priest
Posts: 7973
Joined: 11 Nov 2007, 21:00

Post by UB_ »

Hellscrag wrote: If you could re-post your downloads here then it's probably OK. Don't make us go hunting for the links, though.
I've already added the links.
ImageImage
User avatar
zacman
Skaarj Warlord
Skaarj Warlord
Posts: 690
Joined: 23 Jun 2009, 02:51
Location: Under your bed with a Chainsaw

Post by zacman »

Hellscrag wrote:
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...
Image[url=steam://friends/add/76561198048595886]Image[/url]

Code: Select all

(11:32:26) Shivaxi: i love fat girls

Code: Select all

(03:01:24 PM) <+All_Rights_Reserved> i'm not masturbating
User avatar
zacman
Skaarj Warlord
Skaarj Warlord
Posts: 690
Joined: 23 Jun 2009, 02:51
Location: Under your bed with a Chainsaw

Post by zacman »

Waffnuffly wrote:You can't use stuff you created earlier that wasn't meant for the contest, though. Sorry.
These weapons are relatively new... I created them 3 weeks ago, so the contest was already on :lol:
Image[url=steam://friends/add/76561198048595886]Image[/url]

Code: Select all

(11:32:26) Shivaxi: i love fat girls

Code: Select all

(03:01:24 PM) <+All_Rights_Reserved> i'm not masturbating
User avatar
Hellscrag
Founder
Founder
Posts: 4014
Joined: 11 Nov 2007, 19:14
Location: In a random access memory of dreams

Post by Hellscrag »

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".

Code: Select all

class RemoveInventory expands Triggers; 

var() bool bInstigatorOnly,bTriggerOnceOnly; 
var bool btriggered; 

event Trigger( Actor Other, Pawn EventInstigator ) 
{ 
local pawn p; 

   if((btriggered&&btriggeronceonly) || eventinstigator==none) return; 
   if(btriggeronceonly&&btriggered) btriggered=true; 

   if(bInstigatorOnly) 
      removeinventoryfor(eventinstigator); 
   else 
      foreach allactors(class'pawn',p) 
         if(!p.isa('spectator')&&p.inventory!=none&&p.health>0&&!p.bhidden) 
            removeinventoryfor(p); 
} 

simulated function removeinventoryfor(pawn p) 
{ 
   local inventory i; 
   for(i=p.inventory;i!=none;i=i.inventory) 
      if(!i.isa('scorekeeper')) 
      i.destroy(); 
   p.selecteditem=none; 
   p.weapon=none; 
   p.pendingweapon=none; 
} 

defaultproperties 
{ 
}
[img]http://www.unrealsp.org/mike/attach/profile/scragsig.gif[/img]
Life is what you make of it.
User avatar
ividyon
Administrator
Administrator
Posts: 2370
Joined: 12 Nov 2007, 14:43
Location: Germany
Contact:

Post by ividyon »

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..
UnrealSP.org webmaster & administrator
User avatar
Hellscrag
Founder
Founder
Posts: 4014
Joined: 11 Nov 2007, 19:14
Location: In a random access memory of dreams

Post by Hellscrag »

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.
Locked