• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Quest Request!

carreter

New Member
Joined
Aug 17, 2010
Messages
13
Reaction score
0
Hello, I was wondering if someone could help me in this topic.
I want to make a quest which has two parts. First one the good way then the second one the evil way.
After you finished the whole quest, Evil way for example, then you can join to the evil "Guild".

Explanation: I need this because I want to make two factions, but I dont find any tutorial/example about how to do it. Anyway I thought about it and this + a guild protection code which I edited would work.

Thank you in advanced.
 
You didn't give enough information for me. Do you want a chest that they open to join the good/evil side? Or a NPC? And do you want them to join an actual guild?
 
Well.. I'll explain a bit more. The quest I want is +/- like yalahar quest. Two differents ways to make the quest. Then after finish it, Evil or Good Way, the NPC will add you to Evil/Good "guild". Also players can't make their own guilds. There will be only 2 guilds/factions, which you can join after completing the quest. Hope I make the things clear now :)
 
He wants it to be like this: 12:47 You see Player. He is a member of the evil side. He is leader of PlayerGuildName. That is what you want if I am not wrong?
 
if I'm not mistaking the storage part can be done easy with one storage number since now on 0.4 you can use alphanumeric instead of numbers as key.
you can set:
Code:
if getCreatureStorage(cid, 1234) == "evil" then
     blablabla
elseif getCreatureStorage(cid, 1234) == "good" then
     blablabla
end
 
@up but he wants it to be an npc so it has to be in npc form dont it? Unless hes a pro and can manage to add it to the npc script that he can make.
 
@up but he wants it to be an npc so it has to be in npc form dont it? Unless hes a pro and can manage to add it to the npc script that he can make.
I have no idea what you're trying to say
Yeah, it could be one possibility.
Then you'll need an onLook script too, you can see an example of how to do that in the Reputation mod that's available. Otherwise, I still don't understand what you want. You want "a quest" that does these things, but that doesn't tell me anything
 
PHP:
function onLogin(cid)
local Side = xxxx --storage
if getPlayerStorageValue(cid, Side) == "1" then -- 1 is bad side
        doPlayerSetSpecialDescription(cid, "Dark")
elseif getPlayerStorageValue(cid, Side) == "2" then --2 is good side
        doPlayerSetSpecialDescription(cid, "Light")
end
return true
end

The Npc part is just giving the char a storage value. It shouldn't be that hard, if you don't know how to do that then this sytem is too good for your server =)
 
I have no idea what you're trying to say

Then you'll need an onLook script too, you can see an example of how to do that in the Reputation mod that's available. Otherwise, I still don't understand what you want. You want "a quest" that does these things, but that doesn't tell me anything

I mean it could be a way to do it. This will allow you to create guilds (This will be great) but It doesn't matter. That I want is (I'll explain by steps):

1.- You become a citzen of a Neutral City, then you can't be attacked until lvl 20 (Already Done)
2.- At Level 20, you're able to make this quest to choose a Faction which can be replaced for a guild to make things easier.
3.- The quest begin by talking to a NPC or two NPC (One npc for each side, good or evil) then give some missions, after you completed all of them, you're able to join their respective guilds.
4.- Doing this means that you can't be attacked by your own guild mates which will offer you a total security place when you're walking around your city.

:)
 
Back
Top