Branches: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(37 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{Needs Checking|This article is outdated}}
== 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;"
|-
|'''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
|}
=== Functions ===
{{Client_weapon_creation_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
{| 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.
== 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.
{| 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-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.


Status: In process
== Analog Control States ==
Branch: Weapon-Creation
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
Branch version: 1.4


===Functions===
This only works for certain properties such as left/right
weapon createWeapon(type, x, y, z)
type = weapon name e.g. M4
x, y, z = x,y,z position


bool fireWeapon(weapon)
{| 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
|}


bool setWeaponState(weapon, state)
=== Functions ===
state = "ready", "firing" or "reloading"
* [[setAnalogControlState]]
* [[getAnalogControlState]]


bool setWeaponProperty(weapon, property, value)
=== Media ===
property = damage/accuracy
None.


===General Notes===
=== General Notes ===
Created entities are for all intent and purpose objects so any object function will work on them like attachElements, setElementAlpha and such.
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.


===Videos===
== Custom-Train-Tracks ==
http://www.youtube.com/watch?v=LN1nZZnzlms
See the main page for this branch ([[Custom Train Tracks]]) for more information.
{{:Custom_Train_Tracks}}


== Custom animations ==
== Awesomium ==
Custom Animations is a branch for loading animations from .ifp files
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
[[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.