Poison

Indsh

Veteran
Veteran
Joined
Oct 11, 2015
Messages
225
Reaction score
65
First Language
English
Primarily Uses
N/A
Very simple but I can't seem to do it.


I want to change it so when you walk whilst poisoned it flash's green instead of red, also would mind changing how many steps till the effect takes place.


Hoping I'm being loose and the answer is obvious.
 

sieben43

Veteran
Veteran
Joined
Oct 25, 2015
Messages
66
Reaction score
12
First Language
German, English
Primarily Uses
RMMV
The amount of steps is defined in the database for the state itself, press F9, go to states and change it from there.


For a different color for flashing,you will have to open rpg_objects.js in the 'js' folder of your game folder, navigate to line 888, at least for me, don't know about any changes for different versions, but you can also search the file for the line itself which looks like this:


this.startFlash([255, 0, 0, 128], 8);




Now change the line to this:


this.startFlash([0, 255, 0, 128], 8);





save, and that should be it.
 
Last edited by a moderator:

Indsh

Veteran
Veteran
Joined
Oct 11, 2015
Messages
225
Reaction score
65
First Language
English
Primarily Uses
N/A
Thanks! got that flash working perfect but I can't find how to change the steps, I can only see how to change the effect (damages percentage) not the rate it happens.
 

thalesgal

Veteran
Veteran
Joined
Dec 23, 2016
Messages
195
Reaction score
45
First Language
Portuguese
Primarily Uses
RMMV
Hello Indsh!


I found the line to change the steps!


Open the rpg_objects, then ctrl + F, and write stepsForTurn and search.


The number 20 below is the number of steps to do damage to the player. Just change it to the number you like.


Sorry for english mistakes haha.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top