Register    Login    Forum    Search    FAQ

Board index » Spellforce 1 » Editor




Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post Posted: Sun Aug 09, 2015 10:23 am 
Offline
User avatar

Joined: Sun Aug 09, 2015 10:18 am
Posts: 23
Hello,

i am building some maps with the editor and i have a question regarding the spawn points.
Is there any way to edit or add new spawngroups ?
There are so many different units in SpellForce, yet you are limited to the available spawn groups in the editor.


Top 
 Profile  
Reply with quote  
 Post Posted: Mon Aug 10, 2015 3:26 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 548
you can edit spawn points in gdsrtscoopspawngroups.lua file

also if you host a game with edited this script, then it will work for everyone, other players don't need edited version of script (only gamedata.cff is required the same)

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post Posted: Mon Aug 10, 2015 10:24 pm 
Offline
User avatar

Joined: Sun Aug 09, 2015 10:18 am
Posts: 23
Hi,

thanks for the reply, but can you tell me where i find the gdsrtscoopspawngroups.lua ?
I am using the StandAlone Editor from NeoX, because its the only version working for me.
Additionally I am not so experienced with modding itself, and never used anything else for SpellForce than the editor and ArtMoney, but I have a basic understanding of programming.

/Edit:
Just found this http://forum.spellforce.com/archive/ind ... 67730.html and trying to get into it


Top 
 Profile  
Reply with quote  
 Post Posted: Mon Aug 10, 2015 11:17 pm 
Offline
User avatar

Joined: Sun Aug 09, 2015 10:18 am
Posts: 23
Allright, after i found the decompiled files from Artofeel, i was able to get it to work within minutes.
Thank you :)


Top 
 Profile  
Reply with quote  
 Post Posted: Sun Aug 16, 2015 11:53 pm 
Offline
User avatar

Joined: Sun Aug 09, 2015 10:18 am
Posts: 23
Hi,

another question, is it possible to edit the interaction between races in a way, that for example orcs and skelettons don't attack each other ?


Top 
 Profile  
Reply with quote  
 Post Posted: Mon Aug 17, 2015 3:16 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 548
yes, you can change unit stats in gamedata.cff file

example:

19 00 1E 00 7E 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 00 00 1E 00 1E 00 1E 00 1E 00 78 00 78 00 78 00 64 00 00 00 00 00 00 00 02 05 00 01

19 00 - unit stats ID
1E 00 - unit level
7E - unit race/hostility towards other units (this value must be the same if you want orcs and skeletons be friendly)
3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 3C 00 00 00 1E 00 1E 00 1E 00 1E 00 78 00 78 00 78 00 64 00 - STR, STA, DEX, AGI, WIS, INT, CHA, fire/ice/mind/black resist, run/fight/cast speed, unit height

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post Posted: Wed Mar 02, 2016 6:32 pm 
Offline
User avatar

Joined: Wed Mar 02, 2016 6:28 pm
Posts: 11
Location: Germany
Can someone tell me how to edit the lua file exactly?
I tried with wordpad but this didnt work well.
Please help


Top 
 Profile  
Reply with quote  
 Post Posted: Thu Mar 03, 2016 4:34 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 548
first you need to decompile it and then open with text editor; notepad++ is best, in my opinion

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post Posted: Fri Mar 04, 2016 11:12 am 
Offline
User avatar

Joined: Wed Mar 02, 2016 6:28 pm
Posts: 11
Location: Germany
Thx, editing works fine now but I can't find my new Spawn group in the Editor. Maybe I saved lua file wrong?
It's in Spellforce folder


Top 
 Profile  
Reply with quote  
 Post Posted: Fri Mar 04, 2016 4:55 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 548
you need to have extracted all *.pak files, and then save it in spellforce\script folder

_________________
Tempus et vita, tempus et mortis


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

Board index » Spellforce 1 » Editor


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:  
www.000webhost.com