![]() print("SPIDER INIT STARTED") - Always printslocal function spider_postinit(inst) print("Post init worked", inst)end- Un-commented this line on the first attempt, printed successfully.- AddPrefabPostInit("spider", spider_postinit)local function sim_postinit(inst) - Un-commented this line on the second attempt, does not print anything. Both are consistent, meaning the prefabs need to run through initialization either way. Note, I tested this on spiders that were spawned before loading the world, and with spiders spawned using the c_spawn console command. I'll post a new one in the next edit.Įdit 2: For reference, this is the code I used to test it. Thank you for pointing that out, Arlymone, the code I provided probably won't work, considering the above. I'm going to assume they all work similarly and won't execute correctly if called in each other. I'll test it in a little bit and report back.Įdit: The prefab post init does not execute at all if it's inside the simpostinit. I'm not certain about this though, so I'll have to look into it. And since prefabs need to initialize upon world load, it should work as intended. From what I understand, I think the post inits add that function call for every prefab initialization. ![]() Since those postinits on the catcoons are only running AFTER the simpostinit, doesnt that mean that catcoons currently on the map wont be affected but all ones that spawn later will be ? I'm even willing to give a lil drawing/doodle as a reward for the person that help me get the perks done and working.Īlso I'm kind of a newbie around here so sorry if I'm doing anything wrong ^^ I then tried using the “Extended Character Template” ‘s atlas and the bin that goes with it but it came out as a total mess of textures. T hey are both based on willow’s atlas from the respective game mode, but since they are different they of course need different bin files to work and I tried using willows’s RoG bin file with my Wab's Rog textures but it just crashes the game, tbh i kinda was expecting that to happen. Other thing im trying to 'fix' is his textures, the current textures and animation Wab is using in game are standard ones and not the RoG ones. Hurting/Killing a catcoon will lower his sanity.Can restore health by eating Wet goop, but it will also lower his sanity."Playing" with/using beefalo wool and/or bunny puff increase his sanity.I still have two things to finish, the most important one being the perks. He working quite well so far with an entire speech file for his lines and everything. Im currently making a mod of my Fan Character Wab Wacoon.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |