Ir para o conteúdo principal

55 docs tagged with "script"

View all tags

🪟 Widget

Class for spawning Unreal Widgets in the screen

🪟 Widget3D

Class for spawning Unreal Widgets in the world from an existing Widget

Basic HUD (React)

How to add a basic HUD using React to display the character's Health and Ammo.

Dados persistentes

Como armazenar e recuperar dados persistentes do disco usando o sistema interno

Debugging & Logging

How to find and fix problems in your scripts, from reading logs and errors to inspecting WebUIs

Editor Setup

How to set up Visual Studio Code with autocomplete and documentation for the nanos world API

Extra Features

Some extra features and concepts of the Sandbox Game Mode

Fogo de Artifício

How to create a Firework-shooter weapon using the Fireworks Particle Effects Asset Pack from our Vault!

HUD Básica (Canvas)

How to add a basic HUD using Render's Canvas features, to display the character's Health and Ammo

HUD básica (HTML)

How to add a basic HUD using HTML + JavaScript + CSS to display the character’s Health and Ammo based on CS:GO HUD

Input & Key Bindings

How to react to the player's keyboard and mouse, with Key Bindings players can customize

Jogar como Prop

How to simulate a Prop possessing using a Character. This can be used for Prop Hunt game-modes!

Lanterna para Arma

Este exemplo de código anexa uma Light a uma arma para fazer uma lanterna attachada.

Mira para Armas

This sample code shows how to attach custom sights meshes into a Weapon and work as real scopes.

Monster Truck

How to create a Monster Truck using the Vehicle system

Networking & Replication

What is synchronized automatically between server and clients, and how to send your own data efficiently

Never Trust the Client

How to protect your game-mode from cheaters by validating everything the clients send to the server

Pintando Meshes

How to use the new Material customization methods available to use

Player Lifecycle

The events triggered from when a player connects until they leave, and the right moment to do each thing

Portas

How to create a simple and automatic door when Characters move in

Profiling

Learn how to profile nanos world servers and clients using our built-in profiler tools

Prop Rain

How to create a rain effect with Props (boxes) falling from sky once a Character enters a Trigger

Prop Shooter

This sample code modifies a Weapon to make it shoot Props instead of normal bullets

Sandbox Game Mode

Learn how the Sandbox Game Mode works and how to extend and integrate with it through scripting

Spawn Menu

How to extend and use Sandbox Spawn Menu

Tool Guns

How to create new Tool Guns for the Sandbox game-mode

X-Ray & Highlight

This sample code shows how to set Actors to be highlighted when behind walls, or always highlighted!

Your First Game-Mode

Build a small deathmatch game-mode step by step, using server and client scripts, a HUD and remote events