Jump to content

adding a horse when you make a new character in game


Recommended Posts

hi all well i have a a question is when you make a character how do you give then a horse (eg military horse) when the character first appears in game

the reason is because seeing i use supplied copies of the client and server of the Pandora back a few years is that you get a military horse when character first appears

as i would like to stop this from happening so you have to get one as you normally would as this is the only problem i seem to be stuck on as i have had no problem sorting out all there other changes as i have no problems with client or server source files

so any help would be great as this has stumped me for a while now as maybe i getting to old for this

 

Granpa123

 

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Just edit your give_basic_weapon quest. Your point of interest is horse.set_level and horse.summon.

quest give_basic_weapon begin
	state start begin
		function basic_item(job,index)
			item_list={}	
			item_list[0] = {50187} 
			item_list[1] = {50212}
			item_list[2] = {50211}
			item_list[3] = {50213}
			return  item_list[job][index]
		end

		when login begin
			if pc.getqf("basic_weapon") == 0 then
				pc.setqf("basic_weapon", 1)

				if pc.countitem(item) == 0 and pc.weapon != item then
					pc.give_item2(50053, 1)
					pc.give_item2(39006, 1)
					pc.give_item2(give_basic_weapon.basic_item(pc.job,1) )
					horse.set_level (21)
					horse.summon()
					pc.set_skill_level(131,10)
					pc.set_skill_level(137,20)
					pc.set_skill_level(138,20)
					pc.set_skill_level(139,20)
					pc.set_skill_level(140,20)
				end
			end
		end
	end
end
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.