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 / My Contribution - Make Scripts For Free

Author
Message
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 16th Jul 2009 15:27 Edited at: 21st Jul 2009 20:40
Hey guys. I have been here a bit now and i figure that i have taken so much our of the community and its time to give something back. So here it is. Im gonna make some free scripts for you guys. Just post what you want (within reason) and i'll make it and add it to the below list.

Please note that many of these Scripts require Ply's Mod. It can be downloaded at the officail thread and is included in Project Blue.

Scripts To Make:

Scripts Under Construction:

Made Scripts:

Play a sound with a hud:



Decal with Sound:



Activate and Appear, Deactivate and Destroy:



Show Hud with Sound:



Shake Camera and play sound:



Hostage Scripts:



Money System for Ply's Mod:







http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
DarkFrost
15
Years of Service
User Offline
Joined: 3rd May 2009
Location: ON, Canada
Posted: 16th Jul 2009 17:13
Well I myself don't need any assistance with scripting, yet what your doing is great to hear and I'm sure many will be flooding this thread with scripts soon.

[img][/img]

shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 16th Jul 2009 18:26
as with cyclone, i'm trying to do all my scripts on my own now.

Coming soon: what lies beneath.
check out the official thread: http://forum.thegamecreators.com/?m=forum_view&t=153893&b=25
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 16th Jul 2009 18:58
Ye its just that when i first joined FPSC i got really irritated that good scripts werent easy to come by. I recon i cant make any complaints on something i can help fix so im here helping.

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
DarkFrost
15
Years of Service
User Offline
Joined: 3rd May 2009
Location: ON, Canada
Posted: 17th Jul 2009 01:45 Edited at: 17th Jul 2009 01:46
Well you dont seem to be getting any requests so Ill ask a question. Read my terminate game thread and see if you know the answer to that one. I've been experimenting yet im slowely starting to believe it isn't possible with the stock engine.

[img][/img]

Bugsy
16
Years of Service
User Offline
Joined: 24th Nov 2008
Location: another place in time
Posted: 17th Jul 2009 07:41
is there a way to speed up reload time on guns?
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 17th Jul 2009 11:12
@Cyclone

Sos I couldnt reply, I was asleep over here in england. You managed to buypass the menu using the setup.ini files in the gamebank? If so, are you willing to share what you did?


@Bugsy

You can do two things, speed up the animation itself or increase the speed of the game loop. I think that there is a command in ply's mod which enables you to change the players speed. I think its only for walking and running but it may effect reload, i dont know. Sos i couldnt be more help.

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
chidem
15
Years of Service
User Offline
Joined: 13th Jan 2009
Location:
Posted: 17th Jul 2009 12:55
Hi Arenas

Do you script in Plys Mod? The reason I ask is that I have yet to give it a try and am super busy at the moment and what would really, really make my life easier would be if someone create an idiot proof cash system for Ply's mod like the one created by Conjured Entertainment for the stock engine. Before I get my head bitten off, I do understand this should be very easy using this mod but I simply do not have the time to devlve into that mod at the moment and would love a simple set of scripts that showed cash in the main hud and maybe a script that also allowed my to "buy" ammo or another such item. Here is Conjured's cash system that I am currently using in the stock engine: http://forum.thegamecreators.com/?m=forum_view&t=130281&b=24
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 17th Jul 2009 13:40
I made this script earlier in the year for a Zombie mod and it all worked out fine. The only thing missing is the hud that you requested. Here are the scripts required for the cash system:

Variable settings:



PS - Just add this to any dynamic entity in the level. Please note that the entity will be destoryed immediately after the game begins.

Money Increase:



PS - You can add sounds to state one before destruction. You can also add huds.

Money Spend:



http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 17th Jul 2009 22:54
A script for a character and hears running and is like pace.fpi.

I want a new computer!
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 17th Jul 2009 23:09 Edited at: 17th Jul 2009 23:10
??? Your gonna have to explain a bit more. A character which activates when it hears you?

PS I'll get back to you tomoz

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
djmaster
User Banned
Posted: 18th Jul 2009 22:23
I need a script when I come close to a character I press use key(E or Enter) then the character follows me and it checks the objective so the objective is 1 then so I can enter the winzone thats objective 2 and win.Kinda hostage mode

[href]http://chargedstudios.netne.net/index.htm[href]
"Im British you muppet!"-Psycho
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 19th Jul 2009 14:32 Edited at: 19th Jul 2009 14:45
Not too hard, Im gonna need to customise some pre-existing scripts, I'll have it up soon

--EDIT--

Easier then expected. This is a modification of the Sensai AI script (ally main)



http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
djmaster
User Banned
Posted: 19th Jul 2009 22:54
Thank you,gonna use it in my game

[href]http://chargedstudios.netne.net/index.htm[href]
"Im British you muppet!"-Psycho
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 20th Jul 2009 07:12
What about a screen shaking and playing sound one? like something explodes and makes a big noise

GreenDixy
16
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 20th Jul 2009 08:00
"Hostage Script" Just a quick question as i needed something like this for my game, I apply the script to the "Main" of my entity and set object to 1 correct? Then unless i get the hostage i cant enter win zone?

===================
No life, Lots of love, 2 Kids, God save me LOL
djmaster
User Banned
Posted: 20th Jul 2009 09:58
Yep thats correct.

[href]http://chargedstudios.netne.net/index.htm[href]
"Im British you muppet!"-Psycho
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 20th Jul 2009 12:00 Edited at: 20th Jul 2009 12:00
@unixfr3ak

Ye that is pritty much as it works a djmaster said.

@Black Profductions

I'll have a look at it. It all depends upon camera and RND(random) commands.

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
GreenDixy
16
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 20th Jul 2009 12:53
Thanks for the great work on these script's.

===================
No life, Lots of love, 2 Kids, God save me LOL
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 20th Jul 2009 16:46
@Black Profductions

I see you found the command in the PB thread. For all who want to know the command requires Airmod. The command is ---> camshake=x (max is 20)

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 20th Jul 2009 17:35
Hey tahnks arenas!


Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 20th Jul 2009 17:57 Edited at: 20th Jul 2009 18:23
Here, it has some bugs, can you help me arenas? ^^

Quote: ";Artificial Intelligence Script

;Header


;Triggers

:State=0,timerstart,playsound=audiobankCalibrebomba.wav,state=1
:State=1:camshake=12
:State=1,timergreater=3000,state=2
:State=2:State=2


;End of Script
"

I cant make it play the sound :/


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 20th Jul 2009 20:34 Edited at: 20th Jul 2009 20:37
Its because you have the playsound as a condition. Look

Quote: ":State=0,timerstart,playsound=audiobankCalibrebomba.wav,state=1"


It shouldnt enter state 1 either. What you need is:

Quote: ":State=0:timerstart,playsound=audiobankCalibrebomba.wav,state=1"


Notice the colon, it makes all the difference

Sos it took so long to reply , do you mind setting the sound that you are using for a download? I could use a bomb/earthquake effect

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 20th Jul 2009 20:55 Edited at: 20th Jul 2009 21:01
Thanks, a lot you have saved my surprise ^^
But, the sound plays and the screenshake last 2 seconds or less :/


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 20th Jul 2009 21:37
The you somehow need to add a repeat script in:



That should work, ive basically re-written it all.

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 20th Jul 2009 23:38 Edited at: 21st Jul 2009 00:29
Lol, thanks A LOT arenas
But the script isnt working, you spawn and the screenshake starts, also, the sound nevenr player, by the way if you have no problem maybe ill came latter with some other scripts that have some truble


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 21st Jul 2009 00:43
ye, thats fine as well. im goin 2 sleep now. tomoz i'll write and test the code. i'll explain how to set up hostage objective as well.

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 21st Jul 2009 02:06
Lol, great


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 21st Jul 2009 12:27


Ok try this. Place the sound in the same folder as the script, or was it in the audio bank or files? Place one in each. My computers sound has broken so i dont know if any played, you'll have to tell me. Check if the correct extension of the sound file is there (.mp3/.wav). You can also change the length of the wait, that may have an effect.

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 21st Jul 2009 16:15
PLEASE HELP ME!
I was working on this script for 5 days, and I haven't had any luck!

I need to spawn an entity by activating a switch, and when I activate the switch again, it disappears.

If every millisecond in your life was 10 problems in the world, you'd be immortal
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 21st Jul 2009 16:42 Edited at: 21st Jul 2009 16:43
Do you need it to be destroyed perminantely? If so its Easy. The only thing I need to know is if the entity has any animations or movement? If not this should do:



Basically apply the switch script (switch 1 i think). Set the entity to spawn at start NO, and dynamic (the green one). When the switch activates, it appears. When the switch is reactivated, the entity is destroyed. After that it can not be brought back to life.

Please note that this will only work with entities which would otherwise use the default main.

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 21st Jul 2009 17:38
Hio again arenas!
Another script request:
what it need is that when i enter aspawnzone a decal appears and plays a bomb sound, i have the sprite and the sound, i just need the script


Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 21st Jul 2009 17:54
Another one,:
I want a picture to display in the screen, and play a sound when you enter a trrigger zone, so it looks like you are reciving a radio message



A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 21st Jul 2009 18:05
Ok. Here it is:



Just set this to the main of a decal and when the player is within 60 units it blows . If you want a seperate zone to activate it all you need to alter is either the distance of activation or a varaible to be actiavted.

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 21st Jul 2009 18:12
Heres the second request, just enter the required info:



http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 21st Jul 2009 18:21
Thanks a lot


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 21st Jul 2009 19:58 Edited at: 21st Jul 2009 20:08
@Black Profductions

You pointed out on MSN that the shakescreen wasnt working. The screen shake wont work in S4Mod i dont think. Also i messed up with the sound command. Heres the edited version. My audio doesnt work so your gonna have to tell me if it sounds good :



http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 22nd Jul 2009 18:24
hey, thanks alot, but I should've been more descripted.

Quote: "Do you need it to be destroyed perminantely? If so its Easy. The only thing I need to know is if the entity has any animations or movement? If not this should do:"

No, I want it to respawn, not to be destroyed permenately. And second, no, it doesn't have animations or movement. Thanks again!

If every millisecond in your life was 10 problems in the world, you'd be immortal
gladius
16
Years of Service
User Offline
Joined: 4th Aug 2008
Location:
Posted: 22nd Jul 2009 23:52
can you make a script that spawns a steady stream of enemies for a time limit like 30 secs, then have it stop when the player enters a trigger zone?
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 23rd Jul 2009 00:34
sorry, im stuck with infinate spawning... in yours id just put in a time limit. i just need infinate spawn...

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 24th Jul 2009 02:33 Edited at: 24th Jul 2009 02:33
amazing topic and great contribution Thank You..

I had a script idea in mind and I was gonna start writing it but got cought up in some stuff so maybe u can do it and feel free to take credit for it if ur up to it

the script idea was about a mounted machine gun like in many FPS games like medal of honor, the script would work as follows

- an entity on ground for the weapon, when u get closer a (press enter to use hud appears)
- when u press enter the entity dissapears and the player moves exactly to its position
- so far so good, now disable player movement (can't remember how exactly but ply said it was possible) and give the player a weapon with the exact shape as the entity.. (for the example u may use the tommy gun it's the most descent one)..
- when the player presses enter again the weapon entity reappears, the weapon disappears and the player steps back..

bugs that I can't yet find a solution for:
- there's no way to stop the player from switching weapons while mounting the gun but I guess it's not that big of a deal

I know it's a lot of work but it would be a very nice progress with scripting...

A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 24th Jul 2009 11:34
i'll start work right after i finish work on the ultimate fpsc comp

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 24th Jul 2009 16:35
Can you make a Flashlight script that actually works??

I want a new computer!
DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 24th Jul 2009 18:14
Quote: "Can you make a Flashlight script that actually works??"


Search flashlight and follow the instructions. I found 3 scripts that work. (flashlight v.1, v.2, v.3)

Incase you tried that, you set the ambience to 0, the light range to zero, along with flashlight as its main script, then you press "f" to use

If every millisecond in your life was 10 problems in the world, you'd be immortal
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 24th Jul 2009 18:17
It looks like your sorted I'll post the script here when im next on

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 24th Jul 2009 21:43
Quote: "along with flashlight as its main script, then you press "f" to use"


Do I have to put it in a triggerzone?

I want a new computer!
DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 25th Jul 2009 00:11
Quote: "Do I have to put it in a triggerzone?"

Nope

If every millisecond in your life was 10 problems in the world, you'd be immortal
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 25th Jul 2009 23:02
Then where?

I want a new computer!
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 26th Jul 2009 01:13
think you need no other script but the flashlight

http://arenas4146.webs.com/
http://fraggaming.forum2.biz/forum.htm
Kerrby
16
Years of Service
User Offline
Joined: 14th Mar 2008
Location: Australia mate.
Posted: 26th Jul 2009 09:30
No way! I was just going to ask for that script.

A COD4 style respawn enemies, as in they stop respawning when you reach a certain area.


WizMod Developer.

Login to post a reply

Server time is: 2024-11-25 08:02:42
Your offset time is: 2024-11-25 08:02:42