PDA

View Full Version : Can someone help me???


drvarek
05-08-2005, 04:19 PM
i'm working on duke nukem 3d sidescroller.
i need someone (who has some knowledge in jfduke source) to help me. i need someone to convert 3rd person camera (F7 key) to a side scrolling camera. i know that this isn't a big deal, but i don't know how to do it... i know that code for camera is in "game.c". i just need camera wich will look like in this screenshot:

http://img18.echo.cx/img18/8531/sidescroll3fd.jpg

also this screenshot is WIP of 1st level for duke nukem 3d sidescroller

Dr. Kill
05-08-2005, 04:35 PM
someone already did this and was shut down. Although they made theirs before jfduke was out. You should ask George about legality.

drvarek
05-08-2005, 04:54 PM
this will be a mod based on jfduke and hires pack

Parkar
05-08-2005, 04:57 PM
I belive this is suposed to use the original duke art (requereing the original game) so I can't see any problems with it.

I don't see the point though since there is already a duke side scroller in 3d. I don't mind playing one more though http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif

Dr. Kill
05-08-2005, 05:07 PM
now all I have to do when it's done is replace Duke with Crash Bandicoot!!!

Hey, I just got an idea, I could also probably make parodies of contra and streets of rage. I always liked editing duke.

TerminX
05-08-2005, 05:56 PM
Dr. Kill said:
someone already did this and was shut down. Although they made theirs before jfduke was out. You should ask George about legality.


Can someone please explain to me what prompts one to think modifying the Duke source code is illegal? http://forums.3drealms.com/ubbthreads/images/graemlins/rolleyes.gif

Dr. Kill
05-08-2005, 05:57 PM
don't ask me, I just tell what I hear. It was taken down. There was a post about it on planetduke's forums, and they made the guy take it off. Ask them

TerminX
05-08-2005, 06:07 PM
Dr. Kill said:
don't ask me, I just tell what I hear. It was taken down. There was a post about it on planetduke's forums, and they made the guy take it off. Ask them


It was probably someone using Duke art in another game, in which case you should really figure out just what the hell you're talking about before saying something. It is very unhelpful for someone to ask for assistance and have someone who hasn't a clue about the subject reply telling them that they can't do whatever it is they want to do.

If all you can say is "don't ask me" when someone questions what you'e posting, perhaps you shouldn't be posting it.

Dr. Kill
05-08-2005, 06:16 PM
whatever, I just wanted to let him know. I dumb about things sometimes.

drvarek
05-08-2005, 06:18 PM
hey TerminX, could you add some camera controls to your Eduke32?

TerminX
05-08-2005, 06:54 PM
drvarek said:
hey TerminX, could you add some camera controls to your Eduke32?


You can already sort of do this.. first, force the third person camera on with

setplayer[THISACTOR].over_shoulder_on ONE in the APLAYER actor code (I will be using obvious variable names in this exercise, it is up to you to define them yourself).

You must also do something like

setvar TEMP 512 // use whatever number you like the best
setplayer[THISACTOR].look_ang TEMP

Then, in the EVENT_LOOKLEFT and EVENT_LOOKRIGHT events, do

setvar RETURN -1

The player's sprite will still appear translucent. To get around this, you'll probably need to create some kind of dummy player sprite.

drvarek
05-09-2005, 06:02 AM
one question?

where to get eduke32 cons? i tried cons from eduke 2.1.1 but they don't work... i think i'm really missing something important about eduke stuff

TerminX
05-09-2005, 09:33 AM
drvarek said:
one question?

where to get eduke32 cons? i tried cons from eduke 2.1.1 but they don't work... i think i'm really missing something important about eduke stuff


What are you looking for, specifically? I eventually expect to put together an example mod that I hope will answer some of the more redundant questions I get.

drvarek
05-09-2005, 12:06 PM
TerminX said:
What are you looking for, specifically? I eventually expect to put together an example mod that I hope will answer some of the more redundant questions I get.



when i download your eduke32, i don't get any spacial cons. i know old eduke worked with special cons (eduke.con & others). is eduke32 using normal duke3d cons, so you just add enhancements to them?

ikkejw
05-09-2005, 01:06 PM
drvarek said:

TerminX said:
What are you looking for, specifically? I eventually expect to put together an example mod that I hope will answer some of the more redundant questions I get.



when i download your eduke32, i don't get any spacial cons. i know old eduke worked with special cons (eduke.con & others). is eduke32 using normal duke3d cons, so you just add enhancements to them?

As far as I know, yes.

Dr. Kill
05-09-2005, 02:35 PM
I have the cons you need. They add quite a few gamevars and all that crap I know little about. Want em? I'll email them to you if you want. I have copies that are unedited. Let me know.

TerminX
05-09-2005, 03:09 PM
drvarek said:

TerminX said:
What are you looking for, specifically? I eventually expect to put together an example mod that I hope will answer some of the more redundant questions I get.



when i download your eduke32, i don't get any spacial cons. i know old eduke worked with special cons (eduke.con & others). is eduke32 using normal duke3d cons, so you just add enhancements to them?


You can use the older material that came with EDuke 2.0 -- it'll work fine with EDuke32. I haven't had time to put together a sample mod yet.

Dr. Kill
05-09-2005, 03:46 PM
is the stuff from EDuke 2.0 much different from the first release?

drvarek
05-09-2005, 06:14 PM
i finally managed to use your code and play a duke nukem 3d sidescroller.

now i have another big problem: when i move forvard, duke moves forvard, but when i move backwards, duke moves backwards, but i need him to turn around and move forward (using my backwards key)

hmm... maybe my last line was confusing. i hope that you understand what i mean...

anyways, here's a another screenshot

TerminX
05-09-2005, 06:27 PM
Hmm.. detect if the player is moving backwards and use the cstat that flips sprites horizontally or something.

Dr. Kill
05-09-2005, 06:32 PM
cool!

I'd love to see the new gore pack I'm workin on in this!
http://forums.3drealms.com/ubbthreads/images/graemlins/grin.gif This sidescroller brings so many new possibilities.

drvarek
05-09-2005, 06:47 PM
TerminX said:
Hmm.. detect if the player is moving backwards and use the cstat that flips sprites horizontally or something.



but duke whould still be shooting to right side...

i need something like this:
if key = backwards {
rotate player for 180 degrees
assign backward key to forward
assign forward key to backward }

is this possible?

Roger
05-09-2005, 07:18 PM
You could use <x>etplayer[myconnectindex].ang in the event for walking backward to change the player's looking angle... or use the key for the quick 180° turn?

Also, if you want to disable a key, you have it go "setvar RETURN -1" in its respective event.

avatar_58
05-09-2005, 07:25 PM
Looks interesting! http://forums.3drealms.com/ubbthreads/images/graemlins/grin.gif Imagine the possiblities as well.....maybe a Bio menace or Cammander Keen mod? http://forums.3drealms.com/ubbthreads/images/graemlins/eek.gif

drvarek
05-09-2005, 07:45 PM
avatar_58 said:
Looks interesting! http://forums.3drealms.com/ubbthreads/images/graemlins/grin.gif Imagine the possiblities as well.....maybe a Bio menace or Cammander Keen mod? http://forums.3drealms.com/ubbthreads/images/graemlins/eek.gif



i'm planning to maka a few level demo with duke, and then i'm planning to make a TC

Dr. Kill
05-09-2005, 07:48 PM
yeah, I want to try this now!

Steve
05-09-2005, 08:21 PM
You've got my attention. Can't wait http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif