Duke4.net Forums: LNGA mod & Qwnz0r Qwn3d TC - Duke4.net Forums

Jump to content

  • 11 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

LNGA mod & Qwnz0r Qwn3d TC  "A real geeky total conversion in progress"

User is offline   Helixhorned 

  • EDuke32 Developer

#91

The mod looks wicked, keep it up! What are your plans in the physics department beside acoustics (you say on the homepage, "inertia")? There are various areas I imagine could need an enhancement in this respect: swinging doors (like in the 2001 DNF vid), small rigid bodies like balls (or heads, like in BLOOD) and different moving sectors. Is this what you have in mind?
0

#92

View PostHelixhorned, on Jun 26 2010, 10:19 PM, said:

The mod looks wicked, keep it up! What are your plans in the physics department beside acoustics (you say on the homepage, "inertia")? There are various areas I imagine could need an enhancement in this respect: swinging doors (like in the 2001 DNF vid), small rigid bodies like balls (or heads, like in BLOOD) and different moving sectors. Is this what you have in mind?


The mod offers a controller system based on Euler ODE solvers, designed to control map effects and actor dynamics. The player dynamics like the radar/crosshair rotation are evaluated by ODE solvers as well.

Each actor stores its XYZ velocities, high-resolution angle value and Z angular speed as separate per-actor variables to maximize precision of calculations. I'm planning to evaluate motion as simplified rigid body dynamics with gravity, friction, normal force, air resistance and other forces acting. Any constraints (perhaps, by means of kind of "sprite-effectors") may be applied to form complex interactive sprite systems. Limited support of soft bodies, aerodynamics or even fluids is also expected.

I've already done a prototype of a sector controller, but I need to refine it with more precise algorithms, as well as more usable controller schemes (making separate sprites for each force may be too complicated at times, especially for various doors).

In conventional Duke3D, for example, you set a lotag 23 to a sector and put a SE 11 into it to make a swing door. Your door opens and closes at a specified angular velocity, undergoing infinite acceleration. In LNGA, a sector rotation controller (having a moment of inertia) gets instead of the SE 11 and then should be connected to a set of force, drag and limit sprites which will handle door's motion. Also, I'll add a sector motion controller for things like sector boxes able to move on the floor and collide with each other in a realistic way.

This post has been edited by CraigFatman: 26 June 2010 - 01:52 PM

0

User is offline   Helixhorned 

  • EDuke32 Developer

#93

View PostCraigFatman, on Jun 26 2010, 11:49 PM, said:

Limited support of soft bodies, aerodynamics or even fluids is also expected.

:) I'm speechless.
0

#94

I'm recoding my rendering system to obtain even more useful capabilities. I also have solved most problems with disappearing sectors. So-called CPC system is a combinable pass collection. The passes shown in the list on the second screenshot can theoretically combine with each other, but I didn't design such scenes yet. Combinable passes are intended to use reflections, but the map reflection routines aren't completed so far.

Posted Image

The skybox reflection in blocks on the floor is prerendered into separate tiles to simulate Fresnel falloff.

Posted Image

One can view any pass of the collection separately using the CPC debug tool.

Unfortunately, this showview-based system does not work correctly on a tilted screen. I've reported about it in this thread: http://forums.duke4....?showtopic=2799

This post has been edited by CraigFatman: 07 September 2014 - 09:38 AM

0

User is offline   Jimmy 

  • Let's go Brandon!

#95

I have no idea what I'm looking at. One of my favorite things about this mod, is that you are doing some scientific shit I cannot understand with my puny retard brain.
1

User is offline   TerminX 

  • el fundador

  #96

View PostCaptain Awesome, on Sep 25 2010, 04:28 PM, said:

I have no idea what I'm looking at. One of my favorite things about this mod, is that you are doing some scientific shit I cannot understand with my puny retard brain.

Shit, sometimes I feel the same way when I look at this thread.
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#97

I wish he would post higher res screen shots. :)
0

#98

View PostThe Commander, on Sep 26 2010, 09:00 AM, said:

I wish he would post higher res screen shots. :)

It's not a problem to take higher-resolution screenshots, but 640x480 is usually sufficient. I'll try to use 1280x960 next time. However the HUD is displayed constantly and might distract too much. So I'm going to make a HUD retraction function binded to "+" key by default.
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#99

Do you normally play in 320x200? :)
JK
0

User is offline   Jimmy 

  • Let's go Brandon!

#100

I've always played in 800x600.
0

User is offline   Stabs 

#101

Finally tried it, what a fine little editor its like build except it has weld / subtract sorts of features like vector editing programs, you can do some very precise mapping in this

def be using this to run final checks on maps and working with complex SoS stuff, how you can turn of sprites and select what you want to work with is good, probably wont use this as my main editor but ill be playing around with it on the side, needs some good tutorials on the RoR effects.
0

#102

Dude, LEBuild thread is on AMC, but... thanx for responding anyway.

View PostThe Commander, on Sep 26 2010, 09:47 PM, said:

Do you normally play in 320x200? :)
JK

So, 640x480 resolution is still a friggin' heck of pixels compared to one Duke has come with...
JK
0

User is offline   Stabs 

#103

Iam not to sure whats running on what with this mod heh

lebuild could use some DXF or EPS importing, now that would be amusing :)
0

#104

View PostDanM, on Sep 27 2010, 09:08 AM, said:

lebuild could use some DXF or EPS importing, now that would be amusing :)


I agree; and exporting might be useful too 'cause I used to utilize LEBuild in creating simple vector shapes. I've designed the crosshairs for the LNGA mod in it, but I'm forced to use the "Printable scheme generator" feature to rasterize them in hi-res and then edit with Paint Shop Pro.

That's how I do:

Posted Image

Note: later I had moved each element of the crosshair into separate tiles to make possible changing the color and brightness of distinct parts independently.

This post has been edited by CraigFatman: 27 September 2010 - 03:49 AM

0

User is offline   Helixhorned 

  • EDuke32 Developer

#105

Yeah, BUILD map editors make pretty nice vector drawing programs. Speaking of exporting to a vector format, I've hacked up some MATLAB/Octave code to import and draw a map from bird's eye perspective or from the side. From then on, "print" could be used to generate EPS, SVG or whatever is desired. The code is here.

Edit 20150218: updated URL.
0

User is offline   Stabs 

#106

would be a useful thing i could make real world proportional scalings in corel from google maps
0

#107

View PostHelixhorned, on Sep 28 2010, 02:17 AM, said:

Yeah, BUILD map editors make pretty nice vector drawing programs. Speaking of exporting to a vector format, I've hacked up some MATLAB/Octave code to import and draw a map from bird's eye perspective or from the side. From then on, "print" could be used to generate EPS, SVG or whatever is desired. The code is here.

Thanks for the importers, I'll try them when I install MATLAB.

[Edit by Helixhorned 2015-02-18: update URL in quote.]
0

#108

Tested the plotbuildmap routine. It seems to work, but sectors having zero textures and no sprites are not displayed. What's the point of this?

if (all(map.wall.picnum(b:e)==0) && ~any(map.sprite.sectnum==sec) && ...
	map.sector.floorpicnum(sec)==0 && map.sector.ceilingpicnum(sec)==0)
	continue
end


This post has been edited by CraigFatman: 29 September 2010 - 10:48 AM

0

#109

It was a long while since I posted into this thread, but the project isn't stalling. My today's development was some kind of a continuous ambient light model. First of all, the pals and shades one assigns to walls, floors and ceilings in the map editor, are treated by the mod as ambient light levels. The sprites, on the contrary, can have palette and shade values that directly affect their reflectivity (i.e. change sprite's intrinsic color). Thus, the apparent color of a sprite will be the product of sprite's intrinsic color and the color of total incoming light.

My method to determine ambient light color and intensity at a given point inside a sector is far more sophisticated than just taking floor's shade and palette number. It features gradual transition from floor to ceiling color as the point moves along the sector. Here is a couple of screenshots with a comparison between intrinsic colors only and when ambient light is taken into account. As you can see, the mouse pointer sprites tinted with blue preserve their blue look under different light conditions. And the Mortar sprites which use Duke3D palette (not the IDX8_L that is native to my mod) get processed as well.

Posted Image

Posted Image

Everything said above is right for conventional Duke3D maps. A modder who makes LNGA-specific maps can take advantage of this as well, but should be able to disable ambient light at all when necessary and instead use pals and shades to change intrinsic colors of all surfaces freely. That is, my mod differentiates object's apparent shade and pal (caused by lighting) and its intrinsic reflectivity properties. This is crucial for CON-coded dynamic lights which aren't complete yet.

Another feature is about how the player is informed about being hit by enemies. Instead of "palfrom" commands which temporarily tint the whole screen, I've coded four bars put along the screen edges which blink with red when Duke is hit by something, showing where the damage comes from and how severe it is. The same bars blink with green when something is picked up.

Posted Image

I'm also remaking the lens flare code. There's already a support of different lenses, such as human eye, conventional video camera, CMOS camera or professional photo lens. Recently I've coded the lightning bolts to produce chains of flares. So far it has some problems, since the lightning sprite and its flares don't appear simultaneously, and one can't see any flares placed above the parallaxed ceiling.

Posted Image

This post has been edited by CraigFatman: 24 February 2011 - 02:49 PM

1

User is offline   Helixhorned 

  • EDuke32 Developer

#110

View PostCraigFatman, on Sep 29 2010, 07:47 PM, said:

Tested the plotbuildmap routine. It seems to work, but sectors having zero textures and no sprites are not displayed. What's the point of this?

if (all(map.wall.picnum(b:e)==0) && ~any(map.sprite.sectnum==sec) && ...
	map.sector.floorpicnum(sec)==0 && map.sector.ceilingpicnum(sec)==0)
	continue
end


The point is to get rid of the "author name sectors" at the borders of the map so that they don't make the rest appear in a tiny portion of the axes. Nobody should use picnum 0 anyway :P.
0

User is offline   Stabs 

#111

That hud that can tell where your being hit from looks good and very useful :P
0

User is offline   Gambini 

#112

Those flares look great and so the damage indicators. About the faint transition between floor pal and ceiling pal, i find it usefull but also complicated. Think of how many fake colors are performed using alternative palettes. Like pal 17 or 19 skies for example.
0

User is offline   Jimmy 

  • Let's go Brandon!

#113

Cool stuff, really like the lightning bolt!
0

#114

View PostGambini, on Feb 25 2011, 02:38 AM, said:

Those flares look great and so the damage indicators. About the faint transition between floor pal and ceiling pal, i find it usefull but also complicated. Think of how many fake colors are performed using alternative palettes. Like pal 17 or 19 skies for example.

This would be complicated indeed. All the original Duke palettes are treated by the lighting system as white except pals #1, #2, #7 and #8. There's only partial support of those palettes. But since I'm using my own palettes to light things up with different colors (they look similar to hi-res texture tinting), this shouldn't be an issue. Eventually I'll replace some of alternate palettes used by monsters, keycards and other stuff with multi-layer sprites (when you see another transparent sprite just in front of the actor). The ultimate goal here is to have a variety of colors for keycards and access locks chosen randomly everytime a level begins (see http://img38.imagesh.../sandwichc.png/ to make out how does it work), as well as to make monsters with alternate pals shade correctly in colored sectors. Random color selection is one of the factors affecting replayability.

I'm working on the custom bonus screen, somewhat inspired by X-COM: UFO Defense, particularly the way it shows the level summary. It's a part of the integrated GUI, so the hard-coded bonus screen was deprecated. There are some additional statistics planned. Unfortunately, no access to Par/3D Realms times via CONs. The GUI widgets (such as windows and buttons) get displayed, but still don't process any mouse clicks, so one needs to hit Tab key to close the window and proceed to the next level. By the way, I've drawn those widgets to use them in my future applications, but since I've took a break at C++ programming, I'm using them in my mod too. Get ready to new videos as well.

Posted Image

A few words regarding the gameplay concept (I haven't begun anything so far). Duke3D enemies often use weapons which Duke can't domain (such as firelaser, mortar or mental blast), but I want to introduce a more precise inventory system. Specifically, to force each monster to have a limited amount of ammo and always drop everything it has (including the weapon) after dying, so Duke could pick it up. But most things dropped by enemies will require some research before being used, as initially they will be just unknown alien artefacts (again, like in X-COM). Research of an artefact can make it useful for player or give a technology for producing other objects on the factories (say, research Trooper's Firelaser weapon and manufacture Soliton Gun). As an alternative to sending things to the laboratory for research, Duke can search levels for "manuals" - files with information about an artefact that makes it usable as well. However, there's no access to laboratories and factories in 3D Realms episodes, thus the gameplay will be alike vanilla Duke there.
1

User is offline   Sebastian 

#115

View PostCraigFatman, on Feb 24 2011, 12:06 PM, said:

There's already a support of different lenses, such as human eye, conventional video camera, CMOS camera or professional photo lens.


Doooo waaaahhhnntsss!
0

User is offline   zykov eddy 

#116

You're crazy, CraigFatman
0

User is offline   Roma Loom 

  • Loomsday Device

#117

View Postzykov eddy, on Feb 27 2011, 02:33 PM, said:

You're crazy, CraigFatman

Quoted for truth :P
0

User is offline   Jblade 

#118

Research system sounds great, there's something similar in AMC TC (but rather than allowing use of weapons in the field it enables upgrades to characters, new abilities, and base extensions to enable further research and stuff)

Is there going to be a base-style map in the mod, or is it gonna be one long adventure like normal Duke?
0

User is offline   Gambini 

#119

Quote

no access to Par/3D Realms times via CONs.


What? Isn´t that one of the easiest things to change in duke? just take a look to user.con or defs.con i think. There´s the map listings per episode and each one has its name next to the 3d realms time!
0

#120

View PostJames, on Feb 27 2011, 03:40 PM, said:

Research system sounds great, there's something similar in AMC TC (but rather than allowing use of weapons in the field it enables upgrades to characters, new abilities, and base extensions to enable further research and stuff)

Is there going to be a base-style map in the mod, or is it gonna be one long adventure like normal Duke?

Qwnz0r Qwn3d is gonna be just an episode with several long levels, without special maps dedicated to bases. Places like factories and storages will be found in urban locations among other buildings. That is, everything is integrated. As I foresee my TC by now, the first two maps are expected to take place on Earth, later the action moves into space; Duke visits a base on the Moon and then arrives to a fictional stellar system. Still it's nothing like 3DR's Duke. =)

View PostGambini, on Feb 27 2011, 05:04 PM, said:

What? Isn´t that one of the easiest things to change in duke? just take a look to user.con or defs.con i think. There´s the map listings per episode and each one has its name next to the 3d realms time!

Actually I meant that I can't put them into a variable (to display on the screen, for instance). But that isn't really needed in my version of the bonus screen. Maybe I'll add a "rating" thing that is present in X-COM games and tells the player how good the mission has been completed.
0

Share this topic:


  • 11 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options