LawsonThompson
Registered:1375038367 Posts: 827
Posted 1457894025
Reply with quote
#1
Is there a definitive list of the scripting differences in v2.1 and v2.3? For example, I understand whales are spawned differently now (or maybe don't exist anymore?) but can't find anything that explains how the "old way" was deprecated.
__________________ ----https://LTEBridge.com
ryleyra
Registered:1399599588 Posts: 3,214
Posted 1457896118
· Edited
Reply with quote
#2
I don't believe there is any difference between 2.2 and 2.3, the real difference is between 2.1 and 2.2. As far as I know, the primary differences are as follows: 1) The create type=anomaly command has a new attribute called "pickupType" it takes a number from 0 to 7 representing the Upgrade type of the anomaly. 0 is the old Energy anomaly. 2) The create type=monster command has a new attribute called "monsterType". It similarly takes a number from 0 to 7. 0 is the old monster, 1 is a whale, and 7 is a derelict/wreck. The command would crash the game in 2.2, I assume it works fine now. 3) podnumber now applies to both whales and piranhas. 4) The old create type=whale command has not been removed and should still work. It's use is now discouraged, even though it was the only way to create whales in 2.2. 5) The direct command now works only with shielded ships and generic meshes. 6) The if_fleet_count condition now takes optional sideValue and countSurrendered attributes. 7) Stations now have a missileStoresPShock property. 8) Enemies now have a tauntImmunityIndex property. It takes a number from 0 to 2. This is the only new feature in 2.3.
Mike Substelny
Administrator
Registered:1375273622 Posts: 2,990
Posted 1458327438
Reply with quote
#3
Quote:
Originally Posted by ryleyra 8) Enemies now have a tauntImmunityIndex property. It takes a number from 0 to 2. This is the only new feature in 2.3.
I thought this one was important for script writers trying to tell a story, since Science sees these on the second scan. If you have a mission involving the Kralien religion, for example, your character's actions should match the attitude toward religion shown in the intelligence report on the Science scan.For a Kralien character you want to control whether or not he/she practices the religion. For a Skaraan you must control how he/she feels about his/her corporate bosses. For an Arvonian you need to control how he/she feels about the Royal Family and whales. etc. For those writing stories in a modded version of the game this could become even more important.
__________________"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight." - Winston Churchill