Search found 4098 matches

by TMC
Sun Mar 01, 2015 12:34 am
Forum: General Discussion
Topic: Plotscripting dictionary ...down?
Replies: 11
Views: 2708

They're getting cut off while being uploaded. The directory listings show that the files are too short, and the cron log shows a bunch of non-descript network errors while uploading. In the meantime, you can try using this version of the dictionary (it's the same, but an html file instead of xml fil...
by TMC
Sun Mar 01, 2015 12:28 am
Forum: Q&A Discussion
Topic: Big rolling boulder -- what type of sprite to use?
Replies: 8
Views: 2310

Well if you don't need collision checking, then the script can become much simpler (you don't need the container slice). Yes, slice positions are always in pixels, not tiles. I'd forgotten that map layer slices are missing if the map layers don't exist. I tested the script and found my error. This: ...
by TMC
Sun Mar 01, 2015 12:15 am
Forum: Q&A Discussion
Topic: Latest nightly not downloading properly...
Replies: 4
Views: 1197

Looks like that file got truncated as well! What madness!

The html version of the dictionary is currently fine though:
http://hamsterrepublic.com/ohrrpgce/doc ... onary.html
by TMC
Sat Feb 28, 2015 9:35 am
Forum: General Discussion
Topic: Hi doods
Replies: 11
Views: 3828

Oh, Bagne! Nice to hear of you; I'd wondered what'd become. I guess you disappeared sometime after you finished your phd? Still doing oceanography?

OHR development tends to be on-and-off. Right now it's on, but it's been off for enough of the time that it's been nearly 2 years without a release.
by TMC
Fri Feb 27, 2015 2:17 pm
Forum: Q&A Discussion
Topic: Big rolling boulder -- what type of sprite to use?
Replies: 8
Views: 2310

Regardless of what you use, you shouldn't use 'touch' npcs to detect whether the player is crushed, because that'll activate if you stand next to it. You could use two npcs, but I wouldn't, I prefer to use slices. Collision detection is easy with a single slice. If you don't use a pair of npcs, then...
by TMC
Fri Feb 27, 2015 2:06 am
Forum: Q&A Discussion
Topic: Trouble with create NPC
Replies: 4
Views: 1232

Frankly, it's an engine bug that "get NPC ID (19) == -1" works (though we shouldn't change it now). I would write "npc copy count (19) == 0" instead; that's much clearer.
by TMC
Fri Feb 27, 2015 2:00 am
Forum: Q&A Discussion
Topic: Latest nightly not downloading properly...
Replies: 4
Views: 1197

I think downloading works fine; the problem is that the nightly build machine is uploading lots of corrupt (truncated) files. Actually, since the Windows and Mac nightly build machines are different, and they're both apparently having trouble uploading, it must be hamsterrepublic.com's host that's f...
by TMC
Tue Feb 24, 2015 11:12 am
Forum: Game Discussion
Topic: Batman & Robin 2
Replies: 14
Views: 2847

Dang. Are you going to make the android app available from elsewhere? Did you simply get kicked from the Play Store or did you receive a cease and desist? IANAL but if you haven't received a C&D (or other message from Marvel) then it seems that you haven't actually been asked not to distribute it.
by TMC
Mon Feb 23, 2015 4:46 am
Forum: Q&A Discussion
Topic: Proper use of timers
Replies: 5
Views: 1429

Probably, but what did he mean by "decrements a variable at an X value" anyway?
by TMC
Mon Feb 23, 2015 1:54 am
Forum: Q&A Discussion
Topic: Proper use of timers
Replies: 5
Views: 1429

"wearing" calls the script called "wearing". You need to write "@wearing", which is the ID number of the wearing script. You should only call settimer in the wearing script if you want the script to be triggered repeatedly every 5 seconds. script,wearing,begin decrement...
by TMC
Mon Feb 23, 2015 1:45 am
Forum: Q&A Discussion
Topic: set/get hero picture doesn't work with portraits
Replies: 8
Views: 1542

Well getheropicture is intended to return the current value, not the default. If you want the default, use resetheropicture. And passing an invalid picture type to getheropicture actually causes it to return 0. We definitely need to improve script error reporting. The current script error level sett...
by TMC
Mon Feb 23, 2015 1:15 am
Forum: Q&A Discussion
Topic: NPC at Spot + Create NPC
Replies: 6
Views: 1557

Doh! I totally forgot about that!

The start index for your loop is actually too high, it should be
for (idx, npccount -- 1, 0, -1) do (
You need to fix this, as "npc reference(1, idx)" with invalid idx returns 0, so you're doing "delete npc(0)": delete the first copy of NPC 0.
by TMC
Sun Feb 22, 2015 10:16 am
Forum: Q&A Discussion
Topic: set/get hero picture doesn't work with portraits
Replies: 8
Views: 1542

Before, I could set hero portrait(0, X, spritetype:portrait) and get X back from get hero portrait(0, spritetype:portrait). The command now returns 0 regardless of X. This isn't a complaint per se; keeping the old behavior would have made things really confusing when I tried changing the portrait t...
by TMC
Sun Feb 22, 2015 9:45 am
Forum: Game Discussion
Topic: Show off your graphics!
Replies: 1625
Views: 336323

Hello! Very neat. Yes, based on the screenshot of Drydocks posted in the other thread, that backdrop is used as... a backdrop, behind a menu (as oppose to behind other graphics). That means you can find an optimal 256 colour palette for the backdrop (the result should be almost indistinguishable fro...
by TMC
Sat Feb 21, 2015 11:03 pm
Forum: Q&A Discussion
Topic: Strange key combination that's not in debugging key list...
Replies: 14
Views: 2730

Actually it wouldn't be perfect. If you want to do accurate timing, then a sequence of such commands could still diverge because the errors add up; what you want is a "wait until(time)" command. But all such commands are easy to implement using the existing "milliseconds" command...