FOnline Development > 3D Development
3d models development
pistacja:
if it's something like this:
--- Code: ---switch(some_int)
{
case 1: handle=1; break;
case 2: handle=2; break;
//and so on...
case 999: handle=999; break;
default: handle=-1;
}
--- End code ---
Then the proper thing to do would be
--- Code: ---handle=some_int;
--- End code ---
Karpov:
I don't know about coding pistacja, do you think this whole number list can be replaced by a single line? That would be better.
However, my brother helped me with the Excel sheet, and now I have 500 lines in the file working just fine.
https://www.youtube.com/watch?v=szOILtpP2yc
pistacja:
I also know little about coding and absolutely nothing about scripts in fonline. However the switch/case syntax looks kind of like C.
This code does the same:
--- Code: ---switch(some_int)
{
case 1: handle=1; break;
case 2: handle=2; break;
//and so on...
case 999: handle=999; break;
default: handle=-1;
}
--- End code ---
..as this code...
--- Code: ---if(some_int==1) handle=1;
else if(some_int==2) handle=2;
else if(some_int==3) handle=3;
//and so on...
else if(some_int==999) handle=999;
else handle=-1;
--- End code ---
..and this code
--- Code: ---//optional check
if(some_int!=Null)
handle=some_int;
else
handle=-1;
--- End code ---
..anywho, video looks promising ;)
Perteks:
Woa damn dude those models are great. But about Tesla its possible to turn that sparkles after hits for like 2-3 s it will be even more badass
Lizard:
Looks pretty good with Teslaarmor. Awesome animations! :D
Are you going to do the human NPC animations next?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version