Digital Paint Discussion Board

Paintball 2: The Game => Paintball 2 Discussion => Topic started by: promarijan on June 03, 2014, 05:37:31 PM

Title: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: promarijan on June 03, 2014, 05:37:31 PM
MapFX is a collection of texturescripts and texturelayer that seems to be like a specular highlight on he texture!

Actually it's just a fake highlight but does look pretty cool. It is only compatible to the official HR4-pack from Jitspoe.

MapFX is very performance demanding compared to the default appearance of paintball.
It's working pretty simple and easy to understand!
The default texture will be split into 3 layers:

- Texture layer
- highlight layer (set as envmap)
- specular layer (works with transparency)


This modification provides metals, grass, barrels, some walls and other team-based textures!

Performance hit depends on the map and the choice of textures... If the map only uses metal, grass and barrels, you will have 4x less FPS (in general).
AMD and NVIDIA are very different here!
My AMD HD 7870 (16x AF, 4x MSAA) got at my metal-filled testmap around 25fps while the NVIDIA GTS 8800 (16x AF, 16xQ CSAA) gets around 50fps!

NVIDIA works a lot better with OpenGL in general and can handle this mod a lot better!


I will release the first version soon, first i have to change a few things... (details, transparency, etc.)


You can see the results in the screenshots down there! (While moving around you can see the effect a lot better!)



DOWNLOAD: https://drive.google.com/file/d/0B1L0mFInil5-bE9vX05xd1Q5Zjg/edit?usp=sharing


Note: All screenshots had been taken ingame! Images are NOT changed at all except for the logo!
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: Toxiic on June 03, 2014, 06:45:39 PM
Very Interesting. The graphics seem really good.
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: jitspoe on June 04, 2014, 01:19:32 AM
Cool, I've wanted to try something like this for a while.  I think you should be able to achieve this in 2 layers instead of 3.  One for the env (first pass), then add an alpha channel to the existing texture and render that with a normal alpha blend on top.  Might have better performance.

Ultimately, I think the best approach would be to use fragment programs, so cards that support it could handle this kind of thing at the hardware level, but I don't have support for generic fragment programs implemented yet...
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: promarijan on June 04, 2014, 09:05:08 AM
atm it's working like that:

textures/pball/metal8_1
{
   {
      map textures/pball/metal8_1
      blendfunc blend
      alphashift 0 .1 .1
   }
   {
      map mapfx/light_base
      blendfunc blend
      envmap
   }
   {
      map mapfx/specular/metal8_1
      blendfunc blend
   }
}
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: jitspoe on June 05, 2014, 10:19:42 PM
What I'm suggesting, though, is just have 2 passes.  Remove the first one.  No alpha on the envmap texture (it's the base texture), and just have less alpha on the metal texture.  I think you can effectively get the same results.
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: Squeeze on June 06, 2014, 11:45:54 AM
It is FPS game and its eating a lot of my cpu. Why you don't remake this game and give to this game some engine, like cryEngine 3 for example. Because its like foreal... eating my fps like Iam playing crysis 3 lmao.
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: Toxiic on June 06, 2014, 12:29:10 PM
It is FPS game and its eating so fckin lot of my cpu. Why you don't remake this game and give to this game some engine, like cryEngine 3 fo example. Because its like foreal... eating my fps like Iam playing crysis 3 lmao.
well maybe if you weren't downloading porn 24/7 then maybe t wouldn't be a crysis for you!
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: Squeeze on June 06, 2014, 11:04:53 PM
.
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: FusSioN on June 06, 2014, 11:13:09 PM
My laptop can play this game as much as 300 fps..... U streamin live while playing, do you?
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: jitspoe on June 07, 2014, 02:47:15 PM
Off topic, but try enabling vsync (from the options menu, or gl_swapinterval 1 at the console).  That should sync the game rendering with your monitor refresh rate, and avoid wasting cpu cycles rendering frames you don't see.
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: shockk on June 29, 2014, 03:23:15 PM
Those graphics are sweet.
And lol at the crysis joke
Title: off_topic: Water_FX - Adjusted Water in Paintball via scripts
Post by: promarijan on June 30, 2014, 12:02:37 PM
I've tested something with the "water1.arbf" and "water1.arbv" files and looked inside what they kind of do...
As is do with shaders for Minecraft i did here aswell!
Looking for adjustable variables and values and change them how i want them^^

I did a more realistic waterscript (Water_FX Default) that looks better on bigger lakes or oceans...

Also i made a more advanced one (Water_FX Ultra) that looks more fancy in most cases! Sometimes it can look strange but this is my favourite one!

Then i created a funny one... Transparency at 0 and no waves = mirror... Looks funny!


Maybe some suggestions on these scripts and how they could be better... Or new ideas?


.Zip Download: http://dplogin.com/forums/index.php?action=dlattach;topic=27139.0;attach=11487 (http://dplogin.com/forums/index.php?action=dlattach;topic=27139.0;attach=11487)

Different versions are in the .zip file, you can take what you want... The files themselfes or the .paks... (Your choice but everything is clean, maybe check smb.?)
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: jitspoe on July 01, 2014, 12:27:27 PM
Do these just stretch the textures in different ways, or are you doing other things?
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: promarijan on July 01, 2014, 03:20:38 PM
It actually changes the size of the 2 layers in different ways and the length of the time that the animation takes.
I also change there some values with the transparency to make the mirror for example possible!

There are no better graphics when using water_FX! It is just a personalized/stylized water that seems to be better to you. Your decision!

Info for all: The mirror is just for fun and will be bad for your gameplay experience! It will block the sight through the water...
Title: Some skins for weapons? Here it is!
Post by: promarijan on July 15, 2014, 07:09:36 PM
I been trying today something new! Something that i wanted to do a few months ago but... You know what i mean^^

So today i tried to create a military-based skin for the carbine... Seems to be working and looking good!
I thought of doing that kind of skin maybe for all weapons... Who knows and release them as a pack would be cool!

I just got all the data for you! A screenshot so you can see here how that looks and the skin itself...
You have to place the "skin.png" into the folder "pball/models/weapons/v_68carbine/hr4/" but DON'T put it into the "g_68carbine" folder!
Or just put the "pball" folder directly into Paintball2...


If you have any other ideas for skins or themed things, just post them! Would be cool having new ideas from you!
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: Mission on July 16, 2014, 06:40:38 AM
I really like your HUD, can you send the files to me?
I like the idea, some suggestions for themes:
pixelated reds or blues
carbon fibre
rusty
Gold
chrome
Title: Dp Cubes Hudpack [Download]
Post by: promarijan on July 16, 2014, 07:37:24 AM
I uploaded the Hudpack here!

It's my personal Cube_Hudpack... changed a few things and the letters as well XD
It's again your decision taking the .pak or overwriting everything what i don't like^^

The Hudpack includes:

- Cube-styled font
- Cube-ish barrel/playerhead/flag/hopper/grenade/splat/numbers/co2
- paintball2 logo in mainmenu changed to "dpcubes - it's made out of cubes"
- conback /conback2 changed to flat style


Download: http://dplogin.com/forums/index.php?action=dlattach;topic=27139.0;attach=11491 (http://dplogin.com/forums/index.php?action=dlattach;topic=27139.0;attach=11491)

Thanks to Jitspoe for such an awesome modable game!
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: jitspoe on July 16, 2014, 11:27:06 AM
I like the font style.  Not sure about the other stuff, though.
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: Aveiro on July 16, 2014, 02:38:53 PM
Thanks to Jitspoe for such an awesome modable game!

Huehue, I know some people who tried to help this game and now they are / they were banned. :)
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: promarijan on July 16, 2014, 03:31:06 PM
True Story!

Doing great things is not always the best way of doing things in general...

I'm actually just mapping for fun and making stuff for dp... (textures/hud/graphicsstuff)

It's really different to do these things alone! I mean you created a mod or new hud or whatever and can't just go online and play for 10 minutes to have a real test but anyway^^

Crying all day doesn't help that much XD
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: Rockyar_96 on July 16, 2014, 03:56:04 PM
I thought custom models are banned?
Nice job thou overall :)
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: promarijan on July 16, 2014, 05:04:12 PM
You have to look closer...

It's no model!
It's just the texture that you can see on your OWN hand... Other players will see you normally and you will see other players normally too!

You just change the texture from the model that you can hold on your own hand...


There is no advantage or disadvantage at all! I'm to 100% sure!
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: Toxiic on July 16, 2014, 05:11:40 PM
I thought custom models are banned?
Nice job thou overall :)
it is bannable. The first ban I ever had was exactly for this reason; I had created a ed-hardy or "gold" texture for my gun.... but yea no one else can see it; but the player who has it. It was the same thing with my "texture?" as well. If you applied that same thing to the the whole player model as well, only you can see it an no one else. Basicly if you viewed other players, you wouldnt be able to see that texture on them as well; and other players wouldnt be able to see you with that either. You only see these "textures" on yourself. Never understood why it was bannable though.
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: promarijan on July 17, 2014, 04:56:10 AM
It's for me unreasonable to ban a local weaponskin because of whatever...

The chance of getting confused by that is higher than anything else! If this will be banned you could also ban a crosshair! I mean you could also simply creat a crosshair with a weapon on the crosshair itself that looks different... So basicly you could ban crosshairs as well!
I just mean it doesn't matter if i render my gun with a texture and a model or if i'm just displaying a fakegun via other things (crosshair)... I could also just print a gun on a paper and stick it to my screen^^ I mean it doesn't make any sense!
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: Clipz on July 17, 2014, 09:26:26 AM
It's for me unreasonable to ban a local weaponskin because of whatever...

The chance of getting confused by that is higher than anything else! If this will be banned you could also ban a crosshair! I mean you could also simply creat a crosshair with a weapon on the crosshair itself that looks different... So basicly you could ban crosshairs as well!
I just mean it doesn't matter if i render my gun with a texture and a model or if i'm just displaying a fakegun via other things (crosshair)... I could also just print a gun on a paper and stick it to my screen^^ I mean it doesn't make any sence!

Yeah it makes no SENCE!

Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: promarijan on July 17, 2014, 11:35:03 AM
cmon i just forgot how to write sense^^

Do you mean that it makes no sense having stylized weaponskins?
Or do you mean that it makes no sense to ban that?

Or are you again just joking to me?
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: Clipz on July 17, 2014, 01:45:37 PM
Just playin with you! I personally don't see a problem with it or see it as an advantage.
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: jitspoe on July 18, 2014, 04:34:14 PM
Modifying the weapon you see yourself holding (1st person version) is fine.  Modifying the weapons other players carry (3rd person versions) is not allowed, as it could provide an unfair advantage.
Title: Re: MapFX by promarijan - Achieving better graphics in Paintball!
Post by: promarijan on July 18, 2014, 09:44:05 PM
That is really nice to hear from you!

Hoped that these words will come!


Let's get mad at painting weapons!