Files, Guns, and Kicking

Blitz3D Forums/Blitz3D Programming/Files, Guns, and Kicking

wizzlefish(Posted 2005) [#1]
I have now decided to close Operation 600 as a community project.

I have two questions about files, guns, and kicking:

1) Is there a command to CREATE a file? I can't really figure out how to do that.

2) In your opinion, is it easier to do a gun kick by mathematics, or by an animated model?


Erroneouss(Posted 2005) [#2]
You create a file by using:
myfile=Writefile("blah.txt")

Then write to it using:
WriteLine(myfile,"myText") ;or writestring ect.

After you are done writing it (DON'T FORGET THIS):
CloseFile(myfile)


wizzlefish(Posted 2005) [#3]
OK.

But I thought WriteFile just opened a previously created file.

And what about kicking?


WolRon(Posted 2005) [#4]
Depends on the complexity of the gun.


wizzlefish(Posted 2005) [#5]
OK.

Well, I've decided to make it an animation, but the gun itself will not be animated. Rather, the hand holding the gun will be animated depending on the type of the gun.

And the muzzle sprite will be aligned to the bone on the muzzle.