Register    Login    Forum    Search    FAQ

Board index » Spellforce 1 » Mods » Suggestions




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post Posted: Fri Dec 28, 2012 7:29 pm 
Offline
User avatar

Joined: Fri Dec 28, 2012 7:21 pm
Posts: 2
First off,I have a question; Is it possible to make summoned creatures IE: Skeleton,Bear,Wolf,etc. fully controllable? Such as a typical worker or soldier.

That would also be a worthwhile suggestion,as it doesn't make sense that Hokan Ashir isn't forced to be stalked around pointlessly by hordes of undead,and the avatar would be. :?

I'd very much like a reply,and if I could get an explanation as to how to do it,I'd very much enjoy an explanation. :)
(Also,if I could get an explanation on how to change what is summoned,that would be lovely,I read that you[Rupuz] figured that out on the official form without an explanation as to how)

Thank you,regardless of if you know how to do it or not. :D


Top 
 Profile  
Reply with quote  
 Post Posted: Sat Dec 29, 2012 9:58 am 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 519
hello,

yes I didn't explain how to change what is summoned
it's simple, but I'm bad at explaining things, so I'll try with example:

1. I'll pick summon skeleton lvl 1
2. find out value of that spell: from sql_spelline.lua file value is 29 (in hex 1D) for summonskeleton spell
3. then search: 1D 00 07 02 01
4. I found this 1F 00 1D 00 07 02 01 00 00 00 00 00 00 00 00 00 0F 00 B8 0B 00 00 70 17 00 00 00 00 05 00 02 01 70 17 00 00 01 00 00 00 61 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
5. look for last value except nulls: 61 02 (converted 02 61 = 609; 609 value is Skeleton, enemy, lvl 1)
6. you can change that value to any unit's value; that's all

and if you want to get fully controllable unit, then you need to create lua script for each map

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post Posted: Mon Dec 31, 2012 8:01 pm 
Offline
User avatar

Joined: Fri Dec 28, 2012 7:21 pm
Posts: 2
Alright,thanks to you I figured it out.

Now,if I might ask,would you be able to supply me with an example for the Lua script,or maybe point be to which file already in Spellforce that I could find an example?
Perhaps the Greyfell lua script with the Dawn Knights in the beginning?
I'll see if I can find you,but thanks again.


Top 
 Profile  
Reply with quote  
 Post Posted: Tue Jan 01, 2013 12:24 am 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 519
I'm not very good with scripting, but yeah, that greyfell lua script with dawn knights might be good

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post Posted: Thu Jan 24, 2013 11:18 am 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 3:15 pm
Posts: 226
I tried to replicate that and make the Rock crystal golem from west CoS instead of golem 20.

[209]={includename="SummonEarthGolem",

hex D1
search D1 00 07 02 01

earth golem 20 6762 hex 1A6A invert 6A1A


2654 Rock crystal golem NPC golem
2655 Onyx golem NPC golem
2656 Victim NPC human


2654 hex A5E 0A5E invert 5E 0A

Well... i didnt even get a match on D1 00 07 02 01

_________________
Der Hölle Rache kocht in meinem Herzen


Top 
 Profile  
Reply with quote  
 Post Posted: Thu Jan 24, 2013 5:00 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 519
yes, because 07 02 01 is spell's requirements

summon skeleton is BM necro lvl 1 in example

summon earth golem is EM earth lvl 20

so you need to search then D1 00 05 03 14 (05 is EM, 03 is earth, 14 is lvl 20)

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post Posted: Thu Jan 24, 2013 11:57 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 3:15 pm
Posts: 226
Thanks, do you happen to know what lv those golems are ?

_________________
Der Hölle Rache kocht in meinem Herzen


Top 
 Profile  
Reply with quote  
 Post Posted: Fri Jan 25, 2013 4:53 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 2:57 pm
Posts: 519
2248 Fire golem enemy 21
2250 Fire golem enemy 24
2252 Fire golem enemy 27
2253 Fire golem enemy 30
2254 Ice golem enemy 21
2255 Ice golem enemy 24
2256 Ice golem enemy 27
2257 Ice golem enemy 30
2258 Stone golem enemy 21
2259 Stone golem enemy 24
2260 Stone golem enemy 27
2261 Stone golem enemy 30

_________________
Tempus et vita, tempus et mortis


Top 
 Profile  
Reply with quote  
 Post Posted: Fri Jan 25, 2013 5:55 pm 
Offline
Site Admin
User avatar

Joined: Sun Nov 13, 2011 3:15 pm
Posts: 226
I meant
2654 Rock crystal golem NPC golem &
2655 Onyx golem NPC golem

The rock crystal golem has 2588 HP
and onyx golem has 4205 HP,
rock crystal seem to be immune to MM, but onyx golem i think is scripted to be immune in west CoS,
because he ain't immune to towers when i summon him in freegame.

Ed Playing through SotP, i see that onyx golem are immune to flayed guardians,
so i take it the onyx golem is immune to any black magic in campaign, but not vs towers in freegame

_________________
Der Hölle Rache kocht in meinem Herzen


Top 
 Profile  
Reply with quote  
 Post Posted: Thu Jun 20, 2013 6:25 pm 
Offline
User avatar

Joined: Thu Jun 20, 2013 6:21 pm
Posts: 11
Hello everyone, i was reading the forums and it was so much fun about changing the gamedata. Etc, such as what is being summoned. I would like to know how to change summon undead goblin spell's creature to goblin cutthroat, the one with 2 poisoned daggers lvl 28?

If i could get to know how to change the spell, and how do i understand those hex codes, how are they converted, what logic is behind this?


Thanks


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

Board index » Spellforce 1 » Mods » Suggestions


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