Page 1 of 1

How does the editor work?

Posted: Wed Dec 10, 2014 6:56 pm
by bram1979
Now that we can finally validate scenario's I would like to start creating some.

1: how to save them
2: how to test them

ps: I'm not a PC wizz so please explain in easy steps

Re: How does the editor work?

Posted: Thu Dec 11, 2014 10:31 am
by Aekar
Have you tried launching the Editor and saving a scenario?
You speak about "how to save them", so I am wondering.

What problems did you meet in the process?
In 1.02 a few things may have changed for independent scenarios so I haven't tested it yet.

Re: How does the editor work?

Posted: Thu Dec 11, 2014 11:34 am
by bram1979
Yes I saved the scenario but it does not show up ingame.

Re: How does the editor work?

Posted: Thu Dec 11, 2014 11:59 am
by Joubarbe
You must add your scenario to data\scenarios.whdat

Re: How does the editor work?

Posted: Thu Dec 11, 2014 3:10 pm
by bram1979
Joubarbe wrote:You must add your scenario to data\scenarios.whdat
Alright I know that I must open that file im excel but I dont know how to save it there and what to do next.

Re: How does the editor work?

Posted: Thu Dec 11, 2014 3:37 pm
by Aekar
You may also open it with Notepad++ or other text editing tools.
You'll need to make sure you use TAB instead of spaes where tabs are needed and displayed.
Coyp / paste an existing line, and modify it zith the path to your scenario file.

For example, you saved your scenario in /data/myScen.whscn
Then you'll add that line to scenarios.whdat:

myScen.whscn imperial_guard.png My Scenario name

Re: How does the editor work?

Posted: Sun Dec 14, 2014 7:58 am
by bram1979
Aekar wrote:You may also open it with Notepad++ or other text editing tools.
You'll need to make sure you use TAB instead of spaes where tabs are needed and displayed.
Coyp / paste an existing line, and modify it zith the path to your scenario file.

For example, you saved your scenario in /data/myScen.whscn
Then you'll add that line to scenarios.whdat:

myScen.whscn imperial_guard.png My Scenario name
After I have done that, then what?

Re: How does the editor work?

Posted: Sun Dec 14, 2014 7:59 am
by bram1979
please, like I asked, explain in simpler words. Use screens or something. Tell me step by step how to do this.

Re: How does the editor work?

Posted: Sun Dec 14, 2014 8:04 am
by orci
bram1979 wrote:ps: I'm not a PC wizz so please explain in easy steps
if so, do you think it is a good idea to this?

Re: How does the editor work?

Posted: Sun Dec 14, 2014 8:05 am
by bram1979
orci wrote:
bram1979 wrote:ps: I'm not a PC wizz so please explain in easy steps
if so, do you think it is a good idea to this?
???

Re: How does the editor work?

Posted: Sun Dec 14, 2014 8:09 am
by Kerensky
Once we get a revamp on the editor tiles, I plan to write another guide to help illustrate not just how to use the editor, but a good process of how to go about it. Stay tuned, I'll help if I can!

Re: How does the editor work?

Posted: Sun Dec 14, 2014 8:13 am
by bram1979
Kerensky wrote:Once we get a revamp on the editor tiles, I plan to write another guide to help illustrate not just how to use the editor, but a good process of how to go about it. Stay tuned, I'll help if I can!
Thanks mate! Can't wait. I have so many plans :mrgreen:

Re: How does the editor work?

Posted: Mon Dec 15, 2014 6:33 pm
by Kerensky
I can't promise when exactly this will be arriving, but I'm hopeful it will come right on the heels of this upcoming patch. It is somewhat depending on what we get along with this patch, can't have one without the other!

Re: How does the editor work?

Posted: Tue Dec 16, 2014 8:27 am
by bram1979
Could you anwser my PM please?

Re: How does the editor work?

Posted: Tue Dec 16, 2014 1:26 pm
by Aekar
1. Open the Editor
2. Place some stuff and units, setup your side, etc.
3. Save the scenario in the game /data folder. I would suppose you would save it as myScenario.whscn
4. Open the file /data/scenarios.whdat with a tool such as Notepad++.
5. Copy paste the last line so as to create a new line.

For instance :
CampScen25.whscn imperial_guard.png The Final Death Mire

Becomes :
CampScen25.whscn imperial_guard.png The Final Death Mire
CampScen25.whscn imperial_guard.png The Final Death Mire

6. Then you'll modify that last line, like:
CampScen25.whscn imperial_guard.png The Final Death Mire
myScenario.whscn imperial_guard.png My Scenario name


7. Save the file as is, thus overwriting scenarios.whdat.
(Save as, modify type to *.*, and validate)

8. Launch game.

9. Click on Scenarios ; scroll to the bottom of the list ; you should find it there!

Re: How does the editor work?

Posted: Tue Dec 16, 2014 1:34 pm
by bram1979
Thanks mate that is very helpfull! I'll check it out once I'm home.

Re: How does the editor work?

Posted: Thu Dec 18, 2014 5:06 am
by Kerensky
Got a basic guide up:
http://slitherine.com/forum/viewtopic.php?f=326&t=54961

If you still have questions now, let me know and I'll try to answer them!

Re: How does the editor work?

Posted: Tue Feb 10, 2015 9:14 am
by Averygames
How can I change unit price? Like make Titans cost more.
And why don't the computer AI buy new units. I gave them money.

Re: How does the editor work?

Posted: Sat Apr 09, 2016 8:58 pm
by BlackeyeVuk
Im very sorry for "necro"-ing old thread.

But I have some trouble with adding audio to custom units I build. I've been fairly successful this far . Been patiently reading guides especially when had to add offsets manually. Bit tricky , but manageable.

However, I can't find guide to add sound movement to custom created units. Could anyone please help with this ?


EDIT-------------
And JUST when I lose my hope and post my troubles, I find that illusive devil.
Here's the link from Dev
viewtopic.php?f=326&t=54432#p508150
"Audio/Movement/move.whdat"

In case any more noobs like me stutter on this problem.