How would you alter the height that props can jump? or perhaps give them double jump? Any help would be greatly appreciated.
You can try increasing the player jump power
I turned my sv_gravity from 600 to 300 and it seems to work quite well. Props are able to hop onto the counters and such.
[QUOTE=Xer0n;42231866]I turned my sv_gravity from 600 to 300 and it seems to work quite well. Props are able to hop onto the counters and such.[/QUOTE]
I think a better solution would be to use ply:SetJumpPower(). Default is 200.
I don't do coding so well, I just chose to use gravity for now. The server is only 4 days old now, and I've been reading and researching custom content. This may sound totally noobish, but in that code you specified, that is located in a lua code already existing and just needs to be modified?
[QUOTE=Xer0n;42232032]I don't do coding so well, I just chose to use gravity for now. The server is only 4 days old now, and I've been reading and researching custom content. This may sound totally noobish, but in that code you specified, that is located in a lua code already existing and just needs to be modified?[/QUOTE]
I quickly browsed through the prophunt files, but what I think will work is:
gamemodes/prophunt/gamemode/init.lua/
line 173, inside here, put this:
[CODE]
if pl:Team() == TEAM_PROPS then
pl:SetJumpPower( 600 );
end
[/CODE]
[IMG]http://i.imgur.com/gb8HSrO.png[/IMG]
edit: I tried it, it works.
Awesome thanks, 600 was far to excessive.. props would hit the ceiling on cs_office and die from gravity outside. I am using 300!
[QUOTE=Xer0n;42232163]Awesome thanks, 600 was far to excessive.. props would hit the ceiling on cs_office and die from gravity outside. I am using 300![/QUOTE]
Great
Sorry, you need to Log In to post a reply to this thread.