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 / Make the enemy not spot you?

Author
Message
Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 30th Jul 2007 11:09
Is it possible to put a script on a trigger zone that makes the enemy not shoot at you whhen you are in the area?
I want it for use in darkness so the enemy cant see the player if the player is in the darkness but when he goes out of the darkness the enemy can see him again.

Visit us at www.freewebs.com/bigvikinggames , you can find our new free games and new free models.
Cheese Cake
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 30th Jul 2007 13:57
Maybe if you would search.
game lover
17
Years of Service
User Offline
Joined: 27th Apr 2007
Location:
Posted: 30th Jul 2007 19:15
@ Cheese Cake
*Bring* you are correct sir

We all want to be awesome, but does awesome want to be us?
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 30th Jul 2007 19:39
Perhaps you could give us a hint of what to search for? If you think that this is possible, that is. I would also like to know if it is.

Best.

I'm sorry, my answers are limited. You must ask the right question.

Cheese Cake
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 30th Jul 2007 22:05
Big viking.

xplosys.

There is already another thread concerning the same thing.
So i think it was better to just join that thread.
And i believe that i saw something on these forums about this.
But i dont know for sure...

(maybe its already solved in the other thread)

I think this script should be great but i am not searching for it.
So i dont know what you should look for in the search bar.
incense
18
Years of Service
User Offline
Joined: 25th Nov 2005
Location:
Posted: 31st Jul 2007 05:12 Edited at: 31st Jul 2007 05:15
I have searched the forums for the following words:

Darkness - that got some returns but nothing that matches what is mentioned here.

Dark - Same as above.

Can someone please suggest more search words or phrases that will give results that have something to do with this exact subject? If not then maybe you shouldn't be so quick to act as though it is common knowledge when you don't know the answer yourself.

The person that now knows the most started with many questions. Patients and tolorance are the keys to the passage of knowledge. http://gamedesigntech.byethost7.com/
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 31st Jul 2007 20:30
It's funny that one person will say "search", and then a few more will jump in and second the motion, when most times none of them know the answer at all.

There is nothing to search for that has to do with this subject, and there are no answers in another thread. I've played with it for a few minutes and could not come up with a way to do it when a player enters a zone. I'm very busy at the moment, but I like the idea and will work on it again later. Perhaps we need to look at it from another angle.

Best.

I'm sorry, my answers are limited. You must ask the right question.

Kimmen 1192
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location:
Posted: 31st Jul 2007 23:15
Seached for invisible wich I think is the main part of this and only got things like: "my mp5 texture is invisible", "the ground is invisible", "the enemies are invisible"

If somone know any other prhases to search for please help!!!!
vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 1st Aug 2007 02:09
I got a hit with this search phrase

"Make the enemy not spot you?"

Hope it helps


Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 1st Aug 2007 07:30
Quote: "There is nothing to search for that has to do with this subject, and there are no answers in another thread. I've played with it for a few minutes and could not come up with a way to do it when a player enters a zone. I'm very busy at the moment, but I like the idea and will work on it again later. Perhaps we need to look at it from another angle."


Didn't I sudgest something like this? I think I did... it's out there, somewhere.. (I think I was doing it for some stealth thing)

Basically, player walks in zone and activates an enemy (enter the enemys name in the ifused field)

then it's just :activate=1:runfpi=loop.fpi (or you can put activate=0 next to everything else.

If you don't want him to shoot, but beable to move, you need a GOOD script (like mine ) that doesn't call shoot.fpi. Then it's just activate=0 next to the "shootplr" lines (or is it just fireweapon... forgot

Its not who you are or what you've done... its WHY you did it and how far you are willing to go.
If you fear speaking for yourself, make use the words of others while discovering your own voice.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 1st Aug 2007 16:21 Edited at: 1st Aug 2007 19:11
Les Horribres,

Sorry. I just have a heck of a time understanding you. What's that joke... "I just know he's trying to tell me something".

Let me see if I can straighten this out in my head:

TRIGGER ZONE:
ifUsed is the name of the enemy.
plrwithinzone=1:activateifused=1
plrwithinzone=0:activateifused=0

ENEMY:
activated=1: ...no shooting code
activated=0: ...shooting allowed code

Is that correct, or do we need "activate="?

Best.

I'm sorry, my answers are limited. You must ask the right question.

incense
18
Years of Service
User Offline
Joined: 25th Nov 2005
Location:
Posted: 2nd Aug 2007 01:39
@vorconan: The hit you got is this thread. I did check it and it is indeed this very thread that we are posting in right now. It is not another thread. That means that there doesn't seem to be any information on this subject at all in the FPSC forums.

The person that now knows the most started with many questions. Patients and tolorance are the keys to the passage of knowledge. http://gamedesigntech.byethost7.com/
Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 2nd Aug 2007 11:54
I will test this soon.

Quote: "I got a hit with this search phrase

"Make the enemy not spot you?"

Hope it helps"


Funny man! Thats this thread!

Visit us at www.freewebs.com/bigvikinggames , you can find our new free games and new free models.
Cheese Cake
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 2nd Aug 2007 13:45
Guess i am not the only who tells to go search on the forums.

http://forum.thegamecreators.com/?m=forum_view&t=111097&b=23
incense
18
Years of Service
User Offline
Joined: 25th Nov 2005
Location:
Posted: 2nd Aug 2007 16:03 Edited at: 2nd Aug 2007 16:08
@Cheese Cake: That thread contains no answers for this question. I read the entire thing. It is just some people telling the thread owner to use the search function. Then there is a comment on the fact that there is some clue in the source code on how this can be done. There are no details about this in that thread. It's just people picking on the thread owner when they have no proof of what they say, except for the post about the clue in the source code. I did say "clue in the source code", not the "answer in the source code".

It seems the answer will not be found using the search.

It also seems that there are no answers in this thread yet.

Just some people picking on the thread owner for the question when they don't have the answer either, and a few people really trying to come up with the answer.

Does this seem fimiliar to anyone besides me?

It is now proven that the people that said to use the search tried to prove that the answer can be found by using the search and they failed.

So we are back to square one.

The person that now knows the most started with many questions. Patients and tolorance are the keys to the passage of knowledge. http://gamedesigntech.byethost7.com/
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 2nd Aug 2007 16:04 Edited at: 2nd Aug 2007 16:06
Ok, so that was a totally useless thread. Is that the one we should have looked for? Believe me, I understand the positive aspects of telling new guys to search when something is obvious, but do think that this question has been covered well and many times?

Perhaps it's better to just not respond, rather than fill a thread with crap (like this one) when people are trying to figure something out. Even a good thing can be overdone.

Best.

EDIT: Well incense, you beat me to it. Had I known you would have covered it so well I would not have waisted the time. Thanks.

I'm sorry, my answers are limited. You must ask the right question.

incense
18
Years of Service
User Offline
Joined: 25th Nov 2005
Location:
Posted: 2nd Aug 2007 16:28
I have tried several search phrase combos and found nothing. I am no good at scripting or I would cover that angle. I am really interested in how this can be done though.

The person that now knows the most started with many questions. Patients and tolorance are the keys to the passage of knowledge. http://gamedesigntech.byethost7.com/
Cheese Cake
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 2nd Aug 2007 16:30 Edited at: 2nd Aug 2007 16:31
Why was that a useless thread?

I think its useless to make another thread concerning (almost concerning) the same topic.

Instead of making a whole new thread you could at least join the thread that i was linking to.

Now we have 2 threads (maybe more) both concerning the same thing.

And also people arent telling "crap" if they tell to use the search bar.

Then in your opinion this whole forum is filled with "crap".
Since most people are told to use the search bar.

And if that is wrong then my apologies.
But it isnt, and i cant help you with the script
simply i am not into scripting.
Therefore i chose FPSC.


---EDIT---

Since this is important.
Why not make a BIG thread asking most of the scripters.
To solve this "problem".
I think it would work faster and better then this.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 2nd Aug 2007 16:43 Edited at: 2nd Aug 2007 16:46
Quote: "Maybe if you would search. "


That was your first post. Does that say anything about another thread of the same topic? Does it offer any direction? Was that a useful post at all... or was it crap.

All I'm saying is, if you don't have a clue what the answer is, and it's not a question that was answered on the first page of the manual, then don't respond.

We don't have to agree. You have your style, I have mine. It annoys you when people ask questions without searching, and it annoys me when people say search because they don't have a clue but feel the need to respond. That's life in the forum lane.

best.


EDIT:

BIG Viking Games,

My apologies for crapping in your thread. I will continue to work on this as time permitts ( I have already waisted enough time this morning) and let you know what I come up with.

I'm sorry, my answers are limited. You must ask the right question.

Cheese Cake
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 2nd Aug 2007 16:58 Edited at: 2nd Aug 2007 16:59
And i also said to use the other thread am i right?

It doesnt annoys me if people are asking without searching.
Maybe you got me confused with someone else.

I only said to use the search bar, not even in a "hatred" way.

And a few posts beneath that i am trying to help.
By saying you both could join the other thread.

Also do i have to have a clue to answer on these forums?
Then all i can say is wow!...

Most people dont have a clue but are still posting.

And also thats "life" in the forum as you said.
I dont see a forum as my life i see this as a "hobby"
since i like making games with FPSC.
I come to the forums to see progress on other games.
Or new games, models, ideas, and so on.

So this isnt actually my life like i said its more of a hobby.

And we are getting oftopic that means we are not trying to help.
And that means we are talking. "crap" (which you hated)

---EDIT---

And also a post above you i am trying to help.
By giving my idea.
incense
18
Years of Service
User Offline
Joined: 25th Nov 2005
Location:
Posted: 4th Aug 2007 02:21
I'm content with the results of the hashing out of differences.

Now back to the original topic.

I have searched the scripting guide and found that there are commands that sound as though they would have some effect in this manner. I have not had time to research them fully as I have many things going right now. I will look further into it at the next earliest convienience, whenever that is.

I will be checking back to this thread to see where it goes.

The person that now knows the most started with many questions. Patients and tolorance are the keys to the passage of knowledge. http://gamedesigntech.byethost7.com/
Uthink
18
Years of Service
User Offline
Joined: 30th Sep 2006
Location: State of Confusion
Posted: 4th Aug 2007 02:37
Hopefully someone will see this and shed some light.

I myself only tell people to search because I have actually seen the answer. Usually it's because I had the same question and found the answer here. It is tough when you're asked to search when all of the hits just demonstrate others asking. No useful answers.
incense
18
Years of Service
User Offline
Joined: 25th Nov 2005
Location:
Posted: 6th Aug 2007 15:25
@The whole world: If someone asks a question that I don't know the answer to, I search the forum. I might do some experimenting and then post a reply with what I find out. I also inform the person that I searched the forum , if that be the case, and also include the search words that I used. I would include any details of any experiment I might have done if possible.

It is important that the search function be encouraged. It is also important to show that valid results can be found if we say that they can. If it is said that something can be found then search parameters should be included. I have said that people should have searched. I try to show them that the search function is a useful tool and that they would get faster results using it in most cases.

Keeping the forums productive should be the concern of everyone that uses them. One line posts that contain no real information is unproductive.

@Uthink: I have experimented with trigger zones and different player script combos. I can't get the effect your looking for. I spent many hours on it. I'm not a good scriptor so that is out of the quesion for me. Wish I could do more.

Good luck.

The person that now knows the most started with many questions. Patients and tolorance are the keys to the passage of knowledge. http://gamedesigntech.byethost7.com/
Marine10 beta corp
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: First Man Studios
Posted: 6th Aug 2007 19:39
Attempting to make a script that forces the enemie to come out of darkness to see the player requires some intense scripting...if it can be done at all

FIRST MAN STUDIOS
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 6th Aug 2007 20:28
Quote: "Attempting to make a script that forces the enemie to come out of darkness to see the player requires some intense scripting...if it can be done at all"


Ummm, that's not it at all.

Quote: "I want it for use in darkness so the enemy cant see the player if the player is in the darkness but when he goes out of the darkness the enemy can see him again."


Best.

I'm sorry, my answers are limited. You must ask the right question.

Marine10 beta corp
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: First Man Studios
Posted: 6th Aug 2007 20:57
I read that... I understand that the enemie can't see the player when he's in darkness, but he can when he's out of darkness, so he moves out of darkness...into the light...and shoots at the payer. I still think it's pretty tough to do

FIRST MAN STUDIOS
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 6th Aug 2007 22:07
No, you still don't get it. We're talking about the enemy can't shoot the player when the player is in darkness, not when the enemy is in darkness.

Best.

I'm sorry, my answers are limited. You must ask the right question.

Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 14th Aug 2007 20:29
First, sorry for not answering this thread untill now but I had a vaccation for a week.

I think if everyone tried to do something constructive instead of just telleing others to search we would maybe find out something.

I tought of a trigger zone or something who gets a script that makes the player invincible (unkillable) when he is in the zone bute when he gets out of zone he is normal again.
That would make the enemy shoot at you but he would "miss" because its dark.
What do you think? Is it possible?

Regards, Joakim

Visit us at www.freewebs.com/bigvikinggames , you can find our new free games and new free models.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 14th Aug 2007 21:08
Quote: "That would make the enemy shoot at you but he would "miss" because its dark.
What do you think? Is it possible?"


No, not exactly. You can't make the enemy miss you (at least I don't think you can) but you can make the player invincible in the zone. There is a little problem with that though.

Unless you want to write a routine that first computes the players current health and keeps it there, you will end up giving the player full health until he exits the zone. It could be done with loops of plrhealthless= and plrhealthgreater= but it's more work than I would want to do. If you just want an invincible kind of script, there's on on my site.

Best.

I'm sorry, my answers are limited. You must ask the right question.

Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 15th Aug 2007 08:13
Thanks, I will maybe try that out later

Visit us at www.freewebs.com/bigvikinggames , you can find our new free games and new free models.

Login to post a reply

Server time is: 2024-11-23 20:42:11
Your offset time is: 2024-11-23 20:42:11