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 Scripts / Why the dark doesn't matter?

Author
Message
myfrm
17
Years of Service
User Offline
Joined: 12th Jul 2007
Location: India
Posted: 14th Jun 2008 20:39
In FPSC, if the world is dark, the enemy can see the player.
My questions are
1)Is it possible to reduce the visibility of the enemy according to the light intensity?
2)How can we reduce the player's height?

drakul
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 14th Jun 2008 20:47
Open the script that the enemy is using, and edit the conditiond PLRDISTWITHIN and PLRDISTFURTHER to be smaller.......

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 15th Jun 2008 00:12
Yeah, most every script given for enemy AI is not going to satisfy every condition that the enemy could possibly be in. To tailor fit your enemy with his surroundings may, in fact, require some scripting on your part to provide the illusion that you're looking for.


The one and only,


Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 15th Jun 2008 05:20
I could have sworn I saw something in the source that checks the lighting when an enemy is looking at a player - but that might have only been for accuracy.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 15th Jun 2008 06:24
No, you're right, Airslide, I've seen it too.

I believe it was in a way related to the "plrcanbeseen" command. Or at least used by that command.

Only problem with it, though, is it's not tweakable by the end user.


The one and only,


myfrm
17
Years of Service
User Offline
Joined: 12th Jul 2007
Location: India
Posted: 15th Jun 2008 19:46
Thank you guys.

But you didn't answer my second question
The player's height. He's taller than all other human models in the game. Otherwise , can we reduce the other humans' height?

drakul
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 16th Jun 2008 00:01
Wouldn't reducing the other humans' height make them EVEN smaller than the player?

Lol, you could try openning up the character models in a modelling program (MilkShape, for example) and adjusting how big they are. You could probably get away with simply stretching the entire model vertically with no effect on animations.


The one and only,


CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 16th Jun 2008 01:33
Nope, just open up their .fpe, and increase the dscale...and delete the .bins and .dbos.......

They're set at scale 80%.......

myfrm
17
Years of Service
User Offline
Joined: 12th Jul 2007
Location: India
Posted: 16th Jun 2008 19:53
Quote: "Wouldn't reducing the other humans' height make them EVEN smaller than the player?"


sorry, i mean increase. I hope you understood.
Quote: "Nope, just open up their .fpe, and increase the dscale...and delete the .bins and .dbos......."

I'll give it a try..


THANK YOU ALL...

drakul
meteorite
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location: The Capital Wasteland
Posted: 17th Jun 2008 04:53
I posted a stealth script, search around for it

Login to post a reply

Server time is: 2024-11-24 09:46:01
Your offset time is: 2024-11-24 09:46:01