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 / Pass through wall

Author
Message
WilliamK
14
Years of Service
User Offline
Joined: 15th Feb 2012
Location: Brazil
Posted: 15th Feb 2012 16:27
Is there a way to make a wall that the user can actually pass as a ghost? Sorry if this is obvious, I'm just starting now, so a few things I'm still learning...

Txs.

www.William-K.com
www.Wusik.com
Marc Steene
FPSC Master
20
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 15th Feb 2012 17:01
You could set up a fake wall (found in the scifi folder) and apply the same texture as the adjacent walls, then apply a script which disable the wall's collision.


Specs: Alienware M17x R3. i7-2630QM. 8GB RAM. Nvidia 560m. Momentus XT Hybrid Drive.
WilliamK
14
Years of Service
User Offline
Joined: 15th Feb 2012
Location: Brazil
Posted: 15th Feb 2012 17:20
That's perfect, thanks! I will try those.

www.William-K.com
www.Wusik.com
WilliamK
14
Years of Service
User Offline
Joined: 15th Feb 2012
Location: Brazil
Posted: 18th Feb 2012 17:29
Ok, I have tried it plus other script and other tips I found here in this forum but nothing works.

I did a simple test. I put the falsewall in the middle of the room, set it to Dynamic, Physics Off and use this script on Main



But I can't go through the wall. :-(

Any ideas?

Thanks.

www.William-K.com
www.Wusik.com
Corno_1
15
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 18th Feb 2012 18:23
you have one "state=0" too much
try this:
;Artificial Intelligence Script

;Header

desc = Default Entity Behaviour (Nothing)

;Triggers

:state=0:coloff,state=1

;End of Script
Corno_1
15
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 18th Feb 2012 19:12
a good result you get with this(sry for bad english)
[quote];Artificial Intelligence Script

;Header

desc = collision off

;Triggers

:state=0:coloff,nobulletcol=1,state=1

;End of Script
WilliamK
14
Years of Service
User Offline
Joined: 15th Feb 2012
Location: Brazil
Posted: 18th Feb 2012 19:15
Txs, I will try that!

www.William-K.com
www.Wusik.com
WilliamK
14
Years of Service
User Offline
Joined: 15th Feb 2012
Location: Brazil
Posted: 18th Feb 2012 19:40
Thank you for your help,but still doesn't work. What else should I do? Do I put this in Main?

www.William-K.com
www.Wusik.com
Flatlander
FPSC Tool Maker
19
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 18th Feb 2012 21:32 Edited at: 18th Feb 2012 22:19
The fake wall has to be dynamic.

defaultstatic = 0

aiinit = appear1.fpi
aimain = WalkThru.fpi
aidestroy = default.fpi

Following goes into aimain as walkthru.fpi



Setup test map. Just place some ground on the map, your player marker somewhere on the amp and then place a fake wall from the folder

scifi/wallfurniture

Any one of them. Then put the script in main as shown above and run your test level.

WilliamK
14
Years of Service
User Offline
Joined: 15th Feb 2012
Location: Brazil
Posted: 19th Feb 2012 11:52
Thank you so much, but it still fails. Here's what I did.

New File
Added Ground
Player Start
Added SciFi/wallfurniture/fakewall
Added the script as above
No other changes

Test level. Can't pass wall, it blocks me.
I tried disabling physics, same result.
Fakewall is set do Dynamic.

This is with V1.18.017

Maybe I should try the beta?

www.William-K.com
www.Wusik.com
Corno_1
15
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 19th Feb 2012 12:42
Quote: " I put the falsewall in the middle of the room, set it to Dynamic and use this script on Main"


use the script with this settings (not physics off) and make the wall immobile. I think this was clear for you, sry!!!
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 19th Feb 2012 18:23
or in your entity's fpe file change the collisionmode to
collisionmode = 99999
Flatlander
FPSC Tool Maker
19
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 19th Feb 2012 19:48
All you need to do is what I have posted. It is very simple.

WilliamK
14
Years of Service
User Offline
Joined: 15th Feb 2012
Location: Brazil
Posted: 19th Feb 2012 19:59
Thanks, but for some reason it won't work here, even with the latest beta. I also noticed that other script functions are not working correctly. I will test more and see what could possible be. :-(

www.William-K.com
www.Wusik.com
Flatlander
FPSC Tool Maker
19
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 19th Feb 2012 20:53
I'm sorry. It should work. It has always worked for me from the very beginning through the most current version.

You might have to try re-installing FPSC again. There are several threads regarding how to do this.

Northern
15
Years of Service
User Offline
Joined: 5th Nov 2010
Location: Brazil
Posted: 20th Feb 2012 05:42
Hello WilliamK,

In addition, the previous proposed solutions you might try changing the property values ​​of the false wall to the values ​​of the picture attached to this post, and hopefully your problem will be solved.

Good luck!

Northern

Login to post a reply

Server time is: 2026-07-01 22:11:53
Your offset time is: 2026-07-01 22:11:53