ID:270833
 
Ok, I don't ask for help that much and when I do it's usually pretty minor, but I need some help here. I'm having some problems fitting in all the pieces of this system by myself.

http://members.byond.com/JustinKnight/files/hardpoints.PNG is a picture of what I thought up myself for the system. In Project Talon, for each ship class there would be a predetermined amount of weapon slots to mount weapons on. Obviously, some weapons are larger than others so that's where the different slots come into play.

What I wanted to know is 1) How to check to make sure that the multi-directional slots are all facing the same way (refer to the picture), and mark each location (ships are probably going to be generated from SwapMaps, so the z location isn't going to be static.)

2) Dynamically place new/change weapons in the slots (I already have an idea which weapons go into which size slot).

I think that covers it... I think the rest would just be altering some minor things.
I'm not really sure what the picture has to do with anything there. It's far from self-explanatory. Limiting certain weapons to certain-sized slots is the easy part, but it sounds like you've got that covered. Can you be a little more detailed in your explanation or perhaps explain what the picture is supposed to be showing? They say a picture's worth a thousand words, but frankly here a hundred words would serve you much better.

Lummox JR
In response to Lummox JR
Ok, no problem. I wrote that when I was pretty tired and wasn't paying attention to what I was writing. I agree, I wasn't very clear on what I was saying, and some colored boxes doesn't help.

The sister picture for http://members.byond.com/JustinKnight/files/hardpoints.PNG is, suprisingly, http://members.byond.com/JustinKnight/files/hardpoints2.PNG . What I did with the different colored boxes was put them over pre-existing (and purely visual as of now) weapons to give an example of putting in weapons slots. As you can see, everything is facing west. However, I would think that you would need to check directions in a case like this.

What I would like to be able to make possible is weapons customization, where weapons can be bought and placed in the predefined weapons slots for the ship. This is my main issue because I don't know where to start off. Would you need to mark each slot's location so that you could place objects there? Then I suppose you can backtrack to delete or change weapons in the slot, right? Would the locations need to be saved to a .sav file, or could they be easily generated when the ship is created?