Register    Login    Forum    Search    FAQ

Board index » Spellforce 1 » Mods




Post new topic Reply to topic  [ 107 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next
Author Message
 Post subject: Modding gamedata
 Post Posted: Sun May 03, 2015 10:01 am 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 539
here is offsets:

viewtopic.php?f=29&t=249

UPDATED 2015 10 26

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post subject: Re: Modding gamedata
 Post Posted: Sun May 03, 2015 10:59 pm 
Offline
User avatar

Joined: Fri May 01, 2015 3:26 pm
Posts: 25
Location: Poland
Thank you for this. I think it would also be good to know, what each byte means in these sections, for example:

a) as of skills requirements:
04 0A 00 00 00 00 32 00 3C


ability type:
01 = Light Combat Arms,
02 = Heavy Combat Arms,
03 = Ranged Combat,
04 = White Magic,
05 = Elemental Magic,
06 = Mind Magic,
07 = Black Magic,



ability level



stats in the following order:
- Strength,
- Stamina,
- Agility,
- Dexterity,
- Charisma,
- Intelligence,
- Wisdom.


I'm hoping to solve more codes.


Also, where do you get spells, heroes, items, merchants and such ids from? :D


Top 
 Profile  
Reply with quote  
 Post subject: Re: Modding gamedata
 Post Posted: Mon May 04, 2015 12:11 am 
Offline
User avatar

Joined: Fri May 01, 2015 3:26 pm
Posts: 25
Location: Poland
I've found something messy, although interesting:
http://gmclan.org/uploader/5605/Id_prze ... e___1_.txt

Edit:
Nevermind, here's the thing in better style:
http://forum.spellforce.com/showthread.php?p=773896


Top 
 Profile  
Reply with quote  
 Post subject: Re: Modding gamedata
 Post Posted: Mon May 04, 2015 4:24 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 539
IDs are in lua files:
sql_building
sql_item
sql_object
sql_spellline
sql_unit

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post subject: Re: Modding gamedata
 Post Posted: Mon May 04, 2015 4:27 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 539
viewtopic.php?p=416#p416

here I have list of units, objects, buildings (objects are unfinished)

item's list also is in this forum (source from official forum)

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post subject: Re: Modding gamedata
 Post Posted: Mon May 04, 2015 4:34 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 539
item stats order:

Strength
Stamina
Agility
Dexterity
Health
Charisma
Intelligence
Wisdom
Mana
Armor Class
fire magic resistance
ice magic resistance
black magic resistance
mind magic resistance
run speed
fight speed
cast speed

item type IDs:

helmet 01 01
upper armor 01 02
lower armor 01 03
ring 01 06
1H weapon 01 07
2H weapon 01 08
shield 01 09
robe/full body armor 01 0A
figure NPC/enemy/animal 01 0B
xbow/bow 01 0C
figure hero army units 01 0D
rune hero in inventory 02 00
rune workers in inventory 02 0X (X=1-6 race type)
rune hero added 03 00
rune workers added 03 0X (X=1-6 race type)
scroll 04 00
spell 05 00
unit plan in inventory 06 0X (X=1-6 race type)
building plan in inventory 07 0X (X=1-6 race type)
unit plan added 08 0X (X=1-6 race type)
building plan added 09 0X (X=1-6 race type)
quest item or jewelery 0A 00
blank scrolls lvl 1-20 0B 00

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post subject: Re: Modding gamedata
 Post Posted: Mon May 04, 2015 4:46 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 539
here is more detailed skills and spells IDs:

LC :
piercing 01 01
blade 01 02
blunt 01 03
armor 01 04

HC:
blade 02 01
blunt 02 02
armor 02 03
shield 02 04

RC:
bow 03 01
xbow 03 02

WM:
life 04 01
nature 04 02
boons 04 03

EM:
fire 05 01
ice 05 02
earth 05 03

MM:
enchantment 06 01
offensive 06 02
defensive 06 03

BM:
death 07 01
necro 07 02
curse 07 03

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post subject: Re: Modding gamedata
 Post Posted: Mon May 04, 2015 5:14 pm 
Offline
User avatar

Joined: Tue Jul 17, 2012 10:37 pm
Posts: 13
Thanks, this is a useful info.
I have one question. What is "spell ui"?


Top 
 Profile  
Reply with quote  
 Post subject: Re: Modding gamedata
 Post Posted: Mon May 04, 2015 7:25 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 539
spell ui is icon/button in game

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post subject: Re: Modding gamedata
 Post Posted: Fri May 15, 2015 4:08 pm 
Offline
User avatar

Joined: Tue Jul 17, 2012 10:37 pm
Posts: 13
Thank you so much!
Good job!


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 107 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next

Board index » Spellforce 1 » Mods


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
www.000webhost.com