| Blockland Forums > Modification Help |
| Help: Custom turret aiming |
| << < (2/3) > >> |
| Dannu:
I don't understand what you mean by each of the animations being exported as a separate dsq file. It might be just Port's exporter, but all of the animations are exported as a single file. In addition to this, the extremely basic FAQ says that for setting priority of the animations, you are supposed to create a text block called Sequences. It might be that Port's exporter has some unique quirks. Edit: Taking inspiration from something called TurbolaserTower that I had in my add-ons folder, I managed to get something into Blockland. I simply created sequences to which I added --- Code: ---look: priority 8, blend root: priority 0 --- End code --- After that, I exported DTS (turret.dts) and DSQ (turret.dsq) as one file and coded it as follows: --- Code: ---datablock TSShapeConstructor(TurretArtilleryDts) { baseShape = "./turret.dts"; sequence0 = "./turret.dsq look"; sequence1 = "./turret.dsq root"; }; --- End code --- But now I have a problem. My aim is pointing the wrong way. How can one go about fixing this? |
| Swollow:
they need to be exported as dsq files, and you can only export 1 animation at a time, my file includes both animations just so I didn't have to upload two animations create each animation so it is the only one animation on your timeline, then export that as a dsq, you should save each blender file differently for the animations probably and yes I included information on how to set the animations in the sequences text block, please re read my information each dsq has to be a separate file, try importing the tank turrets dsq and dts files to have look |
| Rally:
--- Quote from: Dannu on January 14, 2018, 07:03:16 AM ---I don't understand what you mean by each of the animations being exported as a separate dsq file. It might be just Port's exporter, but all of the animations are exported as a single file. --- End quote --- You should be able to select the start and end marker of an animation, export as .dsq, and check "Selection Only" to have it only export that sequence into a .dsq |
| Swollow:
--- Quote from: Rally on January 14, 2018, 04:39:59 PM ---You should be able to select the start and end marker of an animation, export as .dsq, and check "Selection Only" to have it only export that sequence into a .dsq --- End quote --- didn't know you could do this, thanks |
| Conan:
optionally just specify sequence0 = “./filename.dsq”; and that will work. if no name for the animation is specified after the dsq, all animations within the dsq will retain their name and be available for use. if a name is specified, only the first animation in the dsq will be available to use, under that name |
| Navigation |
| Message Index |
| Next page |
| Previous page |