Arthuring Posted January 2, 2017 Share Posted January 2, 2017 Hello guys, I know there is different leif sizes, but the debug code just spawns the normal one. I'm having a really bad time trying to figure this out. Anyone out there, can you help meee? Thanks! P.S: I want this, because I'm playing with an monster arena, where I put bosses to fight each other. Really need other leif sizes. Link to comment https://forums.kleientertainment.com/forums/topic/73027-other-leifs/ Share on other sites More sharing options...
Arthuring Posted January 3, 2017 Author Share Posted January 3, 2017 Sorry for BUMPing. Still not found a solution... (Still in need of help) How can I spawn a BIG leif via command code? Link to comment https://forums.kleientertainment.com/forums/topic/73027-other-leifs/#findComment-855181 Share on other sites More sharing options...
Sinister_Fang Posted January 3, 2017 Share Posted January 3, 2017 Are you using a mod? I never once remember hearing anything about a leif in DS/T Link to comment https://forums.kleientertainment.com/forums/topic/73027-other-leifs/#findComment-855203 Share on other sites More sharing options...
Donke60 Posted January 3, 2017 Share Posted January 3, 2017 3 hours ago, Sinister_Fang said: Are you using a mod? I never once remember hearing anything about a leif in DS/T A leif is the debugspawn code for a treeguard Link to comment https://forums.kleientertainment.com/forums/topic/73027-other-leifs/#findComment-855208 Share on other sites More sharing options...
Sinister_Fang Posted January 3, 2017 Share Posted January 3, 2017 4 minutes ago, Donke60 said: A leif is the debugspawn code for a treeguard Heheheh... Klei and their puns... Link to comment https://forums.kleientertainment.com/forums/topic/73027-other-leifs/#findComment-855210 Share on other sites More sharing options...
Arthuring Posted January 3, 2017 Author Share Posted January 3, 2017 lol, sorry! I was assuming that everyone knew that D= Anyway, yes. I want to spawn a GIGA BIG Treeguard, using the debugspawn: "leif" just summon the normal one. Really, this is stupid, Why can't we spawn it directly? I tried something like: "leif.components:SetScale = 3" and nothing... u.u Link to comment https://forums.kleientertainment.com/forums/topic/73027-other-leifs/#findComment-855219 Share on other sites More sharing options...
Leonardo Cox Posted January 3, 2017 Share Posted January 3, 2017 It would be this in console: local leif = c_spawn("leif"); leif.Transform:SetScale( 3, 3, 3) This will not change the stats (I think, might be special case for Tree Guard. which you can just add on to the existing thing above with things like: leif.components.combat:SetDefaultDamage(number) You might have to do some digging into leif.lua and tuning to get the exact values you want. Leif does have a function for automatically scaling the damage and stuff but unfortunately I'm not aware of how to make functions run on other objects in console. Link to comment https://forums.kleientertainment.com/forums/topic/73027-other-leifs/#findComment-855232 Share on other sites More sharing options...
Arthuring Posted January 4, 2017 Author Share Posted January 4, 2017 19 hours ago, DarkKingBoo said: It would be this in console: local leif = c_spawn("leif"); leif.Transform:SetScale( 3, 3, 3) This will not change the stats (I think, might be special case for Tree Guard. which you can just add on to the existing thing above with things like: leif.components.combat:SetDefaultDamage(number) You might have to do some digging into leif.lua and tuning to get the exact values you want. Leif does have a function for automatically scaling the damage and stuff but unfortunately I'm not aware of how to make functions run on other objects in console. Thanks! (now that I'm looking on it, I feel pretty stupid. xD) That's better than nothing, I just need to look the right damage and gg. -------------------------------------------------------------------------EDIT--------------------------------------------------------------------- Ok, Thanks to you DarkKingBoo, I managed to get the perfect code for a legit big Treeguard. Thank you very much. Quote local leif = c_spawn("leif"); leif.Transform:SetScale( 1.25, 1.25, 1.25); leif.components.combat:SetDefaultDamage(186); leif.Physics:SetCapsule(.5 * 1.25, 1); leif.DynamicShadow:SetSize(4 * 1.25, 1.5 * 1.25); leif.components.locomotor.walkspeed = (1.9); leif.components.combat:SetRange(3.75); leif.components.health:SetMaxHealth(3750) Link to comment https://forums.kleientertainment.com/forums/topic/73027-other-leifs/#findComment-855309 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.