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 / Script for controlling entitys remoteley (i used it to make an rc tank)

Author
Message
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 20th Feb 2009 21:26 Edited at: 27th Feb 2009 02:46
Script for controlling entities remotely

As mentioned below there is a different version of this available in a different thread but i have aimed to give a greater degree of control over the character, as a result i give you my

Ultimate Control Script For Entities lol joke


What it lets you do:

Press K to activate (will remain stationary till then,once activated it can be put on'standby' by pressing h and reactivated by pressing k once more)

while active:

I moves forward
J turns left (smoothed out version, not jerky as before)
L turns right ( ditto )
F Fires entities equipped weapon in direction facing
U moves entity up in space
O moves entity down in space
B Self destructs the entity

V2 of entity control script, fpi attached

what do ya think?

- Why is everyone on here so rude? -

Attachments

Login to view attachments
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 20th Feb 2009 21:33
...the effort is a good one.

This has already been addressed successfully...

http://forum.thegamecreators.com/?m=forum_view&t=120277&b=23




X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 20th Feb 2009 21:42 Edited at: 20th Feb 2009 23:51
and a while ago by the looks of things, how did i miss that?!?!

ahhh but mine has noises lol and its about 10 times longer to achieve the same result, i did originally start out with something like on the other thread but it wouldnt work so i had to keep addind code, check out this
for the final version lol

- Why is everyone on here so rude? -
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 20th Feb 2009 21:48
...the Search Button is your friend.


Screaming Head Games
15
Years of Service
User Offline
Joined: 13th Dec 2008
Location: You dont want to know......
Posted: 20th Feb 2009 21:55
Quote: "(dont worry SHG i wont tell you where i was when i thought this one up!)"


thanks!

(\__/)
(O.o )
(> < ) This is your bunny on drugs.
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 20th Feb 2009 22:14 Edited at: 20th Feb 2009 23:33
i have done much searching seth and i simply didnt stumble on it, and as for the search button, pah that works on the same principal as the monkeys producing shakespeare!

but the rc script is just a by product of the final production im working on, see i want my enemy to wait til it sees me, attack me, take a certain amount of damage and run away and try again, then when its taken enough hits it falls under my control!

and i can then manupulate it to where its needed, eg like taking a commander hostage to open iris recognition or palm print doors replication



that so far is the best i can do, waits til your in distance, comes towards you, hurts you if it gets close and if you shoot it it freezes and waits so you can press j to take control

any help would be appreciated with the animation side of things i have trouble scripting that in as you will see if you run the script

Edit: ok this
should be a lot better, i just used the freeform animations to show what you can do with it, i plan a sort of psycho kinetic power for my player so that you can manipulate things remotely for puzzles etc , people, objects the like, the ai at the moment is very basic as normal, but it gives you an idea of what im going for

now when you get within distance the (in this case it was animated for a gghost) will pursue you and damage you if you get close, if you shoot it it will head off in a random direction and then resume its assualt, when its health drops below 50 it freezes and waits to be activated (by pressing j ) once activated you can again use the up left and right arrow keys to manipulate the entity around, replace the animations as you see fit

- Why is everyone on here so rude? -
freak of nature 64
15
Years of Service
User Offline
Joined: 19th Jan 2009
Location: Look in your car...
Posted: 23rd Apr 2009 20:13
can it be done with an enemy?

fgadzsv bla bla bla

Login to post a reply

Server time is: 2024-04-19 20:14:44
Your offset time is: 2024-04-19 20:14:44