Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Can't spawn invisible walls

Author
Message
A dude
16
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 3rd Sep 2012 17:22
Somehow I can't spawn invisible walls. I make the IW dynamic and change the "spawn at start" to no and the "spawn at delay" to yes. Next, I put the "plrinzoneactivateused.fpi" as the main script of the triggerzone and type the name of the IW in the "ifused" field.
In the testgame when I walk into the trigger zone, it doesn't spawn anything.
Does anyone know how to spawn invisible walls?

Thanks
rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 3rd Sep 2012 17:51 Edited at: 3rd Sep 2012 17:53
Lol, hard to tell if its there or not...right
I believe your issue may be solved by using colon/coloff instead of spawning it, no ones going to know its there if its invisible. If for some reason you really need to spawn it, it might be best to simply have the wall appear as normal and destroy before spawning so collision is calculated at build.
Also if your placing your wall near another dynamic entity it will be kicked somewhere else on the map (you wouldnt know this as its invisible), suggest you test a normal texture on it till you get it working.
I dont know that you need to be delaying the spawn.

Awesome! Its one of those threads.
A dude
16
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 3rd Sep 2012 18:03
Quote: "Lol, hard to tell if its there or not...right "


Well I can tell because I can walk through the place where the IW is supposed to be when spawned.
rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 3rd Sep 2012 18:06 Edited at: 3rd Sep 2012 18:07
This doesn't mean its not there, it could be moved or collision isn't on.
Use a normal opaque texture to be sure so you can eliminate possibilities.

Awesome! Its one of those threads.
A dude
16
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 3rd Sep 2012 18:11
Okay. I'll try that.
rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 3rd Sep 2012 18:14
Without knowing exactly what your designing its hard to say what the problem is I still think turning collision on off would be easier than spawning.

Awesome! Its one of those threads.
A dude
16
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 3rd Sep 2012 18:27
How do I turn an entity's collision on with a triggerzone?
rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 3rd Sep 2012 19:25
Put this into your walls AI main


Awesome! Its one of those threads.
Pirate Myke
16
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 3rd Sep 2012 19:28 Edited at: 3rd Sep 2012 19:29
Place your entity in the map. set it to immobile=0 dynamic=1

Put this in your entities appear script.



Put this in the mainscript.


Put this in the triggerzone. Put the name of the entity in the ifused section under properties.


A dude
16
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 4th Sep 2012 00:36
Thanks guys for your help! Greatly appreciated!

Login to post a reply

Server time is: 2026-07-03 23:48:02
Your offset time is: 2026-07-03 23:48:02