User Tag List

Results 1 to 7 of 7

Thread: [Winter 08] RPG Maker

  1. #1
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,827
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,978
    Level
    33
    vBActivity - Bars
    Lv. Percent
    28.3%

    [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?...
    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
    36
    Posts
    5,588
    Mentioned
    20 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    8,615
    Level
    27
    vBActivity - Bars
    Lv. Percent
    99.77%

    Re: RPG Maker

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

  3. #3
    Wizrobe
    Join Date
    Dec 2006
    Age
    30
    Posts
    3,693
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    8,954
    Level
    28
    vBActivity - Bars
    Lv. Percent
    45.49%

    Re: RPG Maker

    Wow, this should be interesting to play around with.
    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
    31
    Posts
    720
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    2,794
    Level
    17
    vBActivity - Bars
    Lv. Percent
    19.68%

    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
    31
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,143
    Level
    11
    vBActivity - Bars
    Lv. Percent
    60.64%

    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,630
    Level
    25
    vBActivity - Bars
    Lv. Percent
    2.86%

    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
    40
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    771
    Level
    9
    vBActivity - Bars
    Lv. Percent
    74.83%

    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