![]() |
|
|||||||
| Star Wolves 3D space RPG with deep strategy and tactical elements |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Quote:
[slot14] type=TurretGK refpoint=Left_Side image_coord=420 260 text_coord=500 240 text_aligment=RIGHT This is one of the guns I've fitted into my Star Hammer. Turrets that can be fitted into this slot have the first letter "T" so if "LGK3" stays for Musket, "TLGK3" stays for turret version of Musket. Quote:
function New_Mothership_Rhino() NewFlight("myGroup_1", "nm", "Mothership_corporate_pl1", "BasePilot", mothership:GetPosition() + Vector3(0, 0, -70), Vector3(0, 0, 1)); mothership_old = mothership; mothership = SetPlayerMotherShip(ship_nm_1); end; This is core function that change your actual mothership into (in this case) Rhino and is placed in "DockStation.script". Why there? Because all shopping work through the Maintenance Station menu. You buy things like you buy AI pilots for mothership (kind of). Maintenance Stations are generally a little quests so functions that work with quests work with them too. There are much more changes to get whole thing working. I'm planning to release beta version of my mod this weekend so you will see all modifications. Quote:
Last edited by Goblin Wizard; 03-25-2010 at 06:17 PM. |
|
#2
|
|||
|
|||
|
Unfortunately, my third experiment was not successful. The game uses its own internal hardcoded XML Schema files which cannot be edited, so adding new special abilities is out of the question.
Quote:
Quote:
|
|
#3
|
|||
|
|||
|
Quote:
Quote:
Quote:
|
|
#4
|
|||
|
|||
|
Quote:
Quote:
|
|
#5
|
|||
|
|||
|
Quote:
Quote:
Other problem may be activation of this function during dialog. I would like that dialog will close immediately after player choose the answer and ships will pop up. Below fully working mothership buying function with price check. Price is set to 666 credits Quote:
Last edited by Goblin Wizard; 03-25-2010 at 10:10 PM. |
|
#6
|
|||
|
|||
|
Quote:
Quote:
Although, if you are starting off, I recommend adding a script closer to the beginning of the game so it is much easier to test. |
|
#7
|
|||
|
|||
|
Quote:
Quote:
|
|
#8
|
|||
|
|||
|
What are you trying to achieve exactly?
|
|
#9
|
|||
|
|||
|
I was trying to add a fifth Summon ability. There are currently four, SummonNavy, SummonKfni, SummonBerserk, and SummonPrec.
The problem with this is that for every new special ability you add into the game, you have to add it to the appropriate XMLSchema files (allspecials.xsd and specials.xsd), however, I learned that the game uses its own internal version of the XMLSchema files which cannot be accessed. |
|
#10
|
|||
|
|||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|