|
Post by Dairansen on Jun 8, 2012 19:14:06 GMT -5
Hi. I learned how to code but when I'm going to test, it says "Type "tvector" not found or "Type "tcamera" not found" and "duplicate identifier". I read in a post there is a folder in blitz sonic called _Dependencies and we put it in a folder in named userlibs, but in my Blitz 3D folder doesn't have it.So I created a folder named userlibs and put inside it the files from the folder _ Dependencies. But the same error occur. Please help me with this, I want to make my own engine . And sorry my english...is not very good Attachments:
|
|
|
Post by chaosshadic456 on Jun 8, 2012 19:23:31 GMT -5
you have to run in "sonic the hedgehog.bb"
|
|
|
Post by Dairansen on Jun 8, 2012 19:26:27 GMT -5
you have to run in "sonic the hedgehog.bb" I did it,but is when the error occur. I open the "sonic the hedgehog.bb" file and when I going to test it open the object.bb file.
|
|
|
Post by chaosshadic456 on Jun 8, 2012 19:45:57 GMT -5
what type of spring you want to make? spring2, spring3, spring4?
|
|
|
Post by Dairansen on Jun 8, 2012 19:57:27 GMT -5
I'm trying to make a hoop ,but later I going to add those springs.
|
|
3DSawnikku
Relic Team
Pro Coder,Rigger,Animator,GIMP-er,Etc
Posts: 647
|
Post by 3DSawnikku on Jun 8, 2012 23:13:42 GMT -5
you have to rename Spring_Create or Spring_Update to Hoop_Create and Hoop_Update
|
|
Jloy2
Full Member
Moving at a somewhat fast pace!
Posts: 191
|
Post by Jloy2 on Jun 9, 2012 2:10:22 GMT -5
You have a duplicate Function name in the program. Rename it as suggested above.
|
|
|
Post by chaosshadic456 on Jun 9, 2012 10:12:39 GMT -5
like this
; /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ ; SPRINGS ; /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ ; ========================================================================================================= ; Object_Spring_Create ; ========================================================================================================= ; Creates a New Spring Object Function Object_--------Hoop-------_Create.tObject(x#, y#, z#, rx#=0, ry#=0, rz#=0) o.tObject = New tObject o\ObjType = "---------OBJTYPE_HOOP----------" o\Position = New tVector o\Position\x# = x# o\Position\y# = y# o\Position\z# = z# o\Entity = LoadMesh("Objects\Hoops\Hoop.b3d")
o\IValues[0] = LoadMesh("Objects\Quad.b3d", o\Entity) EntityBlend o\IValues[0], 3 EntityFX o\IValues[0], 1+16 EntityTexture o\IValues[0], LoadTexture("Textures\Woosh.png") EntityAlpha o\IValues[0], 0.0 TranslateEntity o\IValues[0], 0, 1, 0 o\FValues[0] = 0
ScaleEntity o\Entity, 1.5, 1.5, 1.5 TranslateEntity o\Entity, x#, y#, z# TurnEntity o\Entity, rx#, ry#, rz#
Return o End Function
|
|
|
Post by 06hypersonic60 on Jun 9, 2012 10:41:42 GMT -5
Quick question: did you try to open the game from sonic the hedgehog.bb before changing the source code?? If it doesn't work, that means your blitz3D is outdated. Blitz sonic doesn't wrok in OLD blitz versions.
|
|
|
Post by Dairansen on Jun 9, 2012 12:48:22 GMT -5
Ok thank I will try this
|
|
|
Post by Dairansen on Jun 9, 2012 12:58:15 GMT -5
this time it worked, but I got a new error. Attachments:
|
|
|
Post by chaosshadic456 on Jun 9, 2012 13:27:16 GMT -5
change blitz3d to blitz3d 1.9 or 1.8
|
|
|
Post by Dairansen on Jun 9, 2012 13:46:31 GMT -5
ok,where I can get those versions?
|
|
|
Post by chaosshadic456 on Jun 9, 2012 14:13:31 GMT -5
searching in google
|
|
|
Post by 06hypersonic60 on Jun 9, 2012 15:05:03 GMT -5
|
|