Data Realms Fan Forums http://45.55.195.193/ |
|
Moding Trouble http://45.55.195.193/viewtopic.php?f=1&t=12017 |
Page 1 of 1 |
Author: | Coops124 [ Tue Aug 19, 2008 6:10 pm ] |
Post subject: | Moding Trouble |
Hey Guys, im making a mod with a weapon (assault rifle) and i'd like to know how to make my weapon shoot a certain amount of Shots and then stop, kinda like burstfire.. lets say it shoots 3 shots then stops. How do i do that? Im also not a very good coder |
Author: | ppiksmada [ Tue Aug 19, 2008 6:47 pm ] |
Post subject: | Re: Moding Trouble |
From what I understand, there's no real way to do it besides giving it a 3-round clip and have it reload between each burst. Two builds from now I think you can script weapons, so it'll be a bit of a wait. |
Author: | Coops124 [ Tue Aug 19, 2008 7:58 pm ] |
Post subject: | Re: Moding Trouble |
ahh, ok |
Author: | Tea [ Tue Aug 19, 2008 8:54 pm ] |
Post subject: | Re: Moding Trouble |
Possible: Make it have a tracer round every 4 shots and make the round and invisible o lifetime null particle. |
Author: | ppiksmada [ Tue Aug 19, 2008 9:26 pm ] |
Post subject: | Re: Moding Trouble |
It would still fire single if you wanted it to, and you have to take into account how fast he might want the gun to fire. It would sound like ***-***-*** as opposed to ***----*** if you kept firing. Wouldn't be a convincing delay. |
Author: | Tea [ Tue Aug 19, 2008 9:40 pm ] |
Post subject: | Re: Moding Trouble |
ppiksmada wrote: It would still fire single if you wanted it to, and you have to take into account how fast he might want the gun to fire. It would sound like ***-***-*** as opposed to ***----*** if you kept firing. Wouldn't be a convincing delay. Yeah, You're right, but I just thought of a different way. Your way still sounds better. |
Author: | Duh102 [ Tue Aug 19, 2008 11:23 pm ] |
Post subject: | Re: Moding Trouble |
Well, you could also make it fire an emitter that fired 3 rounds, but it would look funny if it shot them if you moved the gun in between. You could also make it sound like you shot a burst and just shoot a single round, again not exactly what you're looking for. |
Author: | Azukki [ Wed Aug 20, 2008 12:27 am ] |
Post subject: | Re: Moding Trouble |
Duh102 wrote: fire an emitter You can't make an emitter shoot something the direction you're aiming consistently. If you make it the round particle, it just emits at the predetermined angle. If you make it the round shell(casing), it emits at the firing angle, plus the predetermined angle, (ignorable if zero/undefined) but only if you're facing rightward, and the opposite direction leftward. This is also why we can't have straight-firing accurately propelled rocket launchers. Directionally limited turrets come to mind though; they could make use of casings' partially correct angular ejection. Or you could hold a HDF for firing in different directions, but that's a bit silly. Objects with rotational symmetry of the second order (two-fold) (they stay the same when rotated 180 degrees) would also be unaffected by the oppositional angle too, as can be seen in numgun's C3 Shield Gun. I'm guessing it has something to do with the way data made the HDF not be upside-down when aimed leftward. He rotated some of the aspects of the HDF a full 180. Including the angle of the fired round particle and ejected round shell/casing. He later made the angle of the fired round particle unaffected by the angle of the HDF, for whatever reason. But he didn't do this for casings, there probably wasn't a reason to. So there's still this exploit in casings for modders, even though it wasn't intentionally made at all. But that's all just my guess. understandable tl;dr yeah but if you face left the emissions hit you |
Author: | fyher [ Wed Aug 20, 2008 7:14 am ] |
Post subject: | Re: Moding Trouble |
wow, i actually read all that....... |
Author: | Grif [ Thu Aug 21, 2008 12:12 am ] |
Post subject: | Re: Moding Trouble |
fyher wrote: wow, i actually read all that....... OH MY GOD THAT IS SO AMAZING YOU ARE CAPABLE OF READING THREE CONSECUTIVE PARAGRAPHS? ♥♥♥♥, I AM IN FACT ♥♥♥♥ AMAZED. YOU ARE A GOD AMONG MEN. YOUR ATTENTION SPAN IS MIGHTY, YOUR PHONETIC VERBAL READING THUNDEROUS, AND YOUR FINGER RIDING THE LINES ACROSS THE SCREEN IS TRULY A SIGN OF GREATNESS. I CONGRATULATE YOU, SIR, ON YOUR ABILITY TO READ THREE ♥♥♥♥ PARAGRAPHS. |
Author: | Thanatos [ Thu Aug 21, 2008 12:56 am ] |
Post subject: | Re: Moding Trouble |
Very nice Grif, I'd say a 9.5 You advance to the next round! (no, no way to do it.) |
Author: | Coops124 [ Thu Aug 21, 2008 4:37 am ] |
Post subject: | Re: Moding Trouble |
Duh102 wrote: Well, you could also make it fire an emitter that fired 3 rounds, but it would look funny if it shot them if you moved the gun in between. You could also make it sound like you shot a burst and just shoot a single round, again not exactly what you're looking for. It would Fire like a shotgun though and the emitter wouldn't fire far enough BUT thanks for thinking about it |
Author: | Coops124 [ Thu Aug 21, 2008 4:43 am ] |
Post subject: | Re: Moding Trouble |
I hope you can do something about this in either one of the new builds or in the ingame console, or maybe some REALLY good coding.. |
Author: | fyher [ Fri Aug 22, 2008 2:10 am ] |
Post subject: | Re: Moding Trouble |
i wish there was a thread where all of Grif's flame posts were, id be the most popular thread ever.. I wish people wouldn't go blatantly off-topic. Topic seemed to do pretty well until you posted. And by the way, It'd be the most popular thread ever." |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |