It doesn't seem to work with ue4ss 3.0.1 version. Or it doesn't seem to work with a dedicated server. The pal size doesn't change, there are only tremors up and down. Even if I check it as X=1 Y=0.2 Z=0.2, the size doesn't change.
Did I write the wrong code? Why it didn't work for me? local PalIDArray = { "Umihebi", {X = 0.5, Y = 0.5, Z = 0.5}, "BOSS_Umihebi", {X = 0.5, Y = 0.5, Z = 0.5}, "Umihebi_Fire", {X = 0.5, Y = 0.5, Z = 0.5}, "BOSS_Umihebi_Fire",{X = 0.5, Y = 0.5, Z = 0.5}, "BlackMetalDragon", {X = 0.5, Y = 0.5, Z = 0.5}, "BOSS_BlackMetalDragon", {X = 0.5, Y = 0.5, Z = 0.5}, "BOSS_JetDragon", {X = 0.2, Y = 0.2, Z = 0.2}, "JetDragon", {X = 0.2, Y = 0.2, Z = 0.2}, } local CheckPalID = false local function Change3D(PalID) for number, element in pairs(PalIDArray) do if PalID == element then return PalIDArray[number+1] end end return{X = 1, Y = 1, Z = 1} end
First time pal summon is apply the sizing mod setting. but 2nd time and etc's pal summon size is the normal. I wrong the main.lua writing?
local PalIDArray = { "BOSS_JetDragon", {X = 1.5, Y = 1.5, Z = 1.5}, "JetDragon", {X = 1.5, Y = 1.5, Z = 1.5}, "BOSS_BlackFurDragon", {X = 1.5, Y = 1.5, Z = 1.5}, "BlackFurDragon", {X = 1.5, Y = 1.5, Z = 1.5}, "BOSS_IceHorse", {X = 1.5, Y = 1.5, Z = 1.5}, "IceHorse", {X = 1.5, Y = 1.5, Z = 1.5}, "BOSS_IceHorse_Dark", {X = 1.5, Y = 1.5, Z = 1.5}, "IceHorse_Dark", {X = 1.5, Y = 1.5, Z = 1.5}, "BOSS_Eagle", {X = 1.5, Y = 1.5, Z = 1.5}, "Eagle", {X = 1.5, Y = 1.5, Z = 1.5}, "BOSS_SkyDragon", {X = 1.5, Y = 1.5, Z = 1.5}, "SkyDragon", {X = 1.5, Y = 1.5, Z = 1.5}, } local CheckPalID = false local function Change3D(PalID) for number, element in pairs(PalIDArray) do if PalID == element then return PalIDArray[number+1] end end return{X = 1, Y = 1, Z = 1} end
and this is my lua setting: local PalIDArray = { "BOSS_CatMage", {X = 0.1, Y = 0.1, Z = 0.1}, "CatMage", {X = 0.1, Y = 0.1, Z = 0.1}, "BOSS_FoxMage", {X = 0.1, Y = 0.1, Z = 0.1}, "FoxMage", {X = 0.1, Y = 0.1, Z = 0.1}, "BOSS_LilyQueen", {X = 0.1, Y = 0.1, Z = 0.1}, "LilyQueen", {X = 0.1, Y = 0.1, Z = 0.1}, "BOSS_LilyQueen_Dark", {X = 0.1, Y = 0.1, Z = 0.1}, "LilyQueen_Dark", {X = 0.1, Y = 0.1, Z = 0.1}, "FlowerDoll", {X = 0.1, Y = 0.1, Z = 0.1}, "BOSS_FlowerDoll", {X = 0.1, Y = 0.1, Z = 0.1}, }
go to HERE find PalID then you can use notepad or something to edit ChangeHolderPalSize/Scripts/main.lua file find the "Change3D" function add or delete PalID & XYZ whatever you want size > 1 Bigger < 1 Smaller This Mod Change Normal Type And Specific Type
Thank you ! a little more detail would be helpful. do i add PalID like this " function Change3D(PalID) if PalID == "Boss_Anubis,Anubis,Umihebi,Horus" then``` " or creat more function modules like "function Change3D(PalID) if PalID == "Boss_Anubis" then ``` function Change3D(PalID) if PalID == "Umihebi" then ``` "
Just if PalID == "[PalID_1]" then return {X = [size], Y = [size], Z = [size]} elseif PalID == "[PalID_2]" then return {X = [size], Y = [size], Z = [size]} elseif PalID == "[PalID_3]" then return {X = [size], Y = [size], Z = [size]} . . . end
OR if PalID == "BOSS_JetDragon" then return {X = 0.2, Y = 0.2, Z = 0.2} end if PalID == "JetDragon" then return {X = 0.2, Y = 0.2, Z = 0.2} end if PalID == "BOSS_ChickenPal" then return {X = 0.1, Y = 0.1, Z = 0.1} end
function Change3D(PalID) if PalID == "Horus" then return {X = 0.1, Y = 0.1, Z = 0.1} end if PalID == "Anubis" then return {X = 0.2, Y = 0.2, Z = 0.2} end if PalID == "Boss_Anubis" then return {X = 0.2, Y = 0.2, Z = 0.2} end return{X = 1, Y = 1, Z = 1} end it only works for anubis, not the other two, i wonder maybe something's wrong with PalID on the website.
if you have open GuiConsoleEnabled = 1 GuiConsoleVisible = 1 press restart all mods button Then start another world then restart the original world you can see the debugging tool jump out: [Lua] CHPS_Hook [RegisterHook] Registered script hook (131, 131) for Function /Game/Pal/Blueprint/Component/OtomoHolder/BP_OtomoPalHolderComponent.BP_OtomoPalHolderComponent_C:ActivateOtomo [RegisterHook] Registered script hook (132, 132) for Function /Game/Pal/Blueprint/Character/Base/BP_PettingCamera.BP_PettingCamera_C:UpdatePettingCameraOffset [RegisterHook] Registered script hook (133, 133) for Function /Game/Pal/Blueprint/Component/OtomoHolder/BP_OtomoPalHolderComponent.BP_OtomoPalHolderComponent_C:IncrementActiveOtomoCount
41 comments
what does "edit the mod.txt add: ChangeHolderPalSize : 1" mean? I can't find mod.txt !
even putting it in there didnt work :/
this mod is work on plaworld old version
But there is still this problem,petting and feeding will revert Pal size back. Could you tell me how to Solve this problem?
is ok now
local PalIDArray = {
"Umihebi", {X = 0.5, Y = 0.5, Z = 0.5},
"BOSS_Umihebi", {X = 0.5, Y = 0.5, Z = 0.5},
"Umihebi_Fire", {X = 0.5, Y = 0.5, Z = 0.5},
"BOSS_Umihebi_Fire",{X = 0.5, Y = 0.5, Z = 0.5},
"BlackMetalDragon", {X = 0.5, Y = 0.5, Z = 0.5},
"BOSS_BlackMetalDragon", {X = 0.5, Y = 0.5, Z = 0.5},
"BOSS_JetDragon", {X = 0.2, Y = 0.2, Z = 0.2},
"JetDragon", {X = 0.2, Y = 0.2, Z = 0.2},
}
local CheckPalID = false
local function Change3D(PalID)
for number, element in pairs(PalIDArray) do
if PalID == element then return PalIDArray[number+1] end
end
return{X = 1, Y = 1, Z = 1}
end
If I keep too many pals in the gauge, the pals will turn into popcorn...
but 2nd time and etc's pal summon size is the normal.
I wrong the main.lua writing?
local PalIDArray = {
"BOSS_JetDragon", {X = 1.5, Y = 1.5, Z = 1.5},
"JetDragon", {X = 1.5, Y = 1.5, Z = 1.5},
"BOSS_BlackFurDragon", {X = 1.5, Y = 1.5, Z = 1.5},
"BlackFurDragon", {X = 1.5, Y = 1.5, Z = 1.5},
"BOSS_IceHorse", {X = 1.5, Y = 1.5, Z = 1.5},
"IceHorse", {X = 1.5, Y = 1.5, Z = 1.5},
"BOSS_IceHorse_Dark", {X = 1.5, Y = 1.5, Z = 1.5},
"IceHorse_Dark", {X = 1.5, Y = 1.5, Z = 1.5},
"BOSS_Eagle", {X = 1.5, Y = 1.5, Z = 1.5},
"Eagle", {X = 1.5, Y = 1.5, Z = 1.5},
"BOSS_SkyDragon", {X = 1.5, Y = 1.5, Z = 1.5},
"SkyDragon", {X = 1.5, Y = 1.5, Z = 1.5},
}
local CheckPalID = false
local function Change3D(PalID)
for number, element in pairs(PalIDArray) do
if PalID == element then return PalIDArray[number+1] end
end
return{X = 1, Y = 1, Z = 1}
end
you can add this line
"ChickenPal", {X = 1, Y = 0.2, Z = 0.2},
check this mod is working
or turn on the CheckPalID false to true
not working
the UE4SS.log have:
[Lua] CHPS_Hook
[RegisterHook] Registered script hook ...
local PalIDArray = {
"BOSS_CatMage", {X = 0.1, Y = 0.1, Z = 0.1},
"CatMage", {X = 0.1, Y = 0.1, Z = 0.1},
"BOSS_FoxMage", {X = 0.1, Y = 0.1, Z = 0.1},
"FoxMage", {X = 0.1, Y = 0.1, Z = 0.1},
"BOSS_LilyQueen", {X = 0.1, Y = 0.1, Z = 0.1},
"LilyQueen", {X = 0.1, Y = 0.1, Z = 0.1},
"BOSS_LilyQueen_Dark", {X = 0.1, Y = 0.1, Z = 0.1},
"LilyQueen_Dark", {X = 0.1, Y = 0.1, Z = 0.1},
"FlowerDoll", {X = 0.1, Y = 0.1, Z = 0.1},
"BOSS_FlowerDoll", {X = 0.1, Y = 0.1, Z = 0.1},
}
Video
enjoy your game
:)
then you can use notepad or something to edit ChangeHolderPalSize/Scripts/main.lua file
find the "Change3D" function
add or delete PalID & XYZ whatever you want
size > 1 Bigger
< 1 Smaller
This Mod Change Normal Type And Specific Type
do i add PalID like this
" function Change3D(PalID)
if PalID == "Boss_Anubis,Anubis,Umihebi,Horus" then``` "
or creat more function modules like
"function Change3D(PalID)
if PalID == "Boss_Anubis" then
```
function Change3D(PalID)
if PalID == "Umihebi" then ``` "
if PalID == "[PalID_1]" then
return {X = [size], Y = [size], Z = [size]}
elseif PalID == "[PalID_2]" then
return {X = [size], Y = [size], Z = [size]}
elseif PalID == "[PalID_3]" then
return {X = [size], Y = [size], Z = [size]}
.
.
.
end
if PalID == "BOSS_JetDragon" then return {X = 0.2, Y = 0.2, Z = 0.2} end
if PalID == "JetDragon" then return {X = 0.2, Y = 0.2, Z = 0.2} end
if PalID == "BOSS_ChickenPal" then return {X = 0.1, Y = 0.1, Z = 0.1} end
function Change3D(PalID)
it only works for anubis, not the other two, i wonder maybe something's wrong with PalID on the website.if PalID == "Horus" then
return {X = 0.1, Y = 0.1, Z = 0.1}
end
if PalID == "Anubis" then
return {X = 0.2, Y = 0.2, Z = 0.2}
end
if PalID == "Boss_Anubis" then
return {X = 0.2, Y = 0.2, Z = 0.2}
end
return{X = 1, Y = 1, Z = 1}
end
GuiConsoleEnabled = 1
GuiConsoleVisible = 1
press restart all mods button Then start another world then restart the original world
you can see the debugging tool jump out:
[Lua] CHPS_Hook
[RegisterHook] Registered script hook (131, 131) for Function /Game/Pal/Blueprint/Component/OtomoHolder/BP_OtomoPalHolderComponent.BP_OtomoPalHolderComponent_C:ActivateOtomo
[RegisterHook] Registered script hook (132, 132) for Function /Game/Pal/Blueprint/Character/Base/BP_PettingCamera.BP_PettingCamera_C:UpdatePettingCameraOffset
[RegisterHook] Registered script hook (133, 133) for Function /Game/Pal/Blueprint/Component/OtomoHolder/BP_OtomoPalHolderComponent.BP_OtomoPalHolderComponent_C:IncrementActiveOtomoCount
four text express the mod is working
if you not open:
plase restart the game
:)
OH! remember save your file
use array to read PalID and Size
you can try it
have a nice day
:)
i add the Detailed description
go back DESCRIPTION to check :)