Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / The Wilderbeast

Author
Message
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 9th Jul 2006 22:14
Hi all

I decided to set up this thread to post all my work and ask any questions etc.
I set this up because i reconned that i was on the verge of creating too many threads that never got finished!

Sometime I might finish my Flight Simulator, but at the moment it is sitting on my hard drive gathering e-dust.

My current project is one where u drive a tank arouond and blow up stuff. I've got quite far with this and might post a demo. any way here is a screeny>>>

OMG It's the Wilderbeast
Canadian Bush Air | Bush flying at its best! |http://www.canadian-bush-air.tk

Attachments

Login to view attachments
Shark
19
Years of Service
User Offline
Joined: 7th May 2006
Location: The world
Posted: 9th Jul 2006 22:17 Edited at: 9th Jul 2006 22:53
Nice but the trees look wierd.

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 9th Jul 2006 22:37
cheers

i think i'll find some different trees. these ones came with dbc,

OMG It's the Wilderbeast
Canadian Bush Air | Bush flying at its best! |http://www.canadian-bush-air.tk
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 15th Jul 2006 18:44
Not taking the p**s or anything but how many threads has Jordan Stories mase? and i thought i made a lot!!!

still having trouble finding a decent looking tree. the only one i found took about a minute just to load one of them!

OMG It's the Wilderbeast
Canadian Bush Air | Bush flying at its best! |http://www.canadian-bush-air.tk
flock
19
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 15th Jul 2006 18:55
Yes, Jordan is being such a taffer......a new meaning to "noob."

Why is it called "The Wilderbeast" anyways?

a.k.a. "flockhound"
Dr Manette
19
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 17th Jul 2006 04:31
Personally, I find the trees bring a sort of abstract feel to the game. Although, whether that is the path you want to take is completely up to you. In any case, nice pic.

Bio Fox...four guys, one computer, games like nobody's business.
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 17th Jul 2006 22:46
It looks nice

I want to try the demo!

flock
19
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 18th Jul 2006 12:41
Evidently, Dr. Manette, by what The Wilderbeast said these [trees] are probably not what he was looking for. He made a comment about them in his last post. Just a theory...

a.k.a. "flockhound"
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 18th Jul 2006 20:48
Thanks for showing the support guys!
I'm still looking for a decent tree. I will release e demo very shortly. All i need to add are some more camera views. once that is finished i shall release the first demo.



OMG It's the Wilderbeast
Canadian Bush Air | Bush flying at its best! |http://www.canadian-bush-air.tk
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 18th Jul 2006 21:00
Oh just seen the post by Flock. I'm called 'The Wilderbeast' cus that's just a name people call me at school. My name's mike wild so you can kinda guess why, i'm also quite lanky and good at rugby (hence the beast bit)

also anyone that's having trouble tilting their objects to a matrix can go here>>>http://forum.thegamecreators.com/?m=forum_view&t=84299&b=10

OMG It's the Wilderbeast
Canadian Bush Air | Bush flying at its best! |http://www.canadian-bush-air.tk
flock
19
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 19th Jul 2006 21:13
ooooooooo

a.k.a. "flockhound"
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 19th Jul 2006 23:37
Lookin' good! Try adding some lights and using the "Set normalization on" command too (not sure what it does but I use it anyway )! I think it'd look so awesome with lights... But that's just me I love lights but am not too good with them lol.

My Functions: Mine
Post yours: Post
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 21st Jul 2006 21:37 Edited at: 21st Jul 2006 21:44
OK. Here's the first demo

You can...

1. Drive the tank around
2. Change view
3. Crash into trees (cough, splutter!)
4. Loose health
5. Look around (1st person only)
6. Listen to the sounds

Here's is what i'm hoping to add to the next version...

1. Trees that fall over when you drive into them
2. Bigger map
3. More objects eg. huts etc.
4. Different pitched noise acoring to speed
5. Lighting effects
6. Moving turret


Demo is around 6MB

Hope you enjoy it!

OMG It's the Wilderbeast
Canadian Bush Air | Bush flying at its best! |http://www.canadian-bush-air.tk

Attachments

Login to view attachments
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 21st Jul 2006 21:46
I get all confused with the DBC limb commands. I've got the model of a tank (befre i forget it's not mine it's someone elses. i found it in the modelling seciton of the TGC forums. must ask him if i can use it.) i just need to make the turret a limb so i can rotate it.

OMG It's the Wilderbeast
Canadian Bush Air | Bush flying at its best! |http://www.canadian-bush-air.tk
Shark
19
Years of Service
User Offline
Joined: 7th May 2006
Location: The world
Posted: 21st Jul 2006 21:50
You should make it so when you turn the camera turns with the tank because its a little confusing.


My forum is here:http://awesomegames.galekus.com/yabb/YaBB.pl
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 21st Jul 2006 21:56
i just thought it might be annoying because when you turn the camera the turret will turn as well. so you can aim better even if you are driving along.

OMG It's the Wilderbeast
Canadian Bush Air | Bush flying at its best! |http://www.canadian-bush-air.tk
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 22nd Jul 2006 14:32
Ok, just a small complaint.
has anyone ever noticed that when the dbc compiler gets an error it points to completely the wrong line?

OMG It's the Wilderbeast
Canadian Bush Air | Bush flying at its best! |http://www.canadian-bush-air.tk
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 22nd Jul 2006 15:02 Edited at: 22nd Jul 2006 15:02
Yes. I've found that it points to the line just below the right one or worse sometimes. However with if/endif things where you forget the nest, it points to an area "around" the right one. That can be hard to debug.

ANYWAY, back on topic with your demo. That was nice! Just a few things:

==More zoomed out third person camera (I found the current one hard to see)

==Faster tank speed

==The sound of the tanks engine increases in pitch when you move, and decreases when you are slowing down.
(set sound speed command will do this)

==Try increasing the camera's ange via the set camera range command. Just write "Set Camera Range 1,10000" or something, that way the mountains don't just appear out of nowhere, and you can see where you're going.


That's all I can think of for now. Good job though! Keep it up! If you need help on any of what I listed above just ask!

My Functions: Mine
Post yours: Post
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 24th Jul 2006 20:39
Thanks!

I've just finished plotting down my landscape on paper, so you can look forwoard to a map that's 10X bigger and lots of new scenery items.

OMG It's the Wilderbeast
Canadian Bush Air | Bush flying at its best! |http://www.canadian-bush-air.tk
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 25th Jul 2006 03:05
Yay! Just don't forget about SET CAMERA RANGE so that we can see it!

dab
20
Years of Service
User Offline
Joined: 22nd Sep 2004
Location: Your Temp Folder!
Posted: 25th Jul 2006 03:44
For the pointing, I found turning off sync, helps it point to the line correct line.

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 14:06
another problem...but a completely different project.

right... i'm working on another project at the moment (i will come back to my tank one later) and i have come accross a major problem. it is based around functions, and without those then it can't be what it is. aka. it won't work, you NEED to have functions. it also uses a lot of dimensions. but there's a BIG problem. you can't access dimensions in a function. and it needs to handle a lot of data so it needs dimensions. i've noticed the DATA function but i'm not sure what it does. does anyone know of any ways to access dimensions in a function?

help would be much appreciated as i can't get much further with my project without the use of functions/dimensions. and trust me... you guys will be looking forward to it when i'm done! it will make your work a lot easier. to give you a clue, i call it... [drum roll] PERFECT ENVIRONMENT

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 3rd Aug 2006 15:05
ARRAYS

A tutorial if you don't know how to use them:http://forum.thegamecreators.com/?m=forum_view&t=84908&b=7

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 16:20
sorry, that's what i meant by dimension, when i use one of those in a function it says you can't access it because it is out of bounds/

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 3rd Aug 2006 16:52
Can I see your code? Maybe the array was not declared correctly.

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 17:06
it all works fine when you compile it but messes up when you execute it.

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 3rd Aug 2006 17:07
So you do not want to show us an example...

flock
19
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 3rd Aug 2006 17:07
Runtime Error.

a.k.a. "flockhound"
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 17:18 Edited at: 4th Aug 2006 13:56
ok here it is...

not all of the functions work, i have a feeling that you can't pass variables around functions.


because it is all function based you will find it hard to understand.

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers

Attachments

Login to view attachments
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 3rd Aug 2006 17:30
ERROR FOUND I think.

In your dba file called "functions" the array "Areax#()" does not work because it was never declared with the DIM command! However, in "Test.dba" you declared the arrays, so it works. But the arrays have no dimensions but 0, because when you said "Dim Areax#(Areas)", Areas had no value, it was equal to 0. So you basically said Dim Areax#(0). Dim Areax#(1) may work better. Again, see my array tutorial for more on how to use arrays. By the way, if you wish to link two DBA files, use the #Include command. Ususally people put all of their functions into one DBA file and their game into another, and then link them using that command.

Hope that was understandable...

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 17:33
yeah, i know. in actual fact it was because there's a function called load_area, this is where i define all the arrays. also test.dba was just somehting i was messing around with. i still think it's something to do with not being able to pass variables from a function to another function.

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 3rd Aug 2006 17:34 Edited at: 3rd Aug 2006 17:35
Don't declare arrays in functions. I'm not sure if you can. Try a GOSUB.

EDIT: And yes, that variable thing is your problem. They cannot be passed. But you can store them in arrays instead. For example, you could use DIM Array(1,10) and store 1 array in each compartment or something.

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 17:35
good idea! that might just solve it. thanks a lot!!!!

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 3rd Aug 2006 17:36
Which one? I posted 2 things there. However, glad I could help

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 17:36
it doesn't work...

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 3rd Aug 2006 17:37
Which one doesn't work?

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 17:38
the gosub idea., all the variables are defined when you call the function

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 3rd Aug 2006 17:41 Edited at: 3rd Aug 2006 17:42
I edited my post above. It has another idea. But something like this doesn't work?:

EXAMPLE:


The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 17:44
no, i've tried it

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 3rd Aug 2006 17:47
Maybe you are due for an update... Do you have version 1.13 enhanced?

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 19:15
yep

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 12th Aug 2006 16:11 Edited at: 19th Aug 2006 21:43
righty ho... i found the problem. you can pass a variable out after the ENDFUNCTION command. like this:


the only problem is, is that you can only pass one variable out, i need to pass loads out.

oh yeah... forgive me 4 being dense, but what program do you use to open a .rar file? is it kinda like a .zip file?

for more info on perfect environment check my post in the wip board

Login to post a reply

Server time is: 2025-05-25 06:42:21
Your offset time is: 2025-05-25 06:42:21