Portal: Revolution

Portal: Revolution

View Stats:
Owotachi Jan 21, 2024 @ 1:11am
Community Edition leftover content (paintgun/adhesion gel)
So I was doing some digging in the console, and on a complete whim, I found out that the adhesion and reflection gel are (mostly) implemented in this version of strata, as well as the paint gun and a whole heap of commands and entities for it, after playing around further I have completed a make shift set of command strings and binds to give myself the paint gun with all gels enabled, and having a little fun with it. :)

Cons: props that have been covered, or make contact with adhesion gel that is not on the floor, will cause the game to crash (I wouldn't post a crash report for this, its not entirely meant to be accessed
The hud for the paint gun doesn't have proper hud placement and appears broken at the top corner of the screen

I will be adding various commands with minor descriptions as I find them, if you find any you think should be noted, let me know!

Commands

give_paintgun | equips the paint gun | upgrade_paintgun | enables all gels for the paint gun | nextpaint | selects next paint. | prevpaint | selects previous paint. | paintgun_ammo_type (0-2?) | 0: no limit to paint | 1: limits all paint by the number provided by | 'paintgun_max_ammo' | 2: limits each paint individually by | 'paintgun_max_ammo' | AD: if set to anything other than 0, right | clicking (+attack2) will remove all paint | currently on the map, and reset ammo count | ?: other functionality is unknown at this | time. | paintgun_max_ammo | set max amount of paint blobs thrown if | 'paintgun_ammo_type' is enabled. | paintgun_blobs_per_second | The number of paint blobs sprayed per second. | paintgun_blobs_min_speed | The minimum and maximum speed of the sprayed paintgun_blobs_max_speed | blobs. | paintgun_blobs_spread_radius | The starting radius of the spread of the | blobs/makes blobs shoot in a wider area | paintgun_blobs_spread_angle | The spread of the blobs along its direction | vector (in degrees)/makes blobs shoot in a | wider angles | paintgun_blobs_streak_percent (0-100) | The percentage of blobs that will streak. | paintgun_blobs_min_streak_time | The minimum and maximum time that the blobs paintgun_blobs_max_streak_time | will streak for. | paintgun_blobs_min_streak_speed_dampen | The minimum and maximum speed dampening while paintgun_blobs_max_streak_speed_dampen | streaking. | ent_create_paint_bomb_reflect | creates reflection gel paint bomb | ent_create_paint_bomb_stick | creates adhesion gel paint bomb
Last edited by Owotachi; Jan 21, 2024 @ 2:26pm
< >
Showing 1-3 of 3 comments
jackowacca Jan 30, 2024 @ 10:43pm 
You can call ent_create item_paint_power_pickup painttype 5 and replace the 5 with whatever gel type you want to spawn in a paint gun gel powerup thing (docs here: https://developer.valvesoftware.com/wiki/Item_paint_power_pickup). Now if you touch the can that you spawned in, then your paint gun changes to use that new type of gel.

I also found a way to spawn in the new coloured lasers using commands and made a video on it: https://www.youtube.com/watch?v=fV54KEGElG8. The command to spawn the coloured lasers is this: ent_create env_portal_laser beamcolor "0 255 255 255"
Owotachi Jan 30, 2024 @ 11:32pm 
Originally posted by jackowacca:
You can call ent_create item_paint_power_pickup painttype 5 and replace the 5 with whatever gel type you want to spawn in a paint gun gel powerup thing (docs here: https://developer.valvesoftware.com/wiki/Item_paint_power_pickup). Now if you touch the can that you spawned in, then your paint gun changes to use that new type of gel.
if you combine that with binding nextpaint and prevpaint, you can use that to enable specific gels instead of all of them
< >
Showing 1-3 of 3 comments
Per page: 1530 50