• 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!

On Making Teams

Status
Not open for further replies.

Mattt

I'm cool I swear
Joined
Apr 28, 2008
Messages
1,163
Reaction score
7
Location
USA
Hey everyone, well im working on an War Server, and i wanna do like teams,

Like Humans vs Orcs?

and make it so you can pick that option when your making your character.

I was wondering if anyone could help me at all, Ill gladly give rep++:thumbup:
 
B
U
M
P
~~~~~~
If anyone can point me in the right direction it would be greatly appreciated! :peace:
 
Ehh, give them an outfit and put:
Lua:
	noDamageToSameLookfeet = false
to:
Lua:
	noDamageToSameLookfeet = true

And put:
Lua:
	allowChangeOutfit = true
	allowChangeColors = true
	allowChangeAddons = true
	disableOutfitsForPrivilegedPlayers = false
to:
Lua:
	allowChangeOutfit = false
	allowChangeColors = false
	allowChangeAddons = false
	disableOutfitsForPrivilegedPlayers = true

That should do the trick.

The account making depends on if you use an acc, gesior? niwac? or an ingame acc manager.
 
Ehh, give them an outfit and put:
Lua:
	noDamageToSameLookfeet = false
to:
Lua:
	noDamageToSameLookfeet = true

And put:
Lua:
	allowChangeOutfit = true
	allowChangeColors = true
	allowChangeAddons = true
	disableOutfitsForPrivilegedPlayers = false
to:
Lua:
	allowChangeOutfit = false
	allowChangeColors = false
	allowChangeAddons = false
	disableOutfitsForPrivilegedPlayers = true

That should do the trick.

The account making depends on if you use an acc, gesior? niwac? or an ingame acc manager.

I'm using Account Manager.
 
Because, DDoS, and it's just a war server, nothing huge really, i atleast just wanna like or..if its simpler, have two color, red and blue, and like when you login it determines, how many players are on each team and they put it on the right team in login, so it balances out.
 
well, i can make a script that sets the outfit of the player depending of the vocation when the player logs in
 
try:
Lua:
local outfits = {
        [1] = "necromancer", --sorc
        [2] = "dragon", --druid
        [3] = "elf", --pally
        [4] = "orc", --kina
}

function onLogin(cid)
    local voc = getPlayerVocation(cid)
        if voc > 0 and getPlayerAccess == 1 then
            doSetMonsterOutfit(cid, outfits[string.lower(voc)], -1)
        end
return TRUE
end
gms, gods, cms, staff won't be affected
neither rook vocation
 
can be, but for that one you have to make a new script

creaturevents.xml
Lua:
<event type="login" name="outfit2" event="script" value="script.lua"/>

no need to register
 
Status
Not open for further replies.
Back
Top