Please or Register to create posts and topics.

The Blapperture Multi-Tool Framework

Page 1 of 2Next

Hello everyone,

As you may have seen on my recent Hammer Notepad videos, I've been working on a framework that will allow players to have multiple weapons and switch between them as in HL2. It works pretty well (although it requires a keybinding for the switch command), and so far it has three parts: a portal gun, a gravity/gauss/AR2/gluon gun combination, and a paint sprayer.

I've seen that some other people have made custom weapons for their maps or mods, and it would be cool to include them all in one package. A map made with the package doesn't need to include all of them: the player needs to pick up "ammo cartridges" that enable the various functions. If you don't want to have the player spray Conversion Gel everywhere, don't put a Conversion Gel cartridge in the map. If you don't want energy balls flying everywhere, leave out the AR2 cartridge.

Right now I'm working on making the script easier to use, so that players won't have trouble switching weapons. But if anyone has a custom weapon that they'd like to be included, just post here.

Falsi sumus crusto!

Yeah, that sound's cool. You already know, I was working on a Paint-Gun, too. I don't know how far your's is, but mine is already useable, you spray Gel with the left mousebutton and change the type with the right button. It works pretty well i just wasn't able to figure out how to change to portals at the momennt (I can't script since i haven't learnd it now... :( ) The thing with the ammo cartridges, is exactly that what I wanted to try next, so... seems like your doing the same as I was trying xD
How functional is your Paintgun at the momennt? I can give you my work if you want, but I think your is alredy finished, or at least startet. (Don'T know if my system would work with yours anyway)

I'm looking forward to this, I hope you can release it soon :)

Funny, I was actually using the exact same method. I haven't finished yet, so if you have a partially-working implementation I'd love to see it. :)

Falsi sumus crusto!

My one is based on the "Bluemod" for pti, i switched some things and added other, so that it works. (there are some little things I don't exactly know what they do in Bluemod, so I ignored them completly, didn't even remove them^^)

here is how it works:
basicly it is a portalgun where the options for shooting portals had been turned off. there is a paintsprayer parented with the player, with has basicgeltype water. And then there is a game_ui (oh, really ? :D), actually turned on by a trigger (that was in the original bluemod, it wanted to change it so that the portal activats it on pickup) that checks the mousebutton presses and gives out Gel on lefklick and on rightclick it gives outputs to a bunch of Math_counters I've added. every counter starts at another number, they all have the same min and the same max number, every rightclik subtracs 1 of every counter, if a counter reaches 0 it changes the gletype of the spayer, triggers a textmessage that tells the player the Gel-Type and set itself back to the highest number^^
I don't know how to get it work along with the ammo cartridges at the momennt, because I've only theoretically thought about it, but didn't start with it right now.

I've added the instance for you, to see and test around, and also a bsp for seeing how it works ingame (ignore the button there, this is a forgotten part of one of my tries to get portals working :D)

Conversiongel was removed from the gun, because it makes now sense as long as you cant shoot portals ;)

Cool, I'll try it out.

Falsi sumus crusto!

What about weapon_paintgun?

yishbarr wrote:
What about weapon_paintgun?

Nonfunctional entity, sadly.

My YouTube Channel: https://www.youtube.com/user/Camben24
Aperture Science: We do our science asbestos we can!
CamBen wrote:
yishbarr wrote:
What about weapon_paintgun?

Nonfunctional entity, sadly.

Yep. it isn't even visable in the game, same with item_pickup_paintpower. I've tried a lot to get it work, but I never even swa one of this things shown up in the map, no talking about the ability to use it :(

Try ent_creating it with developer mode on, it'll give you errors about creating a nonexistant entity.

With Motanum's help I got everything to be much more stable now, motion is really smooth and the func_tank can never be dropped.

Flo, I don't quite understand the thing with the different counters. It's a clever idea, but why not just use one counter and a logic_case?

Falsi sumus crusto!

Bceause than the counter has to give out an output to the logic case on every value, but I don't kno how to make it that it gives out different outputs depending on wich value it has at the momennt, so I used multible counter that give a direct command to the paintsprayer. was easyer to do for me ;)

Page 1 of 2Next