LoPhatKao submitted a new mod: NPC Mechs - Now your crew have their own mech - in space or on planets Read more about this mod...
does this work with modded Species?... cause when i tried it the NPC in the mech just does nothing... [14:11:59.521] [Info] NPC Mechs: NO MECH MODS detected [14:12:01.876] [Error] Exception while invoking lua function 'update'. (LuaException) Error code 2, [string "/scripts/vec2.lua"]:43: attempt to perform arithmetic on a nil value (field '?') stack traceback: [C]: in metamethod '__add' [string "/scripts/vec2.lua"]:43: in field 'add' [string "/vehicles/modularmech/armscripts/base.lua"]:57: in method 'updateAimInfo' [string "/vehicles/modularmech/armscripts/base.lua"]8: in method 'updateBase' [string "/vehicles/modularmech/mmupdate_van.lua"]70: in global 'mmnpcupdate' [string "/vehicles/modularmech/modularmechnpc2.lua"]:54: in function <[string "/vehicles/modularmech/modularmechnpc2.lua"]:53> [0] 7ff7da57a7f3 Star::captureStack [1] 7ff7da57957e Star::StarException::StarException [2] 7ff7da54d5c1 Star::LuaEngine::handleError [3] 7ff7da72ea35 Star::LuaEngine::callFunction<float> [4] 7ff7da732726 Star::LuaFunction::invoke<Star:ariant<Star::Empty,bool,__int64,double,Star::LuaString,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float> [5] 7ff7da732659 Star::LuaBaseComponent::invoke<Star:ariant<Star::Empty,bool,__int64,double,Star::LuaString,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float> [6] 7ff7da73a2ac Star::LuaUpdatableComponent<Star::LuaWorldComponent<Star::LuaBaseComponent> >::update<Star:ariant<Star::Empty,bool,__int64,double,Star::LuaString,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float> [7] 7ff7daa580e6 Star:ehicle::update [8] 7ff7daa83258 <lambda_9fc580ae40b93070d912cafafa15880e>:perator() [9] 7ff7da6c34a6 Star::EntityMap::updateAllEntities [10] 7ff7daa9bf3b Star::WorldClient::update [11] 7ff7daa0632d Star::UniverseClient::update [12] 7ff7da4c5fb7 Star::ClientApplication::updateRunning [13] 7ff7da4c494d Star::ClientApplication::update [14] 7ff7dac8d071 Star::SdlPlatform::run [15] 7ff7dac8d22d Star::runMainApplication [16] 7ff7da4c7941 WinMain [17] 7ff7dae7079f __scrt_common_main_seh [18] 7ff8e7164034 BaseThreadInitThunk [19] 7ff8e9ba3691 RtlUserThreadStart
one thing: i think the crew are using *my* fuel in the FU version of things. I haven't viewed the source and won't have time for a bit, but is there an easy way to check for them, vs myself, in your existing code that I could simply add into my own lua to if/else it ? (also need to make them not use the mech flight mode, as they *alwayts* have it on. its comical but not desired)
LoPhatKao updated NPC Mechs with a new update entry: Custom Crew Mechs Read the rest of this update entry...
Is there a way to "reroll" your companion's mechs? Because right now my companion's loadout just suuuucks.
Do you have this on GitHub? I wanted to collaborate / create an add on and I'm unable to see it there. Downloading it after every update is also an option, but not as convinient al all
Even better: Is there a plan to allow the player to build the crew mech? That way you start with the basic one, and upgrade them together with you.
LoPhatKao updated NPC Mechs with a new update entry: Crew Config + more Read the rest of this update entry...
This is a very good mod. I don't instantly die in space encounters! My mech crew killed a friendly NPC, but this mod is still very helpful.