Branches: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(added custom-train-track branch)
mNo edit summary
 
(24 intermediate revisions by 11 users not shown)
Line 1: Line 1:
=Weapon Creation=
{{Needs Checking|This article is outdated}}
 
== 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 7: Line 9:
|-
|-
|'''Branch'''
|'''Branch'''
|[http://code.google.com/p/mtasa-blue/source/browse/#svn%2Fbranches%2Fweapon-creation Weapon-Creation]
|[https://github.com/multitheftauto/mtasa-blue/tree/weapon-creation Weapon-Creation]
|-
|-
|'''Branch version'''
|'''Branch version'''
Line 13: Line 15:
|}
|}


==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 42: Line 32:
|-
|-
|'''Branch'''
|'''Branch'''
|[http://code.google.com/p/mtasa-blue/source/browse/#svn%2Fbranches%2FCustom-Animations Custom-Animations]
|[https://github.com/multitheftauto/mtasa-blue/tree/Custom-Animations Custom-Animations]
|-
|-
|'''Branch version'''
|'''Branch version'''
Line 48: Line 38:
|}
|}


==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 is a branch to allow people to edit one of each weapon "properties" for each skill level
=Custom Weapon Stats=
so, for example, an M4 at the Pro level can have 1000 damage and an M4 at a standard level can have 0.
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.


{| class="wikitable" style="width: auto; table-layout: fixed;"
{| class="wikitable" style="width: auto; table-layout: fixed;"
Line 69: Line 58:
|-
|-
|'''Branch'''
|'''Branch'''
|[http://code.google.com/p/mtasa-blue/source/browse/#svn%2Fbranches%2FCustom-Weapon-Stats Custom-Weapon-Stats]
|[https://github.com/multitheftauto/mtasa-blue/tree/Custom-Weapon-Stats Custom-Weapon-Stats]
|-
|-
|'''Branch version'''
|'''Branch version'''
Line 75: Line 64:
|}
|}


==Functions==
=== Functions ===
[[getWeaponProperty]]
* [[getWeaponProperty]]
 
* [[setWeaponProperty]]
[[setWeaponProperty]]
 
==Videos==
http://www.youtube.com/watch?v=M1dQWpDFq98


http://www.youtube.com/watch?v=xfdEvpcuk7s
=== Media ===
* http://youtu.be/M1dQWpDFq98
* http://youtu.be/xfdEvpcuk7s
* http://youtu.be/eDU06fZiU9M


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


 
== Analog Control States ==
 
The Analog Control States is a branch that is designed to allow proper setting and management of controls and therefore allows for the setting of controls to be between the range of 0 and 1 rather than true/false
=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
This only works for certain properties such as left/right
Line 103: Line 87:
|-
|-
|'''Branch'''
|'''Branch'''
|[http://code.google.com/p/mtasa-blue/source/browse/#svn%2Fbranches%2FAnalog-Control-States Analog-Control-States]
|[https://github.com/multitheftauto/mtasa-blue/tree/Analog-Control-States Analog-Control-States]
|-
|-
|'''Branch version'''
|'''Branch version'''
Line 109: Line 93:
|}
|}


==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 131: Line 112:
|-
|-
|'''Branch'''
|'''Branch'''
|[http://code.google.com/p/mtasa-blue/source/browse#svn%2Fbranches%2FCustom-Vehicle-Sirens Custom-Vehicle-Sirens]
|[https://github.com/multitheftauto/mtasa-blue/tree/Custom-Vehicle-Sirens Custom-Vehicle-Sirens]
|-
|-
|'''Branch version'''
|'''Branch version'''
Line 137: Line 118:
|}
|}


==Functions==
=== Functions ===
[[SetVehicleSirens]]
* [[SetVehicleSirens]]
* [[GetVehicleSirens]]
* [[RemoveVehicleSirens]]
* [[GetVehicleSirenParams]]
* [[AddVehicleSirens]]


[[GetVehicleSirens]]
=== Media ===
* http://youtu.be/zjJdLCtKccA
* http://youtu.be/ZJDrVf3qSm0
* http://youtu.be/1J0_v85FioA
* http://youtu.be/X3zE6hZOx4c


[[RemoveVehicleSirens]]
=== General Notes ===
None.


[[GetVehicleSirenParams]]
== Custom-Train-Tracks ==
See the main page for this branch ([[Custom Train Tracks]]) for more information.
{{:Custom_Train_Tracks}}


[[AddVehicleSirens]]
== Awesomium ==
 
Possibility to create in-game browser.
==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
 
==General Notes==
None.
 
=Custom-Train-Tracks=
Possible to make own train track.


{| class="wikitable" style="width: auto; table-layout: fixed;"
{| class="wikitable" style="width: auto; table-layout: fixed;"
|-
|-
|'''Status'''
|'''Status'''
|<span style="color:orange">Working on</span>
|<span style="color:green">Merged - 1.5</span>
|-
|-
|'''Branch'''
|'''Branch'''
|[http://code.google.com/p/mtasa-blue/source/browse/#svn%2Fbranches%2Fcustom-train-tracks custom-train-tracks]
|[https://github.com/multitheftauto/mtasa-blue/tree/awesomium Awesomium]
|-
|-
|'''Branch version'''
|'''Branch version'''
|1.4
|1.5
|}
|}


==Functions==
=== Functions ===
[[createTrainTrack]]
See [[User:Jusonex]].
 
[[destroyTrainTrack]]


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


[[GetTrainTrackLength]]
=== General notes ===
See [[User:Jusonex]].


[[SetTrainTrackNumberOfNodes]]
[[GetTrainTrackNumberOfNodes]]
[[GetTrainTrackID]]
[[GetVehicleTrainTrack]]
[[SetVehicleTrainTrack]]
[[GetTrainTrackPosition]]
==Videos==
None.
==General Notes==
None.
[[Category: Development]]
[[Category: Development]]
[[Category:Archived]]

Latest revision as of 05:35, 9 July 2024

Dialog-information.png This article needs checking.

Reason(s): This article is outdated

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

Custom Animations

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

Status Abandoned
Branch Custom-Animations
Branch version 1.4

Functions

Media

General Notes

See User:Cazomino05 for bugs.

Custom Weapon Stats

Custom Weapon Stats is a branch to allow people to edit one of each weapon "properties" for each skill level so, for example, an M4 at the Pro level can have 1000 damage and an M4 at a 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

The Analog Control States is a branch that is designed to allow proper setting and management of controls and therefore allows for the 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

See the main page for this branch (Custom Train Tracks) for more information. This branch makes it possible to make your own train tracks.

Status Work in progress
Branch feature/custom-train-tracks
Branch version 1.5.3

Functions

Media

Awesomium

Possibility to create in-game browser.

Status Merged - 1.5
Branch Awesomium
Branch version 1.5

Functions

See User:Jusonex.

Media

General notes

See User:Jusonex.