User Tag List

Results 1 to 7 of 7

Thread: [Winter 08] RPG Maker

  1. #1
    OBEY GOVERNMENT GOD ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,780
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,711
    Level
    32
    vBActivity - Bars
    Lv. Percent
    99.92%

    [Winter 08] RPG Maker

    ....Mark I.


    What it does:

    -Warps Link to the exact Dmap screen co-ordinates on the following Dmap when conditions are met. Those conditions are currently set as an encounter rate, and when Link walks around for more than the given encounter rate time, he enters a seperate battle screen with whatever enemies you set on a screen to screen basis. Once the battle is won, he will be warped to the EXACT spot he left on the "world map" or whatever you want to call it. Can also play an intro and victory message string, and make the screen wavy as a battle intro effect. (but Screen->Wavy is still buggy I think)


    Code:
    //D0-random encounter rate(random) in frames
    //D1-random encounter rate(fixed) in frames
    //D2-message string (optional)
    //
    //D0 and D1 are added together to determine encounter rate.
    // these values only decrease while Link is walking on screen.
    //
    // message(optional) will play the message before battle
    // and the following message string after defeating the enemies.
    //...you currently cannot run from battle!
    
    ffc script rpg_maker{
    
    	void run(int r, int time, int m){
    
    		int random = Rand(r) + time;
    		int lx = 0;
    		int ly = 0;
    		float map;
    		float screen;
    		bool battle = false;
    		bool warped = false;
    		bool initialize = false;
    		int enemy_number;
    
    		while(true){
    
    			if(battle == false){
    
    				if(Link->InputLeft || Link->InputRight || Link->InputDown || Link->InputUp){
    
    					random--;
    				}
    				if(random == 0){ 
    			
    					random = Rand(r) + time;
    					lx = Link->X;
    					ly = Link->Y;
    					map = Game->GetCurDMap();
    					screen = Game->GetCurDMapScreen();
    					battle = true;
    				}
    			}
    			if(battle){
    
    				if(warped == false){
    			
    					if(m>0){Screen->Message(m);Waitframes(4);}
    					//Screen->Wavy = 10;
    					Link->PitWarp(map + 1,screen);
    					warped = true;
    				}
    			}
    			if(warped){
    				
    				if(initialize == false){
    
    					Link->X = 120; Link->Y = 80;
    					Waitframes(4);
    					initialize = true;
    				}
    			}
    			if(initialize){
    
    				enemy_number = Screen->NumNPCs();
    				while(enemy_number > 0){
    
    					enemy_number--;
    					Waitframe();
    				}
    				enemy_number = Screen->NumNPCs();
    				if(enemy_number == 0){
    
    					Waitframes(30);
    					if(m>0) Screen->Message(m+1);
    					Waitframes(30);
    					//Screen->Wavy = 10;
    					Link->PitWarp(map, screen);
    					Link->X = lx;
    					Link->Y = ly;
    					battle = false;
    					warped = false;
    					initialize = false;
    				}
    			}
    		Waitframe();
    		}
    	}
    }

    Setting up battle screens:

    Simple. Let's say Dmap 12 is a "world map" type map. Set the ffc for "carry over" on Dmap 12 starting screens, then all combat will occur on Dmap 13.

    So if you are on Dmap 12 Screen 6,7, then you will be warped to Dmap 13 screen 6,7... Dmap offsets untested however.


    Now there can be plausible FF like quests made. And this idea is easily adaptable for other stuff too, like fixed encounters, boss battles, etc.


    So, who will be the first then?...
    Join the Gleeok Book Club - It's easy, all you have to do is read...

    "Protocols of the Learned Elders of Zion" (British Royal Institute, 1906)
    None Dare Call It Conspiracy -Gary Allen
    Deliberate Dumbing Down of America -Charlotte Iserbyt
    Morals and Dogma -Albert Pike
    Bloodlines Of The Illuminati -Fritz Springmeier
    The Rape Of Justice -Eustace Mullins
    The World Order, A Study in the Hegemony of Parasitism -Eustace Mullins
    The Most Dangerous Superstition -Larken Rose
    "War is a Racket" �Major General Smedley Butler

    The WWI Conspiracy: Part 1 - Part 2 - Part 3 "A New World Order"

    �The modern theory of the perpetuation of debt has drenched the earth with blood, and crushed its inhabitants under burdens ever accumulating.� �Thomas Jefferson
    �It is well enough that the people of the nation do not understand our banking and monetary system for, if they did, I believe there would be a revolution before tomorrow morning.� �Henry Ford
    �Man will ultimately be governed by God or by tyrants.� �Benjamin Franklin

    This post contains the official Gleeok� seal of approval. Look for these and other posts in an area near you.

  2. #2
    クールな男
    MasterSwordUltima's Avatar
    Join Date
    Jul 2001
    Location
    Keystonia
    Age
    32
    Posts
    5,576
    Mentioned
    17 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    8,434
    Level
    27
    vBActivity - Bars
    Lv. Percent
    73.99%

    Re: RPG Maker

    I'd like to see a StarTropics II type quest made, please.

  3. #3
    Wizrobe
    Join Date
    Dec 2006
    Age
    25
    Posts
    3,692
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    8,792
    Level
    28
    vBActivity - Bars
    Lv. Percent
    23.63%

    Re: RPG Maker

    Wow, this should be interesting to play around with.
    Play The Darkness Within, my newest ZC Quest! Download here:
    http://www.purezc.net/index.php?page=quests&id=374

    Quote Originally Posted by rock_nog View Post
    Well of course eveything's closed for Easter - don't you know of the great Easter tradition of people barricading themselves up to protect themselves from the return of Zombie Christ?


  4. #4
    Gibdo bluedeath's Avatar
    Join Date
    Jul 2006
    Location
    New Brunswick, Canada
    Age
    26
    Posts
    720
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    2,634
    Level
    16
    vBActivity - Bars
    Lv. Percent
    75.8%

    Re: RPG Maker

    Not that I would use it but good job with this, it would be interesting playing a quest with this function.

  5. #5
    Octorok Beta Link's Avatar
    Join Date
    Jan 2007
    Age
    27
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    983
    Level
    10
    vBActivity - Bars
    Lv. Percent
    86.43%

    Re: RPG Maker

    Wow! I could see someone making ZeldaII using this script. Good job!

  6. #6
    Wizrobe C-Dawg's Avatar
    Join Date
    Jan 2002
    Posts
    4,205
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    6,470
    Level
    24
    vBActivity - Bars
    Lv. Percent
    76.31%

    Re: RPG Maker

    Quote Originally Posted by MasterSwordUltima View Post
    I'd like to see a StarTropics II type quest made, please.
    Except that StarTropics II was absolute garbage.

    StarTropics I, now, THERE was a tasty meatball.

  7. #7
    Keese
    Join Date
    Sep 2006
    Age
    35
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    611
    Level
    8
    vBActivity - Bars
    Lv. Percent
    78.99%

    Re: RPG Maker

    Have a demo of this system?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social