Sub pixel editing. (No editing the xml file)

A place for Level Editor Tutorials

Sub pixel editing. (No editing the xml file)

Postby alj99 » 14 May 2022, 05:50

I have no idea how to insert images. And not a lot of people makes maps these days i think.

In your level editor, open inspect element (ctrl shit I)

After than, click on the select element icon. If u don't know what that is, it should be in the top left of the inspect element.
https://cdn.discordapp.com/attachments/ ... nknown.png

Afterwards, select on Snapping the 10 specfically cause no one uses those.
https://cdn.discordapp.com/attachments/ ... nknown.png

It should highlight this part.
https://cdn.discordapp.com/attachments/ ... nknown.png

You should see there GridSnappingSet(100) double click that and change 100 to 1 then hit enter.

Select Snapping 10.

It works if it looks like this:
https://cdn.discordapp.com/attachments/ ... nknown.png

Congratulations, you can now edit stuff without being limited.
https://cdn.discordapp.com/attachments/ ... nknown.png


Some stuff to remember, when you move around sub pixel parts with snapping 1 they will change to align to the grid. Remember your snapping should be set to 0.1 before moving those around.
Pretty much it.

If none of those images loaded then i have one word. "Rip."
Hello.
User avatar
alj99
Advanced Usurpation Soldier [150]
 
Posts: 168
Joined: 8 April 2014, 12:01

Re: Sub pixel editing. (No editing the xml file)

Postby curiosity » 15 May 2022, 13:10

It's lag. Better use decors.


curiosity
Civil Security Lite [100]
 
Posts: 105
Joined: 1 November 2021, 13:31

Re: Sub pixel editing. (No editing the xml file)

Postby alj99 » 15 May 2022, 13:53

curiosity wrote:It's lag. Better use decors.

You sir have made me check the only map i know that used a off-grids other than me. zzninjazz-christmas.
It's a test map not much. Too tiny to be any validation.

I have a question though, have you seen and tried maps that uses this? This is hella obscure, I've only seen like 2 guys that knows this the other is Jason Eden.
Hello.
User avatar
alj99
Advanced Usurpation Soldier [150]
 
Posts: 168
Joined: 8 April 2014, 12:01

Re: Sub pixel editing. (No editing the xml file)

Postby curiosity » 15 May 2022, 14:59

They also look ugly and unnatural.

And it's a waste of time.

curiosity
Civil Security Lite [100]
 
Posts: 105
Joined: 1 November 2021, 13:31

Re: Sub pixel editing. (No editing the xml file)

Postby phsc » 15 May 2022, 16:29

curiosity wrote:It's lag. Better use decors.

This is factually wrong, it does not cause more lag, it only causes relevant lag in the level editor, if you make your screen literally full, so like locked with a 800x400 subpixel image, and using it with a gridsnapping of 1 instead of 10, or even 0.5, 0.25, it does not lag.

To be specific, having like 8 actors in your screen causes much more lag, or like 8 guns or whatever, there are proper SVGs being rendered and they can have quite big sized which makes the calculations exponentially more complicated.
BGs are not like that, since they are static, I don't know how they work in the games programming but they really, really do not cause lag at all.

In the editor it does cause lag but nobody other than the map maker will look at that stuff.

The big issue is that the high amount of objects greatly increases map loading times.

Actually you are so wrong, that I think a high amount of decors causes probably more lag, depending on their resolution, than doing the same with backgrounds, I did not test but I am pretty sure, most notably the original game's decors.

But measuring this objectively is hard without community support.
One thing that does lag are walls out of slopes, and this is theoretically subpixel editing but nobody really uses these, and it is just because they are walls.



curiosity wrote:They also look ugly and unnatural.

And it's a waste of time.


Ugly is completely subjective, waste of time is about the mesocortical pathway and your dopamine production judging what is productive and what is not for you own specific goals so this is REALLY, REALLY subjective.

But natural and unnatural, now this is objective to AN EXTENT.

During most of PB2s existance, decoration was made with pixels, backgrounds, decors like we have today did not exist, we only had some really bad ones, and people made amazing maps with that stuff, it set a multiplayer sort of aesthetic of old maps, very simplistic, the direct evolution of such style is to use backgrounds in smaller sizes for more detail, it fits very naturally when used well.

And you can use backgrounds to look like decors as well with enough competence, I personally don't like decors that much because of how people often make decors with outlines and such that make things that are just static and passive look WAAAY too alive and relevant compared to the enviroment, something you don't see anywhere in PB2 other than in some modern maps.

You want to judge things you don't understand.



also...
alj99 wrote:I have a question though, have you seen and tried maps that uses this? This is hella obscure, I've only seen like 2 guys that knows this the other is Jason Eden.

You're very wrong with this, if you read the forums you will find that actually, the first one to work with stuff like this was me (with chx, captain chickenoos or whatever), this was like in probably late 2018?
But at some point Eric made the GridSnappingSet command more practical, originally you could only edit the .pb2map file (but this was complicated, it was the first step I did), then after that you could edit the XML file (made things better but still, not practical), then after that he just added the GridSnappingSet command for you to run and well, now you can do whatever you want, before that tho I helped chx with making a script that sorta disabled the GridSnappingSet to an extent but its very glitchy.

I've used these in lots of maps of mine.
phsc-urbanwar (approved, the drains in the bottom water part are made with backgrounds)
phsc-urbanrealwar (the cursor is not a decor, its small backgrounds, the offset I set the text was done manually with subpixels)
phsc-hostages (basically the same systems as phsc-urbanrealwar, but it has proper decorations and such made with small backgrounds.
and the map I am working on, phsc-contracts (the windows, the cursor, a lot of things, the menus, the outlines, a lot of things)

There is more to it, for you to work with really small snappingsets there is actually a way to change the camera to zoom further which makes it easier, I did not make a forum tutorial about that but anyway nobody reads these + my old ones were archived and forgotten.

I also have quite a share of maps made with snappingset in other accounts.
+
The previews of phsc-hostages and phsc-realsniper are made with my image insertion program, that inserts any PNG JPG and a few other formats into PB2 as backgrounds, which I made an original shitty version like, 2018? and a better version like... 2020???
And that is it.
User avatar
phsc
Noir Lime [600]
 
Posts: 694
Joined: 27 July 2013, 13:58
Location: Brazil

Re: Sub pixel editing. (No editing the xml file)

Postby curiosity » 15 May 2022, 17:15

phsc wrote:This is factually wrong, it does not cause more lag

Well, dunno, requires rechecking, I don't trust peoples words. Maybe I'm wrong. But as far as I remember all maps that I played that overuse subpixels, no matter BGs or walls, caused lag to me, sometimes little, sometimes big. There was a map with some anime girl subpixels art, did it lag? I don't remember.

phsc wrote:In the editor it does cause lag but nobody other than the map maker will look at that stuff.

See? It's still a problem. Decor won't lag.

phsc wrote:Actually you are so wrong, that I think a high amount of decors causes probably more lag, depending on their resolution, than doing the same with backgrounds, I did not test but I am pretty sure, most notably the original game's decors.

So if I recreate some overdetailed with decors map using subpixels instead it will lag less?

phsc wrote:One thing that does lag are walls out of slopes, and this is theoretically subpixel editing but nobody really uses these, and it is just because they are walls.

See? It's still a problem in the end. If you add like 4 normal walls and cover them over with decor it would lag less.

phsc wrote:Ugly is completely subjective

I mean compared to decors they usually look uglier. It's like having a minecraft brick in some modern AAA 16GB game.

Also is piece of poo subjectively ugly or objectively?

phsc wrote:waste of time is about the mesocortical pathway and your dopamine production judging what is productive and what is not for you own specific goals so this is REALLY, REALLY subjective.

I mean adding a decor is 1 sec compared to dealing with subpixels to create the same thing.

phsc wrote:But natural and unnatural, now this is objective to AN EXTENT.

Wait, did you just agree with someone who is not yourself (even partly)? If so my day cannot become any better. Will eat a cake.

phsc wrote:During most of PB2s existance, decoration was made with pixels, backgrounds, decors like we have today did not exist, we only had some really bad ones, and people made amazing maps with that stuff, it set a multiplayer sort of aesthetic of old maps, very simplistic, the direct evolution of such style is to use backgrounds in smaller sizes for more detail, it fits very naturally when used well.

Stone age.

phsc wrote:I personally don't like decors that much because of how people often make decors with outlines and such that make things that are just static and passive look WAAAY too alive and relevant compared to the enviroment, something you don't see anywhere in PB2 other than in some modern maps.

What?

phsc wrote:You want to judge things you don't understand.

Sounds edgy.

phsc wrote:also...

Also your realurbanwar lags, dunno why. And nightvision effect doesn't look good. Maybe replace some darkness background with brighter backgrounds when you activate it so it would feel like it actually works? Also when N those areas that have lamps should become too bright to the point when it blinds you. And irl guns shoot faster and even silenced guns have muzzle flash which is just barely visible (wait does your map have it? I forgor) and there should be a flash coming from ejection port (like gas) too. TLDR not realistic enough, watch Youtube. But I like the idea, you're creative. But there is more - characters, guns and nightvision are too realistic while the map area itself is not (some weird-ass building). Like two different worlds that shouldn't cross. One does not belong to the other. Maybe replace the map? Something like that map from Mrnat?

curiosity
Civil Security Lite [100]
 
Posts: 105
Joined: 1 November 2021, 13:31

Re: Sub pixel editing. (No editing the xml file)

Postby phsc » 15 May 2022, 18:08

retard wrote:Well, dunno, requires rechecking, I don't trust peoples words.

I don't care about your opinion, it is wrong anyway, it is literally based on nothing.

retard wrote:Maybe I'm wrong.

You are.

retard wrote:But as far as I remember all maps that I played that overuse subpixels, no matter BGs or walls, caused lag to me, sometimes little, sometimes big. There was a map with some anime girl subpixels art, did it lag? I don't remember.

You did not name any maps or anything, you're making it up, seems pretty obvious.

retard wrote:See? It's still a problem. Decor won't lag.

It literally does not matter, high amounts of triggers cause this more anyway.

retard wrote:So if I recreate some overdetailed with decors map using subpixels instead it will lag less?

Depends on the resolution of the decors, soemthing you are ignoring, it all depends on the specific decor you braindead deliciously exquisite pizza sauce.

retard wrote:See? It's still a problem in the end. If you add like 4 normal walls and cover them over with decor it would lag less.

Not because the physics will not be the same at all, it will not be a slope, if you want a slope with slope physics you need a slope.

retard wrote:I mean compared to decors they usually look uglier. It's like having a minecraft brick in some modern AAA 16GB game.

That is your opinion, you don't understand subjectvity and this is just a waste of time, minecraft can look much more beautiful, its aesthetics, people often prefer pixelart to realistic art, you are not up to changing your opinions on topics like this at all, you are either baiting or you are just braindead, I don't know what to choose.

retard wrote:Also is piece of poo subjectively ugly or objectively?

It is, some people have a scat fetish, hehe.

retard wrote:I mean adding a decor is 1 sec compared to dealing with subpixels to create the same thing.

You're so deliciously exquisite pizza sauce retarded, people actually have to create the decor, that is the thing, you might not do that but I do, I don't like most decors out there because I think they are ugly, so I generally create mine, and that takes longer than doing that with backgrounds generally.

retard wrote:Wait, did you just agree with someone who is not yourself (even partly)? If so my day cannot become any better. Will eat a cake.

You literally never change your opinions, this is a baiting projection.

retard wrote:Stone age.

Art, also calling it stone age does not make it less "normal" or "natural" or whatever.

retard wrote:Also your realurbanwar lags, dunno why.

It does not, you are literally the only person to say that, maybe the issue is you and not the game, actually, most people say the map DOES NOT LAG and that is super impressive, like 5 people have said this to me, and the map has like 2400 triggers, and it is not on the realurbanwar one only, it is on phsc-urbanwar, so your point is also misdirected.

retard wrote:And nightvision effect doesn't look good. Maybe replace some darkness background with brighter backgrounds when you activate it so it would feel like it actually works? Also when N those areas that have lamps should become too bright to the point when it blinds you.

I did not ask for your opinion, you don't know how modern nightvision goggles work, and you don't know how moving backgrounds works and such, there are many other issues related to this + it is a multiplayer map and desync and lag would be an ACTUAL issue if I did this.

retard wrote:And irl guns shoot faster and even silenced guns have muzzle flash which is just barely visible (wait does your map have it? I

You are actually so deliciously exquisite pizza sauce stupid, so deliciously exquisite pizza sauce stupid.
They shoot faster but for PB2 balance reasons and lag reasons (desync) they have to be slower.
And no, the muzzle flash is often not visible, not even with real guns, because it all depends on many aspects like humidity and other air quality things, you are just saying this to bait me I am pretty sure.

retard wrote:and there should be a flash coming from ejection port (like gas) too. TLDR not realistic enough, watch Youtube.

Yeah you are just baiting, the ejection port part makes me laugh, you are so deliciously exquisite pizza sauce pathetic.
The gas coming from it is not relevant and not really visible unless in slow motion.
I've shot firearms in real life, including automatic rifles, I know what I am doing, I know a lot about firearms and half of what you said is just wrong and comes from a lack of actually understanding how it all works, you should try not seeing videos in slow motion and instead real ones from like actual combat situations and seeing if there even is muzzle flash in some situations.


retard wrote:But I like the idea, you're creative. But there is more - characters, guns and nightvision are too realistic while the map area itself is not (some weird-ass building). Like two different worlds that shouldn't cross. One does not belong to the other. Maybe replace the map? Something like that map from Mrnat?

?????????????????????



Anyway you are just baiting and wasting your time (and my time) here, go and talk to nobody, people who reply to you generally are braindead, you literally dont make proper arguments and do not change your opinion on anything, it is literally like talking to a wall.
You are a pathetic lonely loser who is using an alt and baiting people, but I know how to ignore people now, hehe, but I did this because people will make even more fun of you after this reply of mine.
User avatar
phsc
Noir Lime [600]
 
Posts: 694
Joined: 27 July 2013, 13:58
Location: Brazil

Re: Sub pixel editing. (No editing the xml file)

Postby curiosity » 15 May 2022, 19:03

degenerate wrote:You did not name any maps or anything, you're making it up, seems pretty obvious.

Not making it up. I don't remember the IDs cuz I played so many maps in my life. I repeat I'm not like 100% sure. Not trying to bait or make things up, you're overthinking. I just don't have enough facts to change my mind right now.

degenerate wrote:It literally does not matter, high amounts of triggers cause this more anyway.

Why did you mention triggers when we are talking about decors vs subpixels?

degenerate wrote:Depends on the resolution of the decors, soemthing you are ignoring, it all depends on the specific decor you braindead deliciously exquisite pizza sauce.

Hey, that's mean. DId your parents not teach you how to be polite? Ok, medium resolution. What will lag more - decors or pixels?

degenerate wrote:Not because the physics will not be the same at all, it will not be a slope, if you want a slope with slope physics you need a slope.

Don't people add those for the sake of visual effect?

degenerate wrote:That is your opinion, you don't understand subjectvity and this is just a waste of time, minecraft can look much more beautiful, its aesthetics, people often prefer pixelart to realistic art, you are not up to changing your opinions on topics like this at all, you are either baiting or you are just braindead, I don't know what to choose.

Minecraft prettier? People prefer pixelart to realistic art? Lmao. Mostly idiots tho. With no taste.

degenerate wrote:It is, some people have a scat fetish, hehe.

Probably you?

degenerate wrote:people actually have to create the decor, that is the thing, you might not do that but I do

Not talking about creators. Talking about people who will use others art in ALE. Are you dumb?

degenerate wrote:You literally never change your opinions, this is a baiting projection.

I do actually. Just mostly people say bullshit, like you right now. Also very mean, like an a**hole. While I'm trying to be polite.

degenerate wrote:It does not, you are literally the only person to say that, maybe the issue is you and not the game, actually, most people say the map DOES NOT LAG and that is super impressive, like 5 people have said this to me, and the map has like 2400 triggers, and it is not on the realurbanwar one only, it is on phsc-urbanwar, so your point is also misdirected.

Maybe. Maybe some people just didn't tell you. Also it's not really impressive. Map layout is not original, visually its mid, nightvision kinda useless, ammo system is not something innovative, lots of unrealistic details in a map that is called realisticurbanwar. I would say the map is mid-impressive. Also you added 2400 triggers to it? Lmao, that's some time wasting level 999. Do you have nothing else to do?

degenerate wrote:I did not ask for your opinion, you don't know how modern nightvision goggles work, and you don't know how moving backgrounds works and such, there are many other issues related to this + it is a multiplayer map and desync and lag would be an ACTUAL issue if I did this.

"u dunno u dunno u dunno" - repeating like a parrot. Ye, ok, whatever, you know everything dumbass. You're the only person who knows everything.

degenerate wrote:They shoot faster but for PB2 balance reasons and lag reasons (desync) they have to be slower.

Oh yeah, I forgot. Here you are right, I was wrong. See? I change my opinion if facts are good.

degenerate wrote:And no, the muzzle flash is often not visible, not even with real guns, because it all depends on many aspects like humidity and other air quality things, you are just saying this to bait me I am pretty sure.

Not baiting, stop overthinking lmao. Often visible/not often visible - ok. But in PB2 it's always visible, there is no "often".

degenerate wrote:The gas coming from it is not relevant and not really visible unless in slow motion.
I've shot firearms in real life, including automatic rifles, I know what I am doing, I know a lot about firearms and half of what you said is just wrong and comes from a lack of actually understanding how it all works, you should try not seeing videos in slow motion and instead real ones from like actual combat situations and seeing if there even is muzzle flash in some situations.

Ok smartass. Still same as above - in PB2 it uses muzzle flash on all guns pretty much, there is no 50/50 or humidity.

degenerate wrote:?????????????????????

What? Too stupid to understand?

degenerate wrote:Anyway you are just baiting and wasting your time (and my time) here, go and talk to nobody

You wasted even more time than I did. Also I already talked to nobody just now (guess who I'm talking about).

degenerate wrote:people who reply to you generally are braindead

Wow, just called Eric Gurt brainded, Blake braindead, Alj braindead, Gash braindead, everyone's braindead (also you replied too lmao so you called yourself brainded budumtsss). I've never met a biggest a**hole in my life honestly. You're so mean. But you impressed me with it. Now I understand how I should not act to people. Such a relief to meet a bigger a**hole than myself, lol. THANK YOU!!!

degenerate wrote:you literally dont make proper arguments and do not change your opinion on anything, it is literally like talking to a wall.

I make normal arguments okay, but you are some crazy ass f*ck who posts shit thinking it's not shit. Also I change my opinion very often, you just don't know. How can a wall talk (it's a joke I hope you will be able to understand it with your super big super smart and super objective brain)?

degenerate wrote:You are a pathetic lonely loser who is using an alt and baiting people

Noo, I'm pathetic loser, so sad. *sad smiling face* But for real though your insults make me laugh so hard. You have a talent. Not baiting for real, just talking, dunno why you take everything as a bait, nobody except you said that I'm baiting, you're just probably delusional and see nonexistent things.

degenerate wrote:but I know how to ignore people now

Yeah, I see, LOL.

degenerate wrote:but I did this because people will make even more fun of you after this reply of mine.

Oh no, some kids will make fun of me? My life ruined! *saddest face*. For real though you did it because you are a delusional crazy f*ck who thinks he is the smartest person on Earth and who desperately wants to feed his ego with respect coming from people who theoretically admire his super big brain power. So pathetic. And you will do it again, watch. Your reply in 3,2,1...

Edit: I forgot to mention that field of view (when players disappear from screen when they are behind the wall) thing kinda sucks in your map. Because it makes the 2D game so uncomfortable to play. You should remove it. I understand "realism" n shit, but remove it fr. Giving you an advice, not baiting. It would be better. Not that I expect you to listen anyway... You're so closeminded that you will probably not do shit.

curiosity
Civil Security Lite [100]
 
Posts: 105
Joined: 1 November 2021, 13:31


Return to Level Editor

Who is online

Users browsing this forum: No registered users