- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- More Problems With Coding - This time, VS errors CS0119 and CS0103
- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- More Problems With Coding - This time, VS errors CS0119 and CS0103
#51
6th Nov 2020 at 7:31 PM
Last edited by CyrusBanefort : 6th Nov 2020 at 11:24 PM.
Posts: 175
Thanks: 175 in 1 Posts
@PuddingFace ,
That Jazz Script is both about harassing with the cane and holding it. My current objective in this mod's development is to manage to make the "Holding Cane" posture to appear properly.
Anyway, this thing is... Very strange, I cannot even run the animations on Animation Player - Even putting their exact names and everything, they refuse to show up, indepedently if the sim is a elder or not. I'll try to put them in Blender and differentiate from the originals, and see if anything comes of it. I'll keep you all updated.
EDIT: Okay, this is weirder than I had anticipated. Even after turning the CLIPs into smds and importing them in Blender, the animations continue to don't play. Why?
EDIT2: It seems I was trying to open the cane animations, not the sim animations. Still having problems, however. AnimTools gives me "AnimationError2" when I try to turn the smd into a clip.
That Jazz Script is both about harassing with the cane and holding it. My current objective in this mod's development is to manage to make the "Holding Cane" posture to appear properly.
Anyway, this thing is... Very strange, I cannot even run the animations on Animation Player - Even putting their exact names and everything, they refuse to show up, indepedently if the sim is a elder or not. I'll try to put them in Blender and differentiate from the originals, and see if anything comes of it. I'll keep you all updated.
EDIT: Okay, this is weirder than I had anticipated. Even after turning the CLIPs into smds and importing them in Blender, the animations continue to don't play. Why?
EDIT2: It seems I was trying to open the cane animations, not the sim animations. Still having problems, however. AnimTools gives me "AnimationError2" when I try to turn the smd into a clip.
Advertisement
#52
6th Nov 2020 at 11:42 PM
Posts: 1,497
Thanks: 4279 in 41 Posts
In Blender you can directly import CLIPS. smd was for milkshape I believe.
Which version of Blender are you using?
Which version of Blender are you using?
#53
7th Nov 2020 at 2:14 PM
Posts: 175
Thanks: 175 in 1 Posts
@PuddingFace ,
Managed to import the clips to Blender, but... Well, when trying to use Animation Player, the animations still don't appear. In Blender, they function as expected, but in-game, the sim just stands there, doing absolutely nothing. Also, other thing that is very strange... For some reason, the Jazz Script reference animations with different names than the one that should be working. How does this script even works?
Basically, every cane animation has a e_ prefix, not an a_. But, in the script, it references many animations that should begin with an e_, and... It still works in base-game? It's bizarre.
Managed to import the clips to Blender, but... Well, when trying to use Animation Player, the animations still don't appear. In Blender, they function as expected, but in-game, the sim just stands there, doing absolutely nothing. Also, other thing that is very strange... For some reason, the Jazz Script reference animations with different names than the one that should be working. How does this script even works?
Basically, every cane animation has a e_ prefix, not an a_. But, in the script, it references many animations that should begin with an e_, and... It still works in base-game? It's bizarre.
#54
7th Nov 2020 at 2:45 PM
Posts: 1,497
Thanks: 4279 in 41 Posts
In Jazz script things just change into a after saving. But the game still understands. You need to import the e animations and export them out with a . Everything else should be same. I think this will help.
As for animation player I am not sure. Were you testing with adults or elders?
As for animation player I am not sure. Were you testing with adults or elders?
#55
7th Nov 2020 at 4:18 PM
Posts: 175
Thanks: 175 in 1 Posts
@PuddingFace ,
Did it. The animations are trembling when they are used in the cane interactions, though. Is this normal or there's some fix?
Did it. The animations are trembling when they are used in the cane interactions, though. Is this normal or there's some fix?
#56
7th Nov 2020 at 4:30 PM
Posts: 1,497
Thanks: 4279 in 41 Posts
So the animations are playing now after creating new ones with a instead of e? And what do you mean by trembling? Is it not working correctly? And are Sims using the Cane now?
#57
7th Nov 2020 at 4:38 PM
Posts: 175
Thanks: 175 in 1 Posts
@PuddingFace ,
Basically, the animations are... Shaky. They shake. Very much. But, they still play normally.
Basically, the animations are... Shaky. They shake. Very much. But, they still play normally.
#58
7th Nov 2020 at 6:00 PM
Posts: 3,860
Thanks: 8536 in 67 Posts
Quote: Originally posted by CyrusBanefort
@PuddingFace , Basically, the animations are... Shaky. They shake. Very much. But, they still play normally. |
Orrr, share the CLIP Because I think it might just be that the keyframes are somehow screwed up. Which can happen very easily after converting an animtion from SMD to CLIP
#59
8th Nov 2020 at 1:47 PM
Posts: 175
Thanks: 175 in 1 Posts
@Lyralei ,
Here's the CLIPs. These are the original ones, as the problem seems to be caused just by opening them in Blender 2.67.
Here's the CLIPs. These are the original ones, as the problem seems to be caused just by opening them in Blender 2.67.
Attached files:
cane.rar (129.2 KB, 3 downloads) | ||
Description: CLIPs |
#60
8th Nov 2020 at 7:40 PM
Posts: 1,497
Thanks: 4279 in 41 Posts
It could be due to Ik chains maybe?
But other than the shakiness everything is working now?
But other than the shakiness everything is working now?
#61
9th Nov 2020 at 1:55 PM
Posts: 175
Thanks: 175 in 1 Posts
@PuddingFace ,
Yes, they are working correctly. The only problem is the shakiness.
Yes, they are working correctly. The only problem is the shakiness.
#62
9th Nov 2020 at 6:42 PM
Posts: 1,497
Thanks: 4279 in 41 Posts
The animation is shaky in Blender too? Idk why that is happening. I'll have to try extracting myself and testing.
You don't have to convert CLIP file to SMD. That could be what causes the glitch. CLIP files can be imported to Blender directly.
Also open the e animation and a animation in two separate S3PE package files and look at the ik chains.
You don't have to convert CLIP file to SMD. That could be what causes the glitch. CLIP files can be imported to Blender directly.
Also open the e animation and a animation in two separate S3PE package files and look at the ik chains.
#63
10th Nov 2020 at 2:49 PM
Posts: 3,860
Thanks: 8536 in 67 Posts
Just tested them myself in Blender and it's indeed either what Puddingface and I are suspecting (Aka, the conversion from CLIP to SMD).
Orrrrr
So, some animations (Take the 'eating' animations for example) Where if you dump them into blender, your afRig/amRig all of the sudden comes out of the sky and after 2 keyframes is doing it's animations. That all is actually done with IKtargeting. (IK targets being these 'magnets' as I like to call them to each join that simply keep a particular joint at a particular position.) You might have suspected sims sometimes going a bit through the terrain and then hopping right back on them. That's IK targeting work .
Unfortunately, there isn't actually that much you can do except for removing that 'jumpiness' and 'shakiness'. But given how this shakiness is more like where the z-value positioning keeps changing by a decimal and other animations don't seem to have this shaky issue. I actually want to bet my money on the conversion that is slightly off here. And that's because of the fact that the z-value is off by a few decimals for each keyframe (So the yellow stripes you see at the bottom UI bit).
I also would like to say that not all of them have the shakiness to it. It's seemingly only 2 animations, so I'd really just look at what happens if you don't convert the CLIP files. Since S3PE already exports them as a CLIP file
Orrrrr
So, some animations (Take the 'eating' animations for example) Where if you dump them into blender, your afRig/amRig all of the sudden comes out of the sky and after 2 keyframes is doing it's animations. That all is actually done with IKtargeting. (IK targets being these 'magnets' as I like to call them to each join that simply keep a particular joint at a particular position.) You might have suspected sims sometimes going a bit through the terrain and then hopping right back on them. That's IK targeting work .
Unfortunately, there isn't actually that much you can do except for removing that 'jumpiness' and 'shakiness'. But given how this shakiness is more like where the z-value positioning keeps changing by a decimal and other animations don't seem to have this shaky issue. I actually want to bet my money on the conversion that is slightly off here. And that's because of the fact that the z-value is off by a few decimals for each keyframe (So the yellow stripes you see at the bottom UI bit).
I also would like to say that not all of them have the shakiness to it. It's seemingly only 2 animations, so I'd really just look at what happens if you don't convert the CLIP files. Since S3PE already exports them as a CLIP file
#64
10th Nov 2020 at 6:06 PM
Posts: 175
Thanks: 175 in 1 Posts
@Lyralei ,
Actually, those ARE the original CLIPs. I think, somehow, that this is the fault of an earlier version of Blender, as when I convert them to smd and import to Blender 2.8, they work without any flaw.
Actually, those ARE the original CLIPs. I think, somehow, that this is the fault of an earlier version of Blender, as when I convert them to smd and import to Blender 2.8, they work without any flaw.
#65
11th Nov 2020 at 3:16 PM
Posts: 3,860
Thanks: 8536 in 67 Posts
Quote: Originally posted by CyrusBanefort
@Lyralei , Actually, those ARE the original CLIPs. I think, somehow, that this is the fault of an earlier version of Blender, as when I convert them to smd and import to Blender 2.8, they work without any flaw. |
Does this also happen once you convert it back from SMD to CLIP? because then I'd just do it the milkshape way:
#66
11th Nov 2020 at 11:32 PM
Posts: 1,497
Thanks: 4279 in 41 Posts
When I was making dark meditation interaction. The animation was a bit weird as well. Like the Sim would float up 1 frame float down the next frame. I had to edit that animation.
Maybe some animations get weird in Blender. I guess this means an animator has to fix the shakiness in your case. Can you rename the animation in Milkshape.
There might be another way to rename animation without importing and exporting to a software. Let me check.
Maybe some animations get weird in Blender. I guess this means an animator has to fix the shakiness in your case. Can you rename the animation in Milkshape.
There might be another way to rename animation without importing and exporting to a software. Let me check.
#67
13th Nov 2020 at 6:16 AM
Posts: 1,497
Thanks: 4279 in 41 Posts
@CyrusBanefort
Look at the names of these two animation files.
you can get the CLIPIID from S3pe, the same way you get fnv64 hash. From the tools section.
With this way you can rename the animation without importing the animation anywhere. So I believe if you do it this way then Blender won't mess up the animation.
you can also try renaming directly in S3pe? Just import the e animation to S3PE then rename then click CLIPIID.
Code:
S3_6B20C4F3_70000000_8B408834A1A84686_c2c_spellcastingDuel_castSpell_x%%+CLIP.animation S3_6B20C4F3_70000000_08438834A1A84686_a2a_spellcastingDuel_castSpell_x%%+CLIP.animation
Look at the names of these two animation files.
Code:
0x8B408834A1A84686 is the CLIPIID Hash of c2c_spellcastingDuel_castSpell_x similarly 0x08438834A1A84686 is the CLIPIID Hash of a2a_spellcastingDuel_castSpell_x
you can get the CLIPIID from S3pe, the same way you get fnv64 hash. From the tools section.
With this way you can rename the animation without importing the animation anywhere. So I believe if you do it this way then Blender won't mess up the animation.
you can also try renaming directly in S3pe? Just import the e animation to S3PE then rename then click CLIPIID.
#68
13th Nov 2020 at 10:01 PM
Posts: 175
Thanks: 175 in 1 Posts
@PuddingFace ,
Ok, I'll work at it this weekend. Let's see if we can finally make this work, as I think that managing to make the animations and walkstyle appear, we can fix the rest of the problems easily.
Ok, I'll work at it this weekend. Let's see if we can finally make this work, as I think that managing to make the animations and walkstyle appear, we can fix the rest of the problems easily.
#69
16th Nov 2020 at 4:04 PM
Last edited by CyrusBanefort : 16th Nov 2020 at 4:07 PM.
Reason: Grammar
Posts: 175
Thanks: 175 in 1 Posts
A update for all.
It seems that, even with the animations being replaced succesfully, the cane interactions still act very bizarrely. They seem to work on arbitrary occasions, and even by trying to use them I get script errors. Thanks to that, I'm thinking on discontinuing this project and moving on to the next, one that would be focused on ghosts. It seems that EA really didn't want that people other than who they designed the cane for used the object correctly. Too bad, really. I sure wanted to have occults other than vampires be allowed to use the canes, even if I didn't manage to make it useable by adults.
It seems that, even with the animations being replaced succesfully, the cane interactions still act very bizarrely. They seem to work on arbitrary occasions, and even by trying to use them I get script errors. Thanks to that, I'm thinking on discontinuing this project and moving on to the next, one that would be focused on ghosts. It seems that EA really didn't want that people other than who they designed the cane for used the object correctly. Too bad, really. I sure wanted to have occults other than vampires be allowed to use the canes, even if I didn't manage to make it useable by adults.
Who Posted
|