Help
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: Help
Hi fikrethos,
Please check this sticky for a start. It explains, amonst other things, how to unpack the game files, including the xml files you are looking for.
Cheers Euclid
Please check this sticky for a start. It explains, amonst other things, how to unpack the game files, including the xml files you are looking for.
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
-
- Posts: 158
- Joined: Fri, 12. Jul 19, 14:03
Re: Help
Dude probably has the game unpacked if he knows the term "virtual macro." I assume he tried to use loadouts in some way and came across the issues with virtual macros there. You might be able to do some typecasting like you do with $Component.macro
Re: Help
Maybe, I'm not sure what "get ship virtualmacros" means. Anyway, if you have unpacked all files then you'll find the thrusters in assets\props\Engines\macros\.teleportationwars wrote: ↑Sun, 1. Sep 19, 15:59Dude probably has the game unpacked if he knows the term "virtual macro." I assume he tried to use loadouts in some way and came across the issues with virtual macros there. You might be able to do some typecasting like you do with $Component.macro
Hope that helps.
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
Re: Help
i use ing debug mod , yes that thruster macro is install when create ship in loadout with <virtualmacros> prop., i dont it.
I use ;
<find_object_component name="$Equipment" multiple="true" object="$ship"/>
checked all getting items but found weapon, engines, shields macros on installed ship thats all k but i cant get installed thruster macros.
I use ;
<find_object_component name="$Equipment" multiple="true" object="$ship"/>
checked all getting items but found weapon, engines, shields macros on installed ship thats all k but i cant get installed thruster macros.
-
- Posts: 158
- Joined: Fri, 12. Jul 19, 14:03
Re: Help
I dont know of a way to get the macro from md. You can get it from lua with stuff like:fikrethos wrote: ↑Sun, 1. Sep 19, 22:19i use ing debug mod , yes that thruster macro is install when create ship in loadout with <virtualmacros> prop., i dont it.
I use ;
<find_object_component name="$Equipment" multiple="true" object="$ship"/>
checked all getting items but found weapon, engines, shields macros on installed ship thats all k but i cant get installed thruster macros.
Code: Select all
ffi.string(C.GetVirtualUpgradeSlotCurrentMacro(inputobject, upgradetype.type, j))
I suggest keeping a list of thruster macros and letting the generate_loadout pick one.
Re: Help
Yes, you are right. Atm there is no way to get vm via md (xml) and thrusters are vm. However the Devs are aware and thus there is hope it will be changed eventually
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
Re: Help
yes, i saw in lua cods but i need in md codes, thx m8 for r effort..teleportationwars wrote: ↑Sun, 1. Sep 19, 23:46I dont know of a way to get the macro from md. You can get it from lua with stuff like:fikrethos wrote: ↑Sun, 1. Sep 19, 22:19i use ing debug mod , yes that thruster macro is install when create ship in loadout with <virtualmacros> prop., i dont it.
I use ;
<find_object_component name="$Equipment" multiple="true" object="$ship"/>
checked all getting items but found weapon, engines, shields macros on installed ship thats all k but i cant get installed thruster macros.You might be able to do something with loadout flags to get hold of it.Code: Select all
ffi.string(C.GetVirtualUpgradeSlotCurrentMacro(inputobject, upgradetype.type, j))
I suggest keeping a list of thruster macros and letting the generate_loadout pick one.
-
- Posts: 158
- Joined: Fri, 12. Jul 19, 14:03
Re: Help
viewtopic.php?f=181&t=418254 is how you run lua right now. You can signalobject from lua to some entity with the result. You pick it up with:fikrethos wrote: ↑Mon, 2. Sep 19, 13:39can i get any result value(s) to in md from that lua function(s) ?
Code: Select all
<event_object_signalled object="player.entity" param="'lualoadout'" />
Re: Help
thx for about m8. ill .. added u my friend listteleportationwars wrote: ↑Mon, 2. Sep 19, 14:23viewtopic.php?f=181&t=418254 is how you run lua right now. You can signalobject from lua to some entity with the result. You pick it up with:
Code: Select all
<event_object_signalled object="player.entity" param="'lualoadout'" />
-
- Posts: 158
- Joined: Fri, 12. Jul 19, 14:03
Re: Help
thanks, you can get a lot of mod help at the unofficial egosoft discord. https://discord.gg/AWNAKU9fikrethos wrote: ↑Mon, 2. Sep 19, 16:49thx for about m8. ill .. added u my friend listteleportationwars wrote: ↑Mon, 2. Sep 19, 14:23viewtopic.php?f=181&t=418254 is how you run lua right now. You can signalobject from lua to some entity with the result. You pick it up with:
Code: Select all
<event_object_signalled object="player.entity" param="'lualoadout'" />
Re: Help
cool cheat teams , thx so much again..teleportationwars wrote: ↑Mon, 2. Sep 19, 17:43thanks, you can get a lot of mod help at the unofficial egosoft discord. https://discord.gg/AWNAKU9fikrethos wrote: ↑Mon, 2. Sep 19, 16:49thx for about m8. ill .. added u my friend listteleportationwars wrote: ↑Mon, 2. Sep 19, 14:23
viewtopic.php?f=181&t=418254 is how you run lua right now. You can signalobject from lua to some entity with the result. You pick it up with:
Code: Select all
<event_object_signalled object="player.entity" param="'lualoadout'" />
Re: Help
teleportationwars wrote: ↑Mon, 2. Sep 19, 17:43
thanks, you can get a lot of mod help at the unofficial egosoft discord. https://discord.gg/AWNAKU9
since a few Devs hang out there too I guess you could even call it semi official
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help