GTAMP.com

Grand Theft Auto Media Press
It is currently Fri Jun 22, 2018 5:07 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Sat Feb 17, 2018 1:21 pm 
Offline
Ped

Joined: Sat Nov 04, 2017 11:06 am
Posts: 3
Hi
I've got a bus stop which is 0,5 texture wide (32px) and I would like sides of it to be collidable like in screen:

Image

I saw similar bus stops in multislayer, and there sides are non collidable, so i assumed it's impossble, but GTA2 got lots of surprises, so maybe someone managed to resolve this problem. i don't want to put pillars because i would like this wall width to be 0, like texture.


Top
 Profile  
 
PostPosted: Sun Feb 18, 2018 3:57 am 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 1097
you could put small heavy objects or car blockers under the bus stop. if those do not fit then you could change the texture. you would still eb able to jump over them

_________________
yur sa'nok ngeyƤ


Top
 Profile  
 
PostPosted: Sun Feb 18, 2018 7:29 am 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 162
Acho wrote:
Hi
I've got a bus stop which is 0,5 texture wide (32px) and I would like sides of it to be collidable like in screen:

Image

I saw similar bus stops in multislayer, and there sides are non collidable, so i assumed it's impossble, but GTA2 got lots of surprises, so maybe someone managed to resolve this problem. i don't want to put pillars because i would like this wall width to be 0, like texture.

This is a common problem of collision in the MAP Editor. To remove it, completely remove the object from all sides, clean the space and reduce the width of the wall with you. Set the number on the wall again. Sometimes on the map there are invisible walls they must be cleaned in all directions. Attach your map to help you faster.

_________________
Map F-Industry-Live
MISI Library

Telegram channel @NonameGames
Twitter channel @TheNonameGames


Top
 Profile  
 
PostPosted: Sun Feb 18, 2018 11:48 am 
Offline
Ped

Joined: Sat Nov 04, 2017 11:06 am
Posts: 3
Yeah i thought about objects, but as you said u can jump over them and i don't want that. And they have width more than 0 so it would not look good.

Logofero, you misunderstood. I want them to be collidable, but only the non-transparent half of texture.


Top
 Profile  
 
PostPosted: Sun Feb 18, 2018 1:34 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 162
Acho wrote:
Yeah i thought about objects, but as you said u can jump over them and i don't want that. And they have width more than 0 so it would not look good.

Logofero, you misunderstood. I want them to be collidable, but only the non-transparent half of texture.

You need to have a collision of 0.5 blocks, do you mean? Or do you want the collision to be but the bullets flew? If you are trying to make a transparent texture this in GTA 2 can not be done. All textures have 255 colors (8 bit) there is no alpha channel support.

It will be better if you attach a map then the interested maper will be able to help you.

_________________
Map F-Industry-Live
MISI Library

Telegram channel @NonameGames
Twitter channel @TheNonameGames


Top
 Profile  
 
PostPosted: Sun Feb 18, 2018 2:04 pm 
Offline
Ped

Joined: Sat Nov 04, 2017 11:06 am
Posts: 3
Logofero wrote:
You need to have a collision of 0.5 blocks, do you mean?

Yes. Just as the side of bus stop is 0,5 block length x 0 width, or 1 pixel (1/64 block) width max.
Logofero wrote:
there is no alpha channel support.

Lol. So how i made those bus stops? There even can be completely transparent texture too, useful for making collisions with one side of flat wall (from slopes). First color from palette is alpha channel, it doesn't even have to be black.
But anyway, textures i got figured out, just need this collision.

Here is my map: https://filebin.net/mia73co8xkvn1sme/data.rar
If you want me to earn some money you can disable adblock and use this link: http://zipvale.com/IdN1 (advertisments)


Top
 Profile  
 
PostPosted: Sun Feb 18, 2018 2:47 pm 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 1097
technically there is an alpha channel but it is only 1 bit

_________________
yur sa'nok ngeyƤ


Top
 Profile  
 
PostPosted: Sun Feb 18, 2018 3:21 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 162
Acho wrote:
Lol. So how i made those bus stops? There even can be completely transparent texture too, useful for making collisions with one side of flat wall (from slopes). First color from palette is alpha channel, it doesn't even have to be black.
But anyway, textures i got figured out, just need this collision.

You need index color. It is calculated from the total number of colors 255 usually in the palette first. It cuts but can not make the textures transparent.

Example: The pink color will be cut out. Also all textures should be 8 bits.


Attachments:
r-antilol_bioroid_by_fero.png
r-antilol_bioroid_by_fero.png [ 444 Bytes | Viewed 1376 times ]

_________________
Map F-Industry-Live
MISI Library

Telegram channel @NonameGames
Twitter channel @TheNonameGames
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group