is this right?

cinemassacres

L1: Registered
Apr 6, 2016
20
2
i am trying to follow this and i was wondering and i wanted the medium ammo box to be the thing that makes the player grow but would you put the growing in output or input
 

sooshey

:3c
aa
Jan 7, 2015
514
410
You would put it in the output because you can't directly add inputs. There's an output called OnPlayerTouch in the ammo pack's properties that might be what you're looking for.
 

Skullio

L1: Registered
Mar 29, 2016
48
54
Well since you only made your first room yesterday (hopefully you figured out how to spawn now) you might want to hold off on the advanced scripting stuff until youve got more of the basics down and understand how thigns work better. Learning for example how to make a door in a lit room and finishing a simple working map will teach you a lot more a lot faster than diving straight into the kind of insanity laid out in the thread you linked to.

What you are trying to do might seem simple but I think it is going to be a lot more complicated to get it working how you want it and working out the issues that will come up. But since I just played with this and it is kind of hilarious I will give you a little simple help,

Put your medium ammo box in the game, go into properties and click Outputs

Press Add so a new field appears and click the pulldown for My output named, change it to OnPLayerTouch
In "target entities named..." type in !activator (it will appear in red text but thats ok)
Via this input type in SetModelScale
"With a paramater Override..." type in how you want it to scale the player. Enter 2 to make him twice as big

Compile your map and try it. Remember you will need to fire off some ammo before you can collect the box because you cant pickup a box with full ammo (this is an issue) and you can only scale up once, you will need to work out a system to detect when a player is scaled up by two so you can scale him up again the next time he collects it. I'm not sure what happens when you die or change class, you will need to work out how to scale the player back down like it says in the tutorial, which is a whole new complicated thing to get in to, not to mention what will happen when you are running in small spaces and things like that.

Basically you are not just trying to learn to run before you can walk, you are trying to learn to pull off a double backwards somersault with a half twist before you can walk.

Taunt and admire your monstrous player, it is pretty hilarious.
 

ChuckSpurgeon

L2: Junior Member
Jan 6, 2014
52
10
I'm not at home to try and play with this--I WILL!!--but, out of curiosity, does a player whose model's been increased in size by double jump higher, as well?
 
Jul 6, 2015
1,425
820
I'm not at home to try and play with this--I WILL!!--but, out of curiosity, does a player whose model's been increased in size by double jump higher, as well?
No, that is gravity. Its the same force, applied to a larger or smaller prop so you SEEM to move higher while smaller or less high when your giant.
 

ChuckSpurgeon

L2: Junior Member
Jan 6, 2014
52
10
So, a player model that is double in size can still only jump onto a ledge the same height as a normal sized player model. Gotcha. Thanks, Davekillerish!