Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Star Wolves

Star Wolves 3D space RPG with deep strategy and tactical elements

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #18  
Old 06-17-2010, 06:17 PM
Goblin Wizard Goblin Wizard is offline
Approved Member
 
Join Date: Oct 2008
Posts: 508
Default

You don't need to change any file to add a pilot one of the existing perks. Function pilot:SetPerk("perk_name") is enough and overrides any requirements. You can activate it by e.g. dialog option. This function works with any pilot not only controlled by you or with a perk tree.
Pilots.xml file contains only starting perks for a pilot.
PilotProperties.script keeps definitions for GUI perk tree (with perks costs). Other important parts are two tables inside SaveParks and RestorePerks functions. Their names are self-explainable and are called when pilot leaves/come back under your control.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.