Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Can't you change starting level in world.conf?

[DiscordArchive] Can't you change starting level in world.conf?

[DiscordArchive] Can't you change starting level in world.conf?

rektbyfaith
Administrator
0
08-08-2022, 03:25 AM
#1
Archived author: Alo? • Posted: 2022-08-08T03:25:00.274000+00:00
Original source

Can't you change starting level in world.conf?
rektbyfaith
08-08-2022, 03:25 AM #1

Archived author: Alo? • Posted: 2022-08-08T03:25:00.274000+00:00
Original source

Can't you change starting level in world.conf?

rektbyfaith
Administrator
0
08-08-2022, 03:25 AM
#2
Archived author: ragestriker • Posted: 2022-08-08T03:25:29.413000+00:00
Original source

i just what one race to start at lvl 20
rektbyfaith
08-08-2022, 03:25 AM #2

Archived author: ragestriker • Posted: 2022-08-08T03:25:29.413000+00:00
Original source

i just what one race to start at lvl 20

rektbyfaith
Administrator
0
08-08-2022, 03:33 AM
#3
Archived author: Peacy • Posted: 2022-08-08T03:33:12.326000+00:00
Original source

It's been a while since I coded something in Eluna but this should work:
```lua
local function ModifyPlayersLevel(event, player)
-- If the player is a troll
if (player:GetRace() == 8) then
-- If the player is level one.
-- This should only ever trigger once since we will level the player up.
if (player:GetLevel() == 1) then
player:SetLevel(20);
end
end
end

RegisterPlayerEvent(3, ModifyPlayersLevel)
```
rektbyfaith
08-08-2022, 03:33 AM #3

Archived author: Peacy • Posted: 2022-08-08T03:33:12.326000+00:00
Original source

It's been a while since I coded something in Eluna but this should work:
```lua
local function ModifyPlayersLevel(event, player)
-- If the player is a troll
if (player:GetRace() == 8) then
-- If the player is level one.
-- This should only ever trigger once since we will level the player up.
if (player:GetLevel() == 1) then
player:SetLevel(20);
end
end
end

RegisterPlayerEvent(3, ModifyPlayersLevel)
```

rektbyfaith
Administrator
0
08-08-2022, 03:41 AM
#4
Archived author: Alo? • Posted: 2022-08-08T03:41:32.207000+00:00
Original source

Ok I tried some more things and I tried simply reexporting the original unmodified Creature\IronDwarf\IronDwarf.m2 and that broke the game as well, so I have no idea what else it must be other then a problem with wbs. Strange since reexporting the original player models works fine. I'll try doing that again
rektbyfaith
08-08-2022, 03:41 AM #4

Archived author: Alo? • Posted: 2022-08-08T03:41:32.207000+00:00
Original source

Ok I tried some more things and I tried simply reexporting the original unmodified Creature\IronDwarf\IronDwarf.m2 and that broke the game as well, so I have no idea what else it must be other then a problem with wbs. Strange since reexporting the original player models works fine. I'll try doing that again

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)