Forum

> > CS2D > Scripts > [RPG Mod]Heroes of Calindor
Forums overviewCS2D overview Scripts overviewLog in to reply

English [RPG Mod]Heroes of Calindor

20 replies
Page
To the start Previous 1 2 Next To the start

old [RPG Mod]Heroes of Calindor

4Vendetta
User Off Offline

Quote
> Done!
√ Custom HUD
√ Custom Level
√ 6 Stats:Strenght, Agility, Vitality, Intelect, Luck and Dexterity
√ 5 Races:Tauren, Orc, Human, Elf, Ghost.
√ 5 Classes:Fighter, Barbarian, Monk, Mage and Archer.
√ Monsters
√ Skills
√ Itens


∗ [Images]


• [Credits]@user Gajos:, @user Suprise: Help with the races images.

> EDIT: 08/08/13 - Finally I finished this mod *---* Later put to download
edited 6×, last 09.08.13 04:50:22 am

old Re: [RPG Mod]Heroes of Calindor

4Vendetta
User Off Offline

Quote
@user Jynxxx: I thinks this is a good way, i'll try
[edit]The same error Don't show nothing in the console, but the freeimage doesn't works.

@user sheeL: I don't thinks it's necessary, first the script is private, second only this code still doesn't working

old Re: [RPG Mod]Heroes of Calindor

Gajos
BANNED Off Offline

Quote
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
35
36
37
38
39
40
Player = {}
addhook("spawn","HoC.races.spawn")
function HoC.races.spawn(id)
	Player[id] = {}
	if player(id,"bot") then
		HoC.races.class[id] = math.random(1,4)
	end
	-- TAUREN
	if (HoC.races.class[id]<=1) then
		parse ("setmaxhealth "..id.." 250")
		parse ("setarmor "..id.." 206")
		parse ("speedmod "..id.." -10")
		if Player[id].img ~= nil then freeimage(id) end
		Player[id].img=image("gfx/HoC/1.png",1,1,200+id)
	end
	-- HUMAN
	if (HoC.races.class[id]==2) then
		parse ("setmaxhealth "..id.." 100")
		parse ("setarmor "..id.." 206")
		parse ("speedmod "..id.." 5")
		if Player[id].img ~= nil then freeimage(id) end
		Player[id].img=image("gfx/HoC/2.png",1,1,200+id)
	end
	-- ORC
	if (HoC.races.class[id]==3) then
		parse ("setmaxhealth "..id.." 150")
		parse ("setarmor "..id.." 206")
		parse ("speedmod "..id.." -5")
		if Player[id].img ~= nil then freeimage(id) end
		Player[id].img=image("gfx/HoC/3.png",1,1,200+id)
	end
	-- ELF
	if (HoC.races.class[id]==4) then
		parse ("setmaxhealth "..id.." 75")
		parse ("setarmor "..id.." 206")
		parse ("speedmod "..id.." 15")
		if Player[id].img ~= nil then freeimage(id) end
		Player[id].img=image("gfx/HoC/4.png",1,1,200+id)
	end
end

old Re: [RPG Mod]Heroes of Calindor

Suprise
BANNED Off Offline

Quote
Try this:
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
function Array(size,value)
	local array = {}
	for i = 1, size do
		array[i] = value
	end
	return array
end

my_image = Array(32,0)

addhook("spawn","HoC.races.spawn")
function HoC.races.spawn(id)
	if player(id,"bot") then
		HoC.races.class[id] = math.random(1,4)
	end
     -- TAUREN
	if (HoC.races.class[id]<=1) then
		parse ("setmaxhealth "..id.." 250")
		parse ("setarmor "..id.." 206")
		parse ("speedmod "..id.." -10")
		freeimage(my_image[id])
		my_image[id] = image("gfx/HoC/1.png",1,1,200+id)
	end
     -- HUMAN
	if (HoC.races.class[id]==2) then
		parse ("setmaxhealth "..id.." 100")
		parse ("setarmor "..id.." 206")
		parse ("speedmod "..id.." 5")
		freeimage(my_image[id])
		my_image[id] = image("gfx/HoC/2.png",1,1,200+id)
	end
     -- ORC
	if (HoC.races.class[id]==3) then
		parse ("setmaxhealth "..id.." 150")
		parse ("setarmor "..id.." 206")
		parse ("speedmod "..id.." -5")
		freeimage(my_image[id])
		my_image[id] = image("gfx/HoC/3.png",1,1,200+id)
	end
     -- ELF
	if (HoC.races.class[id]==4) then
		parse ("setmaxhealth "..id.." 75")
		parse ("setarmor "..id.." 206")
		parse ("speedmod "..id.." 15")
        		freeimage(my_image[id])
		my_image[id] = image("gfx/HoC/4.png",1,1,200+id)
	end
end

old Re: [RPG Mod]Heroes of Calindor

4Vendetta
User Off Offline

Quote
user Infinite Rain has written
I can give you any of the systems from RPGx, if you want ;).


I don't think it's necessary you give me a system of your script, but if you want to help me, has many parts in my script that need to be repaired and implemented ...
If you can help me with the monsters, I would love, jaja
Even so, thanks!

old Re: [RPG Mod]Heroes of Calindor

Infinite Rain
Reviewer Off Offline

Quote
Okay, I will make monsters for you. All I need is

player table that uses your script (include the part where you set all the variables for players)
ms100 hook function
attack hook function

if you will give me those, then I will make it for you

old Re: [RPG Mod]Heroes of Calindor

omg
User Off Offline

Quote
oh man, i kind of want to see the monster code too...got lazy for like 5 months with my own script because of studying

old Re: [RPG Mod]Heroes of Calindor

4Vendetta
User Off Offline

Quote
user Infinite Rain has written
Okay, I will make monsters for you. All I need is

player table that uses your script (include the part where you set all the variables for players)
ms100 hook function
attack hook function

if you will give me those, then I will make it for you


Alright man You've skype?

old Re: [RPG Mod]Heroes of Calindor

Avo
User Off Offline

Quote
user EndDead has written
Hmm... So this took about 8 months to finish? Interesting. Good job.
At least it is finished. Enough to see unfinished ones. Want to see this one.

Finished mod on Unrealsoftware is a really rare event.
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview