DarielZer0

Villager
Member
Joined
Oct 16, 2021
Messages
27
Reaction score
8
First Language
Spanish
Primarily Uses
RMMV
i have a issue with Qmovement,when a event trigger is On Event Touch it should be activated also when the player touch the event but it doesn't,the event has a custom move route from the plugin Galv event detector with a little personal modifications.It should activate if it collide with the player,but also if the player collide with it from behind,when i use the default move ramdom or i deactivate the Qmovement plugin it works fine
 
Last edited:

EndriuHagrid

Veteran
Veteran
Joined
May 4, 2021
Messages
56
Reaction score
7
First Language
English
Primarily Uses
RMMV
Please Help me with QSprite! I cannot understand what I`m doing wrong
 

ganges

Veteran
Veteran
Joined
Jun 13, 2017
Messages
69
Reaction score
337
First Language
Japanese
Primarily Uses
RMMV
Hello!

This is probably a QMovement question.

Does anyone know the code to get a boolean value if the player is in contact with a specific event interaction?

I want to put together an event that will be automatically triggered when the player comes into contact with an interaction that a map event has.
 

Risen194

Warper
Member
Joined
Dec 31, 2014
Messages
1
Reaction score
1
First Language
Richard
Primarily Uses
If someone still need it, you just need to make a couple of changes in QM+Followers.js:

add this(anywhere):
Game_CharacterBase.prototype.isDashing = function() {
return this._dashing;

};

and in Game_Follower.prototype.update add one string like this:

Game_Follower.prototype.update = function() {
Game_Character.prototype.update.call(this);
this.setOpacity($gamePlayer.opacity());
this.setBlendMode($gamePlayer.blendMode());
this._dashing = $gamePlayer.isDashing();
this.setWalkAnime($gamePlayer.hasWalkAnime());
this.setStepAnime($gamePlayer.hasStepAnime());
this.setDirectionFix($gamePlayer.isDirectionFixed());
this.setTransparent($gamePlayer.isTransparent());
};
Cheers for this
 

occultpunk

Villager
Member
Joined
Sep 28, 2020
Messages
21
Reaction score
7
First Language
English
Primarily Uses
RMMV
I'll be making a plugin called something like QImport. And with that plugin you would be able to "import" an event in a map obj. What would actually happen is that map object with the note tag ( lets say it was like: <importEvent:1,1> ) it will replace that map obj with event 1 from map 1, keeping the map obj's position
I got QMapEditor installed, I have QPlus, QMap, QImport etc. in the plugins. On map 1 I have one event with <importing> in its notetags. In the QMapEditor window, I put a map object with <import:event,1,1> in its notetags there. From this comment I gathered that this would make the map object created in the editor the same event as map 1, event 1 in the same position. That would be really nice. But instead, it makes the game hardlock on the Now Loading... screen because it's probably searching for a file, or an event that doesn't exist. If I disable the QImport plugin then the game will load normally without any of the intended functionality. Am I doing something wrong?

The plugins seem kind of poorly documented and sparse on tutorials. I'm not really sure how I would use notetags to import text or armor info, for instance, but it does sound really useful. But for now, I really want to get this map builder going. If the functionality doesn't exist, I wonder if you could somehow mod the map editor so that it uses an event spawner plugin like Yanfly or Galv's in order to do the trick?

Also, I'm having a trouble with Qmap. I have <onPlayer> on some map objects and interaction boxes but the objects won't turn translucent?
 
Last edited:

EDaelie

Villager
Member
Joined
Jun 6, 2020
Messages
13
Reaction score
7
First Language
English
Primarily Uses
N/A
To anyone able to answer my question, is there any methods of detecting a singular enemy's hp?
Script calls or whatnot? Basically I'm trying to permanently change an enemy's sprite when an enemy drops to low hp, My current method was using a force skill command to run a common event that reduces a variable, that variable is the same number as the enemy's hp (not tied to it directly, unfortunately), so when I use my skill and damage the enemy, it changes the variable as well, where the enemy event is set to change sprite at this variable threshold, however this method quickly breaks down hard the moment I have more than one enemy, as they both use this variable, and just simply making a new variable just wouldn't work, as damage still would change the variable no matter the target

tldr; (tho you should read for the context) is there a script call to check enemy event hp or a way to distinguish multiple enemies and interoperate it though events or skills or something???
 

Mike-Turtle

Veteran
Veteran
Joined
Apr 17, 2021
Messages
91
Reaction score
191
First Language
English
Primarily Uses
RMMV
@EDaelie
$gameMap._events[X]._battler._hp

Replace 'X' with the event ID if you know it.
From inside an event's page or move route you can replace X with 'this._eventId'.
 

EDaelie

Villager
Member
Joined
Jun 6, 2020
Messages
13
Reaction score
7
First Language
English
Primarily Uses
N/A
$gameMap._events[X]._battler._hp

Replace 'X' with the event ID if you know it.
From inside an event's page or move route you can replace X with 'this._eventId'.

This works perfectly! Thank you so much!

Might I ask, is there more quirks and scriptletts like this you know of like this that would be useful for someone using qabs? Pardon me for asking for more, but I'd love to expand my grasp on the plugin and it's capabilities.

Regardless, thanks again for the help ^ ^
 

Mike-Turtle

Veteran
Veteran
Joined
Apr 17, 2021
Messages
91
Reaction score
191
First Language
English
Primarily Uses
RMMV
No problem. I've been working with qabs for a couple of years now, but the code above is from the RMMV base scripts. Quasi just added to them.

I didn't know the above code off hand, but I can tell you how I found it out: Each event is an object that you can explore in the console.
  • Open the console while on a map [f8] and type $gameMap._events - and you'll get a list of all the events.
  • If you focus on one by typing - $gameMap._events[X] - (replacing X with the event you want) you'll get all sorts of code you can call, such as it's map position, or AI Mode.
  • If you delve deeper into the battler by typing - $gameMap._events[X]._battler - you can get all its battler stats such as ._hp.
The console is magic. eevry time I open my game, the first thing I do is hit F8 :D
 

EDaelie

Villager
Member
Joined
Jun 6, 2020
Messages
13
Reaction score
7
First Language
English
Primarily Uses
N/A
So I've been having this problem with the qsprite plugin, I've tested turning off all plugins, and it's only qsprite that's causing this. For some reason, sometimes my sprite completely blinks out of existence and pops back up. It happens in multiple different scenarios and instances, for example;
After playing a pose it vanishes and reappears after a few frames
If the sprite stands next to the player it vanishes and reappears after a few frames
After jumping vanishes and reappears after a few frames before even completing it's move route


I have made sure the qsprite is using the correct naming, I've even set up the default pose for if it somehow is getting an invalid pose and yet that doesn't help and blinks, I've set up all the listed preset poses from the help menu and still doesn't help, I've remove all use of pose commands from skills the sprite is using and, bet you didn't see this coming, It still blinks out of existence...

If anyone happens to have had an issue similar to what I'm describing and knows a way to fix of go around the issue, please help me out...
 

Mike-Turtle

Veteran
Veteran
Joined
Apr 17, 2021
Messages
91
Reaction score
191
First Language
English
Primarily Uses
RMMV
@EDaelie First: check in QSprite editor that you have no random commas in the animation frames. So for example; if it should be, 1,2,3,4 make sure you haven't got ,1,2,3,4 - the comma at the beginning will make the sprite blink. Same with 1,2,,3,4 and the double comma.

If it's not that, share a screen of your qSprite setup and I'll see if I can spot something. Here is a picture of mine if it helps...

Untitled.png
 
Last edited:

Hemolymph

Warper
Member
Joined
Jun 22, 2022
Messages
2
Reaction score
0
First Language
german
Primarily Uses
RMMV
I didn't know there was a thread so I made one for my question lol.. (QMovement/QMFollowers) Does anyone know how to change the collision box of the followers? I can only manage to change collision boxes with this command
qMovement changeCollider [CHARAID] [TYPE] [SHAPE] [WIDTH] [HEIGHT] [OX] [OY]
but it only says p for player and number for event. Those work but I'm not sure how to change the other actors/followers.
Putting stuff into the actor note box doesn't work for me for some reason. Will edit if I find a solution.
edit: Yeah I'm starting to think this just straight up isn't possible in the plug in on followers cause I managed to make the code work in the main player box but not the follower.
 
Last edited:

darkand

Nomad Robot Artis
Veteran
Joined
Dec 22, 2020
Messages
46
Reaction score
15
First Language
spanish
Primarily Uses
RMMV
guys is posible chage the sprite with the skill and not the poses? iwant use another animation sistem soo i dont want use qsprite
 

supercat

Villager
Member
Joined
Jul 30, 2020
Messages
5
Reaction score
1
First Language
English
Primarily Uses
RMMV
I'm not sure what I am doing wrong.

I have an event that is running on parallel process projecting audio for a moving event ID 1
Code:
qAudio start Train se radius25 max60 bindToEvent1 loop
erase event (used to prevent it looping a thousand times over itself)

page 2:
Code:
qAudio stop 1
nothing happens.
[qAudiofadeout10:] nothing happens.

I might be reading the help file wrong.
Did you ever find a fix for this? I'm having the same issue
 
Joined
Mar 6, 2021
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMMV
With QMovement, is there a way to have the collider rotate with the event? For a enemy I'm making its 48 by 144 hitbox dosnt rotate when it does.
 

Latest Threads

Latest Posts

Latest Profile Posts

Coin Locker title screen:
Still in progress...

Screenshot_134.png
the girls.png
So, these are all the girls of the party =3 (beside the protagonist if you play as a female.)
Now, I just have one more character sheet of the guys left and I'm done with their presentations =3
Can you recognize where this area is from? :kaocry:
Mq9QM3h.png
For those with up to 9 elements of magic; how do you structure your database. By element? Or by what is offensive vs supportive spells?
would anyone here be interested in rough concept art for the main protagonist of my game that might get changed later? :kaoswt2:

Forum statistics

Threads
124,442
Messages
1,163,678
Members
163,256
Latest member
onbetltd
Top