I could tell you what I did, and you could replicate it. just find this spot in the file (I left xelork's comments so it's easier to find) and change the values to what I've got. you can also change them as you see fit. player.destscale is the change in size, and ticrate is how frequently it changes (I tend to leave that one alone.) if you want to adjust the settings (mine are set to a 160% increase from the current size, with it decreasing by the same amount). if you want the two settings to be equal, the equations have to be each other's inverse. ( increase = *2, decrease = *1/2)
if (p.gtimer == 0) //reached 0?
and (CV_Grow.value > 0) //is this enabled, dad?
if (CV_Grow.value == 1)
p.mo.destscale = $
p.gtimer = TICRATE/2
elseif (CV_Grow.value >= 2)
p.gtimer = TICRATE * 2
if (CV_Grow.value == 3) //extreme mode
p.mo.destscale = $ * 5/3 //<- this was the original idea. 0.5
else
p.mo.destscale = $ * 3/5
end
end
($ appears to represent the current size of the player)
I also reccomend finding the value for growmusic and changing it's default from 1 to 0, unless you want the same music to play on loop for the entire session. also, for controls: either add the following to your autoexec or type them into console
bind 1 "grow 2"
bind 2 "grow 1"
bind 3 "grow 3"
this makes it so that 1 turns on shrink, 3 turns on growth, and 2 stops the device
enjoy stomping around with your newfound power