Main

Forums

Wiki

Downloads

Tutorials

Walkthrough

Unreal-netiquette

Links

Submit-News

Oldunreal's hosted:
UnrealReference

Usermaps

Real-CTF

Donate for Oldunreal:

Oldunreal Donation
Oldunreallogo
  Welcome, Guest. Please Login or Register
 
  HomeHelpSearchLoginRegister  
 
 
I don't know that it's a good place for this topic... (Read 1250 times)
Dozey
God Member
*****
Offline


I love cleaning The Sunspire
with my mop.

Posts: 578
Poland
Gender: male
I don't know that it's a good place for this topic...
08/27/10 at 12:04:04
 
...but i have a very important question:
how to make triggert or something else that (maybe script) that is blocking a way to enemy resprawn point for example that blue player can't pass the corridor to red resprawn but red players won't have problem with blocking. Any sugestions?? Huh
Back to top
« Last Edit: 08/27/10 at 12:04:34 by Dozey »  

Return to Napali IV: Napali War Coming soon....
http://dozeyunreal.webs.com
...
WWW WWW  
IP Logged
 
Bleeder91[NL]
God Member
*****
Offline


Personal Text:

Posts: 780
Location, Location, Location.
Gender: male
Re: I don't know that it's a good place for this topic...
Reply #1 - 08/27/10 at 15:09:16
 
You can make a mover that can only be triggered from 1 side, or you can make a teamtrigger that triggers when player with specified team number touches it.
Back to top
 
WWW WWW Bleeder91[NL]  
IP Logged
 
Dozey
God Member
*****
Offline


I love cleaning The Sunspire
with my mop.

Posts: 578
Poland
Gender: male
Re: I don't know that it's a good place for this topic...
Reply #2 - 08/27/10 at 16:22:40
 
yeah that second sounds good but i think that teamtrigger is a script did I??
Back to top
 

Return to Napali IV: Napali War Coming soon....
http://dozeyunreal.webs.com
...
WWW WWW  
IP Logged
 
Bleeder91[NL]
God Member
*****
Offline


Personal Text:

Posts: 780
Location, Location, Location.
Gender: male
Re: I don't know that it's a good place for this topic...
Reply #3 - 08/27/10 at 17:16:10
 
ye, but it's easy to make. (I hope it's as easy as I think it is Cheesy)
Just make a subclass of Trigger, name it something like TeamTrigger, and past the following:

Code (C++):
var(Trigger) byte OwnerTeam;

function bool IsRelevant( actor Other )
{
	if( !bInitiallyActive )
		return false;

	if((TriggerType == TT_PlayerProximity) && Pawn(Other)!=None && Pawn(Other).bIsPlayer)
		return (OwnerTeam == Pawn(Other).PlayerReplicationInfo.Team);
        else return Super.IsRelevant(Other);
} 


Back to top
« Last Edit: 08/27/10 at 17:16:57 by Bleeder91[NL] »  
WWW WWW Bleeder91[NL]  
IP Logged
 
Dozey
God Member
*****
Offline


I love cleaning The Sunspire
with my mop.

Posts: 578
Poland
Gender: male
Re: I don't know that it's a good place for this topic...
Reply #4 - 08/27/10 at 18:24:41
 
thx it's working but for all players. It doesnt' matte in what team you are.
Back to top
« Last Edit: 08/27/10 at 18:35:35 by Dozey »  

Return to Napali IV: Napali War Coming soon....
http://dozeyunreal.webs.com
...
WWW WWW  
IP Logged
 
Bleeder91[NL]
God Member
*****
Offline


Personal Text:

Posts: 780
Location, Location, Location.
Gender: male
Re: I don't know that it's a good place for this topic...
Reply #5 - 08/27/10 at 21:32:47
 
It works for me tho, here try this map:
http://bleeder91.webs.com/DmDeck16-TEST.unr
It's Mylevel'd and subclassed to Trigger. I already placed one on the middle path. It's show the message "IT WORKS" when you are on team Blue.
Back to top
 
WWW WWW Bleeder91[NL]  
IP Logged
 
Dozey
God Member
*****
Offline


I love cleaning The Sunspire
with my mop.

Posts: 578
Poland
Gender: male
Re: I don't know that it's a good place for this topic...
Reply #6 - 08/28/10 at 18:45:28
 
Bleeder91[NL] wrote on 08/27/10 at 21:32:47:
It works for me tho, here try this map:
http://bleeder91.webs.com/DmDeck16-TEST.unr
It's Mylevel'd and subclassed to Trigger. I already placed one on the middle path. It's show the message "IT WORKS" when you are on team Blue.


I was red and show me "IT WORKS" too Roll Eyes
Back to top
 

Return to Napali IV: Napali War Coming soon....
http://dozeyunreal.webs.com
...
WWW WWW  
IP Logged
 
Bleeder91[NL]
God Member
*****
Offline


Personal Text:

Posts: 780
Location, Location, Location.
Gender: male
Re: I don't know that it's a good place for this topic...
Reply #7 - 08/28/10 at 19:33:12
 
you sure..? what gametype u use, the normal team deathmatch or..?
Back to top
 
WWW WWW Bleeder91[NL]  
IP Logged
 
Dozey
God Member
*****
Offline


I love cleaning The Sunspire
with my mop.

Posts: 578
Poland
Gender: male
Re: I don't know that it's a good place for this topic...
Reply #8 - 08/29/10 at 10:40:16
 
sorry i've checked this. No it's working. One problem with my mod has gone. Thank's Bleeder. Smiley
Back to top
« Last Edit: 08/29/10 at 10:56:19 by Dozey »  

Return to Napali IV: Napali War Coming soon....
http://dozeyunreal.webs.com
...
WWW WWW  
IP Logged
 
(Moderators: Buster, pÍtßűll, DieHard SCWS)