Extra_english.lang file aint working - 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: Extra_english.lang file aint working (/thread-8238.html) |
Extra_english.lang file aint working - xtron - 05-25-2011 Spoiler below!
Any can take a look at this file and tell me if there's something wrong because my file aint loading. RE: Extra_english.lang file aint working - Tanshaydar - 05-25-2011 <CATEGORY Name="Level"> <Entry name="room_prison">To the Prison</Entry> </CATEGORY> </LANGUAGE> RE: Extra_english.lang file aint working - RawkBandMan - 05-25-2011 At <Entry name="room_prison">To the Prison</entry> You didn't capital the last </Entry>, and like Tan said, you didn't add the </CATEGORY> at the end. Also, at that little area that I said above, You didn't capital the N in Name. Try this for your script Spoiler below!
(DON'T WORRY THERE IS NO REAL SPOILERS, I JUST PUT THE FILES IN SPOILER TAGS TO MAKE IT EASIER ) RE: Extra_english.lang file aint working - xtron - 05-25-2011 Thanks man! It works!. <3. Btw!. I just found out that one of my scripts doesn't work :O. Can you guys take a look? Spoiler below!
Look at the "Doorslam1" Function because it all of a sudden stoped working. EDIT: And! How to make a monster patroll a specific area?. I made some paths that the monster walks and then I need him to repeat walking some ceratin paths. Anyone knows why?. btw XxRoCkBaNdMaNxX you're gonna be in the credits . Thanks for helping me out man!. RE: Extra_english.lang file aint working - Khyrpa - 05-25-2011 You can't activate particle effects like this: SetEntityActive("ParticleSystem_1" , true); You have to use area (where you want it to appear) and: CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS); (check this at script functions wiki) I assume "door_open_hall_key" is an script area? RE: Extra_english.lang file aint working - xtron - 05-25-2011 (05-25-2011, 04:49 PM)Khyrpa Wrote: You can't activate particle effects like this: yea. But the thing is that it worked perfect before and then all of a sudden it stoped working. RE: Extra_english.lang file aint working - Khyrpa - 05-25-2011 (05-25-2011, 04:55 PM)xtron Wrote: yea. But the thing is that it worked perfect before and then all of a sudden it stoped working. All seems to be fine with that function to me, perhaps you accidentally changed something in the level editor? like names and such RE: Extra_english.lang file aint working - xtron - 05-25-2011 (05-25-2011, 05:04 PM)Khyrpa Wrote: All seems to be fine with that function to me, perhaps you accidentally changed something in the level editor? like names and such Name of script: door_open_hall_key PlayerLookAtCallback for script: door_open_hall_key Name of door: door_to_hall_key CallbackFunc: door_to_hall_key And the openamount is "1". RE: Extra_english.lang file aint working - Khyrpa - 05-25-2011 Hehe like I asked: "I assume "door_open_hall_key" is an script area?" If collide callbacks entities are Player and the door, it only happens when you actually hit the door with your body (or it should I'm not sure) change it to interact callback if you want it to trigger when you touch or use collide callback change the door_open_hall_key into an area where you want the player to trigger it RE: Extra_english.lang file aint working - xtron - 05-25-2011 (05-25-2011, 05:09 PM)Khyrpa Wrote: Hehe like I asked: "I assume "door_open_hall_key" is an script area?" so: Code: AddEntityInteractCallback("Player", "door_open_hall_key", "Doorslam1", true, 1); If I want him to access the script area and the door closes? |