Frictional Games Forum (read-only)
Challenge Threadᆦ ᆦ ᆦ - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+--- Thread: Challenge Threadᆦ ᆦ ᆦ (/thread-14681.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


RE: [CHALLENGE THREAD] - nemesis567 - 04-15-2012

2 days should be enough.

SOlution is available.




RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012

hm time to learn how to use octrees in two days lol

Hmm looking at your script, if you had more than one grunt, how would you be able to determine which one was being hit? That was the problem I had when I tried making my submission with classes - I wanted the player to be able to add as many suitors to the room as they wanted (in the map editor of course) and have the damage/health system work for all of them, but I couldn't figure out how to do it. Object names aren't stored as strings as far as I can tell, so you wouldn't be able to take the asParent string for instance and use asParent.isAttacked() function. Of course I'm assuming that the player would make a new object for every single grunt, but perhaps there is a way to make a class for all grunts and then just declare a single object that includes a variable amount of grunts...?

I don't know, the use of classes doesn't seem very dynamic in this kind of situation, but I can defiantly see where they would be useful if you had very specific objects you keep tabs of and manipulate the properties of.


RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012

Matchbox Maze challenge: Free the box from the maze using script!

http://www.mediafire.com/?ajytkrmrz8fcwob

Rules:
Spoiler below!

None of the files except the .hps files may be changed (you can look at everything, but you may not make any changes).

The contents of all of the .hps files must be identical with each other.

The matchbox must escape from each of the the mazes without player interference (only through script).


I suggest running this challenge for a week (until next Tuesday), at which time if it is not solved I could give a hint and it could continue for another week.



RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012

I would need to add a few more lines of code. One to instantiate the object, and others to check collision to the game timer.

Also, be more descriptive on your challenge.

This is what I can see of your challenge:
[Image: notworking.jpg]



RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012

Alright, I updated my other post with a link to a working version. I'm not really sure why it was broken, but I had to open up the map files in a notepad++ and edit them a bit.

Keep in mind that unless you make the required files to run the maps as a custom story, the folder must be place in a folder listed in amnesia's resources.cfg file, otherwise it will not load properly and you will see what is shown above. Personally, I work out of my redist/maps folder.



RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012

I still don't get what are we meant to do?



RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012

The matchbox must escape from each of the the mazes without player interference (only through script).

get the box out of the maze.



RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012

No restrictions to how you take it out?



RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012

As long as you don't glitch it thorough any walls, no. Remember that you must use the same script for each different maze.



RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012

What do you mean by HPS files identical? Do they must use the exact same code?