User:Talidan: Difference between revisions
Jump to navigation
Jump to search
(→Voice) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
=== To do === | === To do === | ||
* Make Settings window L10n compatible: | * Make Settings window L10n compatible: | ||
** Multiplayer | ** <s>Multiplayer</s> | ||
** Video | ** <s>Video</s> | ||
** Audio | ** <s>Audio</s> | ||
** Controls | ** <s>Controls</s> | ||
** Interface | ** <s>Interface</s> | ||
** Advanced | ** Advanced | ||
* Allow L10n to be loaded from Loader, somehow. | * <s>Allow L10n to be loaded from Loader, somehow.</s> | ||
* Upgrade pootle | * <s>Upgrade pootle</s> | ||
* Fix misc build server issues | * <s>Fix misc build server issues</s> | ||
** nightly.nsi vs nightly_localized.nsi | ** <s>nightly.nsi vs nightly_localized.nsi</s> | ||
* <s>Make Transfer box L10n Compatible. The window size should be adjusted to anticipate the maximum text length of the frame and info label</s> | |||
=== New Lua API === | === New Lua API === | ||
Line 53: | Line 54: | ||
=== Number of bits to write per state === | === Number of bits to write per state === | ||
http://www.wolframalpha.com/input/?i=ceil%28log2%2812%29%29 for 12 states | http://www.wolframalpha.com/input/?i=ceil%28log2%2812%29%29 for 12 states | ||
= Client OOP = | |||
This section documents MTA OOP functions. These are just like the standard [[Client Scripting Functions]], but you can execute and access them on the objects themselves. More on that [[somepage|here]]. | |||
== Vehicle == | |||
=== Constructor === | |||
* [[createVehicle|Vehicle(...)]] | |||
=== Methods === | |||
** [[setVehicleDamageProof|:setDamageProof]] | |||
** [[setElementHealth|:setHealth]] | |||
** [[setElementFrozen|:setFrozen]] | |||
** [[setElementVelocity|:setVelocity]] | |||
=== Members === | |||
(THESE COULD BE TREES THAT EXPAND INTO 'GETTER AND SETTER' AND LEAD TO APPROPRIATE FUNCTION INSTEAD) | |||
** .damageProof [ [[isVehicleDamageProof|Getter]] | [[setVehicleDamageProof|Setter]] ] | |||
** .health [ [[getElementHealth|Getter]] | [[setElementHealth|Setter]] ] | |||
** .frozen [ [[isElementFrozen|Getter]] | [[setElementFrozen|Setter]] ] | |||
** .velocity [ [[getElementVelocity|Getter]] | [[setElementVelocity|Setter]] ] | |||
=== Static functions === | |||
** [[getVehicleLalaBoo|Vehicle.GetLalaBoo]] |
Latest revision as of 13:42, 26 September 2016
L10n
To do
- Make Settings window L10n compatible:
MultiplayerVideoAudioControlsInterface- Advanced
Allow L10n to be loaded from Loader, somehow.Upgrade pootleFix misc build server issuesnightly.nsi vs nightly_localized.nsi
Make Transfer box L10n Compatible. The window size should be adjusted to anticipate the maximum text length of the frame and info label
New Lua API
onClientMouseEnter [ int absoluteX, int absoluteY, element leftGUI ] -- New 3rd param onClientMouseLeave [ int absoluteX, int absoluteY, element enteredGUI ] -- New 3rd param x,y = guiStaticImageGetNativeSize ( guiImage ) --Returns the native pixel size of the image file.
Voice
Stuff that's planned for voice. If anyone can do this stuff, please feel free to pick it up and do it if you have time. This is mostly a reminder for myself incase it never gets done.
Cleaning up
Fix stop event not firingImplement mute functions for the voice resource, via command and a GUI interface- Increase the '100%' value of Voice to something higher. Voice does not have a loud enough Max volume
- Provide some automated ability to nicely reduce MTA/GTA volume while voice sound is being played
- Provide some sort of mic test/diagnostic in the settings menu
- Provide the ability to switch microphone input device
The Road to 3D
Convert voice PortAudio streams into Bass streams. Agent Cazomino05 has already had successful tests for this.- Implement setSound3D or equivalent function
- Implement serverside sound functions
- Convert voice streams into sound elements
Echo cancellation
- Provide full echo cancellation support for Vista and 7
- Setup a loopback recording stream
- Feed loopback to Speex to cancel out echo from all sound.
- Provide partial echo cancellation support for XP
- Find a way to combine multiple voice input streams into a single buffer
- Feed the combined voice buffer to Speex to cancel out voice echo.
Stuff for me
Number of bits to write per state
http://www.wolframalpha.com/input/?i=ceil%28log2%2812%29%29 for 12 states
Client OOP
This section documents MTA OOP functions. These are just like the standard Client Scripting Functions, but you can execute and access them on the objects themselves. More on that here.
Vehicle
Constructor
Methods
Members
(THESE COULD BE TREES THAT EXPAND INTO 'GETTER AND SETTER' AND LEAD TO APPROPRIATE FUNCTION INSTEAD)