waynethecool Posted September 28, 2016 Share Posted September 28, 2016 i would like a scrip that will allow a large ship in combat to turn all of its guns to fire on one target like a focus fire like on a battleship but all main guns tored the front that would be cool Alsan Teamaro 1 Link to comment Share on other sites More sharing options...
Ripper Posted September 28, 2016 Share Posted September 28, 2016 Sounds like a job for Ripper Intelligence Link to comment Share on other sites More sharing options...
Kurock Posted September 28, 2016 Share Posted September 28, 2016 If there is LUA there is a way. Maybe. Link to comment Share on other sites More sharing options...
Anaximander Posted September 28, 2016 Share Posted September 28, 2016 Binding all guns to a Lua keypress function? Sure. Can be done. It can even be any key you want it to be. Link to comment Share on other sites More sharing options...
Kurock Posted September 28, 2016 Share Posted September 28, 2016 The firing is not the issue. Its the aiming part that might be difficult. But if they are all fixed guns, like a broadside, I don't see why not. Link to comment Share on other sites More sharing options...
Anaximander Posted September 28, 2016 Share Posted September 28, 2016 The firing is not the issue. Its the aiming part that might be difficult. But if they are all fixed guns, like a broadside, I don't see why not. Tie the turrets on the POV of the pilot and tie the pilot's control unit as the turret control unit as well. It's not that hard. Control Units are cockpits. If cockpits can handle guns at the same time as flying the starifghter, you can bet that control units for a larget ship can control all guns like that. You can even have a right click "gimbaled" mode for the turrets, so you can fly parallel to someone and shoot at them. It's not as hard as it sounds. The hard part will be the proper turret placement and having commands for particular turret control. Link to comment Share on other sites More sharing options...
Pang_Dread Posted September 29, 2016 Share Posted September 29, 2016 Don't see the issue with that function. Although if talking about a large ship like a cruiser or battleship I don't think all guns should be able to fire all time at that same target due to positioning and such. I mean would be rather cheesey IMO if you have a gun turret on the ships right side and your target is on the left and your gun turret fires through your own ship? So yeah the function is something that could likely be done with the LUA but it should also respect physics and line of sight. Link to comment Share on other sites More sharing options...
Jeronimo Posted September 29, 2016 Share Posted September 29, 2016 it has been confirmed in one of the interviews automatic firing, but also has confirmed that automatic firing will be much much less powerfull, and much more power consuming than player controled turrets Link to comment Share on other sites More sharing options...
sgtpwnd Posted September 29, 2016 Share Posted September 29, 2016 are you asking me to write it? if so i cant until we know all the public functions they are giving us to use. Link to comment Share on other sites More sharing options...
sgtpwnd Posted September 29, 2016 Share Posted September 29, 2016 but its gonna kinda maybe look like....make a for loop finding all guns and putting them in an array [G] make a for loop finding all hostiles in range and put them in another array [H] (put this linked to scan button) cycle through [G] and set its target to [H]. set fire to a key[space] set cycle forward to key [->] which adds to [H] set cycle backwards to key [<-] which subtracts to [H] alternatively you could (if there is a click function on an enemy that when it fires you can return a value) add the target to each gun that way note: i understand there is some cleaning and checking that needs to happen to make this work im just giving what i assume is the rough outline. also some of these loops and scripting is going to be hardcoded so make a for loop that finds all guns on your ship might be as simple as findAllGuns() Link to comment Share on other sites More sharing options...
Jeronimo Posted September 29, 2016 Share Posted September 29, 2016 no need to explain, there are people who also already know how to, and those who will never touch LUA because they dont know how to and will spend time on other things the topic of automatic defens turret has been started many times his concern here is, will it be possible to lock all turrets on one target, and the answer is for sure yes, and as you mentionned, we are still waiting for the LUA communication functions, to be able to know how it will be made possible to communicate same information to all these turrets at same time in one single message but in addition, and confirmed by devteam, 10 automated turrets might be less powerfull than 1 player controled turret Link to comment Share on other sites More sharing options...
Anaximander Posted September 29, 2016 Share Posted September 29, 2016 it has been confirmed in one of the interviews automatic firing, but also has confirmed that automatic firing will be much much less powerfull, and much more power consuming than player controled turrets You are confusing connecting 5 turrets to the user with the turrets firing on their own lad. The OP didn't ask for automated turrets, he asked how to make 2 or 6 guns be controlled by one guy at the same time, which is a totally different thing. Link to comment Share on other sites More sharing options...
Leonis Posted September 29, 2016 Share Posted September 29, 2016 You are confusing connecting 5 turrets to the user with the turrets firing on their own lad. The OP didn't ask for automated turrets, he asked how to make 2 or 6 guns be controlled by one guy at the same time, which is a totally different thing. Thanks for the detox. Link to comment Share on other sites More sharing options...
Anaximander Posted September 29, 2016 Share Posted September 29, 2016 Thanks for the detox. Eh? >.> Link to comment Share on other sites More sharing options...
Leonis Posted September 29, 2016 Share Posted September 29, 2016 Eh? >.> You just corrected a wrong statement someone did. Thanks. Anaximander 1 Link to comment Share on other sites More sharing options...
Danger Posted September 29, 2016 Share Posted September 29, 2016 Wanna beat enemies like PRO? Bind your weapons to "D", "I", "E". Link to comment Share on other sites More sharing options...
Anaximander Posted September 29, 2016 Share Posted September 29, 2016 Wanna beat enemies like PRO? Bind your weapons to "D", "I", "E". That's a man with vision. /raises_glass Link to comment Share on other sites More sharing options...
Jeronimo Posted September 30, 2016 Share Posted September 30, 2016 You are confusing connecting 5 turrets to the user with the turrets firing on their own lad. The OP didn't ask for automated turrets, he asked how to make 2 or 6 guns be controlled by one guy at the same time, which is a totally different thing. SO? using one cockpit for firing 5 turrets doesnt it need to automate 4 of them automatic turret doesnt mean, a turret that will fire at everyone within a range but a turret that will be setup with a certain behavior, and this through LUA parameters unless with your almighty intelligence you create a clone machine to fill the 4 other cockpits, the 4 other turrets will be script controled, following the master behavior, what is meant by dev team that 4 of them will have a much much less effective fire power so what is the point of your reply if it is not to show off once again? FYI a little remind of the 1st post: "i would like a script that will allow a large ship in combat to turn all of its guns to fire on one target like a focus fire like on a battleship but all main guns tored the front that would be cool" Link to comment Share on other sites More sharing options...
Leonis Posted September 30, 2016 Share Posted September 30, 2016 There's electricity doing on around here. I'm out. The point of the topic is good but it's quite not discussable. Link to comment Share on other sites More sharing options...
Anaximander Posted September 30, 2016 Share Posted September 30, 2016 SO? using one cockpit for firing 5 turrets doesnt it need to automate 4 of them automatic turret doesnt mean, a turret that will fire at everyone within a range but a turret that will be setup with a certain behavior, and this through LUA parameters unless with your almighty intelligence you create a clone machine to fill the 4 other cockpits, the 4 other turrets will be script controled, following the master behavior, what is meant by dev team that 4 of them will have a much much less effective fire power so what is the point of your reply if it is not to show off once again? FYI a little remind of the 1st post: "i would like a script that will allow a large ship in combat to turn all of its guns to fire on one target like a focus fire like on a battleship but all main guns tored the front that would be cool" So, an autopilot and a pilot, are the exact same thing, right? The OP wants to have the ability to take control of all his turrets at the same time and focus them on one target. That's called manual control. He is manually assiging targets to all the turrets and fires them at the same time. The turrets are not firing on their own accord. Link to comment Share on other sites More sharing options...
Jeronimo Posted September 30, 2016 Share Posted September 30, 2016 So, an autopilot and a pilot, are the exact same thing, right? The OP wants to have the ability to take control of all his turrets at the same time and focus them on one target. That's called manual control. He is manually assiging targets to all the turrets and fires them at the same time. The turrets are not firing on their own accord. You trying a new font that hurts people eyes, so they wont be able to read your bullshits? Link to comment Share on other sites More sharing options...
Anaximander Posted September 30, 2016 Share Posted September 30, 2016 You trying a new font that hurts people eyes, so they wont be able to read your bullshits? Have you tried turning your ego off and on? Hotwingz and Pang_Dread 2 Link to comment Share on other sites More sharing options...
Jeronimo Posted September 30, 2016 Share Posted September 30, 2016 Have you tried turning your ego off and on? Have your mom tryed to turn your brain on? Link to comment Share on other sites More sharing options...
Anaximander Posted September 30, 2016 Share Posted September 30, 2016 Have your mom tryed to turn your brain on? You get an E for Effort on the subject of grammar. But you get an A+ for hilarity. Link to comment Share on other sites More sharing options...
Leonis Posted September 30, 2016 Share Posted September 30, 2016 You trying a new font that hurts people eyes, so they wont be able to read your bullshits? He used the same before with the color I believe lol. Rageous. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now