Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
really strange bug
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#1
really strange bug

so i have been working on this map for a couple of hours and for some reason one sledge hammer crashes the whole game the aim was to get the player to go into a room door closes behind them and the locked message was that the sledge hammer could break it down i did the scripting but for some reason the sledge crashes the whole game i went back and deleted it and the map loaded fine any one have any clues as to why this is happining???? if not i guess i can just use a shovel Smile
(This post was last modified: 04-05-2012, 11:24 AM by zombiehacker595.)
04-05-2012, 11:23 AM
Find
Tekkie Offline
Junior Member

Posts: 17
Threads: 1
Joined: Apr 2012
Reputation: 0
#2
RE: really strang bug

(04-05-2012, 11:23 AM)zombiehacker595 Wrote: so i have been working on this map for a couple of hours and for some reason one sledge hammer crashes the whole game the aim was to get the player to go into a room door closes behind them and the locked message was that the sledge hammer could break it down i did the scripting but for some reason the sledge crashes the whole game i went back and deleted it and the map loaded fine any one have any clues as to why this is happining???? if not i guess i can just use a shovel Smile

I would suggest pasting the scripting from your .hps file here, so that the coders can point out which bit of coding you've written is causing the crash. I don't think it's the actual item, more, how you've added it to the game and how you've told the game you want the player to use it =]



My Youtube Channel: Check out my channel, it's fairly new, but at least the toilets work!


04-05-2012, 11:25 AM
Website Find
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#3
RE: really strang bug

(04-05-2012, 11:25 AM)Tekkie Wrote:
(04-05-2012, 11:23 AM)zombiehacker595 Wrote: so i have been working on this map for a couple of hours and for some reason one sledge hammer crashes the whole game the aim was to get the player to go into a room door closes behind them and the locked message was that the sledge hammer could break it down i did the scripting but for some reason the sledge crashes the whole game i went back and deleted it and the map loaded fine any one have any clues as to why this is happining???? if not i guess i can just use a shovel Smile


I would suggest pasting the scripting from your .hps file here, so that the coders can point out which bit of coding you've written is causing the crash. I don't think it's the actual item, more, how you've added it to the game and how you've told the game you want the player to use it =]


AddEntityCollideCallback("cellar_wood01_2", "sledge_1", "BreakDoor", true, 1);
}

void BreakDoor(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("cellar_wood01_2", false);
}
and i got no error message saying the script was wrong i got that huge game crash message saying something is wrooooong so yea i dont know what is going on
nvm script is fucked a shovel was already on the map i just replaced the sledges name with the shovels on the script and got major crash i think im gonna have to ditch it Sad

(This post was last modified: 04-05-2012, 11:39 AM by zombiehacker595.)
04-05-2012, 11:26 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#4
RE: really strange bug

Instead of
SetEntityActive("cellar_wood01_2", false);, try SetPropHealth("cellar_wood01_2", 0.0f);

04-05-2012, 03:24 PM
Find
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#5
RE: really strange bug

There's another glitch I found when testing my story.
The bucket entity you can grab. If you grab it by the handle and hold it up it will fly every where.

04-05-2012, 07:40 PM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#6
RE: really strange bug

Enable NoCollide?

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

04-05-2012, 07:57 PM
Website Find
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#7
RE: really strange bug

nah i fixed it i just added a script area and made it work Smile
04-06-2012, 12:36 AM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#8
RE: really strange bug

Sweet, sorry I couldnt be more helpful! Tongue

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

04-06-2012, 04:24 AM
Website Find
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#9
RE: really strange bug

(04-06-2012, 04:24 AM)JetlinerX Wrote: Sweet, sorry I couldnt be more helpful! Tongue


haha thats ok Big Grin
04-06-2012, 05:00 AM
Find




Users browsing this thread: 1 Guest(s)