Branches: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
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.


Status: In process
Status: In process
Branch: Weapon-Creation
Branch: Weapon-Creation
Branch version: 1.4
Branch version: 1.4


Line 27: Line 30:
==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


Status: Abandoned
Status: Abandoned
Branch: Custom-Animations
Branch: Custom-Animations
Branch version: 1.4
Branch version: 1.4


===Functions===
===Functions===
???
???
===Videos===
http://www.youtube.com/watch?v=D9YfVPiJniU
==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
Branch: Custom-Weapon-Stats
Branch version: 1.4
===Functions===
[[getWeaponProperty]]
[[setWeaponProperty]]


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

Revision as of 19:42, 21 June 2012

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: In process

Branch: Weapon-Creation

Branch version: 1.4

Functions

weapon createWeapon(type, x, y, z) type = weapon name e.g. M4 x, y, z = x,y,z position

bool fireWeapon(weapon)

bool setWeaponState(weapon, state) state = "ready", "firing" or "reloading"

bool setWeaponProperty(weapon, property, value) 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.

Videos

http://www.youtube.com/watch?v=LN1nZZnzlms

Custom Animations

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


Status: Abandoned

Branch: Custom-Animations

Branch version: 1.4

Functions

???

Videos

http://www.youtube.com/watch?v=D9YfVPiJniU

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

Branch: Custom-Weapon-Stats

Branch version: 1.4

Functions

getWeaponProperty

setWeaponProperty

Videos

http://www.youtube.com/watch?v=D9YfVPiJniU