Code Monkey home page Code Monkey logo

chalkboards's Introduction

Chalkboards

A FiveM chalkboard system using DUI's and placed objects

Video Example

2024-04-18.17-47-36.mp4

Streamable Link

Information

Open source so you can customize which notifies, inventory, target etc. This is set up with the below dependencies. Alter to your liking.

Using an item will trigger a object placement system. Prior to placement you will be asked which template to use. There are 5 templates to an object. If you use the same template twice or more, the same board will be displayed as the original placed board. Or pick a different template and add a new board with its own board data!

Example

After placement, you can target the board to interact with a WYSIWYG text editor, which a preview of your board as a toolbar option. Visually see what will be placed on the board. I have added open source "chalkboard" fonts for you to use to provide realism to the boards placed!

Example

alt text

Dependencies

Issues

  • Biggest problem is the use of chalkboards by two people, with the same model, around the radius of each other. This uses the AddReplaceTexture native, which means whoever edited last would overwrite the texture of the others board when nearby. This shouldnt be an issue if your player owned businesses are placing boards across town from each other, or outside the designated radius zone that is created when a board is placed.

  • Prop 3/Chalkboard3 has its origin in the center of what seems to be a sphere, making it nearly impossible to place or be used with this resource.

  • When placing objects, based on the surface the raycast is hitting, your object will blink in and out of existence. If you finish placement and the object is not visible, it will stay that way, and you will essentially "lose" the item. Unsure of a way to resolve.

chalkboards's People

Contributors

xilophinum avatar misterbuzzee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.