NudgeZone

From Superboss Games Wiki
Jump to navigation Jump to search
Nudge Zone script applied to a Cube on the Unity Editor

A Nudge Zone is an Intruder MM script that allows map makers to push the players from certain areas. They're used on official maps to dissalow players from standing on top of doors and in Mountainside in the water, to push players towards the waterfall.

Properties

Caption text
Property Description
Nudge Settings
Nudge Speed The speed the Nudge Zone will apply
Lerp Speed The lerp used when applying the speed
Ragdoll Interaction
Ragdoll speed -
Ragdoll torque -
Ragdoll Direction Transform The object to follow the direction of
Direction Setup
Direction Transform The object to follow the direction of
Options
Two way Is the nudge zone two way
Misc Options
Affect Y Velocity Affects the falling speed
Allow Player Movement If the Nudge Zone allows movement while on it or if it blocks the player controls until they're pushed out of it


Easy setup

The easiest way to setup a Nudge Zone is as follow

Visualization of the direction of the player movement
  1. Add a unity cube
  2. Disable the mesh renderer
  3. Check the Box Collider "Is Trigger" checkbox
  4. Add the Nudge Zone script to the cube
  5. Assign the Direction Setup field of the script to the unity cube you just created
  6. Assign the Ragdoll Direction Transform to the unity cube you just created
  7. Modify the Nudge Speed value to a number like 10
  8. You should see a purple line that beggins on the center of the unity cube, that's the direction the player is going to be moved when colliding with the Nudge Zone

Now you can place and rotate your zone to whenever you want to in order for them to move the player.


IntruderMM Assets
Items Name
Prefabs BriefcaseProxy - CustomDoorProxy - DoorProxy - EquipmentManager - GlassProxy - GoalPointProxy - Keypad - Ladder - LockedObject - MortarProxy - Mover Parent - NoteProxy - ObserveCamProxy - Pickup - RandomGunPickup - RandomItemPickup - SecuritySetup - SlidingDoor - SpawnA - SpawnB - WaterLevel - WindProxy - ZipLine - Limits
Scripts ActivateActivator - Activator - AdvancedMaterial - AnimateColor - BriefcaseProxy (Script) - CustomDoorProxy - CustomLevelSettings - CustomMapSkins - DestructibleProxy - DoorProxy - EquipmentManager - GlassProxy - GoalPointProxy - GravityProxy - HackModeProxy - HideOnStart - IgnoreSticky - KeypadProxy - LayerProxy - LockedObject - MaterialManager - MortarProxy - Mover - NoteProxy - NudgeZone - SlipZone - ObjectiveTabSettings - ObjectTagger - ObserveCamProxy - PickupProxy - PlayAudio - ProjectileSpawn - ReplaceAll - ResetProxy - ScrollingUVs - SecurityRoom - SecurityScreen - HeliGun - SightSensor - SpawnProjectile - SetTagsAndLayers - SoundSettings - TimedObjectDestroyer - TuningProxy - WindProxy - World Screen Object - ZiplineProxy
Level/Maps Target - SniperRange - Demo