[DEV]New Options in intro scripting ,
Hello ... there is alot of options available in intro scripting such like ...
1- Weather , and Dust
2- Characters appear in the script
if you remember in Cons. intro there was about 150 character in the intro appear , some are walking , and others are trading , riding horses and running
like in here ...
silkroad hack Sro_loader - YouTube
it was so hard to find ... so it in this video in 3:50
and in roc intro , some time it have some dust in the screen , and some time no ..
also i found an old video , i think it is by Synx7
SRO - Test Login script - YouTube
I Hope we found the way to make it , iit will be so cool ..
:w00t:
Re: [DEV]New Options in intro scripting ,
Hey, it's very easy to create characters on intro script. Here's my intro I made for my private server coming soon.
Here's the command to create character:
0 S_ObjectCreateIndex [Name to the char on the script] [Skin 1~12=Male CH,13~24=Female CH | 25~36=Male EU,37~48=Female EU] [X-Map] [Y-Map] [Coord X] [Coord Z] [Coord Y] [Pos Pj's 360º] [Heigh of the char]
To make a set:
0 S_ObjectEquipSetIndex [Name of the char to asign the items] [Lvl of the char: 1~100] [kind of set: 1=Garment/Robe, 2=Protector/Light Armor, 3=Armor/Heavy Armor] [Weapon of the char] [1 = Hat, 0 = Hatless(?)]
To move character:
0 S_ObjectMoveTo [Name of the item for move] [X-Map destiny] [Y-Map destiny] [Coord X Destiny] [Coord Z Destiny] [Coord Y Destiny]
However, I'm still looking how to make horses or mobs.
I know there's a command to spawn mobs S_ObjectCreate but using this command my client just crash. No idea why.
That's all I know. If you have more info, please share. Thank you
Code:
/*Script by Simas - info@deadravine.net*/
[CAMERA]
0.0 S_CameraInsert 0.0 149 98 380.98 85.95 1554.66 0.296 3.965 0.000 10
0.0 S_CameraInsert 3.0 149 98 41.00 26.27 1255.43 -0.014 4.040 0.000 10
0.0 S_CameraInsert 7.0 149 98 -549.56 38.30 798.20 -0.024 4.020 0.000 10
0.0 S_CameraInsert 11.0 149 98 -1136.65 161.24 493.21 -0.079 3.420 0.351 10
0.0 S_CameraInsert 15.0 149 98 -1268.96 148.43 -125.29 0.326 3.405 -0.009 10
0.0 S_CameraInsert 21.0 149 98 -1659.88 -256.36 -1556.25 -0.044 3.465 0.061 10
0.0 S_CameraInsert 25.0 149 98 -2085.11 -203.87 -2794.97 -0.019 3.505 0.061 10
0.0 S_CameraInsert 28.0 149 98 -2286.60 -94.55 -3903.34 -0.024 3.945 -0.360 10
0.0 S_CameraInsert 31.0 149 98 -2985.69 -87.07 -4356.60 0.001 3.465 0.515 10
0.0 S_CameraInsert 34.0 149 98 -3259.61 -68.43 -5340.80 -0.104 4.400 -0.490 10
0.0 S_CameraInsert 37.0 149 98 -4832.76 52.06 -5678.37 -0.089 4.155 0.254 10
0.0 S_CameraInsert 40.0 149 98 -5644.71 195.70 -5891.04 -0.379 3.315 0.381 10
0.0 S_CameraInsert 43.0 149 98 -6082.19 708.38 -6495.80 -0.394 1.400 0.497 10
0.0 S_CameraInsert 47.0 149 98 -5493.42 1172.58 -6336.44 -0.004 0.915 0.685 10
0.0 S_CameraInsert 50.0 149 98 -4705.63 1250.19 -5920.31 -0.229 2.155 -0.469 10
0.0 S_CameraInsert 53.0 149 98 -4086.08 1328.59 -6186.15 -0.209 2.160 -0.003 10
[SCRIPT]
//Sky settings
0.0 S_SetWorldTime 12
16.0 S_SetWorldTime 24
47.0 S_SetWorldTime 12
//Character creation
0.0 S_ObjectCreateIndex laukas1 9 149 98 -549.56 38.30 798.20 270 1
0.0 S_ObjectCreateIndex laukas2 4 148 98 1345.00 20.46 766.00 270 1
5.0 S_ObjectCreateIndex laukas3 12 148 97 1049.33 -25.69 890.75 270 1
5.0 S_ObjectCreateIndex laukas4 13 148 97 273.79 -75.06 1190.29 270 1
29.0 S_ObjectCreateIndex tiltas1 16 146 94 652.61 995.07 1611.84 270 1
29.0 S_ObjectCreateIndex tiltas2 9 146 94 580.44 1013.76 1772.33 270 1
30.0 S_ObjectCreateIndex bokstas1 5 146 94 1826.20 1298.40 1456.30 285 1
30.0 S_ObjectCreateIndex bokstas2 15 146 94 1785.54 1298.34 1370.46 215 1
//Character equipment
0 S_ObjectEquipSetIndex laukas1 36 1 2 1
0 S_ObjectEquipSetIndex laukas2 42 2 5 1
5 S_ObjectEquipSetIndex laukas3 54 5 1 1
5 S_ObjectEquipSetIndex laukas4 33 3 3 1
29 S_ObjectEquipSetIndex tiltas1 90 1 2 1
29 S_ObjectEquipSetIndex tiltas2 90 1 3 1
30 S_ObjectEquipSetIndex bokstas1 74 1 3 1
30 S_ObjectEquipSetIndex bokstas2 74 1 2 1
//Character movement
0 S_ObjectMoveTo laukas1 149 98 -1268.96 148.43 -125.29
0 S_ObjectMoveTo laukas2 149 98 -1268.96 148.43 -125.29
5 S_ObjectMoveTo laukas3 148 97 210.98 -275.33 335.85
5 S_ObjectMoveTo laukas4 148 97 186.10 -220.98 -190.21
//Skill casting
38 S_DecoSkillTarget skill01 tiltas1 tiltas2 SKILL_CH_FIRE_GIGONGSUL_F 2.5
38 S_DecoSkillTarget skill02 tiltas2 tiltas1 SKILL_CH_COLD_GIGONGSUL_C 2.5
41 S_DecoSkillTarget skill03 tiltas1 tiltas2 SKILL_CH_COLD_GIGONGSUL_E 2.5
41 S_DecoSkillTarget skill04 tiltas2 tiltas1 SKILL_CH_LIGHTNING_JIPJUNG_C 1
42 S_DecoSkillTarget skill05 tiltas2 tiltas1 SKILL_CH_LIGHTNING_JIPJUNG_D 1
43 S_DecoSkillTarget skill06 tiltas2 tiltas1 SKILL_CH_LIGHTNING_JIPJUNG_E 1
44 S_DecoSkillTarget skill07 tiltas2 tiltas1 SKILL_CH_LIGHTNING_STORM_E 2.5
44 S_DecoSkillTarget skill08 tiltas1 tiltas2 SKILL_CH_FIRE_GIGONGSUL_G 2.5
47 S_DecoSkillTarget skill09 tiltas2 tiltas1 SKILL_CH_FIRE_GIGONGSUL_D 2.5
//Character deletion
20 S_ObjectRelease laukas1
20 S_ObjectRelease laukas2
30 S_ObjectRelease laukas3
30 S_ObjectRelease laukas4
52 S_ObjectRelease tiltas1
52 S_ObjectRelease tiltas2
[END]