Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Trader

Pages: 1 ... 131 132 133 134 135 [136] 137 138 139
2026
Modification Help / Re: Auto Save
« on: March 04, 2007, 09:40:29 PM »
Actually, it would be <minutes> * 60 * 1000 or <minutes> * 60000.

I would simplify this wayyy down.

function AutoSave()
{
     savebuild("AutoSave");
     $AutoSave= schedule(300000,0,AutoSave);
}

This would autosave every five minutes to the same file (Which to me, autosaves should use the same file, b/c it's there only as a backup.).  Then, when the user wants to disable autosave, just run the cancel($autosave);

2027
Modification Help / Re: Hookshot
« on: March 04, 2007, 09:37:11 PM »
Good.  Now, change 'Tool_wand.cs' to 'Tool_Hookwand.cs' and edit the cs to change all the 'sword' datablocks to 'Hookwand' datablocks.  Also, I would change the UI name to 'Hookwand' instead of 'Hook-Wand'.  It fits better with 'Hookshot'.

2028
Modification Help / Re: Hookshot
« on: March 04, 2007, 05:29:20 PM »
Yeah, there needs to be a function that calculates the distance from the player to the hookshot point, and then slows the speed depending on the distance.  Do it, lol.

2029
Modification Help / Re: Hookshot
« on: March 04, 2007, 04:23:07 PM »
Soooo lazy.  I've already done it myself.  If you're going to release Add-Ons, theres already a file naming convention in place.  Just look in the 'Add-Ons' folder and you'll see.

And about the sounds, if you had taken more than two seconds to read, you'd notice that I was suggesting that you include them with the Hookshot download.  This would prevent people from having to download them throught the game.  If you want a link to the sounds, let me know.

I'm just trying to help you out.

2030
Modification Help / Re: Auto Save
« on: March 04, 2007, 04:07:10 PM »
I'm not saying that Ytud hasn't made mistakes in the past, but he is right.  It does the community no good to release things that haven't been tested to work.  If someone needs help with coding, there are people who are willing to help.  So please, do not release untested material.

2031
Modification Help / Re: Auto Save
« on: March 04, 2007, 03:55:33 PM »
Come on, Jookia you aren't helping yourself.  Make something, test it til it works, THEN release.

Here's a fixed version of the previous code.  Whether Jookia's code works or not, harass him.  But at least now the code itself is correct.

Code: [Select]
function AutoSave(%name,%minutes,%load,%cancel);
{
     if(%cancel $= "cancel")
     {
          cancel($AutoSave);
     }
     else if(%load $= "load")
     {
          loadbricks(%name);
     }
     else
     {
          schedule(%minutes @ "000,savebuild," @ %name);
          $AutoSave= schedule(%minutes @ "000,AutoSave");
     }
}

I think you're trying to do too much in one function.  Take out the load part all together, it's easier to load from the ESC menu than to type all that in.  Also, just make the cancel a separate function.  The AutoSave should be just that, a function that automatically saves your work every few minutes.  Beside, it might even be easier if you're having users type in commands to just have them type in 'cancel($AutoSave);'.  Put a little planning into this, and you might do well.

2032
Modification Help / Re: Hookshot
« on: March 04, 2007, 03:44:32 PM »
This thing rules for DM.  ZOMG!

A couple housekeeping tasks here:

Rename 'Hookshot.cs' to 'Weapon_Hookshot.cs'.
Rename 'wand.cs' to 'Tool_HookWand.cs'.
Include the HookshotShoot and HookshotHit sounds.  I can link you to the download if you like.
Code the Hookshot so that it actually makes a sound on impact.

And Aloshi, don't give Jookia such a hard time.  It's my item icon after all.

2033
Modification Help / Re: Hookshot
« on: March 03, 2007, 05:44:07 PM »
Also, I recommend making a keybind for commandtoserver('degrapple'), that way you can stop moving toward the hookshot point.  Just remember that you're flying through the air at good speed, so be careful how you use this and have your jetpack ready, lol.

2034
Modification Help / Re: Hookshot
« on: March 03, 2007, 05:20:49 PM »
Umm, am I the only one that noticed that all the datablocks in the wand.cs have the same names as the sword?  This would probably create problems.  I'm renaming every instance of 'sword' in the wand.cs to HookWand.

Also, in keeping with the naming scheme of the 'Add-ons' folder, I chose to rename my 'Hookshot.cs' to 'Weapon_Hookshot.cs' and the included 'wand.cs' to 'Tool_HookWand.cs'.  It works better for me.

2035
Modification Help / Re: Hookshot
« on: March 03, 2007, 01:53:19 AM »
Here's an item icon to use for the Hookshot:



Note: Because of the way RBL shades the item icons, the hookshot appears all blue.  If anyone can assist me in getting the white to show up in game, that'd be great.

2036
Modification Help / Re: Hookshot
« on: March 02, 2007, 11:04:45 PM »
Well, you don't need the wand.  Just make a brick specifically  for hookshot points.  Also, the distance limit is important.  Otherwise, it's just kinda ridiculous.

2037
Modification Help / Re: Hookshot
« on: March 02, 2007, 10:24:43 PM »
Great stuff guys, but we need to put some limitations on this bad boy.  Things like only being able to hook-shot to special hookshot bricks, and limiting the distance of how far it could travel.

Also, in the suggested features category, I think that you should be able to lower yourself to the same distance as the max travel distance.  Then, it would be more realistic for gameplay.

2038
Modification Help / Re: Auto Save
« on: March 01, 2007, 10:39:30 PM »
Umm, why are you releasing something that you haven't tested?

2039
Modification Help / Re: Auto Save
« on: March 01, 2007, 09:38:05 PM »
JookScript is a terrible name btw.

2040
Clan Discussion / Re: New [USSR]
« on: March 01, 2007, 09:00:20 PM »
Your head looks really fat.  Lol, j/k.

Pages: 1 ... 131 132 133 134 135 [136] 137 138 139