Strange map glitch !? - LoneWolf - 11-11-2010
I've pretty much finished a map. But its messed up.
My scripts all work apart from my text scripts... no idea why. And i can walk through some of my walls in the house????!?!?!? also chairs fall through some parts in the ground. I've set everything to collides so whats going on? is it because ive got imported objects from penumbra? or is my map just messed up ?
Please tell me as soon as possible its really annoyign me as ive been working on this area for over 20 hours -_-
RE: Strange map glitch !? - Gamemakingdude - 11-11-2010
(11-11-2010, 10:08 PM)LoneWolf Wrote: I've pretty much finished a map. But its messed up.
My scripts all work apart from my text scripts... no idea why. And i can walk through some of my walls in the house????!?!?!? also chairs fall through some parts in the ground. I've set everything to collides so whats going on? is it because ive got imported objects from penumbra? or is my map just messed up ?
Please tell me as soon as possible its really annoyign me as ive been working on this area for over 20 hours -_-
Text scripts - Maybe debug is on
Walk through some walls - I had this before i think the debug being on was the problem.
RE: Strange map glitch !? - LoneWolf - 11-11-2010
Yeah i fixed the wall glitch. I had fast physics load on... lol. But part of my flooring is still glitched and objects mess up when touching it.
BUT! my text scripts still dont work. They work on my other maps when i load them up so i dont know what is wrong. I've triple checke dmy scripts... there all right. I checked my areas in this map and others and ive done the same in theis map as others...... so i have no idea why none of them work.
I have examine texts and script texts(when walking into an area). It's strange because sounds and sanity work in their areas. but its just the text that doesnt want to appear. I tried another map again. Everything works on it.
RE: Strange map glitch !? - Gamemakingdude - 11-11-2010
(11-11-2010, 10:48 PM)LoneWolf Wrote: Yeah i fixed the wall glitch. I had fast physics load on... lol. But part of my flooring is still glitched and objects mess up when touching it.
BUT! my text scripts still dont work. They work on my other maps when i load them up so i dont know what is wrong. I've triple checke dmy scripts... there all right. I checked my areas in this map and others and ive done the same in theis map as others...... so i have no idea why none of them work.
I have examine texts and script texts(when walking into an area). It's strange because sounds and sanity work in their areas. but its just the text that doesnt want to appear. I tried another map again. Everything works on it.
I'm not really sure how your flooring is glitched.. Maybe move some of the items that glitch up a little bit and see what happens?
RE: Strange map glitch !? - LoneWolf - 11-11-2010
Yeah i tried that but doesnt work sadly But thats not my main concern. My main concern is getting my text scripts to work its p***ed me off big time because ive got around 20 text scripts... (alot i know) and i cant create the 2nd area to the house until ive fixed this because i aint wasting my time when the 1st level is messed up. scripts are wrote out and done the same as my other scripts in other maps. My other maps scripts all work. But only my text scripts dont work in this map... no idea what ive done wrong. Yes there all active. Everything checked etc. is identical to my other maps text scripts.
RE: Strange map glitch !? - Gamemakingdude - 11-11-2010
(11-11-2010, 11:13 PM)LoneWolf Wrote: Yeah i tried that but doesnt work sadly But thats not my main concern. My main concern is getting my text scripts to work its p***ed me off big time because ive got around 20 text scripts... (alot i know) and i cant create the 2nd area to the house until ive fixed this because i aint wasting my time when the 1st level is messed up. scripts are wrote out and done the same as my other scripts in other maps. My other maps scripts all work. But only my text scripts dont work in this map... no idea what ive done wrong. Yes there all active. Everything checked etc. is identical to my other maps text scripts.
I'm not really sure what's the problem here.
RE: Strange map glitch !? - Kyle - 11-12-2010
Hey LoneWolf, I wouldn't mind if you post the link to your custom story here. I would really like to see what you have been working on this whole time.
RE: Strange map glitch !? - LoneWolf - 11-12-2010
Well i did a small story with 5 maps, map 4 and 5 arnt finished. But now i decided to do another story for a house. But until im happy with the 1st map of the house then i wont finish the other 5 maps. I was plannign on doind 10 maps for the 1st story... i know alot. But i just cant be bothered right now and im not good at scripting so my levels lack cool puzzles.
Please help me with my script problems !
Heres my scripts for the house map so far. All text scripts dont work, rest work. Infact i will show you only 2 of the text scripts in the lang file.
Code: <LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">The House.[br][br] Dont believe yoru safe </Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Note_MYNOTE_Name"> Diary 1</Entry>
<Entry Name="Note_MYNOTE_Text">Day 42 - I am beginning to lose it. I feel like i have been trapped here forever. I'm no longer safe, i've locked myself and one of those things which managed to get in, luckily for me their not so clever. I'm going to do something i may regret but its my only hope of getting out of here. Daniel make your way to the Inner Sanctum, Hurry!</Entry>
</CATEGORY>
<CATEGORY Name="Example">
<Entry Name="Entry1"> Peeyu that smells rotten. Why did no one clean that up.
</Entry>
</CATEGORY>
<CATEGORY Name="Example2">
<Entry Name="Entry2"> Wawl... this place looks beutiful.
</Entry>
Hps file now (below)
Code: ////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player", "RoomTwoArea", "CollideRoomTwo", true, 1);
AddEntityCollideCallback("Player", "playsound", "PlaySound", true, 0);
AddEntityCollideCallback("Player", "Example", "CollideRoomThree", true, 1);
AddEntityCollideCallback("Player", "Example2", "CollideRoomFour", true, 1);
AddEntityCollideCallback("Player", "Example3", "CollideRoomFive", true, 1);
AddEntityCollideCallback("Player", "Example4", "CollideRoomFive1", true, 1);
AddEntityCollideCallback("Player", "Example5", "CollideRoomFive2", true, 1);
AddEntityCollideCallback("Player", "Example6", "CollideRoomFive3", true, 1);
AddEntityCollideCallback("Player", "Example7", "CollideRoomFive4", true, 1);
AddEntityCollideCallback("Player", "Example8", "CollideRoomFive5", true, 1);
AddEntityCollideCallback("Player", "Example9", "CollideRoomFive6", true, 1);
AddEntityCollideCallback("Player", "Example10", "CollideRoomFive7", true, 1);
AddEntityCollideCallback("Player", "Example11", "CollideRoomFive8", true, 1);
AddEntityCollideCallback("Player", "Example12", "CollideRoomFive9", true, 1);
AddEntityCollideCallback("Player", "Example13", "CollideRoomFive10", true, 1);
AddEntityCollideCallback("Player", "Example14", "CollideRoomFive11", true, 1);
AddEntityCollideCallback("Player", "playsound", "PlaySound", true, 0);
AddEntityCollideCallback("Player", "Example15", "CollideRoomFive12", true, 1);
AddEntityCollideCallback("Player", "Example17", "CollideRoomFive13", true, 1);
AddEntityCollideCallback("Player", "Example18", "CollideRoomFive14", true, 1);
AddEntityCollideCallback("Player", "Example19", "CollideRoomFive15", true, 1);
AddEntityCollideCallback("Player", "Example20", "CollideRoomFive16", true, 1);
AddEntityCollideCallback("Player", "Example21", "CollideRoomFive17", true, 1);
AddEntityCollideCallback("Player", "Example22", "CollideRoomFive18", true, 1);
AddEntityCollideCallback("Player", "Example23", "CollideRoomFive19", true, 1);
}
void CollideRoomTwo(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("mansion_3", true, true);
GiveSanityDamage(15, true);
}
void CollideRoomThree(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example", "Entry1", 7);
}
void CollideRoomFour(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example2", "Entry2", 7);
}
void CollideRoomFive(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example3", "Entry3", 5);
}
void CollideRoomFive1(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example4", "Entry4", 5);
}
void CollideRoomFive2(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example5", "Entry5", 5);
}
void CollideRoomFive3(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example6", "Entry6", 5);
}
void CollideRoomFive4(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example7", "Entry7", 5);
}
void CollideRoomFive5(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example8", "Entry8", 5);
}
void CollideRoomFive6(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example9", "Entry9", 5);
}
void CollideRoomFive7(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example10", "Entry10", 5);
}
void CollideRoomFive8(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example11", "Entry11", 5);
}
void CollideRoomFive9(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example12", "Entry12", 5);
}
void CollideRoomFive10(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example13", "Entry13", 5);
}
void CollideRoomFive11(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example14", "Entry14", 5);
}
void CollideRoomFive12(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example15", "Entry15", 5);
}
void CollideRoomFive13(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example17", "Entry17", 5);
}
void CollideRoomFive14(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example18", "Entry18", 5);
}
void CollideRoomFive15(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example19", "Entry19", 5);
}
void CollideRoomFive16(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example20", "Entry20", 5);
}
void CollideRoomFive17(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example21", "Entry21", 5);
}
void CollideRoomFive18(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example22", "Entry22", 5);
}
void CollideRoomFive19(string &in asParent, string &in asChild, int alState)
{
SetMessage("Example23", "Entry23", 5);
}
void PlaySound(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("break_glass_bottle.snt", "break_glass_bottle.snt" , "Player", 0, false);
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
I must have done somethign wrong, otherwise im screwed...
RE: Strange map glitch !? - Hooumeri - 11-12-2010
Code: <LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">The House.[br][br] Dont believe yoru safe </Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Note_MYNOTE_Name"> Diary 1</Entry>
<Entry Name="Note_MYNOTE_Text">Day 42 - I am beginning to lose it. I feel like i have been trapped here forever. I'm no longer safe, i've locked myself and one of those things which managed to get in, luckily for me their not so clever. I'm going to do something i may regret but its my only hope of getting out of here. Daniel make your way to the Inner Sanctum, Hurry!</Entry>
</CATEGORY>
<CATEGORY Name="Example">
<Entry Name="Entry1"> Peeyu that smells rotten. Why did no one clean that up.
</Entry>
</CATEGORY>
<CATEGORY Name="Example2">
<Entry Name="Entry2"> Wawl... this place looks beutiful.
</Entry>
You have the </LANGUAGE> missing from the end
EDIT: You also have the </CATEGORY> missing from the Example2 category.
RE: Strange map glitch !? - LoneWolf - 11-12-2010
Like i said i only took a small sample of my lang. file. So there will be no /language mentioned at end because thats only the top quater of my script file. And yeah i missed out the other category when i copy pasted my coding. I believe that eithe rmy maps fucked or my hps.
|