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,779
    Mentioned
    256 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,682
    Level
    32
    vBActivity - Bars
    Lv. Percent
    96.64%

    [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?...
    "Protocols of the Learned Elders of Zion" (British Royal Institute, 1906)
    "The International Jew: The World's Foremost Problem" �Henry Ford
    "Dope Inc. - Britain Opium War Against The U.S." (LaRouche; Konstandinos Kalimtgis; David Goldman; Jeffrey Stienberg, 1978)
    "Fundamental Laws: A Report of the 68th Convocation of the Rose Cross Order" 1916
    "War is a Racket" �Major General Smedley Butler
    "The Secret Destiny of America" �Manly P. Hall
    "A Strategy for Israel in the Nineteen Eighties" Oded Yinon (English Translation)
    The WWI Conspiracy: Part 1 - Part 2 - Part 3 "A New World Order"
    The War You Don't See
    Psywar

    �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
    クールな男
    SE Developer
    MasterSwordUltima's Avatar
    Join Date
    Jul 2001
    Location
    Keystonia
    Age
    31
    Posts
    5,573
    Mentioned
    17 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    8,402
    Level
    27
    vBActivity - Bars
    Lv. Percent
    69.45%

    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,766
    Level
    28
    vBActivity - Bars
    Lv. Percent
    20.12%

    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,608
    Level
    16
    vBActivity - Bars
    Lv. Percent
    68.41%

    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
    26
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    957
    Level
    10
    vBActivity - Bars
    Lv. Percent
    73.16%

    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,444
    Level
    24
    vBActivity - Bars
    Lv. Percent
    71.97%

    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
    585
    Level
    8
    vBActivity - Bars
    Lv. Percent
    61.54%

    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