I wanted to make a mod, but I hit two problems:
However, I AM still making some progress:
Added:
FIRT - Fire retardant. Extinguishes fire on contact., but breaks down at high temperatures. (WIP)
PLSC - Strong plastic. Hard to burn and melts at high temperatures. (Hopefully done)
MPLT - Molten plastic. Evaporates into poisonous gas at higher temperatures. (WIP)
Planning to add:
VPSC - Plastic vapors. Harmful to STKM. Cannot turn back into PLSC or MPLT. Flammable. (Help?)
NTRI - Nitrogen triiodide. Extremely sensitive powder that explodes with any change in pressure.
IODN - Heals STKM, but evaporates slightly below room temperature.
IODV - Iodine vapor. Cools down into IODN slightly below room temperature.
PAPR - Extremely flammable solid. Shreds at high pressures.
SHPR - Shredded paper. Very flammable.
CHRE - Chain reaction. Under pressure turns into DMG, turning more into DMG and so on.
LCON - Liquid CONV.
And more. I WILL NOT be taking suggestions, all I want is some help with this.
Source code for PLSC (it is the only finished element in my mod SO FAR) to prove that I am not lying about my mod's existance:
#include "simulation/Elements.h"
//#TPT-Directive ElementClass Element_PLSC PT_PLSC 17
Element_PLSC::Element_PLSC()
{
Identifier = "DEFAULT_PT_PLSC";
Name = "PLSC";
Colour = PIXPACK(0x93CFE2);
MenuVisible = 1;
MenuSection = SC_SOLIDS;
Enabled = 1;
Advection = 0.0f;
AirDrag = 0.00f * CFDS;
AirLoss = 0.90f;
Loss = 0.00f;
Collision = 0.0f;
Gravity = 0.0f;
Diffusion = 0.00f;
HotAir = 0.000f * CFDS;
Falldown = 0;
Flammable = 1;
Explosive = 0;
Meltable = 0;
Hardness = 80;
Weight = 100;
Temperature = R_TEMP+0.0f +273.15f;
HeatConduct = 164;
Description = "Plastic. Very hard to burn and melts at high temperatures.";
Properties = TYPE_SOLID;
LowPressure = IPL;
LowPressureTransition = NT;
HighPressure = IPH;
HighPressureTransition = NT;
LowTemperature = ITL;
LowTemperatureTransition = NT;
HighTemperature = 528.15f;
HighTemperatureTransition = PT_MPLT;
Update = NULL;
Graphics = NULL;
}
Element_PLSC::~Element_PLSC() {}
If you find any (stupid) mistakes in my code, please tell me so I can fix it.
source code for tpt:
Done, dug through and found elements folder, but how do you test-run your mod?
Also found a few "super secret" elements that are probably WIP. I might do something with them.
But seriously, how do you test-run your mod?
Also jacob1 thanks, but it won't work for me. Maybe for some BIZR reason it just doesn't work with this computer. If it works for you... I don't know what to say. Just this computer. I am a bit confused to be honest.
Started working on a new element, RSLT, which is rock salt. Same as normal salt, but is a solid and breaks into SALT at high pressures. FIRT is almost done, just need to add color and remove a certain part of the script. MPLT is not as close, really it's just recolored MWAX with a few different properties. Still working on it.
I have done everything in the compiling guide, but typing in scons.py always yields the same result, even though I have followed the guide exactly:
scons: *** No SConstruct file found.
File "C:\Python27\Lib\site-packages\scons-2.4.1\SCons\Script\Main.py", line 923, in _main
paste the output of scons.py on pastebin and give the pastebin link here please.