CALUNIO'S PROFILE

Brazilian, psychologist, game making lover. I make strange games, but I'm not a strange person.
Beautiful Escape: Dungeo...
A short game about torture and love (Game Gale '10 entry)

Search

Filter

[RMMV] Need help making a percentage based weather system

You don't need a plugin. It's quite simple.

Variable weatherrandom = random value between 1 and 100.

variable currentweather = 1 (clear)
If weatherrandom > 10 then currentweather = 2 (cloudy)
If weatherrandom > 70 then currentweather = 3 (foggy)
If weatherrandom > 80 then currentweather = 4 (rain)
If weatherrandom > 90 then currentweather = 5 (thunder)

if current weather = 1 then (effects of cloudy weather)
if current weather = 2 then (effects of foggy weather)
etc



[SCRIPTING] [RMMV] Custom name input

Trying to reply I just noticed I haven't quite imagine how the note input should look like. I'll give it some more thought and get back to you.

Do you guys decide the titles of your games thinking how easy it will be to Google it? I do.

I'm mostly concerned about google searches that will show something else.

I wanted to call my new game THERAPIST.
But... I guess I'll just add a second title.

Like: THERAPIST: life manager.

[SCRIPTING] [RMMV] Custom name input

Thanks a lot!

I don't have the image yet, but it'll look a lot like that example of yours. Can you just leave it like a black text box and I'll just show the picture from a regular command separately? Because I haven't thought of or designed the background of the "note to self" thing yet. But if it's better that it's integrated to the script, I could do it right now.


I don't really know the script command to change name. I'll try to paste an entire plugin below.


The font I'm using is a regular font called Arcadepix. It's not an image font.




//-----------------------------------------------------------------------------
// inputName by Lima
//
//

Input.keyMapper = {
8: 'back',
9: 'tab', // tab
13: 'ok', // enter
16: 'shift', // shift
17: 'control', // control
18: 'control', // alt
27: 'escape', // escape
32: 'ok', // space
33: 'pageup', // pageup
34: 'pagedown', // pagedown
37: 'left', // left arrow
38: 'up', // up arrow
39: 'right', // right arrow
40: 'down', // down arrow
45: 'escape', // insert
65: 'a',
66: 'b',
67: 'c',
68: 'd',
69: 'e',
70: 'f',
71: 'g',
72: 'h',
73: 'i',
74: 'j',
75: 'k',
76: 'l',
77: 'm',
78: 'n',
79: 'o',
80: 'p',
81: 'q',
82: 'r',
83: 's',
84: 't',
85: 'u',
86: 'v',
87: 'w',
88: 'x',
89: 'y',
90: 'z',
96: 'escape', // numpad 0
98: 'down', // numpad 2
100: 'left', // numpad 4
102: 'right', // numpad 6
104: 'up', // numpad 8
120: 'debug' // F9

};

//-----------------------------------------------------------------------------
// Window_NameInput
//
// The window for selecting text characters on the name input screen.

function Window_NameInput() {
this.initialize.apply(this, arguments);
}

Window_NameInput.prototype = Object.create(Window_Selectable.prototype);
Window_NameInput.prototype.constructor = Window_NameInput;
Window_NameInput.LATIN1 =
[ 'A','B','C','D','E', 'a','b','c','d','e',
'F','G','H','I','J', 'f','g','h','i','j',
'K','L','M','N','O', 'k','l','m','n','o',
'P','Q','R','S','T', 'p','q','r','s','t',
'U','V','W','X','Y', 'u','v','w','x','y',
'Z','','^','_', 'z','{','}','|','~',
'0','1','2','3','4', '!','#','$','%','&',
'5','6','7','8','9', '(',')','*','+','-',
'/','=','@','<','>', ':',';',' ','Page','OK' ];
Window_NameInput.LATIN2 =
;



Window_NameInput.RUSSIA =
;
Window_NameInput.JAPAN1 =
;
Window_NameInput.JAPAN2 =
;
Window_NameInput.JAPAN3 =
[ 'A','B','C','D','E', 'a','b','c','d','e',
'F','G','H','I','J', 'f','g','h','i','j',
'K','L','M','N','O', 'k','l','m','n','o',
'P','Q','R','S','T', 'p','q','r','s','t',
'U','V','W','X','Y', 'u','v','w','x','y',
'Z','','^','_', 'z','{','}','|','~',
'0','1','2','3','4', '!','#','$','%','&',
'5','6','7','8','9', '(',')','*','+','-',
'/','=','@','<','>', ':',';',' ','??','??' ];

Window_NameInput.prototype.initialize = function(editWindow) {
var x = 10;
var y = editWindow.y + editWindow.height + 8;
var width = 0;
var height = this.windowHeight();
Window_Selectable.prototype.initialize.call(this, x, y, width, height);
this._editWindow = editWindow;
this._page = 0;
this._index = 0;
this.activate();
};

Window_NameInput.prototype.windowHeight = function() {
return this.fittingHeight(9);
};

Window_NameInput.prototype.table = function() {
if ($gameSystem.isJapanese()) {
return ;
} else if ($gameSystem.isRussian()) {
return ;
} else {
return ;
}
};

Window_NameInput.prototype.maxCols = function() {
return 10;
};

Window_NameInput.prototype.maxItems = function() {
return 90;
};

Window_NameInput.prototype.character = function() {
return this._index < 88 ? this.table() : '';
};

Window_NameInput.prototype.isPageChange = function() {
return this._index === 88;
};

Window_NameInput.prototype.isOk = function() {
return this._index === 89;
};

Window_NameInput.prototype.itemRect = function(index) {
return {
x: index % 10 * 42 + Math.floor(index % 10 / 5) * 24,
y: Math.floor(index / 10) * this.lineHeight(),
width: 42,
height: this.lineHeight()
};
};

Window_NameInput.prototype.refresh = function() {
var table = this.table();
this.contents.clear();
this.resetTextColor();
for (var i = 0; i < 90; i++) {
var rect = this.itemRect(i);
rect.x += 3;
rect.width -= 6;
this.drawText(table, rect.x, rect.y, rect.width, 'center');
}
};

Window_NameInput.prototype.updateCursor = function() {
var rect = this.itemRect(this._index);
this.setCursorRect(rect.x, rect.y, rect.width, rect.height);
};

Window_NameInput.prototype.isCursorMovable = function() {
return this.active;
};

Window_NameInput.prototype.cursorDown = function(wrap) {
if (this._index < 80 || wrap) {
this._index = (this._index + 10) % 90;
}
};

Window_NameInput.prototype.cursorUp = function(wrap) {
if (this._index >= 10 || wrap) {
this._index = (this._index + 80) % 90;
}
};

Window_NameInput.prototype.cursorRight = function(wrap) {
if (this._index % 10 < 9) {
this._index++;
} else if (wrap) {
this._index -= 9;
}
};

Window_NameInput.prototype.cursorLeft = function(wrap) {
if (this._index % 10 > 0) {
this._index--;
} else if (wrap) {
this._index += 9;
}
};

Window_NameInput.prototype.cursorPagedown = function() {
this._page = (this._page + 1) % this.table().length;
this.refresh();
};

Window_NameInput.prototype.cursorPageup = function() {
this._page = (this._page + this.table().length - 1) % this.table().length;
this.refresh();
};

Window_NameInput.prototype.processCursorMove = function() {
var lastPage = this._page;
Window_Selectable.prototype.processCursorMove.call(this);
this.updateCursor();
if (this._page !== lastPage) {
SoundManager.playCursor();
}
};

Window_NameInput.prototype.processHandling = function() {
if (this.isOpen() && this.active) {


if (Input.isTriggered('ok')) {
this.onNameOk();
}

if (Input.isTriggered('back') || Input.isLongPressed('back')) {
this.processCancel();
}

if (Input.isTriggered('a') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();

}else if(Input.isTriggered('a')){
letra = Window_NameInput.LATIN1;
this.processOk();
}

if (Input.isRepeated('b') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if(Input.isTriggered('b')){
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('c') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if(Input.isTriggered('c')){
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('d') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('d')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}

if (Input.isRepeated('e') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('e')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}



if (Input.isRepeated('f') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('f')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('g') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('g')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('h') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('h')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('i') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('i')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('j') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('j')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}



if (Input.isRepeated('k') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('k')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('l') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('l')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('m') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('m')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('n') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('n')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('o') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('o')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('p') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('p')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}

if (Input.isRepeated('q') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('q')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('r') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('r')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('s') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('s')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('t') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('t')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('u') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('u')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('v') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('v')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('w') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('w')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}


if (Input.isRepeated('x') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('x')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}

if (Input.isRepeated('y') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('y')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}

if (Input.isRepeated('z') && Input.isPressed('shift')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}else if (Input.isRepeated('z')) {
letra = Window_NameInput.LATIN1;
this.processOk();
}
}
};

Window_NameInput.prototype.isCancelEnabled = function() {
return true;
};

Window_NameInput.prototype.processCancel = function() {
this.processBack();
};

Window_NameInput.prototype.processJump = function() {
if (this._index !== 89) {
this._index = 89;
SoundManager.playCursor();
}
};

Window_NameInput.prototype.processBack = function() {
if (this._editWindow.back()) {
SoundManager.playCancel();
}
};

Window_NameInput.prototype.processOk = function() {
if (this.character()) {
this.onNameAdd();
} else if (this.isPageChange()) {
SoundManager.playOk();
this.cursorPagedown();
} else if (this.isOk()) {
this.onNameOk();
}
};

Window_NameInput.prototype.onNameAdd = function() {
if (this._editWindow.add(letra)) {
SoundManager.playOk();
} else {
SoundManager.playBuzzer();
}
};

Window_NameInput.prototype.onNameOk = function() {
if (this._editWindow.name() === '') {
if (this._editWindow.restoreDefault()) {
SoundManager.playOk();
} else {
SoundManager.playBuzzer();
}
} else {
SoundManager.playOk();
this.callOkHandler();
}
};






I need help. I'm looking for inspirations for a game I'm making. Anybody able to point me to some good life simulation games, particularly those that do things like relationships, time systems, stats and story-based games that involve choice?


Also, you pretty much described the game I'm currently working on.

[SCRIPTING] [RMMV] Custom name input



The note appears as the name of the character... so the note is changed by name input, but I don't want it to look like a character name input.

Also, I made this topic to hire, and there's more specifications there.
https://rpgmaker.net/forums/topics/24531/

[SCRIPTING] [RMMV] Custom name input

author=BossMaker
Can I try to help you? You said it had to be as simple as possible.

Enter a "Script" event command, paste it into this code:
author=BossMaker
temp_note = prompt("Input note text:","");

if(temp_note == null || temp_note == "") {
/* Opicional */
alert("Canceled!");
}else{
/*Insert command HUD with var "temp_note" */
alert(temp_note); //Example
}
/* Clear var */
temp_note = null;


Wow, I didn't know it was possible to do that!
Anyway, it doesn't satisfy what I'm looking for for two reasons. First, the "text type" window aesthetics clash with the game, unlike the regular name input. Second, the name must remain on screen at all times. Let me show you a screenshot:

Hiring RMMV scripter

I need one plugin for RPGMaker MV that doesn't seem to exist, so I'm willing to pay for it, if someone could do it for me.

It's a name input script with the following specifications:

1- Typing instead of picking letters.
2- Doesn't bug with confirm keys (like A or SPACE).
3- Customizable font.
4- No character face.
6- Doesn't blur the rest of the screen.
5- Doesn't clash with my other plug-ins (I'm using a whole bunch).

I already have plug-ins that do some of these things, but not all.

Mownt: For Peace (IGMC 2017) Review

author=Superstroke
mownts are a made up species so who cares.



;)

Mownt: For Peace (IGMC 2017) Review

I loved this game. What's funny about this review is that the very things that are described as being bad are the things I liked about it. There was a point being delivered, and by the reaction of Dragon_Quill, it was well delivered. But some people don't know how to deal with negative feelings. Games like that are indeed not for everyone, and it's fine.


Although the "heteronormative" comment made the whole thing sound like trolling.