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 / Bobochobo's Free Script Request Thread

Author
Message
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 9th Apr 2011 18:57
I'm looking to improve my scripting skills by making scripts people actually need. Post a request for any script you need and I'll try to make it (no more than one per person per post). If I can't, don't get too upset.

Exceptions: No DarkAI or complex character scripts. Nothing involving HUDs or other media, although I can link to them in scripts.

Also, ask nicely .

Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 14th Apr 2011 09:22
Hey, I notice you have no requests. Do you think you might be able to do a script that allows the player to swap weapons? so the current weapon the have, would be swapped with the one nearby by using the "F" key?
Thanks.

http://www.flashstargamecreations.webs.com
Kerrby
16
Years of Service
User Offline
Joined: 14th Mar 2008
Location: Australia mate.
Posted: 14th Apr 2011 16:23
How about a script that uses plrfreeze and a NPC follows a waypoint but stops at the end of the way point.

Please .


WizMod Developer.
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 14th Apr 2011 22:15
Kerrby: Not sure what you meant about using plrfreeze.

;Header

desc = Follow Waypoints Then Stop

;Triggers

:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointstop

;End of Script

Working on yours Michael, I can't get resetweapons to work for reason, otherwise it would be simple.

Kerrby
16
Years of Service
User Offline
Joined: 14th Mar 2008
Location: Australia mate.
Posted: 15th Apr 2011 02:35
That's great thanks, I'll work on it abit to add in plrfreeze.

Thanks so much .


WizMod Developer.
gladius
16
Years of Service
User Offline
Joined: 4th Aug 2008
Location:
Posted: 15th Apr 2011 22:23
When you get a chance, If you could look into making a script that allows the player to plant an explosive, then after a set amount of time, have it explode. I can provide any HUD or models that would be necessary to have the script work. I think that this script would improve the FPS mechanic greatly.

Thanks, Gladius
Plottato
14
Years of Service
User Offline
Joined: 13th Apr 2010
Location:
Posted: 16th Apr 2011 05:31
Can you fix my ragdoll script so that it doesn't play the animation, and the ragdoll activates as soon as the character dies? Thanks.




[image]http://img689.imageshack.us/img689/5065/65753013.jpg[image/]
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 16th Apr 2011 09:30
Quote: "Can you fix my ragdoll script so that it doesn't play the animation, and the ragdoll activates as soon as the character dies? Thanks."

Your ragdoll script? Isnt that the one that comes with FPSC?

Quote: "Working on yours Michael, I can't get resetweapons to work for reason, otherwise it would be simple."

Thanks, take all the time you need.

http://www.flashstargamecreations.webs.com
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 16th Apr 2011 12:01
Quote: "Can you fix my ragdoll script so that it doesn't play the animation, and the ragdoll activates as soon as the character dies? Thanks."



Add this line to your character's main script.


Bomb script:



Setup: Put the bomb entity's main script as that ^, make sure its dynamic. Set the bomb's texture as what I've uploaded (transparent) and it's altexture as it's original texture. Then set it's explode settings.

Attachments

Login to view attachments
Ben123
13
Years of Service
User Offline
Joined: 15th Apr 2011
Location:
Posted: 16th Apr 2011 15:27
Hey bobochobo
i need you to make a script that makes everyone flee when you fire a bullet. there is already a thread but no one has posted a script
i really would like this
thanks
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 16th Apr 2011 23:34
Hey Ben. I understand that you're trying to make civilians so these characters will not shoot back. Unfortunately I can't seem to find a condition that finds if the player fires, so I've set it so when one of the characters with the script is hit, they will all follow waypoints. It might only work for the none-hit characters as I've not put a large amount of time into it.
If you want me to set it so they move around randomly or something else I will.



Ben123
13
Years of Service
User Offline
Joined: 15th Apr 2011
Location:
Posted: 17th Apr 2011 00:55
my characters are already following waypoints, in one room, and when i shoot the one enemy in the room i would like the civilians following waypoints to run in random directions, as if in panic

thanks bobochobo
Plottato
14
Years of Service
User Offline
Joined: 13th Apr 2010
Location:
Posted: 17th Apr 2011 01:07
Quote: "Add this line"

Where do I add it? At the very end of the sequence or what?

[image]http://img689.imageshack.us/img689/5065/65753013.jpg[image/]
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 17th Apr 2011 11:55
No, just at the top, like this. The :always: means that this function will always happen so it is not Dependant on state.



gladius
16
Years of Service
User Offline
Joined: 4th Aug 2008
Location:
Posted: 18th Apr 2011 02:12 Edited at: 18th Apr 2011 02:37
dude thanks! Just one problem, it is not working...

-I place the bomb script in the main field of the bomb
-then i made sure the texture and alt textures were changed (the invisible as the first texture)
-then I set the bomb to explode:yes and the destroy to flammable.

but nothing happened, am I doing something wrong?

UPDATE: I discovered that by hitting the F key a brief message would flash on the screen, then disappear along with the bomb.
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 18th Apr 2011 19:22
Are you on 1.17/8, Gladius?
Sorry, I should have mentioned that pressing F will activate it.
It might be that you're not waiting long enough for it too explode, in which case change 5000 down to 500. It works perfectly for me.
Make sure it's set to explodable - don't change the destroy script.
Explode damage could be set to 1000 to make sure you are effected.
Strength should be set to 10 or so.

Plottato
14
Years of Service
User Offline
Joined: 13th Apr 2010
Location:
Posted: 19th Apr 2011 00:57
Quote: "No, just at the top, like this. The :always: means that this function will always happen so it is not Dependant on state.
"


I did, and it didn't change anything.

[image]http://img689.imageshack.us/img689/5065/65753013.jpg[image/]
gladius
16
Years of Service
User Offline
Joined: 4th Aug 2008
Location:
Posted: 19th Apr 2011 22:38
I think I know what is going on, when the bomb is meant to explode, it vanishes meaning the invsi.dds texture is being activated. Even though the object is set to explode, it does not. the player get no damage when sitting next to the bomb, nor does an explosion decal show.I suspect that whatever part of the script is meant to make the bomb explode is not active. Also, I am using FPSC 1.17.
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 20th Apr 2011 18:41
Gladius, it works perfectly fine for me on 1.18. The invisible texture is the first one, then the player 'places' it and the countdown starts, then it explodes and vanishes.

Fpsc Remaking Halo
17
Years of Service
User Offline
Joined: 4th Jun 2007
Location:
Posted: 20th Apr 2011 23:13
I need help on my script think you could help?
I want it to where the player presses 'enter' to use the health object instead of the default one where you walk near it and it heals you.


Cheers

Disturbing Silence..
When you wake up, things might not be the same as you remember...
Its not a dream.
gladius
16
Years of Service
User Offline
Joined: 4th Aug 2008
Location:
Posted: 21st Apr 2011 04:46
Perhaps I'll try upgrading to 1.18 beta and see if the script works
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 21st Apr 2011 19:54


I can't see you moving into state1, try this:


Fpsc Remaking Halo
17
Years of Service
User Offline
Joined: 4th Jun 2007
Location:
Posted: 21st Apr 2011 21:24
great! amazing
but now how do i get it to be destroyed after being used once?

Disturbing Silence..
When you wake up, things might not be the same as you remember...
Its not a dream.
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 21st Apr 2011 22:28

Should work.

Anya
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: In dreamland... : )
Posted: 22nd Apr 2011 01:03
Hello, can you write a script that allows the player to make a jump of 1.5 segment height, by pressing a key like 'B'?
Fpsc Remaking Halo
17
Years of Service
User Offline
Joined: 4th Jun 2007
Location:
Posted: 22nd Apr 2011 07:05
Thanks very much! Cheers

Disturbing Silence..
When you wake up, things might not be the same as you remember...
Its not a dream.
gladius
16
Years of Service
User Offline
Joined: 4th Aug 2008
Location:
Posted: 22nd Apr 2011 09:38 Edited at: 22nd Apr 2011 10:09
The script works with 1.18, thanks! one thing, which command in the script controls the length of time that the message is displayed?
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 22nd Apr 2011 12:14
None at the moment, Gladius, I just added that in on a whim.
This might work, not tested.


bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 22nd Apr 2011 14:57
Anaya
:state=0,plrwithinzone=1:state=1
:state=1,scancodekeypressed=48:newjumpheight=150


Untested but it should work for B

gladius
16
Years of Service
User Offline
Joined: 4th Aug 2008
Location:
Posted: 23rd Apr 2011 08:55
hey, I don't want to take advantage of your generosity, but do you think you could have a hud appear instead of the "the bomb is planted-run" message? I have a script that allows for a hud to appear, I just don't know how to get it into the bomb script.


bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 23rd Apr 2011 11:40
I can't test it as I don't have your hud, but let me know if it works.


IntRepid Bullet
13
Years of Service
User Offline
Joined: 23rd Jul 2011
Location: Australia
Posted: 31st Jul 2011 08:43
Hey bobo. I was wondering if you could make me a script where the enemy sprints at the player and melees. Instead of slowly walking towards you then meleeing. Please and thankyou!

Yeh, I'm a noob. <3
Leongamerz
14
Years of Service
User Offline
Joined: 14th Aug 2010
Location:
Posted: 31st Jul 2011 09:18 Edited at: 31st Jul 2011 09:19
I dont know if this my stupid request but can you maked the script like if we shoot any character and suddenly player will dead.If you cant do it,its ok.

Poloflece,Anayar,PWP,Henry Ham,Cosmic Prophet,Wolf,KeithC,Nickydude,Dark Goblin And Lee Bamber is my icon.

IntRepid Bullet
13
Years of Service
User Offline
Joined: 23rd Jul 2011
Location: Australia
Posted: 31st Jul 2011 10:22
^ Do you mean that if the player shoots a certain enemy or kills a certain enemy, that you will die?

Yeh, I'm a noob. <3

Login to post a reply

Server time is: 2024-11-24 06:31:05
Your offset time is: 2024-11-24 06:31:05