- Joined
- Jul 30, 2012
- Messages
- 1,227
- Reaction score
- 162
I will try to explain how those configs works. I will go line by line.i need someone who can explain me those doc
i will keep update this doc when there will be changed
its be nice to get some help here
<skill id="67118964" class="5" name="Arrow I" levels="1">
<set name="targetType" value="TARGET_ONE" />
<set name="range" value="470"/>
<set name="power" value="16" />
<set name="skillType" value="SINGLE_SHOT" />
<set name="operateType" value="ACTIVE" />
<set name="speed" value="1200" />
<set name="speedOffset" value="-600" />
<set name="hitTime" value="1000" />
<set name="reuseDelay" value="1000" />
<set name="delay" value="400" />
<set name="rangeType" value="RANGE_SKILL" />
<set name="owerturnMod" value="0.01" />
<set name="correctableTarget" value="true" />
<set name="implemented" value="true" />
<cond>
<using weapon="BOW" msg="Используется только с луком."/>
</cond>
</skill>
thank you for the assist i really appreciate itI can help with you translating datacenters xml to gamedata. Also using teradatabase we can go foward faster(those guys have done a lot of work for us xD). Where I still have a lot of doubts is on skills...I still dont know how to get monsters animations working in tera shock...
I will try to explain how those configs works. I will go line by line.
Skill ID is a number that represent(for the server) just a number who indentify the object. The server get that number and send it to the client as the animation ID. If you search in monsters skills, beside the skill id you will see other value named "iconId". The iconId is the real number which server sends to client but if it is not defined, it sends the id.Code:<skill id="67118964" class="5" name="Arrow I" levels="1">
class is the class number. It can be found in teradatabase.
name...well...name xD
levels is refer to the number of charges the power have. In this case it is set to 1 because the skill is just click 'nd throw(xD) But if you see charged arrow or another skill which have more than one hit, this numer will be higer
The targetType is a enum defined en the server core. To see what it could do its better to look on the source.Code:<set name="targetType" value="TARGET_ONE" />
Those values are what it's written.Code:<set name="range" value="470"/> <set name="power" value="16" />
Those are another two enums defined in server source.Code:<set name="skillType" value="SINGLE_SHOT" /> <set name="operateType" value="ACTIVE" />
This is the speed of the projectile(i thing...there is a time from the last time i worked with skills...the other guys who works with me should know more about this)Code:<set name="speed" value="1200" />
I can't say a thing about this...I will look into the source.Code:<set name="speedOffset" value="-600" />
I can't say a thing about this...I will look into the source. Later edit the post. Right now i'm in my lap and i cant check into the core.Code:<set name="hitTime" value="1000" />
Basically the cooldown of the skill.Code:<set name="reuseDelay" value="1000" />
delay is the time the player need to execute the skill.Code:<set name="delay" value="400" />
Another enum defined.... and i cant say what it does...i should look over.Code:<set name="rangeType" value="RANGE_SKILL" />
This two last values I am not very sure about what it does. owerturn is something related to monsters...I thing is the aggro or something like that.Code:<set name="owerturnMod" value="0.01" /> <set name="correctableTarget" value="true" />
correctableTarget I cant say right now. I should look into the core to see whats happening with this value.
This value just define if you can use the skill in game or not.Code:<set name="implemented" value="true" />
This is the condition needed to use the skill. Here you can put all the conds you need...if one of them isnt met the skill cannot be used.Code:<cond> <using weapon="BOW" msg="Используется только с луком."/> </cond>
End of xml tag.Code:</skill>
Forgive me for those aspects which i left without explanation. Later at home i will complete it.Maybe there are others aspects i did not mention but if you need help with specific ones just tell me. I took the first archer skill to give you some basic explain. Also tell me if you need more info about those enums i mentioned before.
P.S: My english isnt good, eh? hahahaha
@evestu
how you unpack the datacenter i tried like few week ago
* Data
* 1 Vehicle id
* Bay Gelding Name
* 111111 Skill Id
* 240 Vehicle Speed
* <Item id="20" name="skill_book1" coolTime="0" category="skillbook" level="11" icon="Icon_Items.SkillBook_Rider1_Tex" rank="0" maxStack="1" rareGrade="0" requiredEquipmentType="NO_COMBAT" combatItemType="SKILLBOOK" requiredLevel="11" equipSound="InterfaceSound.Equip_ItemCUE.Equip_BookCue" usedSound="InterfaceSound.UseItem.UseItemCue" artisanable="False" boundType="None" buyPrice="200000" changeColorEnable="False" changeLook="False" coolTimeGroup="0" destroyable="True" dismantlable="False" dropSilhouette="DropItem.SM.Item_Drop_Chest_SM" dropSound="InterfaceSound.Drop_ItemCUE.Drop_ChestBoxCue" enchantEnable="False" extractLook="False" guildWarehouseStorable="False" linkCrestId="0" linkCustomizingId="0" linkEquipmentId="0" linkLookInfoId="0" linkPetAdultId="0" linkPetOrbId="0" linkSkillId="111111" masterpieceRate="0" obtainable="True" sellPrice="20000" slotLimit="0" sortingNumber="0" storeSellable="False" tradable="False" unidentifiedItemGrade="0" useOnlyTerritory="False" warehouseStorable="True" />
* (Item From ItemData.xml)
* <String id="20" toolTip="Use this manual to learn how to summon a Brown Horse with a movement speed of 240." string="Riding Skill: Bay Gelding" />
* (Item Text From StrSheet_Item.xml)
* <Vehicle id="1" scale="1.2" size="medium" shapeId="700020" spawnEffectId="50442" speed="240" basicActionId="7000200" saddle="saddle" animTypeName="R01" mountAngle="0" mountDistance="0" mountZ="0" riderSpawnEffectId="9010" />
* <RaceOverride scale="0.95" gender="male" race="human" mountAngle="0" mountDistance="0" mountZ="0" />
* <RaceOverride scale="0.95" gender="female" race="human" mountAngle="0" mountDistance="0" mountZ="0" />
* <RaceOverride scale="0.95" gender="male" race="highelf" mountAngle="0" mountDistance="0" mountZ="0" />
* <RaceOverride scale="0.95" gender="male" race="popori" mountAngle="0" mountDistance="0" mountZ="0" />
* <RaceOverride scale="0.95" gender="female" race="highelf" mountAngle="0" mountDistance="0" mountZ="0" />
* <RaceOverride scale="0.95" gender="male" race="castanic" mountAngle="0" mountDistance="0" mountZ="0" />
* <RaceOverride scale="0.95" gender="female" race="aman" mountAngle="0" mountDistance="0" mountZ="0" />
* <RaceOverride scale="0.9" gender="female" race="castanic" mountAngle="0" mountDistance="0" mountZ="0" />
* <RaceOverride scale="0.85" gender="female" race="popori" mountAngle="0" mountDistance="0" mountZ="0" />
* (Vehicle Data From VehicleData.xml)
* <VehicleSkill skillId="111111" vehicleId="1" />
* (Vehicle Skill Data From VehicleSkillData.xml)
actually what he did he changed the opcode from oldest version to latest na version as you know na version have great featuresIf i may ask why use NA version is it more updated then EU version or outdated?
Does it have more features? If NA is better i will help with project.
actually what he did he changed the opcode from oldest version to latest na version as you know na version have great features
and he fixed few thing but the emulator need lot of work now
So This NA Emulator Is More Updated Then The EU Tera Shock Server We Got?
Which one would be better to use?
i think this one is just started on development, far away from playable server.
But i hope this emulator can be full working some day.
if you wish to use the newest client of tera this the place. or if you prefer to use the old not that stable tera shock emulator let me know you its for pvp only
Evestu, in first post you said new class have been added, but why i cannot create gunner class with your files? do it need to be edited or modified to able create new class character?