User:Talidan: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
 
(43 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{MTA Developer}}
{{MTA Developer}}


=Talidan's to-do list=
=L10n=
==For 1.0==
=== To do ===
* '''Admin''' - Finish toadys left overs that he shat out and gave to me
* Make Settings window L10n compatible:
* '''Editor''' - Ensure roadmap is complete and its up to scratch
** <s>Multiplayer</s>
* '''edf''' - Write EDF defs
** <s>Video</s>
** assault
** <s>Audio</s>
** ctv
** <s>Controls</s>
** dm
** <s>Interface</s>
** interiors
** Advanced
** tdm
* <s>Allow L10n to be loaded from Loader, somehow.</s>
** race(?)
* <s>Upgrade pootle</s>
* '''reload''' - Write a script to facilitate manual reloading - [http://bugs.mtasa.com/view.php?id=4528 #4528]
* <s>Fix misc build server issues</s>
* '''broph''' - Rename and fix up so that it becomes the default MTA resource
** <s>nightly.nsi vs nightly_localized.nsi</s>
* <strike>'''interiors''' - Finish up clientside code, ensure its working properly</strike>
* <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>
* '''stealth''' - Fix lasers and ensure its up to scratch for release
* '''teammanager''' - Write a generic team manager to handle balancing and team choosing, and modify resources to support it
** assault
** ctf
** ctv
** racewars
** stealth
** tdm
* <strike>'''realdriveby''' - Make this clearer and easier to use to facilitate as the main MTA driveby resource</strike>
* <strike>'''killmessages''' - Fix the crazy race bug and ensure its up to scratch for release</strike>
* '''fmjdm''' - Rip out irrelevant stuff, rename and ensure its ready for release
* '''i69(?)''' - Ensure its release standard, if not remove it till a later stage
* '''AaD(?)''' - Write an official attack and defend resource as its in fairly high demand
* '''http interface''' - Ensure this actually gets done.  If not i'll look into it
* '''command binds''' - All resources need to start using these
* '''misc''' - Some minor MTA code changes such as function renaming and cleanups, and ACL if someone else hasnt done it already
** '''Smart paths''' clientside
*** <strike>playSound</strike>
*** <strike>playSound3D</strike>
*** <strike>dxDrawImage</strike>
*** <strike>engineLoadCOL</strike>
*** <strike>engineLoadDFF</strike>
*** <strike>engineLoadTXD</strike>
*** <strike>guiCreateStaticImage</strike>
*** <strike>guiStaticImageLoadImage</strike>
*** getResourceConfig
*** <strike>xmlCopyFile</strike>
*** <strike>xmlCreateFile</strike>
*** <strike>xmlLoadFile</strike>
** '''Smart paths''' serverside + ACL
*** fileCreate
*** fileDelete
*** fileOpen
*** addResourceConfig
*** addResourceMap
*** getResourceConfig
*** xmlCopyFile
*** xmlCreateFile
*** xmlLoadFile


==Beyond==
=== New Lua API ===
* '''community ratings''' - A resource to hook with community and facilitate the ratings of resourcesWill need callRemote clientside.
<syntaxhighlight lang="lua">
* '''community downloads''' - A resource to autodownload maps and resources a la race.
onClientMouseEnter [ int absoluteX, int absoluteY, element leftGUI ]  -- New 3rd param
* '''gather''' - Finish of gather so that it can be used by the community, complete with some sort of info page etc
onClientMouseLeave [ int absoluteX, int absoluteY, element enteredGUI ] -- New 3rd param
* '''MTA''' - Event priorities <strike>and getResourceFile</strike> need doing sometime
 
* '''stealth''' - Update stealth with new badass stuff
x,y = guiStaticImageGetNativeSize ( guiImage ) --Returns the native pixel size of the image file.
* Finish MTA:RV maps
</syntaxhighlight>
 
 
 
=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 timeThis is mostly a reminder for myself incase it never gets done.
 
===Cleaning up===
* <s>Fix stop event not firing</s>
* <s>Implement mute functions for the voice resource, via command and a GUI interface</s>
* 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===
* <s>Convert voice PortAudio streams into Bass streams.  Agent [[User:Cazomino05|Cazomino05]] has already had successful tests for this.</s>
* 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 [[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

Coder.gif This user is an MTA developer

L10n

To do

  • Make Settings window L10n compatible:
    • Multiplayer
    • Video
    • Audio
    • Controls
    • Interface
    • Advanced
  • Allow L10n to be loaded from Loader, somehow.
  • Upgrade pootle
  • Fix misc build server issues
    • nightly.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 firing
  • Implement 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)

Static functions