Another Gelcannon Mod [SE Beta 9]

Mods, guides how to use and install mods go right in here.
Post Reply
User avatar
Qwerbey
Posts: 1282
Joined: 05 Oct 2012, 07:58
Contact:

Post » 21 Apr 2018, 07:08

I quickly made a mod to make the gelcannon cheat act more like Tag's paint gun. It's based on Beta 9 Bugfixes.

Image
Look mom! I'm firing the other two gels!

CONTROLS:
Left click: Fire gel
Right click: Fire clear gel (White in the white gel version)
Reload: Cycle gels to fire on left click. Goes bounce, speed, stick, repeat.

Code: Select all

-line 282, set gel id to gelcannongel
-line 285, set gel id to 3
-added 
	if playertype == "gelcannon" then
				if	gelcannongel == 4 then
					gelcannongel = 0
				end
				gelcannongel=math.mod(gelcannongel+1,3)
				if	gelcannongel == 0 then
					gelcannongel = 4
				end
				playsound("portal2open")
			end
after line 3989 ("objects["player"][i]:removeportals()")
-added
	gelcannongel = 1
after line 2840 ("gelcannontimer = 0")
Vanilla Download - With White Gel Download
If you want to combine this with another mod:
game.lua
Last edited by Qwerbey on 22 Apr 2018, 10:59, edited 1 time in total.

User avatar
Qwerbey
Posts: 1282
Joined: 05 Oct 2012, 07:58
Contact:

Post » 21 Apr 2018, 11:12

Quick update: added a confirmation sound for gel switching.

User avatar
Qwerbey
Posts: 1282
Joined: 05 Oct 2012, 07:58
Contact:

Post » 22 Apr 2018, 11:00

Now that bugfixes has clear gel, I've updated the mod to include it. I've still got a version that uses white gel if you want that.

Post Reply