Thread: My question
View Single Post
  #9  
Old 04-10-2016, 07:02 PM
nocalora29's Avatar
nocalora29 nocalora29 is offline
¯\_ ͯ‿ ͯ_/¯
 
Join Date: Dec 2011
Posts: 474
Default

That I can tell you, look inside the file InitTeamScript.script

These are the functions you have to add somewhere in it:

Code:
PILOTVARIABLE=CreatePilot("PILOT"); -- Inside the "" Brackets is the Pilot which the game retrives from pilots.xml, the PILOTNAME is the Variable which holds the Pilot.

AddPilotToPlayer(PILOTVARIABLE); -- Pretty much self explanatory, but inside the () needs to be the PILOTVARIABLE which has been Created by "CreatePilot".
Example:
Code:
GreyhairPilot=CreatePilot("Sedoy"); 
AddPilotToPlayer(GreyhairPilot);
This will give you Greyhair at the start of a new game.


Thats everything you have to know.
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool)
Reply With Quote