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 / allies firing and hurting enemy

Author
Message
Unknown Truth
19
Years of Service
User Offline
Joined: 16th Feb 2005
Location: Hell
Posted: 5th Jul 2007 02:47 Edited at: 5th Jul 2007 02:48
ok... I can't get my script to work. He shoots at the enemy but the bullets go write through him. I also made it so you can take control of the allies and move them around yourself and shoot. It goes throught the enemy then too.

here are the fire sections. please tell me what is wrong.


and

I'm not going to post the whole script because I don't want the working sections stolen.

The truth is still unknown... or is it!
Zdrok
17
Years of Service
User Offline
Joined: 19th Dec 2006
Location: Pittsburgh
Posted: 5th Jul 2007 17:32
Look at a weapon's scripts when in use (by the player). Maybe it can tell you the part of the script where the projectile hits the enemy and does damage.

I don't script, so how should I know?

Unknown Truth
19
Years of Service
User Offline
Joined: 16th Feb 2005
Location: Hell
Posted: 5th Jul 2007 19:22 Edited at: 5th Jul 2007 19:33
Where would I find this weapon in use script again?

Edit: I have a new problem, now the allies fire at one spot on the wall. They don't fire at the character called zombie. I wrote settargetname=zombie on the first line of the script. It keeps aiming at the corner of the wall though...



The truth is still unknown... or is it!
Unknown Truth
19
Years of Service
User Offline
Joined: 16th Feb 2005
Location: Hell
Posted: 6th Jul 2007 00:54
does anyone have an answer?

The truth is still unknown... or is it!
Boynimator Rulez
17
Years of Service
User Offline
Joined: 9th Jul 2007
Location:
Posted: 9th Jul 2007 13:02
Im not a scripter but sum of the answers seem pretty simple i don't know about the Weapon in use thing but the part where they fire at the wall could be because the enemies names are not zombie.

When Games need Makin im there
incense
18
Years of Service
User Offline
Joined: 25th Nov 2005
Location:
Posted: 10th Jul 2007 18:09
Did Lee add the ally code to FPSC in one of the updates?
Last I heard, Empties mod was needed to make allies work. And then there is the sensei scripts. If this has changed please someone let me know.

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/

Login to post a reply

Server time is: 2024-11-23 18:30:55
Your offset time is: 2024-11-23 18:30:55