Branches: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(added custom-train-track branch)
(added Awesomium branch; fixed header levels; changed 'videos' header to 'media'; added func listing; added custom animations functions; changed all youtube url to short versions)
Line 1: Line 1:
=Weapon Creation=
== Weapon Creation ==
Weapon creation is a branch for creating weapon elements which can fire bullets and do not require ped/players assigned to them.
Weapon creation is a branch for creating weapon elements which can fire bullets and do not require ped/players assigned to them.
{| class="wikitable" style="width: auto; table-layout: fixed;"
{| class="wikitable" style="width: auto; table-layout: fixed;"
Line 13: Line 13:
|}
|}


==Functions==
=== Functions ===
<syntaxhighlight lang="lua">weapon createWeapon( string weaponName, float x, float y, float z)</syntaxhighlight>
{{Client_weapon_creation_functions}}
weaponName = e.g. "M4"
x, y, z = x,y,z position/co-ordinates


<syntaxhighlight lang="lua">bool fireWeapon( element weapon)</syntaxhighlight>
=== General Notes ===
 
<syntaxhighlight lang="lua">bool setWeaponState(element weapon, string state)</syntaxhighlight>
state = "ready", "firing" or "reloading"
 
<syntaxhighlight lang="lua">bool setWeaponProperty(element weapon, string property, int value)</syntaxhighlight>
property = damage/accuracy
 
==General Notes==
Created entities are for all intent and purpose objects so any object function will work on them like attachElements, setElementAlpha and such.
Created entities are for all intent and purpose objects so any object function will work on them like attachElements, setElementAlpha and such.


==Videos==
=== Media ===
http://www.youtube.com/watch?v=LN1nZZnzlms
http://youtu.be/LN1nZZnzlms
 


 
== Custom Animations ==
=Custom Animations=
Custom Animations is a branch for loading animations from .ifp files
Custom Animations is a branch for loading animations from .ifp files
{| class="wikitable" style="width: auto; table-layout: fixed;"
{| class="wikitable" style="width: auto; table-layout: fixed;"
Line 48: Line 36:
|}
|}


==Functions==
=== Functions ===
???
* [[engineLoadIFP]]
* [[engineUnloadIFP]]


==Videos==
=== Media ===
http://www.youtube.com/watch?v=D9YfVPiJniU
http://youtu.be/D9YfVPiJniU


==General Notes==
=== General Notes ===
See [[User:Cazomino05]] for bugs.
See [[User:Cazomino05]] for bugs.


 
== Custom Weapon Stats ==
 
=Custom Weapon Stats=
Custom Weapon Stats is a branch to allow people to edit one of each weapons "properties" for each skill level
Custom Weapon Stats is a branch to allow people to edit one of each weapons "properties" for each skill level
so for example an M4 at Pro level can have 1000 damage and an M4 at standard level can have 0.
so for example an M4 at Pro level can have 1000 damage and an M4 at standard level can have 0.
Line 75: Line 62:
|}
|}


==Functions==
=== Functions ===
[[getWeaponProperty]]
* [[getWeaponProperty]]
* [[setWeaponProperty]]


[[setWeaponProperty]]
=== Media ===
* http://youtu.be/M1dQWpDFq98
* http://youtu.be/xfdEvpcuk7s
* http://youtu.be/eDU06fZiU9M


==Videos==
=== General Notes ===
http://www.youtube.com/watch?v=M1dQWpDFq98
 
http://www.youtube.com/watch?v=xfdEvpcuk7s
 
http://www.youtube.com/watch?v=eDU06fZiU9M
 
==General Notes==
None.
None.


 
== Analog Control States ==
 
=Analog Control States=
Analog Control States is a branch that is designed to allow proper setting and management of controls and therefore allows for setting of controls to be between the range of 0 and 1 rather than true/false
Analog Control States is a branch that is designed to allow proper setting and management of controls and therefore allows for setting of controls to be between the range of 0 and 1 rather than true/false


Line 109: Line 91:
|}
|}


==Functions==
=== Functions ===
[[setAnalogControlState]]
* [[setAnalogControlState]]
* [[getAnalogControlState]]


[[getAnalogControlState]]
=== Media ===
 
==Videos==
None.
None.


==General Notes==
=== General Notes ===
None.
None.


 
== Custom-Vehicle-Sirens ==
 
=Custom-Vehicle-Sirens=
Custom Vehicle Sirens allows adding sirens to any individual vehicle in the game for instance to add an undercover sultan.
Custom Vehicle Sirens allows adding sirens to any individual vehicle in the game for instance to add an undercover sultan.


Line 137: Line 116:
|}
|}


==Functions==
=== Functions ===
[[SetVehicleSirens]]
* [[SetVehicleSirens]]
 
* [[GetVehicleSirens]]
[[GetVehicleSirens]]
* [[RemoveVehicleSirens]]
 
* [[GetVehicleSirenParams]]
[[RemoveVehicleSirens]]
* [[AddVehicleSirens]]
 
[[GetVehicleSirenParams]]
 
[[AddVehicleSirens]]
 
==Videos==
http://www.youtube.com/watch?v=zjJdLCtKccA
 
http://www.youtube.com/watch?v=ZJDrVf3qSm0
 
http://www.youtube.com/watch?v=1J0_v85FioA


http://www.youtube.com/watch?v=X3zE6hZOx4c
=== Media ===
* http://youtu.be/zjJdLCtKccA
* http://youtu.be/ZJDrVf3qSm0
* http://youtu.be/1J0_v85FioA
* http://youtu.be/X3zE6hZOx4c


==General Notes==
=== General Notes ===
None.
None.


=Custom-Train-Tracks=
== Custom-Train-Tracks ==
Possible to make own train track.
Possible to make own train track.


Line 175: Line 147:
|}
|}


==Functions==
=== Functions ===
[[createTrainTrack]]
* [[createTrainTrack]]
* [[destroyTrainTrack]]
* [[setTrainTrackLength]]
* [[getTrainTrackLength]]
* [[setTrainTrackNumberOfNodes]]
* [[getTrainTrackNumberOfNodes]]
* [[getTrainTrackID]]
* [[getVehicleTrainTrack]]
* [[setVehicleTrainTrack]]
* [[getTrainTrackPosition]]


[[destroyTrainTrack]]
=== Media ===
None.


[[SetTrainTrackLength]]
=== General Notes ===
None.
[[Category: Development]]


[[GetTrainTrackLength]]
== Awesomium ==
Possibility to create ingame browser.


[[SetTrainTrackNumberOfNodes]]
{| class="wikitable" style="width: auto; table-layout: fixed;"
 
|-
[[GetTrainTrackNumberOfNodes]]
|'''Status'''
 
|<span style="color:orange">Working on</span>
[[GetTrainTrackID]]
|-
 
|'''Branch'''
[[GetVehicleTrainTrack]]
|[https://code.google.com/p/mtasa-blue/source/browse/#svn%2Fbranches%2Fawesomium Awesomium]
|-
|'''Branch version'''
|1.4
|}


[[SetVehicleTrainTrack]]
=== Functions ===
See [[User:Jusonex]].


[[GetTrainTrackPosition]]
=== Media ===
* http://youtu.be/9w2qU6mZDh8
* http://youtu.be/qvqc1ScZSbM
* http://youtu.be/cyUw1F6uBig


==Videos==
=== General notes ===
None.
See [[User:Jusonex]].
 
==General Notes==
None.
[[Category: Development]]

Revision as of 13:55, 8 August 2014

Weapon Creation

Weapon creation is a branch for creating weapon elements which can fire bullets and do not require ped/players assigned to them.

Status Merged - 1.3.1
Branch Weapon-Creation
Branch version 1.4

Functions


General Notes

Created entities are for all intent and purpose objects so any object function will work on them like attachElements, setElementAlpha and such.

Media

http://youtu.be/LN1nZZnzlms

Custom Animations

Custom Animations is a branch for loading animations from .ifp files

Status Abandoned
Branch Custom-Animations
Branch version 1.4

Functions

Media

http://youtu.be/D9YfVPiJniU

General Notes

See User:Cazomino05 for bugs.

Custom Weapon Stats

Custom Weapon Stats is a branch to allow people to edit one of each weapons "properties" for each skill level so for example an M4 at Pro level can have 1000 damage and an M4 at standard level can have 0.

Status Merged - 1.3.1
Branch Custom-Weapon-Stats
Branch version 1.4

Functions

Media

General Notes

None.

Analog Control States

Analog Control States is a branch that is designed to allow proper setting and management of controls and therefore allows for setting of controls to be between the range of 0 and 1 rather than true/false

This only works for certain properties such as left/right

Status Merged - 1.3.1
Branch Analog-Control-States
Branch version 1.4

Functions

Media

None.

General Notes

None.

Custom-Vehicle-Sirens

Custom Vehicle Sirens allows adding sirens to any individual vehicle in the game for instance to add an undercover sultan.

Status Merged - 1.3.1
Branch Custom-Vehicle-Sirens
Branch version 1.4

Functions

Media

General Notes

None.

Custom-Train-Tracks

Possible to make own train track.

Status Working on
Branch custom-train-tracks
Branch version 1.4

Functions

Media

None.

General Notes

None.

Awesomium

Possibility to create ingame browser.

Status Working on
Branch Awesomium
Branch version 1.4

Functions

See User:Jusonex.

Media

General notes

See User:Jusonex.