Walking like they are drunk? O.o;

Started by Blizzard, August 29, 2008, 10:06:29 am

Previous topic - Next topic


Spoiler: ShowHide

Screenshot for those who wish it :)

Sooo... if I wanted to "be used to display a drunken status effect when displaying status effects on the map", how would I go about it? >.<


You are quite right Blizz.
I do not believe you made it with a practical purpose in mind though.
Even so it is quite nice XD

Nice screenshot Aqua. It depicts how it works quite nicely.


As I said, it was an accident after all. xD
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.


Hey, penicillin was an accident! ;)

Sometimes accidents are wonderful :P


Well, not all scripts need to be pivotal to the game. Little ones like this mount up and add to the overall presentation. You could use this to simply place a drunken NPC outside a bar or something.

Nice accidental script you've made here. 8)


Necro due to overwhelming amount of awesome. I may just have to use this. xD
Quote from: Blizzard on September 09, 2011, 02:26:33 am
The permanent solution for your problem would be to stop hanging out with stupid people.


I approve your decision to necro-bump.  :haha:
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

tech williams

Made an entire event system based off of this script. Now you get can buy beer at the bar and if you drink more than 4 (Lightweight) the colors start messing up and the drunken state is on. May not be entirely practical considering the beer has no other effects yet, but I really want to work on it more so who knows. Thanks for posting your mistake.  :haha:
How is it ninjas exist when they were meant to be silent killers? Shouldn't they be unknown?<br /><br />Hay you...Check out my deviant art.<br />Click here


Quote from: Blizzard on September 09, 2011, 02:26:33 am
The permanent solution for your problem would be to stop hanging out with stupid people.


July 02, 2011, 11:34:47 pm #29 Last Edit: July 02, 2011, 11:36:06 pm by JellalFerd
Quote from: Hellfire Dragon on August 29, 2008, 10:23:15 am
lol that's awesome :haha:Is there a way for them to keep 'wobbling' when they are standing still?

class Game_Character
 attr_accessor :drunken

class Sprite_Character
 alias init_drunken_later initialize
 def initialize(viewport, character = nil)
   @drunken_mode = true
   init_drunken_later(viewport, character)
 alias upd_drunken_later update
 def update
   if @character != nil && @character.drunken
     if @character.moving? || self.angle != 0 || !@character.moving?
       if @drunken_mode
         self.angle += 1
         @drunken_mode = (self.angle <= 8)
         self.angle -= 1
         @drunken_mode = (self.angle < -8)
       @drunken_mode, self.angle = true, 0


Sorry, didn't notice the post date.
QuoteFrank says:
But obviously they put on that shirt on in the morning.
Booty shirts are nice.
Depends on the girl.
Jellal says:
booty shirts


Its fine this time. The last date wasn't 90 days ago. Necro posting is when you post in a topic that hasn't been replied to in over 90 days. Its only allowed if you're relating to the thread as in helping, asking for help, etc... In this case you didn't necro and if you did, its helpful to the topic.

Neo el feo

I'm sorry for necroposting.
Did anyone know how to deactivate this script?

because once you activate it, it works all the time.
So, how to do the character get sober again?

PS: my english sucks.  :^_^':


$game_map.events[ID].drunken = false
$game_player.drunken = false

Neo el feo

March 13, 2013, 12:30:31 pm #33 Last Edit: March 13, 2013, 12:50:38 pm by Neo el feo
Quote from: LiTTleDRAgo on March 12, 2013, 01:03:35 am
$game_map.events[ID].drunken = false
$game_player.drunken = false

I tried this: $game_player.drunken = false , but then the whole game stop.
sorry, just the player stop, and no matter what, he doesn´t move.


March 13, 2013, 01:29:08 pm #34 Last Edit: March 13, 2013, 01:36:40 pm by KK20

I should just add this to my siggy, seeing as I've posted this link over 5 or 6 times now.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!