This site is in archival mode. A replacement is being developed. In the meantime, please use the PBW2 Forums for community discussions. The replacement software for this site will use a unified account system with PBW2, and any newly created threads will carry over.
Welcome to Spaceempires.net
Login or Register

Search
Modules
· Content
· Downloads
· Forums
· Game Info
· Image Gallery
· Links
· Shipyards
· Topics
· Staff

User Info
· Welcome, Anonymous
Membership:
· New: Astorre
· New Today: 0
· New Yesterday: 0
· Overall: 3155

People Online:
· Visitors: 99
· Members: 0
· Total: 99

  

Spaceempires.net :: Using Scripting Toolkit :: View topic
Forum FAQ :: Search :: Memberlist :: Usergroups :: Profile :: Log in to check your private messages :: Log in


Using Scripting Toolkit

 
Post new topic   Reply to topic    Spaceempires.net Forum Index -> SEV Modding Discussion
View previous topic :: View next topic  
Author Message
Skyburn
Space Emperor


Joined: Mar 12, 2008

PostPosted: Mon Dec 29, 2014 9:36 pm    Post subject: Using Scripting Toolkit Reply with quote

How do I include this in a mod? I'm guessing I just need to reference the file somewhere and not cut and paste in the whole thing.

Back to top
Zwo_Dvoongar
Space Emperor


Joined: Feb 02, 2011

PostPosted: Sat Feb 28, 2015 12:18 pm    Post subject: Reply with quote

Actually you do have to copy & paste them in, and where to put them isn't always easy to explain. I think Kwok used at least a couple in the Balance Mod scripts.

Most, maybe all, of the SJ Utilities and Aliases stuff can go in the Global Functions, if I remember correctly.

For everything you add, you'll need to also add the "header" at the start of the file where all functions are listed. If you know how to add any function, you already understand that part.

Some of the other functions need to go in the file for the turn processing scripts. I never messed much with that one, except to change how intel works a little. I think that's where all non-AI scripts have to go.


Back to top
Display posts from previous:   
Post new topic   Reply to topic    Spaceempires.net Forum Index -> SEV Modding Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
All logos and trademarks used on this site, all comments and stories posted for reading, all files hosted for download,
and all art work hosted for viewing are property of their respective owners; all the rest copyright 2003-2010 Nolan Kelly.
Syndicate news: SpaceEmpires.net News RSS Feed - Syndicate forums: SpaceEmpires.net Forums RSS Feed
Page Generation: 0.22 Seconds