Fan Games Hub General discussions about all things fan games. Topics relating to both ROM hacks and custom games are welcome here. Posting links to ROMs is illegal and is not tolerated anywhere on the forum.

Closed Thread
 
Thread Tools
  #51    
Old January 19th, 2012 (3:51 AM).
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
  • Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 25
Gender: Male
Nature: Modest
Posts: 1,152
Quote:
Originally Posted by droomph View Post
On the idea of "templates", you should definitely do something like this:



I know for a fact that I could use something like
trainerbattle battle type trainer id reserved 0 seen msg ptr win msg ptr after msg ptr
most of the time...
That's not what I meant by templates at all. :\
Quote:
Originally Posted by droomph View Post
(And for the ASM...if you're going to do that, PLEASE make the bl instructions accurate...I cannot tell you how annoying PKSV is with that.)
What do you mean? How could it be inaccurate?
Quote:
Originally Posted by droomph View Post
Wait, you said you were doing a plugin system, right?
Maybe. Why?
__________________
あなた は しきしゃ です
わたし は ばか です

Relevant Advertising!

  #52    
Old January 19th, 2012 (8:05 AM).
droomph's Avatar
droomph droomph is offline
weeb
  • Crystal Tier
 
Join Date: Sep 2011
Location: nowhere spectacular
Age: 20
Gender: Male
Nature: Impish
Posts: 4,291
Quote:
Originally Posted by Darthatron View Post
That's not what I meant by templates at all. :\
Well...I couldn't tell you the many times I had to pull up a certain guy's scripting reference and scroll through to find trainerbattle. It gets annoying after a while.

Oh well, I'll just get of mah BUTT and learn VB so I can make a plugin.
__________________
did u no there r 21 letters in the alphabet
o i forgot 5
uraqt


  #53    
Old January 19th, 2012 (2:50 PM).
Full Metal's Avatar
Full Metal Full Metal is offline
C(++) Developer.
  • Silver Tier
 
Join Date: Jan 2008
Location: In my mind.
Age: 21
Gender: Male
Nature: Timid
Posts: 806
Quote:
Originally Posted by droomph View Post
Well...I couldn't tell you the many times I had to pull up a certain guy's scripting reference and scroll through to find trainerbattle. It gets annoying after a while.

Oh well, I'll just get of mah BUTT and learn VB so I can make a plugin.
> VisualBasic
Don't waste your time. It's definitely considered out-dated. ( I'm sure most people can agree on this. ) If you're going to learn anything, learn C#, Python, and or SQL. I myself use C++, as well.

And call me crazy, but I'm fairly certain this is what he was meaning as far as templates are concerned.
__________________

★ full metal.

I like to push it,
and push it,
until my luck is over.
  #54    
Old January 19th, 2012 (3:11 PM).
war rock exe's Avatar
war rock exe war rock exe is offline
Pokemon Colosseum Remaker!!
     
    Join Date: Dec 2009
    Location: wouldn't you like to know?
    Age: 20
    Gender: Male
    Nature: Hardy
    Posts: 817
    Quote:
    Originally Posted by Darthatron View Post
    No to the built in scripts. People won't learn with those. Perhaps some kind of templates, but not a generator.

    It will be very difficult to parse strings just using quotation marks. Either quotations in the script will need to be changed from " and ["], or strings will need to be contained within something else. So please. Give me an idea.
    Templates would also work to , but i do have a question: how is your script editor\creator going to be different from the others?
    __________________
    POKÈMON COLOSSEUM TRILOGY FOR RMXP!! COMING THIS SUMMER!
    STATUS; BETA 1 70%
      #55    
    Old January 19th, 2012 (9:45 PM).
    tinix's Avatar
    tinix tinix is offline
    PearlShipper & C Programmer
       
      Join Date: Feb 2010
      Location: Bratislava, Slovakia
      Age: 20
      Gender: Male
      Posts: 86
      Quote:
      Originally Posted by Full Metal View Post


      > VisualBasic
      Don't waste your time. It's definitely considered out-dated. ( I'm sure most people can agree on this. ) If you're going to learn anything, learn C#, Python, and or SQL. I myself use C++, as well.

      And call me crazy, but I'm fairly certain this is what he was meaning as far as templates are concerned.
      Actually you are not 100% right when stating that VB is outdated. VB6 is outdated but VB.NET(2005+) isnt and runs on .NET just like C#. As for the templates I think he means Visual Studio like ones, because C++ templates are really unneeded in scripting.
      __________________
      Pokémon games I own:
      Pokémon Diamond
      Pokémon Platinum
      Pokémon Ranger: Shadows of Almia
      Pokémon HeartGold Version
        #56    
      Old January 20th, 2012 (4:56 AM).
      Full Metal's Avatar
      Full Metal Full Metal is offline
      C(++) Developer.
      • Silver Tier
       
      Join Date: Jan 2008
      Location: In my mind.
      Age: 21
      Gender: Male
      Nature: Timid
      Posts: 806
      Well, that is what I meant about VB... xD
      Obviously VB.NET isn't outdated, considering there are still new versions of it being released.
      And you could be right, but it was just a guess. :o
      __________________

      ★ full metal.

      I like to push it,
      and push it,
      until my luck is over.
        #57    
      Old January 20th, 2012 (3:41 PM).
      TheOrangePichu's Avatar
      TheOrangePichu TheOrangePichu is offline
      Currently working on new hack
         
        Join Date: Jun 2011
        Location: Earth
        Gender: Male
        Nature: Jolly
        Posts: 49
        I think someone already said it, but a flag finder would be cool.
          #58    
        Old January 20th, 2012 (5:58 PM).
        esperance's Avatar
        esperance esperance is offline
        • Platinum Tier
         
        Join Date: Mar 2010
        Location: Ohio
        Age: 20
        Gender: Male
        Nature: Relaxed
        Posts: 3,818
        Not sure if you already have this planned or not, but support for expanded ROMs.
        __________________

        A Pokemon that is discriminated!
        Support squirtle and make it everyone's favourite.
          #59    
        Old January 20th, 2012 (7:23 PM).
        Darthatron's Avatar
        Darthatron Darthatron is offline
        巨大なトロール。
        • Silver Tier
         
        Join Date: Jan 2006
        Location: Melbourne, Australia
        Age: 25
        Gender: Male
        Nature: Modest
        Posts: 1,152
        Quote:
        Originally Posted by droomph View Post
        Well...I couldn't tell you the many times I had to pull up a certain guy's scripting reference and scroll through to find trainerbattle. It gets annoying after a while.

        Oh well, I'll just get of mah BUTT and learn VB so I can make a plugin.
        I dunno why would PM'd me the BL bit, but yeah, this will read that properly.
        Quote:
        Originally Posted by Full Metal View Post


        > VisualBasic
        Don't waste your time. It's definitely considered out-dated. ( I'm sure most people can agree on this. ) If you're going to learn anything, learn C#, Python, and or SQL. I myself use C++, as well.

        And call me crazy, but I'm fairly certain this is what he was meaning as far as templates are concerned.
        Not what I meant by templates either.
        Quote:
        Originally Posted by war rock exe View Post
        Templates would also work to , but i do have a question: how is your script editor\creator going to be different from the others?
        It will have my name all over it. And it will probably be faster. And hopefully easier to use.
        Quote:
        Originally Posted by tinix View Post
        Actually you are not 100% right when stating that VB is outdated. VB6 is outdated but VB.NET(2005+) isnt and runs on .NET just like C#. As for the templates I think he means Visual Studio like ones, because C++ templates are really unneeded in scripting.
        Yep.
        Quote:
        Originally Posted by Full Metal View Post
        Well, that is what I meant about VB... xD
        Obviously VB.NET isn't outdated, considering there are still new versions of it being released.
        And you could be right, but it was just a guess. :o
        Yep.
        Quote:
        Originally Posted by TheOrangePichu View Post
        I think someone already said it, but a flag finder would be cool.
        No. Just no. No.
        Quote:
        Originally Posted by agentgeo View Post
        Not sure if you already have this planned or not, but support for expanded ROMs.
        Of course. All GBA hacking tools released nowadays should support 32MB ROMs.
        __________________
        あなた は しきしゃ です
        わたし は ばか です
          #60    
        Old January 21st, 2012 (10:39 AM).
        Darkdata's Avatar
        Darkdata Darkdata is offline
        15 year old me was an idiot.
           
          Join Date: Aug 2005
          Nature: Calm
          Posts: 137
          We may be on the wrong foot from an earlier conversation, but my only bit of advice would be to keep the syntax as simple as possible. XSE does a fine job of making sure that things are easy to read at a glance. There really is no need for syntax from languages like java or c++.
          __________________
          Jul | Homepage
            #61    
          Old January 21st, 2012 (7:55 PM).
          Darthatron's Avatar
          Darthatron Darthatron is offline
          巨大なトロール。
          • Silver Tier
           
          Join Date: Jan 2006
          Location: Melbourne, Australia
          Age: 25
          Gender: Male
          Nature: Modest
          Posts: 1,152
          Quote:
          Originally Posted by Darkdata View Post
          We may be on the wrong foot from an earlier conversation, but my only bit of advice would be to keep the syntax as simple as possible. XSE does a fine job of making sure that things are easy to read at a glance. There really is no need for syntax from languages like java or c++.
          I don't think we're on the wrong foot?

          Anyway, some people find C++ easier than things like XSE. I'll post a poll some time soon to see what the community wants.
          __________________
          あなた は しきしゃ です
          わたし は ばか です
            #62    
          Old January 21st, 2012 (9:43 PM).
          chrunch chrunch is offline
          • Gold Tier
           
          Join Date: Oct 2009
          Gender: Male
          Posts: 1,349
          Yes, but a lot of people at PC wouldn't know C++ syntax, and it'd be easier for everyone to have a familiar scripting language. Why don't you go with the option to use either C++ or XSE/Pokescript style, like I mentioned earlier, though?
          __________________
            #63    
          Old January 21st, 2012 (10:00 PM).
          droomph's Avatar
          droomph droomph is offline
          weeb
          • Crystal Tier
           
          Join Date: Sep 2011
          Location: nowhere spectacular
          Age: 20
          Gender: Male
          Nature: Impish
          Posts: 4,291
          Quote:
          Originally Posted by chrunch View Post
          Yes, but a lot of people at PC wouldn't know C++ syntax, and it'd be easier for everyone to have a familiar scripting language. Why don't you go with the option to use either C++ or XSE/Pokescript style, like I mentioned earlier, though?
          BASIC, however, is C/C++ syntax but with more easy-to-understand terms.

          Well, wouldn't you think
          Code:
          #org @main
          if variable condition number
               then statement
          is easier to read than
          Code:
          #org @main
          compare variable number
          if2 condition @statement
          
          blahbitty blahbitty blah
          
          #org @statement
          statement
          ?
          I get lost so much when reading scripts from the actual game...
          C syntax is just more logical sometimes.
          __________________
          did u no there r 21 letters in the alphabet
          o i forgot 5
          uraqt


            #64    
          Old January 21st, 2012 (10:58 PM). Edited January 22nd, 2012 by Darthatron.
          Darthatron's Avatar
          Darthatron Darthatron is offline
          巨大なトロール。
          • Silver Tier
           
          Join Date: Jan 2006
          Location: Melbourne, Australia
          Age: 25
          Gender: Male
          Nature: Modest
          Posts: 1,152
          Quote:
          Originally Posted by chrunch View Post
          Yes, but a lot of people at PC wouldn't know C++ syntax, and it'd be easier for everyone to have a familiar scripting language. Why don't you go with the option to use either C++ or XSE/Pokescript style, like I mentioned earlier, though?
          I probably will end up having both.
          Quote:
          Originally Posted by droomph View Post
          Well, wouldn't you think
          Code:
          #org @main
          if variable condition number
               then statement
          is easier to read than
          Code:
          #org @main
          compare variable number
          if2 condition @statement
          
          blahbitty blahbitty blah
          
          #org @statement
          statement
          ?
          I get lost so much when reading scripts from the actual game...
          C syntax is just more logical sometimes.
          Agreed.

          EDIT:
          Spoiler:
          Main:
          ____lockf
          ____iif (flag.pokedex == true) goto EndNow
          ____msgbox "Here, have a\nPokéDex." msgNormal
          ____setflag flag.pokedex
          EndNow:

          ____release
          ____end
          __________________
          あなた は しきしゃ です
          わたし は ばか です
            #65    
          Old February 1st, 2012 (2:54 PM).
          war rock exe's Avatar
          war rock exe war rock exe is offline
          Pokemon Colosseum Remaker!!
             
            Join Date: Dec 2009
            Location: wouldn't you like to know?
            Age: 20
            Gender: Male
            Nature: Hardy
            Posts: 817
            Sorry for the stupid question but could you please elaborate what you mean by "Templates"?
            __________________
            POKÈMON COLOSSEUM TRILOGY FOR RMXP!! COMING THIS SUMMER!
            STATUS; BETA 1 70%
              #66    
            Old February 1st, 2012 (5:23 PM). Edited February 1st, 2012 by droomph.
            droomph's Avatar
            droomph droomph is offline
            weeb
            • Crystal Tier
             
            Join Date: Sep 2011
            Location: nowhere spectacular
            Age: 20
            Gender: Male
            Nature: Impish
            Posts: 4,291
            Quote:
            Originally Posted by Darthatron View Post
            EDIT:
            Spoiler:
            Main:
            ____lockf
            ____iif (flag.pokedex == true) goto EndNow
            ____msgbox "Here, have a\nPokéDex." msgNormal
            ____setflag flag.pokedex
            EndNow:

            ____release
            ____end
            It's not that big of a deal, but was the "iif" part intentional?
            __________________
            did u no there r 21 letters in the alphabet
            o i forgot 5
            uraqt


              #67    
            Old February 4th, 2012 (6:30 PM).
            Darthatron's Avatar
            Darthatron Darthatron is offline
            巨大なトロール。
            • Silver Tier
             
            Join Date: Jan 2006
            Location: Melbourne, Australia
            Age: 25
            Gender: Male
            Nature: Modest
            Posts: 1,152
            Quote:
            Originally Posted by droomph View Post
            It's not that big of a deal, but was the "iif" part intentional?
            Yeah, iif stands for inline if. I figured this would allow people to keep using the current if, if they wanted.
            __________________
            あなた は しきしゃ です
            わたし は ばか です
              #68    
            Old February 4th, 2012 (9:02 PM).
            droomph's Avatar
            droomph droomph is offline
            weeb
            • Crystal Tier
             
            Join Date: Sep 2011
            Location: nowhere spectacular
            Age: 20
            Gender: Male
            Nature: Impish
            Posts: 4,291
            Quote:
            Originally Posted by Darthatron View Post
            Yeah, iif stands for inline if. I figured this would allow people to keep using the current if, if they wanted.
            Well iif just looks like a typo.

            And plus, why would you use compare when you have an inline if?

            Ah, I don't know. Do whatever you want.
            __________________
            did u no there r 21 letters in the alphabet
            o i forgot 5
            uraqt


              #69    
            Old February 4th, 2012 (10:13 PM).
            Darthatron's Avatar
            Darthatron Darthatron is offline
            巨大なトロール。
            • Silver Tier
             
            Join Date: Jan 2006
            Location: Melbourne, Australia
            Age: 25
            Gender: Male
            Nature: Modest
            Posts: 1,152
            Quote:
            Originally Posted by droomph View Post
            Well iif just looks like a typo.

            And plus, why would you use compare when you have an inline if?

            Ah, I don't know. Do whatever you want.
            Right now it's all just concepts. I'm here to get ideas from users. So thanks for your feedback. You made good points.
            __________________
            あなた は しきしゃ です
            わたし は ばか です
              #70    
            Old February 5th, 2012 (1:12 AM).
            Satoshi Ookami's Avatar
            Satoshi Ookami Satoshi Ookami is offline
            Memento Mori
            • Gold Tier
             
            Join Date: Jul 2008
            Location: Abyss of Time, Great Seal
            Age: 24
            Gender: Male
            Nature: Calm
            Posts: 14,477
            I agree with droomph, iif really does not look very nice...
            We should think of better command :D
            __________________
            ROM hacking FAQ - Read before asking how to play a hack.

            Anime List | PSN Trophy List
              #71    
            Old February 5th, 2012 (2:15 PM).
            droomph's Avatar
            droomph droomph is offline
            weeb
            • Crystal Tier
             
            Join Date: Sep 2011
            Location: nowhere spectacular
            Age: 20
            Gender: Male
            Nature: Impish
            Posts: 4,291
            Also, instead of if condition goto statement you should have the destination code included right after, but indented (by default).

            Like so:
            if condition call {
            statement
            return
            }
            or:
            if condition goto {
            statement
            end
            That way we won't have to scroll and match up numbers, or deal with seperating out brackets.
            __________________
            did u no there r 21 letters in the alphabet
            o i forgot 5
            uraqt


              #72    
            Old February 5th, 2012 (5:28 PM).
            Darthatron's Avatar
            Darthatron Darthatron is offline
            巨大なトロール。
            • Silver Tier
             
            Join Date: Jan 2006
            Location: Melbourne, Australia
            Age: 25
            Gender: Male
            Nature: Modest
            Posts: 1,152
            Taking what you guys said... What do you think looks better? Or perhaps some other way you have in mind? Please make suggestions.
            Spoiler:
            ____LockF___//Shorthand for lock; faceplayer
            ____If Flag.Pokedex != True
            ____{
            ________MsgBox "Here, have a\nPokéDex." MsgNormal
            ________SetFlag Flag.Pokedex
            ____}
            ____REnd____//Shorthand for release; end

            Spoiler:
            ____lockf___//Shorthand for lock; faceplayer
            ____if flag.pokedex != true
            ____{
            ________msgbox "Here, have a\nPokéDex." msgNormal
            ________setflag flag.pokedex
            ____}
            ____rend____//Shorthand for release; end

            Spoiler:
            ____lockf;___//Shorthand for lock; faceplayer
            ____if (flag.pokedex != true)
            ____{
            ________msgbox("Here, have a\nPokéDex.", msgNormal);
            ________setflag(flag.pokedex);
            ____}
            ____rend;____//Shorthand for release; end


            At the moment my idea is to let all of these syntaxes work, rather than having a specific one. But this could make tutorials very confusing since they could all be using different syntax.
            __________________
            あなた は しきしゃ です
            わたし は ばか です
              #73    
            Old February 5th, 2012 (5:47 PM).
            BattleChan BattleChan is offline
               
              Join Date: Feb 2012
              Location: Germany
              Posts: 2
              Actually, I'd prefer version 3. It looks clear and has the best structure.
                #74    
              Old February 5th, 2012 (6:17 PM).
              Speedster's Avatar
              Speedster Speedster is offline
              The Unknown
                 
                Join Date: Dec 2011
                Location: In the depths of space...
                Gender: Male
                Nature: Jolly
                Posts: 134
                I also prefer version 3. Reminds me the most of C# and seems very organized and simple to learn.
                __________________

                .:Aegis:.
                ~coming soon~
                  #75    
                Old February 5th, 2012 (6:43 PM).
                Chaos Rush's Avatar
                Chaos Rush Chaos Rush is offline
                im sexy and i know it
                   
                  Join Date: May 2007
                  Location: Taylor Swift
                  Gender: Male
                  Nature: Adamant
                  Posts: 1,296
                  Definitely 3. It's most similar to GML (a language used in Game Maker that I'm familiar with), which in turn is similar to C++. And it looks the most sensible anyway.
                  __________________

                  My projects:
                  Untitled Pokémon fangame (pictured above) | Final Fantasy II NES retranslation | Mother 1/EarthBound Beginnings Color Restoration for GBA
                  Non-Pokémon hacks I support:
                  Sonic Classic Heroes
                  Sonic 3 Complete
                  Closed Thread
                  Quick Reply

                  Sponsored Links
                  Thread Tools

                  Posting Rules
                  You may not post new threads
                  You may not post replies
                  You may not post attachments
                  You may not edit your posts

                  BB code is On
                  Smilies are On
                  [IMG] code is On
                  HTML code is Off

                  Forum Jump


                  All times are GMT -8. The time now is 3:40 PM.