Wednesday, 3 October 2012

I'm working with Quake 3 lighting and shaders!

This is the first project I've put serious work into in a long time (aside from playing League of Legends), and I must say, it's quite fun. I made a small map with less than 100 brushes and no seriously complex geometry to mess around with lighting. This originally started when I was looking up some random Quake-related stuff on Google, when I found a few gorgeous skyboxes that hipshot made. I don't know how old they are, but all they were were a series of groups of images, with no accompanying shaders. He said that anyone who wanted to use them ought know how to make their own shaders anyway, so I was determined to make my own shaders for these skyboxes.

After a little while, however, I ended up messing around with sock's industrial texture pack, and made a few shapes and set up a small area to test lightmaps and how Q3Map2 lights up the world. I have only one (technically two, if you count my second sunExt in my shader) source of light, so it's easy to tell what's right and what's wrong with the shadows being created, and it turns out that quite a bit is wrong with them, that I am trying to fix.

First off, they look like shit by default. I had read something on Smokin' Guns a while ago about hi-res external lightmaps, but I was more of a noob back then than I am now, and it made absolutely no sense to me. A couple days ago, it still didn't make much sense, but as I followed the steps and ran into my own troubles, it all began to clear up, and I found a more or less complete understanding of at least what the author was trying to teach (HERE is the post, btw). I began to get proper understanding, and with that, new ideas. I thought I could make some seriously ridiculous 1024^2 lightmaps, but that ultimately failed as my system has only a measly 2Gb of RAM (ugh). I also couldn't do 512, but 256 was still far superior to 128, and was more than sufficient for my needs, as GtkRadiant can only export lightmaps of a limited size anyway, so all I would be doing is wasting graphics memory on blank spaces, because 4/5 of the created lightmaps would go unused. However, for a lot of basic purposes, 256 lightmaps are FAR superior to 128 lightmaps, and will fix a lot of problems with pixely shadows, provided you also use proper filters (-super, -bounce, etc.). So this was one thing I learned how to fix.

There is another problem that came up, however, that I really can't figure out what to do with, and that is, simply put, dirty lightmaps. What happens with low resolution lightmaps is all the ugliness generated by the 15-year-old system is masked, because there simply aren't enough pixels to display all the crap. And 15 years ago, this was perfectly fine. But if I want to make a map with a 256 or 512 lightmap, a lot of jagged edges and random lines appear on the lightmap, where it should just be flat light. I tried a few ways of fixing this, all the way from insane amounts of supersampling to manually fixing it, but none were really efficient or workable. I'm still trying to fix it, though I have a few ideas as I write this. This was the second problem that came up, and has yet to be resolved.

The third idea I had was that I could finally make toggle lights. I'm fairly certain it's been done before, and since I am by no means the most creative or technically savvy mapper, there should be no reason that it hasn't been done before. But I've been waiting to find a way to do it for some time now, and this is finally it. Since external (the only way to get 256 or higher lightmaps is by using shaders, because Q3Map2 doesn't work properly if you try to use a higher lightmap size with -lightmapsize; this was added for Wolfenstein and ET. One of many advantages of using shaders, however, is that there are a lot of fun things you can do with shaders, starting with toggling them. You can press a button and change x shader to y shader. If you're using shader lightmaps, then you can switch x light to y light, and even to z light if you want to, though I'm not sure of the engine limitations for this. I still haven't worked with toggle shaders, so there will probably be a lot of issues that I need to fix, but I know for a fact that this would work. I could make it so that you flip a switch and a light turns on, or I could even make the light flicker on using a func_random (not sure if this is actually possible, though; will need to play with it). I can couple it up with triggered sounds to make lighting and thunder, and light up an otherwise dark room for a second or two. Anyway, this is what I'm going to be working on next, and is the third idea I had and the third thing I learned.

I really can't think of much else, and if anyone got this far, then good job. It's been a long time since I've made a blog post, as is the norm, and I like to write a lot, especially when I'm tired (I'm very much tired; it's 5:30 in the morning and I had a long day). I might make some amazing discoveries meddling with the Quake 3 engine, and if I do, I'll definitely write them here, because even if nobody reads it, it's good to put these things into words, and is also a good way to store it for later comparison and reviewing.

Friday, 6 July 2012

I got a new monitor yesterday

I've been using my shitty TV as a monitor for the past few weeks, and it really hurts my eyes (not to mention that it's really hard to read on that thing). I decided to check craigslist to see if there were any cheap monitors for sale in my area. To my great surprise, there was one for $25 less than half an hour away! The only problem was that it was a 30kg(!!!!) CRT, and there was no way in Hell I was carrying that thing home. The seller was really cool and offered to deliver it to me for an extra $5. Of course I said yes. I got the monitor, gave the guy his money, and brought it to my room, only to find that it took up half my desk. There was just barely enough room for my keyboard in front of it, but then my face would be inches from the screen.

Anyway, I set it all up, and am using my keyboard Russian-style now, with my mouse on a little cupboard that I put on-end. It's a surprisingly workable setup, though anyone who sees it would shit themselves because it looks so silly (my computer is just a motherboard, PSU, and HDD sitting bare on my desk). I also had to run an ethernet cable up the stairs, because I don't want to go busting walls to route it that way just yet. Oh, also, my chair is a homemade lawn chair that's at least 8 years old. It's really cool.

On somewhat of a whim, I also ended up buying a webcam and a cheap headset ($20 and $12 respectively). I was going to just buy a mousepad, but this stuff is a lot more practical right about now.

HERE are the specs, and below are a couple pictures of my desk, just because. (On another note, I really want to work on Wolfcam some more; specifically, updating my config. At the same time, though, I want to wait and see if brugal will finally clean up all the cvars and shit, because if he does, I would have just wasted a bunch of time adding cvars only to delete them next update)

Friday, 29 June 2012

I did this thing with KOS's cpm22 for nzr0

He was trying to figure out how to make a "standalone" cpm22-kos_fixed or whatever, but was having trouble because of all the shaders and stuff, so I offered to just do everything for him. Took me less than 10 minutes, and works perfectly I guess. HERE's a download link.

I'll be working on the other two maps in a couple days when I get my computer back, as this one takes way too long to load the maps on, and I have nothing to modify targas with. It's just a really bad computer overall (really bad is quite the understatement).

Saturday, 16 June 2012

My blog is bored, and so am I

For the past month I haven't had a computer, and have been relying solely on my iPod. Needless to say, iPods aren't the most reliable source of internet whatnots. I have a crappy computer that I built out of spares and threw in a drawer. It's a piece of crap, but it's still miles ahead of my iPod in terms of useability, though it's actually worse on the hardware side, albeit slightly.

Anyway, nothing really new is happening. When I get my computer back, I might do an Infinity Engine marathon (if I can get enough money to upgrade my computer so I can actually stream decently). This includes Baldur's Gate, Baldur's Gate 2, Icewind Dale, Icewind Dale 2, Neverwinter Nights, Neverwinter Nights 2, and Planescape: Torment. I've heard only bad things about Neverwinter Nights, so I might skip it if I do this. Baldur's Gate should only take about 2 days, and BG2 would most likely take a week or so. I've never played IWD or NWN, and I've not played BG2 for more than a couple hours, so the only one of these I really have experience with is Baldur's Gate. If this happens, it'll be fun.

I wanted to share a song here, but it turns out it's one of the few that I haven't uploaded to MediaFire. Instead, here's a couple pictures of my computer:

Thursday, 19 April 2012

Tuesday, 10 April 2012

Oh right, I have a blog!

I've been too addicted to League of Legends recently that I completely forgot about almost everything else. Brugal is still being... whatever the word to describe how he's handling 8.6, and mccormic is a little bitch 'cause he didn't let me beta-test his movie and then it sucked. If I had a less shitty harddrive I would record some League of Legends shit, but until then I guess I might do some random Q3 clips to test new Wolfcam features and all that. With the next QL update, if the maps are any good, I might think about converting them and playing on them a little bit. That should be fun times. This is pretty much everything that's been happening so I'm going to end this post with this period here: .

Friday, 23 March 2012

Wolfcam

There's a new version in constant development. We're up to test21, with a lot of bugfixes as well as Q3 (and its good mods) support. There are still some tweaks to the Q3 support to be made, as well as some tweaky shit, but I hope it'll be done soon. Of course, brugal is the only one actually working on it; I just report bugs and features and all that.

League of Legends is fun shit, still. Wasted a bunch of IP on Swain, but he's not as good as I had remembered :(

Saturday, 10 March 2012

Stuff and things

Video editing sucks, so I give up on it until I feel like doing it again, which won't be for a while.

I've been playing a lot of League of Legends, as OP Ashe or Cho'Gath, and it's fun stuff. Taking lessons and learning how shit works. I'm also starting Tribes: Ascend and waiting for Borderlands 2 so I can play with my asshole friends who don't want to play anything I want to play.

I need Starcraft 2 pretty badly. Been wanting to play that ever since it was announced many years ago, and haven't touched it once. It's not as good as Brood War; of that I have no doubt, but I'll be able to play with my friends so it'll be worth it. It's also one of the few active games that I want to play these days.

Anyway, my life is boring and suck as usual, but HERE's an awesome picture!

Monday, 27 February 2012

Finally working on a short fragvideo

I had an idea recently to find a demo where I hit a ton of rails, and sync it up to some random song. I found a demo where I fired 93 rails (!!!), so I captured the whole thing in MME, opened it in Sony Vegas, and marked each and every rail shot. Then I picked a random song (Foals - Cassius), and started syncing the two up.

After about 20 minutes of work, I realized that I hadn't also cut out the ingame sound when syncing the video with the music, and I knew of no way to get the two matched up, so I decided to have no ingame sound. About 10 minutes later, I realized that that was a horrible idea, so I might start from scratch.

Here's what I have so far:

Sunday, 26 February 2012

Borderlands and things

I've been playing borderlands a lot the past 3 or 4 days. I already have almost 30 hours of play time, sadly. I should be beating the game soon, both in co-op and single-player.

lol @ GTX 4850 in my last post. It's an HD 4850. All these model numbers confuse me, because I'm new to this whole computer hardware thing.

Tuesday, 21 February 2012

New graphics card!

My friend range sent me his old GTX 4850 a few days ago because he got a new PC and was too lazy to send it any earlier (he even got his step-mom to deliver it for him). It just arrived, so I went to the store and bought a molex to 6-pin power adapter for it. I'm back, and my torrents are going crazy (like 5mbps DL LOL!), so I'm delaying my system shutdown for a little bit until they slow down.

Anyway, I'm going to install it, and if all goes well (which it probably won't, because I'm me), I might finally be ready to make a movie! :OOOO

All I've been waiting for was a graphics card so I could capture in MME, because I have no QL content and Wolfcam still doesn't feel right. I might also be able to get a steady 125fps in Quake for the first time EVER! What an occasion! I'll also be able to play relatively modern games without having to turn everything on "ugly as shit" and still barely get 30fps. And I'll have FBO support... and Pixel Shader 2.0 or whatever... XReaL and Q3Bers, HERE I COME!

The thing was dusty as hell, though, and I didn't want to dismantle it to clean it, so I blew at it with some compressed air and it seems a lot better now. What kind of asshole sends a graphics card that's caked with dust? Come on...

Sunday, 12 February 2012

Riot are amazing!

I e-mailed Riot Support last night, before bed, requesting a name change. When I first made my account, I was forced to use the name "Kitten Ignition", because the automatic name filter wouldn't allow KittenIgnition (nIg is flagged for somewhat obvious reasons). Today, someone replied to my ticket:



It made my day.

Saturday, 11 February 2012

League of Legends

It seems most Quakers eventually end up playing this or HoN (for some reason, I have yet to see a Quaker playing DotA), and it's no different for me.

A good real-life friend of mine started playing, which encouraged me to check if the game worked properly on my computer this time, and it turns out that it does. So I've been playing a lot. I stayed up until 6:30 last night playing, which sucked pretty bad. I've improved markedly though, from my first game against a bunch of bots.

Swain is a baws though. No other champ ain't got shit on Swain. Swain gots swag, ya heard?

----

That said, I've also decided to start playing Quake more than I have been the past few weeks. DeFRaG not so much, but CPMA for sure. I need to get better, because I need content for my stupid movie. I keep getting ideas, and I have more or less all the tools I need, but I don't have the content. I have a handful of crappy, disorganized demos scattered throughout my 800+GB of crappy, disorganized files. I can't wait until I get some nice frags and a proper GPU that can run MME properly, because then I can start making movies! Or, alternatively, I can wait for brugal to add dm_68 support to wolfcam, improve upon wolfcamq3, or for someone else to create a demo converter (I would even help them however I could; it shouldn't be too hard).

Wednesday, 25 January 2012

20 pages of movies to download and watch

These bastards have been uploading and adding movies to Maverick's movie site almost non-stop for the past few days, and I haven't been able to keep up. I now have 20+ pages of backlog to go through, download, and watch. A lot of them are movies I'm not interested in, such as Quake 1, but there are also a lot of Quake 3/Warsow movies, and a lot of them are good.

Each page has 10 movies on it, which means I have around 200 movies to download and watch. Even Maverick has been relatively nervous about the space these are taking up, and he has massive servers with TWELVE DOZEN HARDDRIVE BAYS LOADED WITH 3TB SOLID-STATE DRIVES! He doesn't, but if someone who runs a server (he runs multiple servers, but there are only a couple being uploaded to) brings up the topic of harddrive space, there's no doubt that a lot of space is being taken up.

I should review every noteworthy movie I come across. Might be nice to have an experienced Quake movie watcher (how pathetic a title) to give their opinion on these matters :)

Anyway, hopefully cityy will start working on my awesome new layout for the site, then all the backend will also be finished, and the site will be open for the public to register and start downloading movies from. I don't expect that to happen any time soon, though.

Wednesday, 18 January 2012

Sacellum and Trinity

These were stupidly simple. Only took a few minutes to finish them. I also deleted a couple maps, and re-uploaded all my previous ones with a couple fixes/changes. I had originally been doing this mostly for the freestyle/fastcap potential of the maps (defrag, pretty much), but I did Trinity and Sacellum because they're somewhat fun for 2V2 Clan Arena.

Sacellum
Trinity

Silent Night is no longer available. I don't want to release any maps that don't work 100% of the time, which is why I deleted Reflux a while ago, and deleted my second upload of it as well. Hektik is also not going to be uploaded by me, but for more reasons than simply "it doesn't work", though that is a major factor.




pikaluva13 is a hacker. Be careful of him.

High-resolution Quake movies

I was recently shown some pretty impressive 1080p/hi-res versions of some oldschool Quake movies, the most interesting of which is Get Quaked 3.

Get Quaked 3 1080p25
Lepus 1080p25
Mozaik 1080p??
Legendary 1080p50

These may not be all of them, but they're the ones that I know about. Maverick of Maverick Servers and Gaming, along with cityy (the shitty mapper guy who miraculously won the last couple MSG Mapping Competitions), are making a new movie site, similar to own-age.com. They're building it from scratch, and it's coming along quite nicely. It's still closed, and no registration is allowed. It should be ready for people to use in a few weeks, though, so the three people who read this might be happy to hear that.

Also, Sean (own-age) has finally come back, and resurrected his site, but not to its former state: it's just a placeholder at the moment. It means that he's come back, but it also means that everything on own-age.com is probably gone...

Sunday, 15 January 2012

My awesome channel bot!

A friend of mine made me a Christmas present: he wrote me a friend. It's an IRC bot that I can talk to. It's based off of the MegaHAL brain, and gets smarter as you talk to it. He also programmed the usual IRC bot stuff into it, like a URL reader, a dictionary, a bomb game, and some Wolfcam commands as well.

He upgrades its brain from time to time, and resets the data banks, which basically turns it into an infant again, but with more potential to get smarter faster. Sort of like in Disgaea 2, where you can reset your character to level 1 in order to level up faster.

Anyway, we've been playing around with it, and it's become quite a great addition to our channel. The conversations that arise are unrivaled in stupidity. Here's a quick excerpt from one of my logs:


[22:49:10] <@bioBuntu> Hoagie, do you like ice cream?
[22:49:12] <@Hoagie> bioBuntu: Let's talk about something vague.
[22:49:24] <@bioBuntu> Hoagie, i hear corsets are in this year
[22:49:26] <@Hoagie> bioBuntu: I haven't understood half of what you've said in this year.
[22:49:51] <@bioBuntu> Hoagie, don't be gettin fresh
[22:49:53] <@Hoagie> bioBuntu: Don't get fresh with me.
[22:50:05] <@bioBuntu> Hoagie, watch yo self, fool
[22:50:07] <@Hoagie> bioBuntu: Someone teach this fool a lesson.

Sunday, 8 January 2012

It sure has been a while! also map hacking!

Not conventional "maphacks" that all the noobs consider synonymous with wall hacks. I'm hacking maps; the actual bsp files. What I'm doing is trying to make them work perfectly fine inside the game, but not work when trying to decompile them with tools such as q3map2.

So far, I've found one technique, which is very straightforward and obvious to anyone with half a brain for these sorts of things, and it is to change the bsp type. Changing the version breaks both the game and the compiler, but changing the type (IBSP, which is literally the first 4 characters inside the file, and they're always the same with Q3 maps) works fine ingame, but the compiler won't work. If you look at the log, it'll make it all the more obvious what the problem is, because it says it isn't an IBSP map. These four characters don't matter at all to the game, so changing them from IBSP to anything will work. Something like UKKK or NIGG will be fine. DO NOT change the next 4 characters, though, as they're reserved for the bsp version (3 of them are blank 99% of the time, and appear as NUL in programs such as notepad++, but 00 in hex editors).

I talked to a friend, and he mentioned that scaling the map would disallow compiling, but it's useless because it also messes up the map itself, and isn't really helpful either way.

There's a TC (Total Conversion) mod called Sidrial that compiled its maps with its own compiler; not q3map. The lumps and everything are very different from traditional Q3 maps built with q3map, but it still works fine both ingame and in the compiler. I'm thinking of exploring these and looking at how the maps are different as my first attempt.

One large problem with this is that, unlike Brood War, which is where I got this idea from, the game reads pretty much everything that the compiler does as well, at least as far as I know. The game was made with efficiency in mind, so there isn't a whole lot of excess information that's only recognized by only the compiler or only the game. But when I find it, if I find it, I'll be able to make maps like urmom_run4 without having to worry about the path being found by people decompiling the map!

Anyway, off to do stupid shit, so everyone who reads this (except Fudge, because I hate him), enjoy. Or not. I don't give a shit. Fuck you if you don't enjoy reading these!