Search found 4098 matches

by TMC
Sun Jun 02, 2013 7:05 am
Forum: Game Discussion
Topic: Help with script please!
Replies: 22
Views: 7821

Ah, ok. That's easy to fix by preventing the direction from changing while the hero is in motion (it should only be changed when a keypress actually causes a new moment): I added hero is walking(0) == false plotscript, on keypress script, begin # Only update the slice if it exists if (armour...
by TMC
Sat Jun 01, 2013 6:39 am
Forum: Game Discussion
Topic: Help with script please!
Replies: 22
Views: 7821

Hmm. Well if it shows two armour slices with different directions at once, then that means that there are two armour slices, and it should have nothing to do with how many buttons you're pressing. So it seems that you called the "add armour slice" script more than once. Best would be to ca...
by TMC
Sat Jun 01, 2013 3:00 am
Forum: Game Discussion
Topic: Help with script please!
Replies: 22
Views: 7821

Well, that indicates that you modified my script, which won't suffer that problem. You should post the scripts you're actually using.
by TMC
Wed May 29, 2013 11:58 pm
Forum: Game Discussion
Topic: Breaking out of a script
Replies: 21
Views: 4984

I'm pleased to hear that! A lot of people don't understand scripts they are given and don't seem to learn anything. To give another viewpoint on what you said, people who are new to scripting/programming often try to program in a declarative way: telling the computer what they want, rather than how ...
by TMC
Sat May 25, 2013 12:34 am
Forum: Game Discussion
Topic: Breaking out of a script
Replies: 21
Views: 4984

Back; sorry, had a crunch period for a couple days. The reason that won't work is that your 3 scripts are called in sequence, and they start and end by setting the right tag. But when the exit condition (skipping waits) is turned on, in order for the scripts to be exited, all three are instantly run...
by TMC
Sat May 25, 2013 12:20 am
Forum: Game Discussion
Topic: Help with script please!
Replies: 22
Views: 7821

If the slice you want to draw on top of your hero doesn't change depending on their direction, then this is actually very easy! You just create the slice once and you're done. But I'm assuming that you do want to give it different directions. I can give you some help with that, but I'm warning you t...
by TMC
Fri May 24, 2013 11:53 pm
Forum: Game Discussion
Topic: Bob the Hamster Dirt Dig Playtesting Thread
Replies: 36
Views: 10458

I tried running the Windows build in a Win XP VM. I got an error: Error: The Side-by-Side configuration information for "c:\games\bob the hamster dirt dig\BOBDIRT.EXE" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the...
by TMC
Wed May 22, 2013 12:45 am
Forum: Game Discussion
Topic: Breaking out of a script
Replies: 21
Views: 4984

Great! Wow, you didn't even complain that the scripts above were unreadable because the forum software mangled them :P
by TMC
Tue May 21, 2013 7:50 pm
Forum: Game Discussion
Topic: Breaking out of a script
Replies: 21
Views: 4984

You can directly set a tag with an NPC (other than its one-time use tag), but you can attach a textbox or a script to it that sets a tag. On the other hand maybe you only want the barrel to be activated from one direction? You ought to at least check all of the space, enter and ctrl keys though. And...
by TMC
Tue May 21, 2013 6:06 pm
Forum: Game Discussion
Topic: Breaking out of a script
Replies: 21
Views: 4984

Edited, my previous reply was full of errors OK, firstly I see lots of use of || (or) where && (and) should have been used. You want "skippable wait for NPC" to keep going while the NPC is still moving AND while the the skip flag is false. Also "current map == 7" should ...
by TMC
Tue May 21, 2013 5:55 pm
Forum: General Discussion
Topic: BMR's Wiki Updating Log
Replies: 16
Views: 5657

Cool! Hehe, slime sprites. Still, if we can get James to draw bob for the tutorial title image that would be nice :) I tried to keep the wiki work going in your absense. I updated the chapter list footer. If you edit a page, right at the bottom of the page will be links to the templates it uses. I c...
by TMC
Tue May 21, 2013 4:27 pm
Forum: Game Discussion
Topic: My level up wont work??
Replies: 12
Views: 3324

Yes, this is too confusing. And buggy. The purpose of the max/hard level cap is to define the stat growth curve in the hero stat editor (and the experience-to-level curve once that is customisable)*. You can't exceed the hard cap because otherwise the engine wouldn't know what stats to give the hero...
by TMC
Tue May 21, 2013 4:19 pm
Forum: Game Discussion
Topic: Breaking out of a script
Replies: 21
Views: 4984

That error indicates that you have an extra ) or end somewhere before the if. (You can try pasting your script into this and it will re-indent it according to the brackets, which can help to find the mistake.) I've tried a couple workarounds but none of them stop the script from looping back to the ...
by TMC
Tue May 21, 2013 4:05 pm
Forum: General Discussion
Topic: Plans for new OHR Gamelist
Replies: 54
Views: 14256

Yes, basically. You feed rpgbatch a list of rpg files, rpgdir directories, zip files containing those, or directories containing files/zips. Each can be marked as a different source. I've run rpgbatch on the CP, Op:OHR, and ohrhits gamelists, plus a small collection of "extra" games which ...
by TMC
Tue May 21, 2013 3:31 am
Forum: Game Discussion
Topic: Breaking out of a script
Replies: 21
Views: 4984

Ah! Thanks for pointing those out. I always seem to write "npc is moving" instead of "npc is walking". I haven't actually tested any of the scripts (that's what users are for :P) so there might be other bugs.