Login    Forum    Search    FAQ

Board index » Scenarios & Scripting




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Story Portal
 Post Posted: Tue Mar 16, 2010 3:53 pm 
Offline

Joined: Tue Jan 08, 2008 2:07 am
Posts: 1045
Here is the very basic system for creating your own scenarios in TFW:
http://story.thefarwilds.com


Top 
 Profile  
 
 Post subject: Re: Story Portal
 Post Posted: Tue Mar 16, 2010 9:05 pm 
Offline
Lead Developer
User avatar

Joined: Mon Mar 31, 2008 9:55 pm
Posts: 716
Location: Moscow, Russia
Here is basic information about current script functionality (WIP).
http://thefarwilds.com/wiki/index.php/Scripting


Top 
 Profile  
 
 Post subject: Re: Story Portal
 Post Posted: Tue Mar 16, 2010 9:12 pm 
Offline

Joined: Thu Nov 26, 2009 4:10 am
Posts: 829
W00T! :D:D:D:D:D:D:D:D::D:D::D:D:D:D:D:D:D:


Top 
 Profile  
 
 Post subject: Re: Story Portal
 Post Posted: Tue Mar 16, 2010 9:13 pm 
Offline

Joined: Thu Nov 26, 2009 4:10 am
Posts: 829
How do we put these in TFW for other guys to test? And what is the code for making a buildings your own instead of ai's? (Like how it says IEntity createEntity(string CardName, int x_coord , int y_coord,IPlayer controller ); )


Top 
 Profile  
 
 Post subject: Re: Story Portal
 Post Posted: Tue Mar 16, 2010 9:24 pm 
Offline
Lead Developer
User avatar

Joined: Mon Mar 31, 2008 9:55 pm
Posts: 716
Location: Moscow, Russia
When you save script you can see line like {Script,MyScriptName,3}. Simply paste that in game (visible only is browser version so far) and then click on it to start game.

That API was started not so long ago and most common things is still missing, so wait a bit ;)


Top 
 Profile  
 
 Post subject: Re: Story Portal
 Post Posted: Wed Mar 17, 2010 4:28 pm 
Offline
User avatar

Joined: Thu Jun 11, 2009 5:38 am
Posts: 315
3 questions.

One, is there anything you would specifically like us to avoid. For instance directly claiming Chaos is a DL rebellion or CI, Sylvan, and MF have common ancestery called the oracles and the last surviving oracle knows the secret of where flux comes from.. etc.. You get my point. Any common story cliches you want us to avoid? Is there a limit to minimum games in a campaign, say 5 games minimum in a campaign? Etc..

Two, will there be any kind of reward?

Three, will we be able to continue creating? If so will it eventually be changed to contain less scripting?

Edit: I tried using some of the examples in the wiki but It wont let me test them. How will we test scenarios? Also, Im seriously not Mr. Computer so if I sound stupid about this stuff ever thats just how it is. I'm too hard headed to quit though. Ill be doing this stuff soon. lol. I think Ill download programming for dummies now.

Edit 2: Saw post above nvm about testing.


Top 
 Profile  
 
 Post subject: Re: Story Portal
 Post Posted: Fri Mar 19, 2010 12:53 pm 
Offline

Joined: Thu Dec 11, 2008 3:00 pm
Posts: 124
Hopefully this idea helps:
Could it be possible to jurry-rig a map maker like this (bear with me):

Make a random seed map script, put no ai in it, 2 groves, 1 astridian society, Gazzilion Naturescapings and flux. Then after finished terraforming the map to ones liking, doing something like this:
(THIS IS THE PART THAT WOULD NEED TO BE CODED IN BY DEVELOPER):
type something like: /export map in the chat window and it dumps the current state of the map into the chat window (hopefully already in a format thats just copy/paste into script area)

I mean it has to keep that data in memory during the game so if it could be put to use...


Top 
 Profile  
 
 Post subject: Re: Story Portal
 Post Posted: Tue Mar 23, 2010 4:46 pm 
Offline

Joined: Mon Mar 23, 2009 10:20 am
Posts: 235
I have no scripting experience. Im looking at many lists of functions, but I dont understand what they do. Is there possible to add some explenations?


If someone could post their scripts so I can see how you have done it that would help aloth too.


Top 
 Profile  
 
 Post subject: Re: Story Portal
 Post Posted: Tue Mar 23, 2010 5:41 pm 
Offline

Joined: Tue Jan 08, 2008 2:07 am
Posts: 1045
Anyone can mark their scripts as public now. So it is easier to see what others are up to.


Top 
 Profile  
 
 Post subject: Re: Story Portal
 Post Posted: Fri Mar 26, 2010 2:37 am 
Offline

Joined: Thu Nov 26, 2009 4:10 am
Posts: 829
Nice job with that new /camp function. But why camp?


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

Board index » Scenarios & Scripting


Who is online

Users browsing this forum: No registered users and 5 guests

 
 

 
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