Because some players "cheat" by slipping through small holes with their TranslocatorTarget I added a BlockAll to prevent this. But a BlockAll - despite its name - does not block a TranslocatorTarget in online games.
Is there anything else that I can add (via UScript while map is loaded) to block a TranslocatorTarget?
Translocator and BlockAll
- sektor2111
- Godlike
- Posts: 6423
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Translocator and BlockAll
Using another sort of Blocker with a function "Touch" properly written ? I think you know what I mean...
Re: Translocator and BlockAll
Use Cloudzones, loL , actually I wonder if that would work, the trans probably passes right through. What if you used specialevents, then the trans could create the event to stop player, not just the kill event but some other form to stop the trans or something and a message warning so players know things are blocked.
Wait, can't you use a trigger using ,class. collision ? then you could trigger something.
Wait, can't you use a trigger using ,class. collision ? then you could trigger something.
Binary Space Partitioning
Re: Translocator and BlockAll
Translocator is half-assedly coded, the only GOOD coded translocator module is Siege's.
https://github.com/CacoFFF/SiegeIV-UT99 ... rTarget.uc
https://github.com/CacoFFF/SiegeIV-UT99 ... rTarget.uc
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Translocator and BlockAll
^this. Higor is right. I spent a weekend trying to 'fix' the trans as there are several ways to cheat with it. It just needs to be remade, the way it functions is not good at all.
So long, and thanks for all the fish
Re: Translocator and BlockAll
Sorry, you misunderstood what I want. For example there is a map with a small hole that leads to next level. If played without cheating a mover opens a passing to next level after finishing the current level. But it is possible to skip the current level by throwing the translocator through the hole. For that I want to spawn an obstacle ("BlockAll") at the hole while the map is loaded to prevent this.Red_Fist wrote:Use Cloudzones
Thanks, after some adaptations ("sgBuilding" is unknown in UT) it works fine.Higor wrote:Translocator is half-assedly coded, the only GOOD coded translocator module is Siege's.
But I run into another problem with the pickup sound then: The TranslocatorTarget of my Monsterhunt version is not picked up when the owner touches it. I want to have that configurable and defined a bool for it:
Code: Select all
var config bool bPickupTranslocatorTargetOnRunover;
Code: Select all
simulated singular function Touch( Actor Other )
...
bMasterTouch = Other == Instigator;
// if I enable this line, the sound is played, otherwise not
// bPickupTranslocatorTargetOnRunover = true;
if ( bMasterTouch && ! bPickupTranslocatorTargetOnRunover)
return;
if (Physics == PHYS_None)
{
if ( bMasterTouch )
{
PlaySound(Sound'Botpack.Pickups.AmmoPick',,2.0);
...
}
return;
}
if ( bMasterTouch )
return;
...
@Admins: maybe move this to section "Coding"?
"If Origin not in center it be not in center." --Buggie
- UnrealGGecko
- Godlike
- Posts: 2923
- Joined: Wed Feb 01, 2012 11:26 am
- Personal rank: GEx the Gecko
- Location: Kaunas, Lithuania
- Contact:
Re: Translocator and BlockAll
Sure thing, *moves thread to Coding*
My work for UT99: Counter-Strike VP, MaleOne+ (now updated), FemaleOne+ and the FemaleTwo220 voicepacks DM-XC-NaliTreeV2 (from the 2012 Xmas Contest mappack), DM/DOM-20AC-CastleGeorgeV3 (from the 20th Anniversary Contest mappack), DM-UFFO, DM-WreckingBall, (NEW!) CTFM-Sundial
my small spec of files at Google Drive
List of console converted maps, models & more!