Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 17.06.2006, 14:39   #1
Alien003
Архивный участник
 
Join Date: Jun 2005
Posts: 143
Default Skilleffects and other skilldata stuff

I'm searching for information how to add new effects to skills, or even adding anything new to the skilldata

so everyone that knows something about it could leave me a pm? I'll post a tutorial how to make/add one in the end, if someone gives me some tips.

(its doesn't need to be very hex specific, just a few tips would be great)
Alien003 is offline  
Old 22.06.2006, 22:44   #2
Alien003
Архивный участник
 
Join Date: Jun 2005
Posts: 143
Default

since noone posted, I'll reply a bit myself

Tips

1º everything you can find in the rdata about skills is just debug information, good for finding functions names, nothing else

2º the skilldata file is fully parsed by yacc. The effect names are NOT compared with names in memory, everything is done using parser states. So to add a new skill effect directly in the skilldata file we would need to re-write a the parser completly

Forget that!

3º there are 3 important structs for skills
CSkillInfo, CSkillEffect. and another one that I dont know the name , lets call it CSkillParam (oh and also a CSkillAction , but I'm not sure what for, or if its the one that I dont know the name)

then a skill is readed from skilldata it creates a CSkillInfo,
a CSkillInfo has a list of CSkillParam
each CSkillParam has a pointer to a CSkillEffect and the parameters for that skill in the skilldata

the CSkillEffect has 6 functions pointers

So I guess that with that information you guys can find a way to do the rest, I did.

I could post more ..but since noone tryed to help, I dont feel that I should.
Alien003 is offline  
Old 22.06.2006, 23:36   #3
khul
Архивный участник
 
Join Date: Oct 2005
Posts: 153
Default

thanks for the information Alien003 maybe some1 else will se the light the way you did on this matter.
khul is offline  
Old 24.06.2006, 04:06   #4
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

Please do post. Noone prolly knew about it even, forget helping
tpuNIsher is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:04.