SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 22/06/2019, 06:07 PM   #1
vasya096
Little Clucker
 
Join Date: Jan 2014
Posts: 14
Reputation: 6
Default Create hmap (height-map)

Hello all! How to create own hmap for mapandreas?
My map has new objects that would be needed hmap was built based on these objects.

I am found only old posts that lead on non-existent themes.
__________________
VIDEOS:Apocalypse 1
VIDEOS:Apocalypse 2
VIDEOS:Apocalypse 3
vasya096 is offline   Reply With Quote
Old 22/06/2019, 06:17 PM   #2
NaS
High-roller
 
NaS's Avatar
 
Join Date: Mar 2008
Location: 🇩🇪
Posts: 1,633
Reputation: 535
Default Re: Create hmap (height-map)

I could generate one for you, but it would be way easier if you look into ColAndreas. CA has full 3D collision, but also the 2D Height Map can be used by raycasting from the sky (so you wouldn't even need to change your script). There's a replacement function as well to replicate MapAndreas.

The advantage is that you can add collision objects at any time, so your mappings would always be considered, also outside of the Map Boundaries.
NaS is offline   Reply With Quote
Old 25/06/2019, 02:18 PM   #3
vasya096
Little Clucker
 
Join Date: Jan 2014
Posts: 14
Reputation: 6
Thumbs up Re: Create hmap (height-map)

Quote:
Originally Posted by NaS View Post
I could generate one for you, but it would be way easier if you look into ColAndreas. CA has full 3D collision, but also the 2D Height Map can be used by raycasting from the sky (so you wouldn't even need to change your script). There's a replacement function as well to replicate MapAndreas.

The advantage is that you can add collision objects at any time, so your mappings would always be considered, also outside of the Map Boundaries.
Hi! Thank you! I don't know why I didn't do it before!
__________________
VIDEOS:Apocalypse 1
VIDEOS:Apocalypse 2
VIDEOS:Apocalypse 3
vasya096 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.hmap files. iLearner Scripting Help 1 09/10/2016 04:59 PM
.hmap Height Map Question NaS Scripting Help 2 09/03/2014 11:57 PM
Custom hmap? Snipa Scripting Help 3 04/02/2014 10:48 PM
Loading scriptfiles/SAfull.hmap IllidanS4 Server Support 3 13/05/2013 10:59 AM
.hmap file? Face9000 Everything and Nothing 4 26/11/2010 12:08 PM


All times are GMT. The time now is 09:35 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.