![]() |
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. |
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 |
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. |
refresh
|
refresh
|
refresh
|
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. |
How to add more pilots on start game?
Defaults we have only Hero. |
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. Code:
GreyhairPilot=CreatePilot("Sedoy"); Thats everything you have to know. |
Thanks you very much, it works!
But when Im add Red Corsair he have bugged skill tree? How idea, how can repair this error? http://s5.ifotos.pl/img/bugpng_ssxanhn.png 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 ;) |
Heres the properties of Corsair from SW1
Code:
function GetPropertyCost_Corsair(property) Code:
function CanAddProperty_Corsair(pilot, property) |
Thank you, again.
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 ;) |
Can possible is to convert bigship eg. <BigShip name="Alien_Frigate_0"> to normal ship, and shoot with turrets?
|
Just make an copy of it in carcasses.xml and change BigShip to Interceptor. thats it, but since there are small adjustings that are needed for it to work properly, heres an working converted Alien Frigate:
Code:
<Interceptor name="Alien_Frigate_0"> |
Thanks you, its work. But this ship have error, you can't wear any turrets. How can repair this error? When is write that <Interceptor name= can use only BigGuns, Systems, Missile, and SmallGuns?
|
I think thats because all turrets in the game, meaning "TurretModule" have this parameter inside their xml: <attach_type>ONLY_BIGSHIP</attach_type>
You (should) change all turrets with "ONLY_BIGSHIP" to "ALL_SHIPS" then its gonna work, or you create special turrets with this config. |
Thanks you, You are the best :D
It works, Im can fly Alien_Frigate_0 and shoot with turrets. :D How change maximum amount of pilots in group of mercenaries? In file Recruits.xml Im change lines to: <count_min>24</count_min> <count_max>24</count_max> If Im change value to <count_min>25</count_min> <count_max>25</count_max> Mercenary group to buy is hide - no display in screen. (Error?) How change maximum value with 24 on higher with working mercenaries to buy. |
I have no idea, I think its not possible.
|
How create a new group of mercenaries to buy?, eg. Berserks Ships + 2x Chimera, Alien Ships + 2x Alien Frigate, Stalingrad + 2x Stone Arrow
Maybe you add this in your mod? |
Editing mercenary teams is quite difficult, I did not have any kind of success when creating an custom one, since the game seems to pick ships inside an table COMPLETELY random, so you cannot set what "Chance" the specific ship you added has to spawn, so it may aswell be that it spawns 9 stalingrads and one 1 arrow, and thats not really good and or what we want.
I have made the approach to make an dialogue inside the maintance station with the help of Goblin wizards mothership mod, to create the menu "Corporate Contracts", it basically is Mercenaries Revamped, and it is alot easier since those dialogue buttons execute functions and code I can actually write and that. So what I would recommend to you is to create an new Dialogue inside the maintance stations, where its possible to buy mercenaries you actually want. Other than that theres no way of actually making new Actual/Legit Mercenaries inside the trade station Merc tab, since all the game is selecting random ships from an table. |
Thank you for information.
Hmm... what else I can edit in game? I no have idea! |
How off all mission in Star Wolves 3?
|
Go to the file "Data\Scripts\Quests\Mission_1\ReturnHero.scri pt"
Search for StartMission() and replace the whole function with this StartMission() end; Although I have never really tried to "Disable" the whole storyline, but in theory this should work, if it doesn't, then you might try the file "Game\CustomInit.xml" and see if you can Change the FirstMissionName to an Empty Mission. |
This not work, any ideas?
|
you can avoid the story line without much scripting.
1. just select and modify favourite mothership as you like - in config files 2. add good equipment, pilots, etc. - script 3. start game - follow story until you come to station in second sector, where unhappy boy want deliver cargo to scientific station and decline task. 3. you can flee free as bird to all sectors, with exception, where is it "disabled" by story (example - mines field) 4. you can return to story as you like, ship will be exchanged as usualy, equipment will be stored to cargo space. |
All times are GMT. The time now is 02:10 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.