BA
action

Flying system tfs 1.2

Por BananaFight, 15 de mai. de 2016 em Programming Show-Off

4
2.6k
BananaFightB
15 de maio de 2016 às 03:34

Fly System é um sistema que permite ao player voar pelo mapa em locais aonde antes não era possível.

 

YbUJ9mI.png

 

Arrumando algumas coisas na source, comando /fly on, off, up, down funcionando, nova variável no player isFlying, canFly ( salvo no MySql )

 

Bugs

- Descer em itens bloqueáveis.

 

Changelog

Spoiler
Changelog V 2.0Legends	- = Var	* = Method	+ = Code InsertionAdd {	Lua - Talkactions		+ /fly on, off, up, down	Lua - CreatureScripts		+ OnWalk}Removed ( Performance ) {	Tile		- isFlyTile		* setIsFlyTile		* getIsFlyTIle}Edit {	Game		* createFlyTile		* removeFlyTile	Lua - CreatureScripts		+ OnLogin ( Add Code When is Flying )}Changelog V 1.0Legends	- = Var	* = Method	+ = Code InsertionAdd {	Tile		- isFlyTile		* setIsFlyTile		* getIsFlyTIle	Game		* createFlyTile		* removeFlyTile	CreatureEvents		- CreatureEventType_t::CREATURE_EVENT_ON_WALK		* executeOnWalk	LuaScripts		* luaGameCreateFlyTile (Game.createFlyTile)		* luaGameRemoveFlyTile (Game.removeFlyTile)}Edit {	Creature::onWalk		+ moveEvent->executeOnWalk(this, fromPos, toPos)}

 

 

To do

 

To Do- Done

 

Editado Maio 15 por BananaFight

Luga03L
15 de maio de 2016 às 06:16

É bom para quem não tem a mínima noção de onde começar vê essas funções e já tentar fazer seu próprio fly :D

BananaFightB
15 de maio de 2016 às 23:44

 

V 2

 

 

YbUJ9mI.png

 

 

 

 

Arrumando algumas coisas na source, comando /fly on, off, up, down funcionando, nova variável no player isFlying, canFly ( salvo no MySql )

 

 

 

 

 

Bugs

 

 

- Descer em itens bloqueáveis.

 

 

AdministradorA
16 de maio de 2016 às 12:44

Opa, acompanhando o desenvolvimento !

A ideia é ótima!