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 / Static Shooting

Author
Message
SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 21st Apr 2008 19:35
Ok the main Idea I want here is to have a character just shoot straight infront of him..so no AI whatsoever just pull the trigger BOOM thats it...

Is this possible?

Your signature has been erased by a mod
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 21st Apr 2008 20:36
...yep.

Just open a shoot script and remove all commands that call entity movement, and you should have a very bare bones version when you're done.

Should probably keep the face player callouts though, if you want the entity to adjust to player movement...


SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 21st Apr 2008 21:21
Thanks..lil bit of trial and error but got it in under 10 mins!

Im making a turret type thing incase you are wondering what I wanted this for

cheers

Your signature has been erased by a mod
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 21st Apr 2008 21:24
Really, all you need is the useweapon command. You could do someting simple like:



Best.

SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 22nd Apr 2008 00:24
Thanks

Is there anyway to make him NOT reload while he is shooting...kinda seems funny that an auto turret would have to reload if uou know what I mean..

Cheers

Your signature has been erased by a mod
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 22nd Apr 2008 00:31
:state=0:useweapon,rundecal=6


Best.

SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 22nd Apr 2008 00:50
Thanks For All Of Your Help
SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 22nd Apr 2008 09:41
ok hold up...Im using the script but it only looks like he is shooting...I actually want him shooting..can this be done so hes shooting but doesn't aim at all just shoots in a straight line.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 22nd Apr 2008 09:46
He won't do any damage unless you make him reload when he needs to.

You can make the reload intantaneous, though.




Tada!


The one and only,
~PlystirE~

SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 22nd Apr 2008 13:31
uhhh ok...better than nothing thanks it actually look really good with it..I just made the reload take 1 frame so you can hardly notice the stop
SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 23rd Apr 2008 16:04
wow
I just updated to beta 3

using this script and look what happened

(Screenshot)

it sounds like he shoots but he isnt aiming straight ahead nor actually firing at all as far as i can see.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-24 07:27:02
Your offset time is: 2024-11-24 07:27:02