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 / placing a gun, WHAT IS HAPPENNING!?

Author
Message
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 24th Jan 2004 00:18
HI, ALI

WHAT IS HAPPENNING?

PLEASE SOME ONE GIVE THE FULL CODE FOR LOAD OBJECT AND PLACE
OBJECT, i'm making a game called fortress of evil, an FPS game,
and please can someone give me the bullet shooting code (shooting
bullets code) I'll be greatful to have it

DARK B RULES!
PEACE OUT Y'ALL!

ali - nukesoft



Ali Morrison
Bishop
22
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 24th Jan 2004 21:31
well, i would suggest that you code it yourself, but if you really want to cut and paste the code, use the monster-hunt tutorial downloaded from this page...

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 24th Jan 2004 21:35
load object objnumber, filename$
position object objnumber, x,y,z

look it up

dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 25th Jan 2004 00:40
load object filename$, objnumber

actually :-P

and you may want
set object to camera orintation objectnumber

JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 25th Jan 2004 01:37
woopsy, my bad guess i shouldve checked the help files too

Slayer
21
Years of Service
User Offline
Joined: 15th Nov 2003
Location: CA
Posted: 25th Jan 2004 01:41 Edited at: 25th Jan 2004 01:45
lock object on
disable object zdepth
position object object number,0,0,40

USE THESE THEY WILL WORK AND POSITION THE OBJECT IN THE
PLACE I PUT IN OK.

For bulets hears a good one

MAKE OBJECT BOX 1,1,1,40

IF A=0
IF MOUSECLICK()=1 THEN A=1
POSITION OBJECT 1,CAMERA POSITION X(),CAMERA POSITION Y(),CAMERA POSITION Z()

ROTATE OBJECT 1,CAMERA ANGLE X(),CAMERA ANGLE Y(),0
ENDIF

IF A>0
INC A,1
MOVE OBJECT 1,40
IF A>=10 THEN A=0
ENDIF

I dont know how to spell
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 25th Jan 2004 13:14 Edited at: 25th Jan 2004 14:27
but thats not multi firing and doesnt take into account ammo, so ill make a fps game tute brb"in a day or 2"

Slayer
21
Years of Service
User Offline
Joined: 15th Nov 2003
Location: CA
Posted: 25th Jan 2004 20:11
Thats right dark coder in your game you made a good bulit thing.
I have a dif way to make bulits and it uses pixles. So its like DOOM3s bulit collision.

I dont know how to spell
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 25th Jan 2004 23:41
WOW! THANKS GUYS!

I can't believe THE SAME COLLISION IN DOOM 3!

THANKS!



Ali Morrison
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 25th Jan 2004 23:42
if you make the FPS, send it to me

thank you



Ali Morrison

Login to post a reply

Server time is: 2025-05-22 11:14:07
Your offset time is: 2025-05-22 11:14:07