PDA

View Full Version : Spray Paint


Mychaeel
7th Dec 2004, 08:38 AM
Quoted from this thread (http://forums.beyondunreal.com/showthread.php?t=150821) over in the Jailbreak General forum:Spray Paint Mutator -- I've been working on a spray paint mutator (not specifically for Jailbreak, but certainly of good use there) that allows players to paint text and custom icons on walls. They could even be persistent across matches. It's about half-finished at the moment.Actually, what I'd need most at the moment to continue working would be a first- and third-person mesh for this -- a spray paint can model, I figure. To be in agreement with the rest of the Unreal world, it'd be best if it was a bit dirty and scratched and dented, too.

Spray paint can sounds simple enough, so I could try digging up my MilkShape license again and try my luck myself. However, if somebody beat me to it, I'd be happy -- and besides, I'm not sure at all that I'd be able to create a suitable skin for this mesh...

Is anybody here who could create a spray paint can mesh and skin?

Secondly, and that's probably going to be great community fun :p -- I need a stock set of icons. Users will be able to create and add their own, of course, but I'd like to bundle a few with the mutator. The icons must be 64 x 64 pixels, 1-bit color depth (black and white) -- I'm afraid that's the most I dare to have UnrealScript parse (it's really not suited for processing binary files).

So, get creative... :D

[edit]
It wouldn't hurt to have some "functional" icons too -- like icons for a tally sheet ("I", "II", "III", "IIII", "IIII") -- and arrows, warnings signs and so on. And try to stay in theme: For spray paint you'd either have a stencil (for complex icons) or you'd directly paint things (like those arrows, numbers etc.).

RevBillyG
7th Dec 2004, 05:29 PM
Wahey! Something to do!
Right, here's an extremely quickly-made render of a basic lo-poly spraycan (268 faces).
Textures are, of course, temporary as is the model itself. :)

Any idea of poly limits I can use?

Birelli
7th Dec 2004, 06:09 PM
Do you want something like these for the templates or do you want something less "spray-paint" and more "stencil" like a perfectly straight tally with neat circular ends?

I can't upload more than 5 images (even though they're each about .5kb each), so here's the basics I've done so far:

I (http://www.cnyroadrace.com/dana4/spraypaint/1-tally.bmp), II (http://www.cnyroadrace.com/dana4/spraypaint/2-tally.bmp), III (http://www.cnyroadrace.com/dana4/spraypaint/3-tally.bmp), IIII (http://www.cnyroadrace.com/dana4/spraypaint/4-tally.bmp), IIII (http://www.cnyroadrace.com/dana4/spraypaint/5-tally.bmp)

LeftArrow (http://www.cnyroadrace.com/dana4/spraypaint/leftarrow.bmp)
RightArrow (http://www.cnyroadrace.com/dana4/spraypaint/rightarrow.bmp)
UpArrow (http://www.cnyroadrace.com/dana4/spraypaint/uparrow.bmp)
DownArrow (http://www.cnyroadrace.com/dana4/spraypaint/downarrow.bmp)

Edit: For polygons, the Rocket Launcher uses about 300, the Ball Launcher (BR) uses about 3000, the rest I glanced at all fall somewhere between that.

RevBillyG
7th Dec 2004, 06:32 PM
Another version.
Be aware that this is very much WIP. I'll tweak and play around until I can get something cool :)

tarquin
8th Dec 2004, 05:49 AM
Nice idea, Mych :)

And the model looks great, Rev. :tup:

Mychaeel
8th Dec 2004, 05:54 AM
Heh, looking very good already... :)

I'm still working on a user interface concept which lets players select an icon, color and enter a text. I've got some ideas, but nothing definitive yet.

I can't upload more than 5 images (even though they're each about .5kb each)You could zip them up and attach a single preview image...

Do you want something like these for the templates or do you want something less "spray-paint" and more "stencil" like a perfectly straight tally with neat circular ends?No, the "spray-painty" look is perfect for this stuff. If we have more complex icons, we'll probably end up with a "stencil" look for them anyway.

Does anybody know how to draw a llama with as few spray paint strokes as possible? :D

tarquin
8th Dec 2004, 06:07 AM
For the llama, let's use the icon that was on the JBIII HUD.

TheSpoonDog
8th Dec 2004, 06:52 AM
Fuzzy the edges and mess it up a bit so it looks like its been spraypainted though :)

Birelli
8th Dec 2004, 04:27 PM
It's really hard to simulate "spay-paint" with only 1-bit color depth, you sure we can't have 2-bit to at least give a couple shades of gray? :)

Edit: Good point Mych, added a zip with a couple dozen random ideas I had, if anyone's interested.

Mychaeel
8th Dec 2004, 05:01 PM
I don't think there are any imaging programs which can actually save 2-bit grayscale bitmaps...

However, if there's any Material system which can make an arbitrary image (texture) look "blurred" as if sprayed on a wall, let's see it.

-=DARCHANGEL=-
9th Dec 2004, 04:29 AM
I don't think there are any imaging programs which can actually save 2-bit grayscale bitmaps...

However, if there's any Material system which can make an arbitrary image (texture) look "blurred" as if sprayed on a wall, let's see it.

I have a few a few spray types here and some that look like clan tags (think American Subway)

Hope they resemble something like you are after. They are all 64x64 1-bit (B&W)

Kantham
9th Dec 2004, 02:51 PM
chaos ut have this option already

CyberSirius
9th Dec 2004, 05:10 PM
8-bit would be better :)

i added my contribution :D

Mychaeel
10th Dec 2004, 08:40 AM
chaos ut have this option already
Well, sort of -- quoting their custom spray paint images (http://www.chaoticdreams.org/ce/Melaneus/Spray/SprayPaint.html) documentation:

The goal was to provide HL-like spray paint where the user could make their own and use that. Sad to say that we probably won't be able to, due to the limitations of the Unreal engine and potential security issues.

With that said we have the next best thing. You can have your own Spray Paints for off line games. You can also have your own for on-line games, but there is a catch. The players on the other side need to have the file your logo is in or else they'll just see a default Proxy logo.

What I'm coding here actually fills that gap: You can create your own logos and use them in online games without requiring the server or other players to install them first. Other players can see your custom spray paint logos; all that's required is that you drop your bitmap source file into your local SprayPaintImages directory and spray the image somewhere on a wall.

That's also the reason why we're limited to 1-bit images here: I need UnrealScript to parse the image files, and UnrealScript is badly suited for processing of binary files. Theoretically, I could have it load any image type I care to write an UnrealScript parser for, but the larger the file, the longer the script will require to load it, and an 8-bit image file requires eight time as much processing as a 1-bit image file.

Plus, I plan to add the option to have sprayed logos persist across matches -- so you could actually leave messages for the people playing the map sometime later.

Kantham
10th Dec 2004, 11:04 AM
Well, sort of -- quoting their custom spray paint images documentation:

glad to see their site is now visible ....


What I'm coding here actually fills that gap: You can create your own logos and use them in online games without requiring the server or other players to install them first

Exellent ......

-=DARCHANGEL=-
13th Dec 2004, 01:19 AM
Done a few test 'grafitti' style scrawls and projected them onto a wall in a map I am working on at the moment.

Not much of interest to you all I know, just thought I'd show the community I am still working on JB-Astaroth, slowly but surely getting there.

Age is a terrible slowing down process, beer makes it bareable :lol:

Trueblood
13th Dec 2004, 05:27 AM
Looking at Darchangel`s picture, how would we get about tilting the letters (or picture) to make it look more grafitti like?

Mychaeel
6th Mar 2005, 05:17 PM
Another version.
Be aware that this is very much WIP. I'll tweak and play around until I can get something cool :)
Could you please add an animation where the sprayhead is being pressed down and send me the model?

Actually, if you could add a hand and a finger that presses the sprayhead, that'd be totally grand. :D

RevBillyG
7th Mar 2005, 08:08 AM
Right, I've done a really simple animated spraycan.
As for doing a hand...I dunno, that may be a bit beyond me. :/
I'll give it a go tho :)

ZedMaestro
7th Mar 2005, 08:34 AM
UT2004 doesnt have hands, so making a hand for the model would actually be part of a weapon. So, if you imagine a skaarj model getting out his spray-can, he'll get out a hand too.

That would look a bit odd to me ;)

TheSpoonDog
7th Mar 2005, 04:53 PM
The third person weapon is different to the first person ones... so the first person one would have a hand and third person one without :)

ZedMaestro
7th Mar 2005, 05:05 PM
Can you vary the hand based on the player model too?

Mychaeel
7th Mar 2005, 05:09 PM
If you had one for each model/skin (or species, at least) -- sure.

ZedMaestro
7th Mar 2005, 05:53 PM
Well that'll keep Rev busy then :p

Rolling Eye
15th Apr 2005, 01:04 AM
*Bump*

Just found this thread, and I have to say the idea looks interesting. I'm curious as to how far along the project is (or if it's on permanent haietus)?

Kantham
15th Apr 2005, 01:09 AM
As the same for your skin Roll ;)

Vatcilli zeitchef
20th May 2005, 10:37 AM
Can you vary the hand based on the player model too?
Couldn't this mean trouble when you have a custom skin?
I'm currently using the protoss skin and their spiecies also is named protoss.

Trueblood
20th May 2005, 12:17 PM
Forget custom skins....there are so many different skins/modles the list could be almost endless :o
i guess it will only be human arm and alien arm :)

Vatcilli zeitchef
21st May 2005, 06:43 AM
Forget custom skins....there are so many different skins/modles the list could be almost endless :o
i guess it will only be human arm and alien arm :)
I did not mean to say there is need for custom skin arms, that would be
impossible to accomplish for each custom skin :eek:
as long as there is some backup to prevent the game from crashing when using custom skins.
Like it will select either the alien/human hand if you are using something else
(It would be a shame if the game would crash when using something else than basic skins)

Wormbo
21st May 2005, 08:06 AM
Who said something about crashing? :con:

G.Lecter
21st May 2005, 01:05 PM
I guess it will only be human arm and alien arm :)
I think a Robot Arm is necessary too... These 3 are enough... ;)

Hans Oberlander
21st May 2005, 02:09 PM
I think a Robot Arm is necessary too... These 3 are enough... ;)

Yep, Lecter is 100% right. they all can be generic and not skin specific.

ZedMaestro
21st May 2005, 02:26 PM
And how exactly do you determine which is the correct hand to use for custom skins?

G.Lecter
21st May 2005, 03:56 PM
And how exactly do you determine which is the correct hand to use for custom skins?
- Most of the custom skins I've seen are creatures, so I think the alien hand could be decent for that.
- An option to choose a hand for each custom skin would be even better...

Vatcilli zeitchef
26th May 2005, 09:59 AM
Great Idea!
This is probably the best possiblity. And I think judging
Rev's spraycan shot it will look great.
Continiue the good work Rev! :2thumb:
BTW Rev how is da can looking now?
(I'm sorry if I'm pushy)

Greetings from the worst sniper ever
:shake: :sniper:

Deus_Ex
31st May 2005, 11:04 AM
wow nice spary cans

Vatcilli zeitchef
1st Jun 2005, 06:30 AM
Hey Rev what editor are you using?
I wanna try some modelling too!

Deus_Ex
1st Jun 2005, 06:31 AM
thats wot i was going to ask next

RevBillyG
1st Jun 2005, 06:58 AM
I'm afraid I haven't touched this since my last file attachment (see above).

I use 3dmax 6

Vatcilli zeitchef
8th Aug 2005, 01:53 PM
Ah I see this thread is dead, Why not ask someone else to pick it up again.
I still want to spray some llama Icons on the opponents celldoors!