MV Problem with one of the weapons in QJ bullet.

The plugin: https://qiujiu.itch.io/qj-bullet-plugin

The issue: one of the weapons (meteorite dart, in test map it's on top right, second from the rightest one) does not work in my game even if i directly copy all of it's event code. I assume there are a missing component for it, since it summons the dart, but meteorites do not fall - most likely they are the separate entity that are summoned by the throw.

The problem is that i can't find it. There is no global events that would do such thing, and i searched every event on the bullet test map in the demo - there is no parallel process or some other kind of a trigger that would summon the meteorites.

I tried to search plugin's help file, but there are no mentions of meteorites. The only option that remains is to study the code of the original event, and it seems like i found the missing element there, but can't understand how it works.
MoveQT:The default is [].Specifies that after the bullet moves to a few frames, it starts
* to execute the instruction of 'preset text id' every few frames.
* Base format:
* [wait time before circling,waiting interval,preset text id]
* e.g: [[10,5,"test1"]]
* After the bullet runs for 10 frames, execute the instruction of 'preset text id' test1
* once, and then execute the instruction of 'preset text id' test1 every 5 frames

So the command in the event is:

MoveQT:[[0,12,"redCircle"]],RotationAuto:750,
That lead me to the Text Pre-Set setting of the plugin. Sadly, on that part my brain exploded and i failed to figure out what exactly it does apart from general understanding that it somehow determines the course of events that happen after this exact preset is triggered. At least i think that is what the help file says:

After the bullet runs for 10 frames, execute the instruction of 'preset text id' test1
* once, and then execute the instruction of 'preset text id' test1 every 5 frames

But there seems to be no explanation on how those text id's are made and the logic of their functions.

It looks like this:
Spoiler: Preset text (long!)
["{\"name\":\"boom\",\"content1\":\"\\\"QJ.BL.Shooter_ArcRange(0,{\\\\nAnim:131,\\\\nImg:\\\\\\\"dart\\\\\\\",\\\\nTarget:[\\\\\\\"G[enemy]\\\\\\\"],\\\\nAction:[\\\\\\\"C[1,3]\\\\\\\"],\\\\nPierce:999,\\\\nRegions:[1],\\\\nAnchorY:0.5,\\\\nx:this.screenShowXLast(1),\\\\ny:this.screenShowYLast(1),\\\\nPierceAction:true,\\\\nCollisionBox:\\\\\\\"R[24,24]\\\\\\\"\\\\n},[0,359,12,0])\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"electro\",\"content1\":\"\\\"QJ.BL.TwoPoint(\\\\nthis.screenShowX(),this.screenShowY(),\\\\n\\\\\\\"GRR[enemy,\\\\\\\"+this.screenShowX()+\\\\\\\",\\\\\\\"+this.screenShowY()+\\\\\\\",288]\\\\\\\",\\\\n\\\\\\\"GRR[enemy,\\\\\\\"+this.screenShowX()+\\\\\\\",\\\\\\\"+this.screenShowY()+\\\\\\\",288]\\\\\\\",\\\\n{\\\\nTarget:[\\\\\\\"G[enemy]\\\\\\\"],\\\\nAction:[\\\\\\\"C[1,1]\\\\\\\"],\\\\nMax:3,\\\\nDeadCount:0,\\\\nAtkWait:2\\\\n});\\\\n\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"test1\",\"content1\":\"\\\"QJ.BL.Shoot({\\\\ninitialRotation:this.rotation*180/Math.PI+10,\\\\nSpeed:16,Max:120,\\\\nRegions:[1],CollisionBox:\\\\\\\"R[6,26]\\\\\\\",\\\\nAnim:131,Target:[\\\\\\\"G[enemy]\\\\\\\"],\\\\nAction:[\\\\\\\"C[1,5]\\\\\\\"],\\\\nAfterImage:[\\\\\\\"0|#0000FF~10/#00FF00~10/#FF0000~10/#0000FF\\\\\\\",150,15,0],\\\\nx:this.screenShowX(),\\\\ny:this.screenShowY(),\\\\n})\\\"\",\"content2\":\"\\\"QJ.BL.Shoot({\\\\ninitialRotation:this.rotation*180/Math.PI-10,\\\\nSpeed:16,Max:120,\\\\nRegions:[1],CollisionBox:\\\\\\\"R[6,26]\\\\\\\",\\\\nAnim:131,Target:[\\\\\\\"G[enemy]\\\\\\\"],\\\\nAction:[\\\\\\\"C[1,5]\\\\\\\"],\\\\nAfterImage:[\\\\\\\"0|#0000FF~10/#00FF00~10/#FF0000~10/#0000FF\\\\\\\",150,15,0],\\\\nx:this.screenShowX(),\\\\ny:this.screenShowY(),\\\\n})\\\"\",\"content3\":\"\"}","{\"name\":\"laser1\",\"content1\":\"\\\"QJ.BL.Laser({\\\\nRegions:[1],\\\\nWidth:12,ReBound:1,DeadCount:5,\\\\nMax:120,Img:\\\\\\\"WideBeam2\\\\\\\",ImgPoint:\\\\\\\"LaserCircle2\\\\\\\",\\\\ninitialRotation:\\\\\\\"90\\\\\\\",\\\\nx:\\\\\\\"E[0]\\\\\\\",y:\\\\\\\"E[0]\\\\\\\",\\\\nAtkWait:10,ScaleX:\\\\\\\"0|100~15/150\\\\\\\",\\\\nOpacity:\\\\\\\"0|255~5/200~5/255~5/200\\\\\\\",\\\\nTarget:[\\\\\\\"P[]\\\\\\\"],Action:[\\\\\\\"C[2,3]\\\\\\\"],\\\\nRotationAuto:360+0.25,MaxLength:240\\\\n});\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"laser2\",\"content1\":\"\\\"QJ.BL.Laser({\\\\nRegions:[1],\\\\nWidth:12,ReBound:1,DeadCount:5,\\\\nMax:120,Img:\\\\\\\"WideBeam2\\\\\\\",ImgPoint:\\\\\\\"LaserCircle2\\\\\\\",\\\\ninitialRotation:\\\\\\\"90\\\\\\\",\\\\nx:\\\\\\\"E[0]\\\\\\\",y:\\\\\\\"E[0]\\\\\\\",\\\\nAtkWait:10,ScaleX:\\\\\\\"0|100~15/150\\\\\\\",\\\\nOpacity:\\\\\\\"0|255~5/200~5/255~5/200\\\\\\\",\\\\nTarget:[\\\\\\\"P[]\\\\\\\"],Action:[\\\\\\\"C[2,3]\\\\\\\"],\\\\nRotationAuto:360-0.25,MaxLength:240\\\\n});\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"laser3\",\"content1\":\"\\\"QJ.BL.Laser({\\\\nRegions:[1],\\\\nWidth:12,ReBound:0,DeadCount:10,\\\\nMax:90,Img:\\\\\\\"WideBeam2\\\\\\\",ImgPoint:\\\\\\\"LaserCircle2\\\\\\\",\\\\ninitialRotation:\\\\\\\"P[]\\\\\\\",\\\\nx:\\\\\\\"E[0]\\\\\\\",y:\\\\\\\"E[0]\\\\\\\",\\\\nAtkWait:10,ScaleX:20,\\\\nOpacity:\\\\\\\"0|255~5/200~5/255~5/200\\\\\\\",\\\\nMaxLength:48*10,\\\\n});\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"laser4\",\"content1\":\"\\\"QJ.BL.Laser({\\\\nRegions:[1],\\\\nWidth:12,ReBound:0,DeadCount:10,\\\\nMax:30,Img:\\\\\\\"WideBeam2\\\\\\\",ImgPoint:\\\\\\\"LaserCircle2\\\\\\\",\\\\ninitialRotation:\\\\\\\"P[]\\\\\\\",\\\\nx:\\\\\\\"E[0]\\\\\\\",y:\\\\\\\"E[0]\\\\\\\",\\\\nAtkWait:6,ScaleX:\\\\\\\"0|100~15/150\\\\\\\",\\\\nOpacity:\\\\\\\"0|255~5/200~5/255~5/200\\\\\\\",\\\\nTarget:[\\\\\\\"P[]\\\\\\\"],Action:[\\\\\\\"C[2,3]\\\\\\\"],MaxLength:\\\\\\\"0|24~30/480\\\\\\\",\\\\nRotationAuto:0\\\\n});\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"HY1\",\"content1\":\"\\\"QJ.BL.Shoot({\\\\ninitialRotation:\\\\\\\"M[]\\\\\\\",\\\\nSpeed:12,Max:90,\\\\nRegions:[1],CollisionBox:\\\\\\\"R[16,16]\\\\\\\",\\\\nAnim:131,Target:[\\\\\\\"G[enemy]\\\\\\\"],\\\\nAction:[\\\\\\\"C[1,5]\\\\\\\"],Img:\\\\\\\"dart\\\\\\\",\\\\nAfterImage:[\\\\\\\"0|#ec6c51~5/#ffb98f~5/#ec6c51\\\\\\\",255,8,12],\\\\nMoveQT:[[0,3,\\\\\\\"HY3\\\\\\\"]],\\\\nx:this.screenShowX(),\\\\ny:this.screenShowY(),\\\\ninitialRotation:this.rotation*180/Math.PI+10,\\\\nPierce:99999,PierceAction:true\\\\n})\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"HY2\",\"content1\":\"\\\"QJ.BL.Shoot({\\\\ninitialRotation:\\\\\\\"M[]\\\\\\\",\\\\nSpeed:12,Max:90,\\\\nRegions:[1],CollisionBox:\\\\\\\"R[16,16]\\\\\\\",\\\\nAnim:131,Target:[\\\\\\\"G[enemy]\\\\\\\"],\\\\nAction:[\\\\\\\"C[1,5]\\\\\\\"],Img:\\\\\\\"dart\\\\\\\",\\\\nAfterImage:[\\\\\\\"0|#ec6c51~5/#ffb98f~5/#ec6c51\\\\\\\",255,8,12],\\\\nMoveQT:[[0,3,\\\\\\\"HY3\\\\\\\"]],\\\\nx:this.screenShowX(),\\\\ny:this.screenShowY(),\\\\ninitialRotation:this.rotation*180/Math.PI-10,\\\\nPierce:99999,PierceAction:true\\\\n})\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"HY3\",\"content1\":\"\\\"QJ.BL.Shoot({\\\\ninitialRotation:\\\\\\\"M[]\\\\\\\",\\\\nSpeed:1,Max:60,DeadCount:10,Opacity:100,\\\\nRegions:[1],CollisionBox:\\\\\\\"R[16,16]\\\\\\\",\\\\nAnim:131,Target:[\\\\\\\"G[enemy]\\\\\\\"],\\\\nAction:[\\\\\\\"C[1,5]\\\\\\\"],Img:\\\\\\\"dart\\\\\\\",\\\\nx:this.screenShowX(),\\\\ny:this.screenShowY(),\\\\ninitialRotation:this.rotation*180/Math.PI-10\\\\n})\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"redCircle\",\"content1\":\"\\\"QJ.BL.Shoot({\\\\nImg:\\\\\\\"F\\\\\\\",Speed:0,Max:90,DeadCount:0,\\\\nx:this.screenShowX(),\\\\ny:this.screenShowY(),\\\\nscaleX:\\\\\\\"0|0~90/100\\\\\\\",\\\\nscaleY:\\\\\\\"0|0~90/100\\\\\\\",\\\\nBit:true,AnchorY:0.5,\\\\nOpacity:\\\\\\\"0|200~90/50\\\\\\\",\\\\nMoveQT:[[50,9999,\\\\\\\"meteorite\\\\\\\"]],\\\\n});\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"meteorite\",\"content1\":\"\\\"QJ.BL.Shoot({\\\\nImg:\\\\\\\"meteorite\\\\\\\",Speed:48,Max:8,DeadCount:0,\\\\nx:this.screenShowX(),\\\\ny:this.screenShowY()-48*8,\\\\ninitialRotation:180,Bit:true,Anim:132,\\\\nAtkRange:72,NoCollisionAnim:true,NoCollisionAction:true,\\\\nTarget:[\\\\\\\"G[enemy]\\\\\\\"],Action:[\\\\\\\"C[1,99]\\\\\\\"]\\\\n});\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"sakuraShoot\",\"content1\":\"\\\"QJ.BL.Shoot({\\\\nImg:\\\\\\\"sakura\\\\\\\",Target:[\\\\\\\"G[enemy]\\\\\\\"],Action:[\\\\\\\"C[1,25]\\\\\\\"],\\\\nPierce:9999,PierceAction:true,\\\\nDeadCount:15,initialRotation:this.showRotation()+180,\\\\nx:this.screenShowX(),RotationAuto:this.showRotation(),\\\\ny:this.screenShowY(),\\\\nMax:180,Speed:16,CollisionBox:\\\\\\\"R[72,96]\\\\\\\",\\\\nAfterImage:[\\\\\\\"#f59ef3\\\\\\\",255,30,36],\\\\n});\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"Slalom\",\"content1\":\"\\\"QJ.BL.Shoot({\\\\ninitialRotation:this.showRotation()+180,\\\\nImg:\\\\\\\"dart2\\\\\\\",RotationAuto:390,\\\\nSpeed:8,Pierce:999,\\\\nRegions:[1],CollisionBox:\\\\\\\"R[32,32]\\\\\\\",\\\\nAnim:131,\\\\nx:this.screenShowX(),\\\\ny:this.screenShowY(),\\\\nAnchorY:0.5,\\\\nTarget:[\\\\\\\"G[enemy]\\\\\\\"],PierceAction:true,\\\\nAction:[\\\\\\\"C[1,2]\\\\\\\"],\\\\nMoveType:\\\\\\\"TP[7]\\\\\\\",\\\\nMax:\\\\\\\"T[this.colliedWith(-1)]\\\\\\\",\\\\nAfterImage:[\\\\\\\"#f13c32\\\\\\\",\\\\\\\"0|255~16|255\\\\\\\",16,\\\\\\\"0|16~16%0\\\\\\\"]\\\\n})\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"laser5\",\"content1\":\"\\\"let color = [Math.random()*300-150,Math.random()*300-150,Math.random()*300-150,0];\\\\nQJ.BL.Laser({\\\\nRegions:[1],Width:12,ReBound:0,Tone:color,\\\\nMax:120,Img:\\\\\\\"WideBeam3\\\\\\\",ImgPoint:\\\\\\\"LaserCircle3\\\\\\\",\\\\ninitialRotation:45,\\\\nx:\\\\\\\"B[\\\\\\\"+this.index+\\\\\\\"]\\\\\\\",y:\\\\\\\"B[\\\\\\\"+this.index+\\\\\\\"]\\\\\\\",\\\\nAtkWait:20,Target:[\\\\\\\"G[enemy]\\\\\\\"],Action:[\\\\\\\"C[1,2]\\\\\\\"],\\\\nRotationAuto:360-2,MaxLength:\\\\\\\"0|0~120/240\\\\\\\",Opacity:\\\\\\\"0|255~120/0\\\\\\\",\\\\n});\\\\nQJ.BL.Laser({\\\\nRegions:[1],Width:12,ReBound:0,Tone:color,\\\\nMax:120,Img:\\\\\\\"WideBeam3\\\\\\\",ImgPoint:\\\\\\\"LaserCircle3\\\\\\\",\\\\ninitialRotation:135,\\\\nx:\\\\\\\"B[\\\\\\\"+this.index+\\\\\\\"]\\\\\\\",y:\\\\\\\"B[\\\\\\\"+this.index+\\\\\\\"]\\\\\\\",\\\\nAtkWait:20,Target:[\\\\\\\"G[enemy]\\\\\\\"],Action:[\\\\\\\"C[1,2]\\\\\\\"],\\\\nRotationAuto:360-2,MaxLength:\\\\\\\"0|0~120/240\\\\\\\",Opacity:\\\\\\\"0|255~120/0\\\\\\\",\\\\n});\\\\nQJ.BL.Laser({\\\\nRegions:[1],Width:12,ReBound:0,Tone:color,\\\\nMax:120,Img:\\\\\\\"WideBeam3\\\\\\\",ImgPoint:\\\\\\\"LaserCircle3\\\\\\\",\\\\ninitialRotation:225,\\\\nx:\\\\\\\"B[\\\\\\\"+this.index+\\\\\\\"]\\\\\\\",y:\\\\\\\"B[\\\\\\\"+this.index+\\\\\\\"]\\\\\\\",\\\\nAtkWait:20,Target:[\\\\\\\"G[enemy]\\\\\\\"],Action:[\\\\\\\"C[1,2]\\\\\\\"],\\\\nRotationAuto:360-2,MaxLength:\\\\\\\"0|0~120/240\\\\\\\",Opacity:\\\\\\\"0|255~120/0\\\\\\\",\\\\n});\\\\nQJ.BL.Laser({\\\\nRegions:[1],Width:12,ReBound:0,Tone:color,\\\\nMax:120,Img:\\\\\\\"WideBeam3\\\\\\\",ImgPoint:\\\\\\\"LaserCircle3\\\\\\\",\\\\ninitialRotation:315,\\\\nx:\\\\\\\"B[\\\\\\\"+this.index+\\\\\\\"]\\\\\\\",y:\\\\\\\"B[\\\\\\\"+this.index+\\\\\\\"]\\\\\\\",\\\\nAtkWait:20,Target:[\\\\\\\"G[enemy]\\\\\\\"],Action:[\\\\\\\"C[1,2]\\\\\\\"],\\\\nRotationAuto:360-2,MaxLength:\\\\\\\"0|0~120/240\\\\\\\",Opacity:\\\\\\\"0|255~120/0\\\\\\\",\\\\n});\\\"\",\"content2\":\"\",\"content3\":\"\"}","{\"name\":\"love\",\"content1\":\"\\\"let dataList = {'0':1,'-30':1.62,'-60':1.64,'-90':1.28,'-120':1.04,'-150':0.98,'-180':1.18,'150':0.98,'120':1.04,'90':1.28,'60':1.64,'30':1.62};\\\\nfor (let i in dataList) {\\\\nQJ.BL.Shoot({\\\\ninitialRotation:this.showRotationMove()+Number(i),\\\\nx:this.screenShowX(),y:this.screenShowY(),\\\\nRegions:[1],Speed:dataList,scaleX:200,scaleY:200,\\\\nCollisionBox:\\\\\\\"C[3]\\\\\\\",Max:50,Target:[\\\\\\\"G[enemy]\\\\\\\"],\\\\nImg:\\\\\\\"love\\\\\\\",DeadCount:30,DeadScale:200,\\\\nAction:[\\\\\\\"C[1,3]\\\\\\\"]\\\\n});\\\\n}\\\"\",\"content2\":\"\",\"content3\":\"\"}"]


Sadly i am code illiterate so i have no idea about the meaning of all those functions.

So i just copied it into my game and... it sort of works, red circles where meteorites will fall appear, but meteorites fall randomly and seems to be most of them appear outside the map. Since i directly copied source material, the only mistake i could done at this point is miss one more component of this event? But... which one?

At this point my understanding of it all hit a brick wall and whatever remains of my intellect admitted utter failure. So maybe someone with better understanding of code can explain that to me.
you can screenshot the preset settings rather than copy the text.
the image of meteorites are drawed by the image folder "bullets",
so if this folder doesn't exist, I suggest to add them.

in the demo, the folder exist, there is probably no call when its
missing or not set, so double check the event, what it uses and check
the folder of the bullets if its taken correctly.
you can screenshot the preset settings rather than copy the text.
Sadly, nope, here it does not show the entire text -
1744724360524.png

And here i would need like a hundred of screenshots before i scroll trough all the text -
1744724397104.png

the image of meteorites are drawed by the image folder "bullets",
so if this folder doesn't exist, I suggest to add them.
I do have the folder since all other bullet images come from it.
And, as you can see at the end, the meteorite image DOES in fact exist, it just aren't being displayed properly. But why, if everything i have is exact copy of the demo? What am i missing?
when on configuration (this one on the meteorite) you see clearly, it uses
the image "meteorite" which is inside the bullets folder.
meteor.png



so you clearly miss something if this is correct.

the demo explains mostly how it works, so you can adjust values if required.
when on configuration (this one on the meteorite) you see clearly, it uses
the image "meteorite" which is inside the bullets folder.
View attachment 337684


so you clearly miss something if this is correct.

the demo explains mostly how it works, so you can adjust values if required.

As you can see they fall, but not into red circles, mostly somewhere off screen. Damage is also misaligned, aka it tied to the meteors, so if i place enemy on the edge of the map it gets damaged, otherwise it just stands in circles and nothing happens.
that is something above my head, can be editor/core version to be different?
or which version do you use?

I might not be able to help you further though as I didn't use any in my project yet.
but if the meteorite event is copied over, than it might be 1 of the other plugin
that is required?

I don't know if you use the others as well.
can be editor/core version to be different?
or which version do you use?
I am not sure what core do you mean, this plugin does not require core or anything else to work.
I don't know if you use the others as well.
I do, but they are unrelated - spawning events, bind movement, skip title. The only thing i don't know is circle movement, there is no description, but i kinda doubt it's about meteors. But i will try it.


I might not be able to help you further though as I didn't use any in my project yet.
No problems, thanks for trying. Maybe someone else will. I posted the code and events in hope that maybe someone will understand the logic without using the plugin.
main plugin is the projectile, the other of bullets and the 2 others are connected.
so it might be one that is used to make it work.

spawning is required so far I know or skip title.

the others might be, but I'm out of options if it fails.
check common events, images, or other interactions, pages.
main plugin is the projectile, the other of bullets and the 2 others are connected.
Are you looking for MZ version perhaps? Bullet is main plugin, rest are what i described.
Tried adding the others, didn't help.
I use MV and its Demo, but Im out of idea's here, hope someone else
has better luck or see what it's missing or doesn't work as showcased.

or probably ask him why its doing that as I find the setup quite complicated.

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-one-of-the-weapons-in-qj-bullet.176974/