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 / Scripts, Zones and Lag Time Question

Author
Message
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 13th Nov 2006 15:51
I don't know the answer to this or if it makes much difference, but I will throw it out here and see if someone can hash it out. It is my understanding that static entities are melted into and treated pretty much as the level itself (correct me if I am wrong), so I will ask about entities, enemies in particular.

What would be the difference in "lag time" between these two scenarios:

1. You place an enemy in your level and his AI script is looping on a "plrdistwithin" line to continue his actions, or

2. You place a zone in your level to spawn the enemy and it's AI script is looping on a "plrwithinzone" to continue it's actions and spawn the enemy.

If it is the scripts that cause excess lag time as some say, then I can see no difference between the two as far as "lag time" is concerned.

Your input is appreciated.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 13th Nov 2006 21:13
Make sure you don't have a large number of dynamic entities running at the same time. Unless you have to, don't set any entity to always active. This will really make your level lag. Also, I don't know how a plrwithinzone could cause a lag if the statement is only true when you’re in the zone. Unless you're activating an always active entity.

Furthermore, if you're using timers in your level I would recommend one of the Modifications to the FPSC (i.e. Empty's MOD) with which you can set entity-timers and not throw off you level timer.

Nue B. or not Nue B. That is the question.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 13th Nov 2006 22:13
Quote: "Also, I don't know how a plrwithinzone could cause a lag if the statement is only true when you’re in the zone. Unless you're activating an always active entity.
"


You may want to read that one again. Thanks but I don't think you understood the question.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Darth Valtar
18
Years of Service
User Offline
Joined: 22nd May 2006
Location:
Posted: 13th Nov 2006 23:04
Question,Is Empty's MOD up to date with 1.03? Been busy lately.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 14th Nov 2006 15:22
Merranvo answered my question in another thread. Thanks to all.

Best.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Login to post a reply

Server time is: 2024-11-26 20:09:01
Your offset time is: 2024-11-26 20:09:01