Coder Social home page Coder Social logo

samp-mapdrawer2d's Introduction

SAMP-MapDrawer2D

Draws a 2D Map of the World using ColAndreas

Load as Filterscript to begin drawing a BMP File.

You can configure resolution, World Bounds, Colors and more in the script.

If your Script does not already use ColAndreas for your maps, set the GRAB_OBJECTS define to true to grab all Streamer Objects from the specified virtual world and temporarily create them as Collision Objects.

OC.inc

This Include contains an Array for all Model Categories (including SAMP Objects). The FS uses it to draw colors based on them.

farray.inc

FArray offers an Array-like file system to buffer lots of data somewhere else than the stack or header. They are slower, but they offer theoretically unlimited space which can be (de)allocated at any time.

Note: Create a folder called fa inside your scriptfiles directory.

Example

This is a Map generated by this Script, colors are based on Categories (Roads are Red, Railroads are Blue) and the steepness of the terrain. Most roads in the desert are missing, because most of them are part of a large terrain model (making it impossible to tell them apart from other model types sadly). However you could use the GPS Plugin (or data from GPS.dat) to color them.

map2d_test.jpg

samp-mapdrawer2d's People

Contributors

naseband avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

marshall32

samp-mapdrawer2d's Issues

How To Use This? For What?

I Have Some Doubts

  1. Is Its Used By Mipmap Lively Or Just Get A Print Out Of Map?
  2. What Is The Use Of This?

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.