Question: how to make custom weapon purchasable in game
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Question: how to make custom weapon purchasable in game
Hi There
I made some custom weapon using x3 editor 2 and i would like to make them purchasable in some station but i dont know how
Can someone help me?
I made some custom weapon using x3 editor 2 and i would like to make them purchasable in some station but i dont know how
Can someone help me?
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Use the Cheat Package to add your ware (Product) to an Equipment Dock.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
- Sam L.R. Griffiths
- Posts: 10522
- Joined: Fri, 12. Mar 04, 19:47
Simply adding the weapons to an equipment dock will not necessarily do what you want. Because there are probably no factories for your weapons you will probably need to do something along the lines that I do in my AWRM mod.
Essentially pick one or more Equipment Docks and every so often restock it. AWRM uses a combination of MD and MCSI, please feel free to reuse the same concept in your mod. If you need a hand to understand the scripting just give me a shout.
Essentially pick one or more Equipment Docks and every so often restock it. AWRM uses a combination of MD and MCSI, please feel free to reuse the same concept in your mod. If you need a hand to understand the scripting just give me a shout.
Lenna (aka [SRK] The_Rabbit)
"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55
"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb
"When eating an elephant take one bite at a time" - Creighton Abrams
"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55
"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb
"When eating an elephant take one bite at a time" - Creighton Abrams
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Don't worry, 472. The Cheat Package can do the restocking, too.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Thanks you all for your suggestion
However i had another idea: i quite figured out how the waretemplate work(i am not shure Though becouse i diddn't have the mime to try it today)So i could crate a new station in Tfactories and add the station in a sector(adding the laser editing the waretemplate)
however if i make the station buyable in a shipyard would it produce the laser or it wouldn't produce anything?
What do you think about this idea of mine?
However i had another idea: i quite figured out how the waretemplate work(i am not shure Though becouse i diddn't have the mime to try it today)So i could crate a new station in Tfactories and add the station in a sector(adding the laser editing the waretemplate)
however if i make the station buyable in a shipyard would it produce the laser or it wouldn't produce anything?
What do you think about this idea of mine?
- Sam L.R. Griffiths
- Posts: 10522
- Joined: Fri, 12. Mar 04, 19:47
It depends on what you want to achieve... If you want to make the wares yourself then added factories for it is probably one way to go. Although, I think there are scripts out there that will turn player owned equipment docks into factories of a sort.Xenon472 wrote:Thanks you all for your suggestion
However i had another idea: i quite figured out how the waretemplate work(i am not shure Though becouse i diddn't have the mime to try it today)So i could crate a new station in Tfactories and add the station in a sector(adding the laser editing the waretemplate)
however if i make the station buyable in a shipyard would it produce the laser or it wouldn't produce anything?
What do you think about this idea of mine?
However, if you are happy to leave it to the AI you could simply write an MD script that looks for NPC owned equipment docks and say once an hour adds one or more of the lasers to the equipment dock's stock.
My combined MCSI/MD scripted solution may be a little overkill for what you are wanting to achieve.
Lenna (aka [SRK] The_Rabbit)
"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55
"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb
"When eating an elephant take one bite at a time" - Creighton Abrams
"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55
"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb
"When eating an elephant take one bite at a time" - Creighton Abrams
Thanks you all for your help
I solved the problem installing some weapons with the restock metod(i added them to the yaki statinons and to the pirate anarchy ports) and for the other three weapons i Replaced the three beam weapons with mine and since i am using XRM i can buy the factories that produce the weapons
I diddnt want to rely on restock was because i want to build an empire that could hold it's own against all the races(after i bought the stations...),thats why the station i choosed for the restock are pireate's or yaki's
I solved the problem installing some weapons with the restock metod(i added them to the yaki statinons and to the pirate anarchy ports) and for the other three weapons i Replaced the three beam weapons with mine and since i am using XRM i can buy the factories that produce the weapons
I diddnt want to rely on restock was because i want to build an empire that could hold it's own against all the races(after i bought the stations...),thats why the station i choosed for the restock are pireate's or yaki's