Forum

> > CS2D > Scripts > Request: Monster which chases player
Forums overviewCS2D overview Scripts overviewLog in to reply

English Request: Monster which chases player

7 replies
To the start Previous 1 Next To the start

old Request: Monster which chases player

RisingXD
User Off Offline

Quote
I am not a scripter, i didn't know what the hell to code lua from the first to the last. But at least I know how to paste lua in game file.

Requested Script:
1
Chase Script

Functions:
1
2
3
4
5
6
7
8
9
10
11
12
13
Monster can come out in certain time at certain places

When it comes out, it will chase player automatically

Monster ran as fast as player

And it have panic loop music

When it touch player, a 640x480 image will fill the screen, and server restart

If you outrun it about 10 second, it will gone

About 10 to 20 second, it will come out again

Requested Script 2:
1
Save and Load Script

Functions:
1
2
3
4
5
6
7
8
9
Trigger named: save

If you press 'e' on the trigger named: save, it will save location 

You can save 5 times, and the last save can be replace by the latest save

If press F2, it will load back

F2 can hold 5 save

Requested Script 3:
1
Camera Script

Functions:
1
2
3
4
5
You will spawn a Nightvision

Your knife can't hurt anything include walls and stuff

You will be seen like holding a camera, with Rec O, time and stuff

If you can help me with these scripts, i will be most appreciate, if not. Never mind.

When i want to request a script, i will also learn it on the way.

Admin/mod comment

"Need Some Script" is a bad title. Please use the title to describe WHAT script you need! Fixed! /DC

old Re: Request: Monster which chases player

M0BSTAZ
User Off Offline

Quote
it's hard to make that script!
need more information or sample code from your script..
or request to the pro scripter to make that..
OR make your own or find in a file archieve..

old Re: Request: Monster which chases player

Dousea
User Off Offline

Quote
Request 3:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
parse("mp_radar 0")
parse("mp_hud 0")

local hooks = {"hit"; "always"; "second"; "spawn"}
for _, hook in pairs(hooks) do
	addhook(hook, hook .. "hook")
end

function hithook (id, source, weapon)
	if (weapon == 50) then
		return 1
	end
end

function alwayshook ()
	for _, id in pairs(player(0, "tableliving")) do
		local char = string.char(169)
		parse("hudtxt2 " .. id .. " 48 \"" .. char .. "255000000~ REC\" 565 50 1")
	end
end

function secondhook ()
	for _, id in pairs(player(0, "tableliving")) do
		local time = (os.time() * 0.6 + 3600) % (60 * 60 * 24)
		local string = os.date("%I:%M:%S", time)
		local char = string.char(169)
		parse("hudtxt2 " .. id .. " 49 \"" .. char .. "255255255" .. string .. "\" 75 50 1")
	end
end

function spawnhook (id)
	parse("strip " .. id .. " 0")
	return "59"
end
This script have limitations and you should know it. You must to turn on your nightvision first and you can collect all weapons. I want to put battery in this script but I can't really do that.

old Re: Request: Monster which chases player

RisingXD
User Off Offline

Quote
Thanks for some helps. But never mind, i will try to use that script in more stuff.

It's my bro request, but like this maybe he will be not happy, or not.

And a very thanks for user Dousea, i will appreciate it!
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview