Frictional Games Forum (read-only)
Questions from beginner - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Questions from beginner (/thread-8598.html)

Pages: 1 2


RE: Questions from beginner - Russ Money - 06-14-2011

Just the 1 void inside the { }.

Void is used to tell the script, this is a function, which holds commands that are linked up to the callback. The curly brackets are the start and stop points in the function, where you put your commands.


RE: Questions from beginner - Finska - 06-14-2011

Didn't help still, as I said in my previous message Big Grin


RE: Questions from beginner - Russ Money - 06-14-2011

(06-14-2011, 01:05 PM)Finska Wrote: Crowbar is activated and crowbar_joint isn't. Door is named door_1... Doesn't work?

What's not working? The joint_crowbar not showing up?


RE: Questions from beginner - Finska - 06-14-2011

I don't know. Just saying "Can not use item this way" And I have that script just like it is.


RE: Questions from beginner - Russ Money - 06-14-2011

Strange, would you be willing to put your map and script up for download so I can see everything first hand rather than relaying messages?


RE: Questions from beginner - Finska - 06-14-2011

http://www.mediafire.com/?bzl9gk90cwr22zy here


RE: Questions from beginner - Russ Money - 06-14-2011

Okay, I see where we got our signals mixed!

First, the .hps file needs to be in the folder with the maps. So I moved your script to the maps folder and renamed it the map's name "TestMap.hps"

I went ahead a changed what needed to be changed in the map. Moved the area so the crowbar hits it and added the crowbar_joint, also renamed the area.

But, there, I hope this serves as a better tutorial than my writing does!

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




RE: Questions from beginner - Finska - 06-14-2011

Problem solved! I put the scriptfile to map folder
(06-14-2011, 01:43 PM)Russ Money Wrote: Okay, I see where we got our signals mixed!

First, the .hps file needs to be in the folder with the maps. So I moved your script to the maps folder and renamed it the map's name "TestMap.hps"

I went ahead a changed what needed to be changed in the map. Moved the area so the crowbar hits it and added the crowbar_joint, also renamed the area.

But, there, I hope this serves as a better tutorial than my writing does!

http://www.mediafire.com/?o1lwv17j6u0m0kd
One more question. How is it possible to make the door to "burst" open and crowbar goes broken on the floor.




RE: Questions from beginner - Khyrpa - 06-14-2011

(06-14-2011, 01:43 PM)Finska Wrote: One more question. How is it possible to make the door to "burst" open and crowbar goes broken on the floor.

anna msn tai jtn vastaavaa (tai pm äillä saa kans) ja voin autella tällasis simppeleis jutuissa... Voin ehkä osaa selittää yksinkertasemmin asiat jne
(just offering help etc.)


RE: Questions from beginner - Russ Money - 06-14-2011

(06-14-2011, 01:43 PM)Finska Wrote: One more question. How is it possible to make the door to "burst" open and crowbar goes broken on the floor.

Use the crowbar_dyn and make it activate when the crowbar collides with the area. It should fall for the floor. Then for the particles:

CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);

Look through the different particles and make them appear at a new area.