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.

Newcomers DBPro Corner / Small RPG snippet?

Author
Message
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 1st Sep 2004 20:56
But my FPS code is gone so I'd have to rebuild and anyone able to tell me how to get the model (Psionic's dwarf) to move whil the arrow key it pressed,not animate after I move.
Pretty much how do I get the dwarf to play it's animation while in the process of moving in 3d space?

Got anime?I do.
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 1st Sep 2004 21:08
Theres a whole bunch of snippets for you to work with now The problem with that code is he uses a TYPE (which are simply a savior to DBP RPG's) one of the main reasons I bought DBP.

Added MakeDoorWay function

This can simply be done by putting a cube in front of a door, hiding it, and if the player is colliding with it then he is in the door's range. Or basic maths, either way.

Map mode

Do you mean a minimap? For those I always make a rough outline of the area (if its small enough I usually zoom the camera up and get a birds eye few, then go over this image in a paint program) then using maths calculate where on the minimap the players location would be using its location on the actual map. The conversions should be easy since the proportions should be the same.

Scrolling water

Do you mean waves or simply animated water? For waves I would use a for/next loop and get all of the points in a matrix (would have to be used as the water to make waves this way) and use random integers to raise/lower the points in the matrix. If your doing animated water, I would get about 10 textures that form an animation and use a for/next loop to scroll through them.

Old style fog cubes

No idea what you mean o_O Fog ON Set object Fog

texture made of code

Not sure why you would do this, it would require quite a bit of memblock work when you could much more easily make the texture in a paint program.


I always believed in rather then giving a man a fish, give the man a fishing pole


Check out our Team Request in the Team Request section if you want to help!
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 1st Sep 2004 21:12
And to answer your question about movement

If upkey() = 1
Loop Object 1,walk start,walk end
Move Object 1
Else
Loop Object 1,start idle, end idle
Endif

I think you should read your commands list and memorize that before attempting an rpg


Check out our Team Request in the Team Request section if you want to help!
Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 1st Sep 2004 23:41
Have you not heard of the 8Bit Revolution?!

Infra-Dark
Bring the 20 liners back!
#coding, like coding, but with a #
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Sep 2004 04:39 Edited at: 2nd Sep 2004 04:44
Where can I find the command list?
By the way, theres still one problem with the walking, he goes to idle once I stop pressing the key but while I press it he just has one leg in the air for the back button and stands still for up, here's the code, don't see whats wrong.


Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Sep 2004 10:25
Anyone have any progress?

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Sep 2004 10:45
we need the object to do the code that youre having problems with and ill post a walk code for ya

www.freewebs.com/dragonseige/
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Sep 2004 10:49
ok man heres a walk code
hope that helps

www.freewebs.com/dragonseige/
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Sep 2004 11:15
Gothboy, I;ve stated that I used Psionic's dwarf, and it's not the walking, it's the animation. What happens is he stays in one position while he walks (idle) when he should change to walking, and plus I've pasted the snippet I have, I don't have a camera going yet I'm just getting the animation correct first.

Got anime?I do.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 2nd Sep 2004 11:15 Edited at: 2nd Sep 2004 11:15
Gothboy, I've stated that I used Psionic's dwarf, and it's not the walking, it's the animation. What happens is he stays in one position while he walks (idle) when he should change to walking, and plus I've pasted the snippet I have, I don't have a camera going yet I'm just getting the animation correct first.
Sorry bout the double post. Didn't mean for that to happen.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 3rd Sep 2004 06:28
that alright i'll try and find outb whats wrong if i can

www.freewebs.com/dragonseige/
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 3rd Sep 2004 06:46
Ya' know if you don't want you don't have to. It's not, that important.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 3rd Sep 2004 07:13
thats allright cause im taking some time off my game anyway

www.freewebs.com/dragonseige/
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 3rd Sep 2004 07:16
Well then great, if you're looking for the model you should go to 3D chat and download the dwarf, also, I'm using the .X model.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 3rd Sep 2004 07:20
huh works fine for me did you load
dwarf1.x
dwarf2.x
whip.wav
earth slow.wav
earth fast.wav
hit_tree.wav
grass_t.bmp
axe.jpg
dwarf.jpg
dwarf2.jpg?


www.freewebs.com/dragonseige/
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 3rd Sep 2004 07:21 Edited at: 3rd Sep 2004 07:21
hey anime blood what tipe of game is it?like what genre?

www.freewebs.com/dragonseige/
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 3rd Sep 2004 07:27
What?
I was trying to make my own moving code, the code I had was in this thread, not Psionics. I'm not trying to get Phaelax's to work, I'm trying to get my own to work.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 3rd Sep 2004 08:11
ok well try this its from the code


www.freewebs.com/dragonseige/
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 3rd Sep 2004 08:24
Aura, you there? Just wondering how the snippet is going.

Got anime?I do.
Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 3rd Sep 2004 08:29
Grand, in a, "I just woke up, hell I overslept again!" kind of way.

Infra-Dark
Bring the 20 liners back!
#coding, like coding, but with a #
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 3rd Sep 2004 09:04
Oh, okay. Just checking.

Got anime?I do.
Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 3rd Sep 2004 09:20
Okay, although this hasn't actually progressed since ages ago, here it is so far.



Infra-Dark
Bring the 20 liners back!
#coding, like coding, but with a #
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 3rd Sep 2004 09:27
Great so the npcs have 20 hp and monsters have 100 or are there just monsters with 20 hp?

Got anime?I do.
Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 3rd Sep 2004 10:17
Stick in DBP, run it, and hold Ctrl. Then hold Shift.

Infra-Dark
Bring the 20 liners back!
#coding, like coding, but with a #
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 3rd Sep 2004 10:43
Did that, but are cubes 20 hp monsters or humans?

Got anime?I do.
Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 3rd Sep 2004 10:46
Monshters, they are called, Monshters.

Infra-Dark
Bring the 20 liners back!
#coding, like coding, but with a #
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 3rd Sep 2004 10:53
Huh?

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 3rd Sep 2004 11:11
hes saying that he didnt name them monsters he named them Monshters

www.freewebs.com/dragonseige/
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 3rd Sep 2004 11:14
Oh okay. But one day they'll be hell spawns.

Got anime?I do.
Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 3rd Sep 2004 11:15 Edited at: 3rd Sep 2004 11:16
Indeed.

That was a reply to the Goth btw.

Infra-Dark
Bring the 20 liners back!
#coding, like coding, but with a #
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 3rd Sep 2004 23:49
Oh, gotcha.Will there be collision in the final snippet, cuz there doesn't have to be, I can implement my self when I'm done, as that's something I've done before.

Got anime?I do.
Douglass
21
Years of Service
User Offline
Joined: 28th Aug 2003
Location:
Posted: 4th Sep 2004 04:28 Edited at: 4th Sep 2004 08:20
hey i think you will like this code alot. its similer to auras but the enemys patrol an area and if you get close, they actually fight you. use the spacekey for your sword. you have to time your swing just right to hit them. hope you make it into something good.


Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 4th Sep 2004 05:15
That was great! I luv the combat, and I think this is something to work off of, I'll probably implement the dwarvesand use animation. And the free NG Collision.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 4th Sep 2004 08:22
yeah the codes pretty darn good!

www.freewebs.com/dragonseige/
Douglass
21
Years of Service
User Offline
Joined: 28th Aug 2003
Location:
Posted: 4th Sep 2004 08:56 Edited at: 4th Sep 2004 08:56
thanks. by the way, nice website gothboy!

gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 4th Sep 2004 10:25
yeah well i need to change it cause i had a hard drive go out and the website was on frontpage the new one is www.dragonseige.gpox.com

www.freewebs.com/dragonseige/
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 5th Sep 2004 03:40
Gothboy did you get my email? It was in response to the noe you sent me.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 5th Sep 2004 05:16
yeah and by da way thanks

www.dragonseige.gpox.com
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 5th Sep 2004 05:57
I'll probably send it to you tomorrow if I can find "it".

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 5th Sep 2004 06:34
all right and thanks again

www.dragonseige.gpox.com
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 5th Sep 2004 06:36
Doug, I was messin with your snippet, textured enemies and hero, and sword at first. Now I've made a sword model imported it and replaced the box, what should I do to have it slash, like where should I rotate, or pitch, or witch is the best command to use in DBPRO?

Got anime?I do.
Douglass
21
Years of Service
User Offline
Joined: 28th Aug 2003
Location:
Posted: 5th Sep 2004 12:49
if your talking about just the sword, just use hide object to hide the box and make sure that its in the same spot and size as the box they use the glue object to limb command (i think) so that when the invisable box move the sword moves with it. but its a whole different story if you want it to look like a character is holding it. and you metioned using ng collision which i think would be a big help.

Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 5th Sep 2004 13:03
/me slowly leaves the room... *phew*

Infra-Dark
Bring the 20 liners back!
#coding, like coding, but with a #
Douglass
21
Years of Service
User Offline
Joined: 28th Aug 2003
Location:
Posted: 5th Sep 2004 14:02
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 6th Sep 2004 00:23
doug i think he means he's tired cause he's been coding 24/7

www.dragonseige.gpox.com
Cowy 104
20
Years of Service
User Offline
Joined: 5th Sep 2004
Location: Space
Posted: 6th Sep 2004 04:35
Hi animeblood!
It's my first post.

Emu.
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 6th Sep 2004 04:42
Yeah, I think he is, oh and I fixed the sword. Hey I have a friend joining the boards who will need alot of help, his name is Cowy 104, don't worry he won't try to make an MMORPG, but he needs [/b]alot[b] of help, so if he asks, please help him, or else.

Got anime?I do.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 6th Sep 2004 07:10 Edited at: 6th Sep 2004 08:55
[/href]ok i will try if its in my power to help

www.dragonseige.gpox.com
Cowy 104
20
Years of Service
User Offline
Joined: 5th Sep 2004
Location: Space
Posted: 6th Sep 2004 08:08
YAY!!You'll help me!

Emu.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 6th Sep 2004 08:55 Edited at: 7th Sep 2004 03:07
hello is anyone there?


www.dragonseige.gpox.com

Login to post a reply

Server time is: 2024-09-24 03:15:48
Your offset time is: 2024-09-24 03:15:48