Please or Register to create posts and topics.

Creating your own entity, gel textures, vpks

I want to make an entity the has a model of a cube with many colors, since I made 3 models of a cube (colours with blue and orange gel, coloured cubes with green gel, destroyed versions) i don't want to make it a prop_physics because it doesn't support paint, and not prop_physics_paintable because it tints the who cube a colour (blue, orange, grey) and players can't recognize the actual color of a cube. And is there anyway to make the cube change models from the prop_weighted_cube entity? (I want to make a cube turn to a sphere with a button.)

I also want to make a texture and color for the reflection gel,( maybe a green?)
I know the colors are hard coded, but when i type any number, the colour is always white, does anyone know how to change the colour of the gel, and make the texture for it?
I know, code isn't released.

And vpks, does anyone know how to override one?

I also want to make a wall portable If there if you get trapped, so if the exclusion funnel turns blue the math_counter disables and counts 1, and if the funnel turns orange, the counter enables and +1, and if the player has a green cube a different math_counter counts to 1 and if the cube is not green then the counter doesn't have 1 added. And I made a third counter and when it counts to 2 the trigger deactivates and when its not the trigger activates. But it doesn't work, does anyone know how to make it work?

Is there any way to make entities slow and the player fast so the player can do stuff fast, before an event happens?

spongylover123 wrote:
Is there any way to make entities slow and the player fast so the player can do stuff fast, before an event happens?

Dont think you can slow down other entities, but you can speed up the players movement.

Use a player_speedmod entity and then set its ModifySpeed input.

'1' is normal speed, '0' is no speed and something like '10' is really fast...

Rob.

My Portal2 Map: Trapped

My Travel Blog:
Image
spongylover123 wrote:
I want to make an entity

Good luck

New tracks every Saturday!
http://www.soundcloud.com/jomonay
"Anything that you do, just be THE best at it" - Kanye West
Jomonay wrote:
Good luck

Thanks. I just need the game code.

Robdon wrote:
Dont think you can slow down other entities, but you can speed up the players movement.

Use a player_speedmod entity and then set its ModifySpeed input.

'1' is normal speed, '0' is no speed and something like '10' is really fast...

Rob.

Works well thanks

I think you might also be able to combine the player movement with the host_timescale cvar though a point_servercommand: just change the player speed to some multiple of the original (ie. 3) and the host_timescale cvar to the reciprocal of the speed (ie. 1/3, or 0.333). That way the player speed would appear normal and the rest of the events would play in slow motion.

@x6herbius
That will slow down both the player and entities or the whole game.

@Jomonay
Forgot to mention, I actually kind of know how to code C++, but I don't know where to put the "compiled" entity.