Dropping a cube that is already covered in paint?

Avatar
CroSSGunS
23 Posts
Posted May 21, 2011
I want to drop a cube that is covered in blue paint. I tried the instance that does it, but the instance:@cube_drop;trigger syntax doesn't seem to work.

Any help would be appreciated. Cheers.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Nacimota
345 Posts
Posted May 21, 2011
Replied 33 minutes later
Which instance are you using specifically?
Avatar
CroSSGunS
23 Posts
Posted May 21, 2011
Replied 11 minutes later
In testing, I'm using the cube_dropper_normal instance, but for the actual puzzle I want to use the paint_bomb_dropper_bounce instance.

Also the Faith Plate that I'm using won't launch a player, but it will launch a cube, and also ent_bbox isn't working... :smile:

Avatar
Nacimota
345 Posts
Posted May 21, 2011
Replied 8 minutes later
With the cube dropper, you should be able to edit the instance and set the paint power keyvalue of the template box to repulsion (if you do this, save the instance under a new name because other maps still use the original).

With the faith plate, is that another instance or something you've put together yourself? Make sure the clients flag on the trigger_catapult is checked.

Avatar
CroSSGunS
23 Posts
Posted May 21, 2011
Replied 39 minutes later
Also don't worry about the faith plate, fixed that :smile:
Avatar
CroSSGunS
23 Posts
Posted May 21, 2011
Replied 25 minutes later
I couldn't find this template box you're talking about, is that the box that's inside the cube dropper? when I select that, it's giving me a func_instance
Avatar
ChickenMobile
2,460 Posts
Posted May 22, 2011
Replied 1 hour later
I'm pretty sure there's an option in the cube's skin property that makes it already covered in paint. I have no idea if it actually acts like it is covered (bounces or slides) though. Shall look into it :smile:.

EDIT: In the cubes Values change the one labelled "Paint Power" to your desired paint ("Speed" or "Bounce") AND in Map->Map Properties set the "Paint in Map" property to "Yes". This should fix it.

Avatar
CroSSGunS
23 Posts
Posted May 22, 2011
Replied 49 minutes later
Still can't figure out what you're talking about when you mention a "cube" in this context. I can't select the template of the cube directly, it gives me a group of objects which I can't deselect.
Avatar
ChickenMobile
2,460 Posts
Posted May 22, 2011
Replied 21 minutes later

CroSSGunS wrote:
Still can't figure out what you're talking about when you mention a "cube" in this context. I can't select the template of the cube directly, it gives me a group of objects which I can't deselect.

Since you are using an instance it is just selecting the whole instance entity. I suggest you actually open up the instance's VMF and copy all the entities so you can actually edit them.

Avatar
CroSSGunS
23 Posts
Posted May 22, 2011
Replied 10 minutes later
I have opened the instances VMF, I am editing the instance, I still can't select the cube itself.
Avatar
ChickenMobile
2,460 Posts
Posted May 22, 2011
Replied 15 minutes later
In the top right corner select the "objects" button to select individual entities instead of grouped objects.
Avatar
CroSSGunS
23 Posts
Posted May 22, 2011
Replied 10 minutes later
I tried that last time, and it didn't work, I'll try again and hopefully it will. :smile:

Cheers for your help so far, I am fairly noob at this.

Avatar
hillis
12 Posts
Posted May 22, 2011
Replied 1 hour later
If you want to edit the individual objects, you have to select the instance and then navigate in the upper menu to instancing -> collapsing -> selection. Be also sure to save it as another instance because it will otherwise affect every other map with that specific instance too :S

You have to change the "Paint power" in the keyvalues of the prop_weighted_cube.

Hope this helps :smile:

Avatar
CroSSGunS
23 Posts
Posted May 22, 2011
Replied 4 hours later
That worked. Thank you very much :smile:
Avatar
CroSSGunS
23 Posts
Posted May 22, 2011
Replied 8 minutes later
buuuuut now my triggers are broken. I've named the new cube_dropper_large instance cube_dropper_large_bouncepaint and then I tried putting the new name into the syntax namely:
instance:@cube_dropper_large_bouncepaint;Trigger
instance:@cube_dropper_large_bouncepaint_autorespawn;Enable

This, however, is not working. Care to share any light on how this syntax works? Perhaps I could make it bend to my will.

Avatar
ChickenMobile
2,460 Posts
Posted May 22, 2011
Replied 17 minutes later
Collapsing the instance may remove the way instances are used to communicate with.
Make sure you rename the outputs to the exact name that appears on the object at the moment.

Remember you wanted to collapse the instance so then you can edit the objects individually :wink:

Avatar
CroSSGunS
23 Posts
Posted May 22, 2011
Replied 12 minutes later
so instead of the AutoInstance1-@cube_dropper_autorespawn output, it would need to be cube_dropper_large_bouncepaing_autorespawn on the prop_weighted_cube?
Avatar
CroSSGunS
23 Posts
Posted May 22, 2011
Replied 12 minutes later
I've also figured out a few of the inputs that a cube_dropper instance has, namely:

cube_dropper_gate
cube_dropper_loop
cube_dropper_autorespawn
cube_dropper_retrigger
cube_dropper_drop

but I still can't figure out why it's not working :sad:

Avatar
CroSSGunS
23 Posts
Posted May 22, 2011
Replied 8 minutes later
using programming terminology: I'm guessing there's some kind of "superclass" that each type of "cube_dropper" instance "inherits" from that allows it to use general nomenclature in each descendant instance. This is good from a creation point of view but it means that the structure of the outputs and inputs must be rigorous or shit falls apart.

But by no means am I blaming valve, since obviously the incompetence is mine. I'm just attempting to discover the inner workings of the Hammer system and create an idea that I think will be quite cool.

EDIT: Sorry for the triple post, but I've never understood why that it's such a sin.

Advertisement
Registered users don’t see ads! Register now!
Avatar
CroSSGunS
23 Posts
Posted May 23, 2011
Replied 21 hours later
So I managed to get a cube that is covered in blue paint to drop, using an item_dropper.vmf instance. However, when it drops, it bounces off of the bottom of the tube and back up, hitting the next cube.

Any ideas?