Arcade Forum Index Arcade Games Index                       

Reply to topic Reply to topic

Page 1 of 1  MYFF Arcade Forum Index / Modding Games
 

PostPost subject: Whoo`s Method Posted: Mon Jul 02, 2007 10:20 am
symon


28 January 1971
Site Admin
Site Admin

Joined: 06 Jun 2007
Posts: 216
Location: Farnborough,Hampshire,England
  +How to mod games by Whoo

This tutorial is meant for people wanting to mod a flash game so it submits the score to the Activity Mod.

Please, do not use it for anything else or change other stuff in the flash game like credits etc etc. Keep it untouched, no "modified by" messages etc.

----------------------------------------------------------------------------------------------------------------------------------------------------------------
As stated previously, you should always respect the author's wishes. If they don't want their game to be modded, then don't. If you have a modded game for which there is no permission from the author, remove it from your site. This includes all mini-clip and xgenstudios games.

No matter what, email the author, ask for his or her permission to use their game on your site and, most of the time, you'll get a positive response. Keep in mind, just because they gave YOU permission to run their game doesn't mean you should give it out to everyone and anyone!
----------------------------------------------------------------------------------------------------------------------------------------------------------------

So you want to mod a flash game for phpBB2? Here goes!

The program

The easiest way is "Sothink SWF Quicker" , currently at version 1.5. However it tends to screw up font places etc

If you try to open one, and not sure about the results, try to export the movie and just test it. Note that the trial version is limited to 15 days and displays a "powered by sothink" message. This can be removed however if you send it to someone who has the full version (me/mullac for example).

The procedure

Open Quicker, open the .swf and you'll see lots of frames (boxes). Note that each game is different, is made different, and sometimes hard to make it work. Basically, it goes like this:

First, we need to know what the score value is. It's what gets sent to the Activity Mod. Look around in the flash file, and tick the box where normally in the game the score gets displayed. In the properties tab at the bottom you'll see variable: and then a variable. Usually something like _root.score. Bear in mind that sometimes rectangles are over the score box so you might want to use the select tool (mouse, drag fields) and go over areas only that one box really has...

Now we know what the score value is, we must decide how to send the score to the activity mod. Shall we make a button? Or shall we send the score immediately after the game is over?

Score Button

Open the text tool, and write "submit score" or "save". You'll might want to copy the fonts used in the movie. Then right click it, and select "convert to symbol". Now what remains next, is to give that button a job.

Code:
on (release)
{
score = _root.score;
game_name = "thegame";
getURL("newscore.php", "_self", "POST");
}

_root.score is the score value you found earlier. If its something else, replace it. "thegame" is what the .swf is called. IT MUST BE THE SAME.

Sending score immediately

If you want the score to be sent immediately at the "game over" page, apply this. Go to the gameover frame, and in actions, replace stop(); with

Code:
changes = new LoadVars();
changes.score = _root.score;
changes.game_name = "thegame";
changes.send("newscore.php", "_self", "POST");


Again, _root.score is the score value and "thegame" is the swf name (thegame.swf)

Install it, and test it. If it works you can always send it to me and have it hosted here.

SWF Quicker doesn't always import the game correctly. Other methods of modding games are recommended, but thats the next step. This small tutorial will not be updated, if I didn't cover something it's because you gotta learn that part yourself then.
Post


_________________
  Reply with quote
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Page 1 of 1
Reply to topic Reply to topic
 MYFF Arcade Forum Index / Modding Games / Whoo`s Method

Jump to: 



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Gallery  Forum Archive
Powered by phpBB - 2001, 2002 phpBB Group
All times are GMT + 1 Hour
Google

Create your own free forum