Does the WMD damage effect non-compartment type starship?

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
DigaRW
Militia Commander
Militia Commander
Posts: 363
Joined: Thu Jul 30, 2015 3:10 pm
Location: Deep dark space/Indonesia

Fri Apr 01, 2016 11:51 am

Example: Damage base are 1 hp, but WMD 10.
Does it effect light gunship?
Also, I want to know how turn a laser from rectangle shape into blaster-like shape (like TeV 9 blaster and Bolide blaster).
Download Transcendence mods from Reinvented Workbench Project!
Semesta I.G.C v1.37
Great corporate that feature a new items and challenges!
YourCORP v1.16
Build your very own corporation!
Trade Item Extension v1.15
New misc items, foods and resources!
StrongBox v1.4
Open it up to get a random equipments!
Flare Weapons v1.6
New weapons that have very unique abilities!
Click this link!

shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1483
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska

Sat Apr 02, 2016 7:47 pm

the compartments tend to make the ship strong ( not by much ) because it holds down the damage to the entire ship ( which is good )

compartments also work great with visible damage.

However, all ships will take damage and the engine will determine where and how to spread that damage based on the ship's build.

if you wanted to say : edit a laser blaster to look like a Howitzer : you go to the StdWeapons.xml and select things you want to use ( custom colors was once posted by Datal : unfortunately his image is no longer available : it's corrupted, but he made a wonderful set of colors using PrimaryColor & a secondary as well)


you go from this:
<Weapon
type= "beam"

damage= "laser:1d6"
fireRate= "10"
lifetime= "30"
powerUse= "20"

effect= "&efLaserBeamDefault;"
sound= "&snLaserCannon;"
>
</Weapon>
</ItemType>
to this:
<Weapon
type= "missile"

damage= "thermo:8d12; momentum3; WMD5"
fireRate= "35"
missileSpeed= "50"
lifetime= "120"
hitPoints= "10"
powerUse= "400"
recoil= "2"

effect= "&efThermoShellDefault;"
fireEffect= "&efThermoFireDefault;"
sound= "&snRecoillessCannon;"
>

<HitEffect
sound="&snArmorHit1;"
>
<Image imageID="&rsMediumExplosions;"
imageX="0"
imageY="0"
imageWidth="64"
imageHeight="64"
imageFrameCount="16"
imageTicksPerFrame="2"/>
<Flare
style= "fadingBlast"
radius= "100"
primaryColor= "0xff, 0xff, 0xf0"
lifetime= "8"
/>
</HitEffect>
</Weapon>
and THAT will turn your game to a killing machine if somebody starts a fight :)
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..

User avatar
TheLoneWolf
Militia Captain
Militia Captain
Posts: 802
Joined: Thu Nov 28, 2013 5:03 pm
Location: Aboard the CSS Radiant

Sun Apr 03, 2016 8:33 am

Wait. I was looking at 1.7a vanilla source files. I found

Code: Select all

attributes= "genericClass, ranx, minorItem"
...
WMD7
mining7
as well as

Code: Select all

attributes= "genericClass; ranx; minorItem"
...
WMD:7
mining:7
The main differences are the use of ";" and "," in attributes and ":" in the ratings. I'm confused as you are using "WMD7" and I'm using "WMD:7". Do they both work, or I'm confused by reading too many XML files, old and new?

User avatar
DigaRW
Militia Commander
Militia Commander
Posts: 363
Joined: Thu Jul 30, 2015 3:10 pm
Location: Deep dark space/Indonesia

Sun Apr 03, 2016 1:13 pm

WMD without two dot it seem working in my mod, but I think that not have any difference.
Download Transcendence mods from Reinvented Workbench Project!
Semesta I.G.C v1.37
Great corporate that feature a new items and challenges!
YourCORP v1.16
Build your very own corporation!
Trade Item Extension v1.15
New misc items, foods and resources!
StrongBox v1.4
Open it up to get a random equipments!
Flare Weapons v1.6
New weapons that have very unique abilities!
Click this link!

User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2615
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Sun Apr 03, 2016 11:04 pm

between WMDx and WMD:x there is a big difference. The engine uses 2 different curves for the calculations of WMD.

the new curve is:
WMD 0 = 10%
WMD 1 = 25%
WMD 2 = 32%
WMD 3 = 40%
WMD 4 = 50%
WMD 5 = 63%
WMD 6 = 80%
WMD 7 = 100%

notice that WMD0 weapons in 1.7 can damage internal compartments and stations.

Please don't use anymore WMD7 as it's deprecated. Update your mod to use apiVersion 29 and use WMD:7

User avatar
DigaRW
Militia Commander
Militia Commander
Posts: 363
Joined: Thu Jul 30, 2015 3:10 pm
Location: Deep dark space/Indonesia

Sun Apr 03, 2016 11:32 pm

digdug wrote:between WMDx and WMD:x there is a big difference. The engine uses 2 different curves for the calculations of WMD.

the new curve is:
WMD 0 = 10%
WMD 1 = 25%
WMD 2 = 32%
WMD 3 = 40%
WMD 4 = 50%
WMD 5 = 63%
WMD 6 = 80%
WMD 7 = 100%

notice that WMD0 weapons in 1.7 can damage internal compartments and stations.

Please don't use anymore WMD7 as it's deprecated. Update your mod to use apiVersion 29 and use WMD:7
Oh I see.
My mod using both of them, so I will swiftly fix it.
Download Transcendence mods from Reinvented Workbench Project!
Semesta I.G.C v1.37
Great corporate that feature a new items and challenges!
YourCORP v1.16
Build your very own corporation!
Trade Item Extension v1.15
New misc items, foods and resources!
StrongBox v1.4
Open it up to get a random equipments!
Flare Weapons v1.6
New weapons that have very unique abilities!
Click this link!

User avatar
DigaRW
Militia Commander
Militia Commander
Posts: 363
Joined: Thu Jul 30, 2015 3:10 pm
Location: Deep dark space/Indonesia

Tue Apr 05, 2016 12:50 am

digdug wrote: WMD 0 = 10%
Wait, what the difference WMD: 0 and non WMD? Or they are same?
Download Transcendence mods from Reinvented Workbench Project!
Semesta I.G.C v1.37
Great corporate that feature a new items and challenges!
YourCORP v1.16
Build your very own corporation!
Trade Item Extension v1.15
New misc items, foods and resources!
StrongBox v1.4
Open it up to get a random equipments!
Flare Weapons v1.6
New weapons that have very unique abilities!
Click this link!

shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1483
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska

Tue Apr 05, 2016 6:13 am

I often copy out the codes from the game .xml as it is posted for us to access .
the " screwy code" I posted here was right out of the game's .xml ( lasers and howitzers )

which proves what I always figured : "Depreciated" isn't dead - it's just not popular
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..

gunship256
Militia Commander
Militia Commander
Posts: 451
Joined: Sat Jul 25, 2015 11:41 pm
Location: repairing armor

Tue Apr 05, 2016 8:50 pm

DigaRW wrote:
digdug wrote: WMD 0 = 10%
Wait, what the difference WMD: 0 and non WMD? Or they are same?
Weapons have WMD 0 unless you specify otherwise. George made this change for 1.7 alpha when he rebalanced all the weapons. More information here:

https://ministry.kronosaur.com/record.hexm?id=29058
For 1.7 Alpha 1, I've made a change to the WMD algorithm. First, all weapons now do at least 10% damage using a stochastic adjustment. For example, 1 HP of laser damage will do 0 damage 90% of the time and 1 point 10% of the time. Previously, we would always do a minimum of 1 point, which skewed the WMD rating of low-level, high-fire-rate weapons.

I've altered the curve. The scale now looks like this:

WMD 0 = 10%
WMD 1 = 25%
WMD 2 = 32%
WMD 3 = 40%
WMD 4 = 50%
WMD 5 = 63%
WMD 6 = 80%
WMD 7 = 100%

Post Reply