Branches: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
(28 intermediate revisions by 11 users not shown)
Line 1: Line 1:
== Weapon Creation ==
== Weapon Creation ==
Weapon creation is a branch for creating weapon elements which can fire bullets
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;"
|-
|'''Status'''
|<span style="color:green">Merged - 1.3.1</span>
|-
|'''Branch'''
|[https://github.com/multitheftauto/mtasa-blue/tree/weapon-creation Weapon-Creation]
|-
|'''Branch version'''
|1.4
|}


Status: In process
=== Functions ===
Branch: Weapon-Creation
{{Client_weapon_creation_functions}}
Branch version: 1.4


===Functions===
=== General Notes ===
weapon createWeapon(type, x, y, z)
Created entities are for all intent and purpose objects so any object function will work on them like attachElements, setElementAlpha and such.
type = weapon name e.g. M4
x, y, z = x,y,z position


bool fireWeapon(weapon)
=== Media ===
* http://youtu.be/LN1nZZnzlms


bool setWeaponState(weapon, state)
== Custom Animations ==
state = "ready", "firing" or "reloading"
Custom Animations is a branch for loading animations from .ifp files
{| class="wikitable" style="width: auto; table-layout: fixed;"
|-
|'''Status'''
|<span style="color:red">Abandoned</span>
|-
|'''Branch'''
|[https://github.com/multitheftauto/mtasa-blue/tree/Custom-Animations Custom-Animations]
|-
|'''Branch version'''
|1.4
|}
 
=== Functions ===
* [[engineLoadIFP]]
* [[engineUnloadIFP]]
 
=== Media ===
* http://youtu.be/D9YfVPiJniU
 
=== General Notes ===
See [[User:Cazomino05]] for bugs.


bool setWeaponProperty(weapon, property, value)
== Custom Weapon Stats ==
property = damage/accuracy
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.


== Custom animations ==
{| class="wikitable" style="width: auto; table-layout: fixed;"
Custom Animations is a branch for loading animations from .ifp files
|-
|'''Status'''
|<span style="color:green">Merged - 1.3.1</span>
|-
|'''Branch'''
|[https://github.com/multitheftauto/mtasa-blue/tree/Custom-Weapon-Stats Custom-Weapon-Stats]
|-
|'''Branch version'''
|1.4
|}
 
=== Functions ===
* [[getWeaponProperty]]
* [[setWeaponProperty]]
 
=== Media ===
* http://youtu.be/M1dQWpDFq98
* http://youtu.be/xfdEvpcuk7s
* http://youtu.be/eDU06fZiU9M
 
=== 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
 
{| class="wikitable" style="width: auto; table-layout: fixed;"
|-
|'''Status'''
|<span style="color:green">Merged - 1.3.1</span>
|-
|'''Branch'''
|[https://github.com/multitheftauto/mtasa-blue/tree/Analog-Control-States Analog-Control-States]
|-
|'''Branch version'''
|1.4
|}
 
=== Functions ===
* [[setAnalogControlState]]
* [[getAnalogControlState]]
 
=== 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.
 
{| class="wikitable" style="width: auto; table-layout: fixed;"
|-
|'''Status'''
|<span style="color:green">Merged - 1.3.1</span>
|-
|'''Branch'''
|[https://github.com/multitheftauto/mtasa-blue/tree/Custom-Vehicle-Sirens Custom-Vehicle-Sirens]
|-
|'''Branch version'''
|1.4
|}
 
=== Functions ===
* [[SetVehicleSirens]]
* [[GetVehicleSirens]]
* [[RemoveVehicleSirens]]
* [[GetVehicleSirenParams]]
* [[AddVehicleSirens]]
 
=== Media ===
* http://youtu.be/zjJdLCtKccA
* http://youtu.be/ZJDrVf3qSm0
* http://youtu.be/1J0_v85FioA
* http://youtu.be/X3zE6hZOx4c
 
=== General Notes ===
None.
 
== Custom-Train-Tracks ==
See the main page for this branch ([[Custom Train Tracks]]) for more information.
{{:Custom_Train_Tracks}}
 
== Awesomium ==
Possibility to create in-game browser.


Status: Abandoned
{| class="wikitable" style="width: auto; table-layout: fixed;"
Branch: Custom-Animations
|-
Branch version: 1.4
|'''Status'''
|<span style="color:green">Merged - 1.5</span>
|-
|'''Branch'''
|[https://github.com/multitheftauto/mtasa-blue/tree/awesomium Awesomium]
|-
|'''Branch version'''
|1.5
|}


===Functions===
=== Functions ===
weapon createWeapon(type, x, y, z)
See [[User:Jusonex]].
type = weapon name e.g. M4
x, y, z = x,y,z position


bool fireWeapon(weapon)
=== Media ===
* http://youtu.be/9w2qU6mZDh8
* http://youtu.be/qvqc1ScZSbM
* http://youtu.be/cyUw1F6uBig


bool setWeaponState(weapon, state)
=== General notes ===
state = "ready", "firing" or "reloading"
See [[User:Jusonex]].


bool setWeaponProperty(weapon, property, value)
[[Category: Development]]
property = damage/accuracy

Revision as of 19:54, 19 April 2020

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.