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

Author
Message
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 30th Oct 2010 11:47 Edited at: 30th Oct 2010 20:12
Hi i'm making a script for EAI's sentry bot were the player controlls the robot, but is it possible to make the robot shoot when a key is pressed and is it possible to make the player see what the robot sees??

Here is my script



Edit
I solved the shooting but it doesn't deal damage unless i use flak weapons

Srry about my english im from sweeden
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 30th Oct 2010 23:10
Beat you to it.

http://www.youtube.com/watch?v=2OjrhTj3bFM

Here's the script I used for it. Mind you some of the commands were only found in Ply's Mod, but you can get a feel for how I did things in it.




The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 30th Oct 2010 23:23 Edited at: 30th Oct 2010 23:25
Nice but is teir any way to change the camera so the player can see from the robot camera.

Allso your version is automated but mine is controlled by the player

Srry about my english im from sweeden
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 31st Oct 2010 05:27
Sure, you can set up a camera to be bound to the entity, then swap to that camera when you're controlling the robot.

Take a look into this script. It's a "SpyBot" script for controlling an entity. Might be more along the lines of what you're after.



(NOTE: showing and hiding of the main HUDs (such as player health and lives and ammo) require that they are given the proper names in the setuplevel.fpi script)

You can see this script in action in the first part of this video.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 31st Oct 2010 09:50
Thanks but is this for stock fpsc or ply's mod??

Srry about my english im from sweeden
raymondlee306
15
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 31st Oct 2010 22:28
Where can we get that bot? I'm having trouble locating it.
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 31st Oct 2010 23:10
http://forum.thegamecreators.com/?m=forum_view&t=98361&b=24

Srry about my english im from sweeden
raymondlee306
15
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 1st Nov 2010 01:38
Thanks Guys I missed that one.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Nov 2010 04:31
ATM, Stock FPSC can't create or utilize user cameras. The only mod that can do it right now is Project Blue. The scripts above should work as-is with PB.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 1st Nov 2010 09:01
Aww thanks anyways

Srry about my english im from sweeden

Login to post a reply

Server time is: 2024-11-24 16:22:33
Your offset time is: 2024-11-24 16:22:33