Product Chat / Weights and Measures in GameGuru

Author
Message
Equinoxe
8
Years of Service
User Offline
Joined: 30th Aug 2016
Location: Vigo-Spain
Posted: 6th Sep 2016 11:31 Edited at: 6th Sep 2016 11:44
Hi,

I need know what system of units is used for GameGuru

British Imperial ?
International System of Units ?
Other ?

I wrote a simple script for sound emitters and i don't know that number is right for stop sound and roll off control


set soundemitter_maxaudibledist = 2500 without knowing what measure is 2500 in Game Guru, after several tests I found an approximate number
Intel i5-6600K 3.5Ghz, 3GB 780 GTX, 8GB DDR3, Win 7 x64 Ultimate with SP1
Asus k53SV Intel i5-2430M 2.4@3Ghz, 2GB GT 540M, 4GB DDR3, Win 7 Home Premium x64
Sinclair ZX SPectrum 48k, Sinclair ZX Spectrum 128k +2A
AMIGA 500+ 2Mb (1MB Chip + 1MB Fast)

PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 6th Sep 2016 17:31
Well sound is measured in thousandths of a second so 1000 = 1 second. Pretty standard in all languages I have used so far.


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 6th Sep 2016 17:33
As Dvader said, 2500 is 2.5 seconds, pretty standard across many programming languages.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 6th Sep 2016 19:51
@ Equinoxe
Or perhaps you want player listen the sound when closes to the emitter, and does not when far away from.
If so, you has to play with the distance (2500), till you are happy with.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
Equinoxe
8
Years of Service
User Offline
Joined: 30th Aug 2016
Location: Vigo-Spain
Posted: 6th Sep 2016 20:35 Edited at: 6th Sep 2016 20:45
Quote: "
Well sound is measured in thousandths of a second so 1000 = 1 second. Pretty standard in all languages I have used so far.
"


What ???

Measurements of length, not time. I know millisecs 2500 are 2.5 secs, thx DVader and belidos, but ...
The sample script is very clear, distance between the player and the sound emitter, not time
My question is that measurement system has Game Guru


In most engines and 3D applications by default is, 1unit = 1meter
Lightwave for example, Blitz3D, Solid Works the same, etc ..

I think you do not understand me. Values for measuring distances, not to measure time. Distance between player and entity (in mtrs, cms, kilometers, yards, etc)
2500 millisec away, that makes no sense
The distance is not measured with magnitudes of time


@ 3com
I need rolloff factor for fade out volume when distance is > 2500, but that isn't the question.
I want know that is 2500 for Game Guru when we are referring to distance, not time
Intel i5-6600K 3.5Ghz, 3GB 780 GTX, 8GB DDR3, Win 7 x64 Ultimate with SP1
Asus k53SV Intel i5-2430M 2.4@3Ghz, 2GB GT 540M, 4GB DDR3, Win 7 Home Premium x64
Sinclair ZX SPectrum 48k, Sinclair ZX Spectrum 128k +2A
AMIGA 500+ 2Mb (1MB Chip + 1MB Fast)

PM
Anubis
11
Years of Service
User Offline
Joined: 6th Nov 2012
Location: 010011100110010101110100011010000110010101110010011011000110
Posted: 6th Sep 2016 20:40
i think the concrete slabs (floors) in the scenery (?) folder are 100x100.
So, in this occasion.. your soundemitter starts working within 25 floor slabs away from the player.

grts
Anubis
-+- There are only 10 types of people in the world. Those who understand binary, and those who don't -+-
-+-------------------[Chipset:X58 CPU:i7.950.64 GPU:R9 Fury RAM:12GB DDR3 WIN:7.x64 PRO]--------------------+-
PM
Equinoxe
8
Years of Service
User Offline
Joined: 30th Aug 2016
Location: Vigo-Spain
Posted: 6th Sep 2016 20:54
@Anubis

And each floor slab has equivalence in meter cms, yards or anything in real world scale ?

Thanks Anubis
Intel i5-6600K 3.5Ghz, 3GB 780 GTX, 8GB DDR3, Win 7 x64 Ultimate with SP1
Asus k53SV Intel i5-2430M 2.4@3Ghz, 2GB GT 540M, 4GB DDR3, Win 7 Home Premium x64
Sinclair ZX SPectrum 48k, Sinclair ZX Spectrum 128k +2A
AMIGA 500+ 2Mb (1MB Chip + 1MB Fast)

PM
Jerry Tremble
GameGuru TGC Backer
11
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 6th Sep 2016 20:59
I think 100 units = 100 inches
Desktop: i7 4770@3.4Ghz, 12GB RAM, Win 10/64, GeForce GTX 1080, 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM
Anubis
11
Years of Service
User Offline
Joined: 6th Nov 2012
Location: 010011100110010101110100011010000110010101110010011011000110
Posted: 6th Sep 2016 22:24
Quote: "I think 100 units = 100 inches"


I thought so too.
so 100x100 GG units == 100x100 inches == 2,54 x 2,54 meters.
Considering 1 unit = 1 inch = 2,54 cm

The masked soldier is about 72 units.. which in inches would be about 1.80 meter. (sounds good as a 'normal' person height)

I'm not at home, so i can't really check what i use in Blender for units.
But i also found this link on the GG forum.
https://forum.game-guru.com/thread/207369
-+- There are only 10 types of people in the world. Those who understand binary, and those who don't -+-
-+-------------------[Chipset:X58 CPU:i7.950.64 GPU:R9 Fury RAM:12GB DDR3 WIN:7.x64 PRO]--------------------+-
PM
Stab in the Dark software
GameGuru TGC Backer
21
Years of Service
User Offline
Joined: 12th Dec 2002
Location: Upstate New York USA
Posted: 6th Sep 2016 22:53
Quote: "so 100x100 GG units == 100x100 inches == 2,54 x 2,54 meters.
Considering 1 unit = 1 inch = 2,54 cm

The masked soldier is about 72 units.. which in inches would be about 1.80 meter. (sounds good as a 'normal' person height)"


That is correct and is what is used for the physics system.
The coffee is lovely dark and deep,and I have code to write before I sleep.
Equinoxe
8
Years of Service
User Offline
Joined: 30th Aug 2016
Location: Vigo-Spain
Posted: 6th Sep 2016 23:44
Great, It was clearly explained

Thanks you very much at all
Intel i5-6600K 3.5Ghz, 3GB 780 GTX, 8GB DDR3, Win 7 x64 Ultimate with SP1
Asus k53SV Intel i5-2430M 2.4@3Ghz, 2GB GT 540M, 4GB DDR3, Win 7 Home Premium x64
Sinclair ZX SPectrum 48k, Sinclair ZX Spectrum 128k +2A
AMIGA 500+ 2Mb (1MB Chip + 1MB Fast)

PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 8th Sep 2016 20:37
Sorry, misread the first post, too much audio in the variable names! I saw them and thought it was an audio length, not distance. Seems you have an answer now though.


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 9th Sep 2016 07:49
Yeah same here lol. Glad you got it sorted.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.

Login to post a reply

Server time is: 2024-09-28 23:06:12
Your offset time is: 2024-09-28 23:06:12