Product Chat / Limit grenade throw range.

Author
Message
Sparrowhawk
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 12th Apr 2011
Location: Planet Magrathea
Posted: 1st Mar 2016 21:04
Hi, in my multiplayer map I seem to be able to throw grenades far too far, the range property seems to be set to 0 though. Can this be adjusted without scripting? Working on a default-media-only level, and don't want to have to include custom scripts.

Thanks!
S

P.s.
It would be nice if proximity mines were picked up by players in order to be placed, rather than one use, pre-placed only (in MP).
Custom Mac Pro (2014): OSX 10.11 (El Capitan) and Windows 10 Pro:
Xeon E5 v2 @ 3.7Ghz [9775]; Dual AMD FirePro D500 (6GB GDDR5) [3769]; 12GB RAM [2517]; 512GB SSD [9074];
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 1st Mar 2016 21:21
Hmm, I see these settings are missing from the grenade gunspec.txt file.
Maybe make a copy and add these and see if the range will work then.

;// Range and damage

damage = 35
range = 7000
force = 50
scorchtype = 1
noscorch = 0

A couple maybe repeated, But the range one is not there for sure.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 2nd Mar 2016 00:36 Edited at: 2nd Mar 2016 00:42
Quote: "It would be nice if proximity mines were picked up by players in order to be placed, rather than one use, pre-placed only (in MP). "


I'm pretty sure somebody wrote a script that will allow you to do that. I don't know if it works in MP though. I will look around and post the link here when/if I find it!


EDIT: Here it is! (That didn't take any time; I figured it HAD to be in smallg's script thread, LOL)

https://forum.game-guru.com/thread/207801?page=4#msg2496357
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 10/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 10/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM
Sparrowhawk
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 12th Apr 2011
Location: Planet Magrathea
Posted: 2nd Mar 2016 00:37
Thanks Myke, I'll give it a go next time I'm on.

Also in the public preview build, have you noticed grenades give off a yellow light all around them when you throw them? Is this behaviour deliberate? It looks odd on grenades, would fit molotovs.

~S
Custom Mac Pro (2014): OSX 10.11 (El Capitan) and Windows 10 Pro:
Xeon E5 v2 @ 3.7Ghz [9775]; Dual AMD FirePro D500 (6GB GDDR5) [3769]; 12GB RAM [2517]; 512GB SSD [9074];
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 2nd Mar 2016 00:44
Quote: "Also in the public preview build, have you noticed grenades give off a yellow light all around them when you throw them? Is this behaviour deliberate? It looks odd on grenades, would fit molotovs."


I think that's kinda odd, myself. BTW, I tried changing the range value and it had no effect on the actual range. Perhaps some of the values in the gunspec aren't actually in the engine yet?
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 10/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 10/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM
perelect
9
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 3rd Mar 2016 03:57
Quote: "Hi, in my multiplayer map I seem to be able to throw grenades far too far, the range property seems to be set to 0 though"


To adjust projectiles range, bounce, timing, sounds, etc it is done in the projectiles.txt file. located in...
"C:\Program Files (x86)\Steam\steamapps\common\Game Guru\Files\gamecore\projectiletypes\handgrenade.txt"
For grenades distance, adjust the life and range values to suit your needs.

Cheers
Desktop: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz, Windows 8.1 64-bit, 16 GB Ram, NVIDIA GeForce GTX 750 Ti, Display Memory: 4018 MB. Resolution 1360x768, Passmark 3528.
Laptop: Pavilion dv6 Notebook, Intel(R) Core(TM) i5-2410M CPU @ 2.30 GHz, Win 7 64 bit, 16 GB Ram, Radeon (TM) HD 6490M, 2336 MB Memory. Resolution 1366x768, Intel(R) HD Graphics 3000. (WEI 5.8)
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 3rd Mar 2016 05:38
Thank you!
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 10/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 10/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM
Sparrowhawk
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 12th Apr 2011
Location: Planet Magrathea
Posted: 3rd Mar 2016 17:58
Thanks perelect, it would be nice if these properties were editable in the grenades weapon properties - but that's an adjustment for the future.

Thing is, if I alter that file will it work correctly in mutliplayer, or will it require a steam workshop item? (Steam workshop items/custom content have been giving me a huge amount of issues, when others come to try and join).
Custom Mac Pro (2014): OSX 10.11 (El Capitan) and Windows 10 Pro:
Xeon E5 v2 @ 3.7Ghz [9775]; Dual AMD FirePro D500 (6GB GDDR5) [3769]; 12GB RAM [2517]; 512GB SSD [9074];
Bolt Action Gaming
GameGuru Tool Maker
11
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 8th Mar 2016 20:53
I've got mine pretty well tuned. Mostly it has to do with the friction values used. If you adjust them you can get a solid throw/bounce. Stock values are WAY high (unless you are on the moon).

Login to post a reply

Server time is: 2024-11-25 05:46:04
Your offset time is: 2024-11-25 05:46:04