|
Star Wolves 3D space RPG with deep strategy and tactical elements |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
My question
How add items to ship on start new game? (Star Wolves 3)
Please give me a few example. Im try: CreateGuns("HC1", 10); CreateModules("HC1", 10); but not work Sorry for my weak english. |
#2
|
|||
|
|||
You need modify InitTeamScrip. There are some examples to add items to ship storage.
mothership:AddShipToInventory("Excalibur_pl0", 3); = 3 Excalibur Fighters mothership:AddModuleToInventory("GunAmpPH", 3); = 3 Weapon Amplifiers |
#3
|
|||
|
|||
Quote:
How work command g_recruits in game console (Star Wolves 3) This command calls to me friendly fighters (paid mercenary)? Please give me examples. |
#4
|
|||
|
|||
refresh
|
#5
|
|||
|
|||
refresh
|
#6
|
|||
|
|||
refresh
|
#7
|
||||
|
||||
I think bumping this thread up won't help in this case, since It seems no one really knows what this does, I have tried to do something with the command myself to see what it does and how to operate it, but it didn't work out.
EDIT: I have somewhere here an .doc laying around that was given to me by VALV, it had all the functions/commands in the game in it, it probably has the description of the command in it, but I have to find it first.
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool) |
#8
|
|||
|
|||
How to add more pilots on start game?
Defaults we have only Hero. |
#9
|
||||
|
||||
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". Code:
GreyhairPilot=CreatePilot("Sedoy"); AddPilotToPlayer(GreyhairPilot); 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) |
#10
|
|||
|
|||
Thanks you very much, it works!
But when Im add Red Corsair he have bugged skill tree? How idea, how can repair this error? EDIT: Okey Im find a solve of this problem. Im must add lines to file PilotProperties.script If you have Star Wolves 1, can you copy "properties_Corsair = {" and all lines with PilotProperties.script to this topic? Im think... maybe you give old character (Phantom, Corsair etc.) to your mod? e.g you setting this character to buy in Mystical Station hidden on map Last edited by ArtekXDPL; 04-10-2016 at 10:44 PM. |
|
|