Duke4.net Forums: EDuke32 2.0 and Polymer! - Duke4.net Forums

Jump to content

  • 213 Pages +
  • « First
  • 59
  • 60
  • 61
  • 62
  • 63
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

EDuke32 2.0 and Polymer!  "talk about the wonders of EDuke32 and the new renderer"

User is offline   kenia 

#1789

i hope you will, but learning C / C++ is just the very first small step for doing so. Im programming since 6 years now (c++, java etc.) but I never had the time
or motivation to read through the source, too much code, too less motivation :( hope you are different to me
0

User is offline   Jimmy 

  • Outta jail, back in rehab

#1790

For the guy who was talking about the atmosphere of the game, I think turning texture filtering to Nearest also helps a lot.
0

User is offline   Helixhorned 

  • EDuke32 Developer

#1791

Posted Image
1

User is offline   Micky C 

  • Honored Donor

#1792

Is that what I think it is? :( (by that I mean model collision detection)

This post has been edited by Micky C: 28 October 2010 - 01:27 PM

0

User is offline   Stabs 

#1793

Blasphemy!!!!
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#1794

Progress!!!!
0

User is offline   Master Fibbles 

  • I have the power!

#1795

Lies!!!Pie!!!!

This post has been edited by Mr.Flibble: 28 October 2010 - 06:55 PM

0

User is offline   ReaperMan 

#1796

Cheese Sticks!
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#1797

Cake!!!!
0

User is offline   The Commander 

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

#1798

http://forums.duke4.net/index.php?s=&s...ost&p=60975

This post has been edited by The Commander: 28 October 2010 - 08:52 PM

0

User is offline   Danukem 

  • Duke Plus Developer

#1799

This new sprite clipping feature is very promising; probably the most significant development since Polymer. I haven't played with it yet but I have read the documentation. The idea is simple enough but some of the details confuse me.

One of the first things that comes to mind is that it should allow for multiple clipshape maps. Maybe the first must be named _clipshape_.map, but then it could look for others named _clipshape2_.map, etc. Hopefully members of the community will make a _clipshape_.map that covers all of the important sprites in the original tile set. Then modders can use that map and add other ones. We wouldn't want to modify the community _clipshape_.map with our custom sprites, because when the community map gets updated then we would have to do add back our custom clipshapes every time.
0

User is offline   Stabs 

#1800

thing is so damn cool, done 8 DNE cars already

so is the hitscan weapons a limitation for the moment or something that u cannot get around?
0

User is offline   Tea Monster 

  • Polymancer

#1801

Cake AND Pie

Wooooh-Hooooo!
0

User is offline   Stabs 

#1802

slight problem, with dummy tiles, i think its copying the clipping over to all sprites that have no clipping untill a break in the art

for example if i set a cop car at 5240 clipping and skip models 5241 - 5245 they will all have the same clipping untill they hit a new clip boundry or no art.
0

User is offline   The Commander 

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

#1803

I still can't even try it. :(
I keep getting this, even with revision 1720 (Fix crash. Reason was obsolete code.)

http://pastebin.com/FCKqCL1i
0

User is offline   Helixhorned 

  • EDuke32 Developer

#1804

View PostDeeperThought, on Oct 29 2010, 07:29 AM, said:

I haven't played with it yet but I have read the documentation. The idea is simple enough but some of the details confuse me.

One of the first things that comes to mind is that it should allow for multiple clipshape maps. (...)

The docs aren't supposed to be understandable unless you've looked at the example map :(. I'll note the multiple clipmaps idea.

View PostDanM, on Oct 29 2010, 11:20 AM, said:

so is the hitscan weapons a limitation for the moment or something that u cannot get around?

Nah, it's just that every function has its own quirks that need to get figured out before you can mess with them.

View PostDanM, on Oct 29 2010, 12:31 PM, said:

slight problem, with dummy tiles, i think its copying the clipping over to all sprites that have no clipping untill a break in the art

for example if i set a cop car at 5240 clipping and skip models 5241 - 5245 they will all have the same clipping untill they hit a new clip boundry or no art.

It doesn't do anything automatically. Check the TANK sprite in the example map. You need to set a wall lo/hi-tag to a picnum range specify aliases for dummy tiles.


View PostThe Commander, on Oct 29 2010, 08:36 PM, said:

I still can't even try it. :(
I keep getting this, even with revision 1720 (Fix crash. Reason was obsolete code.)

http://pastebin.com/FCKqCL1i

Hm, I guess the commit was a bit premature. The control flow is rather involved (speak: spaghetti code) so something probably slipped through my attention. Until then, you could study how to set everything up without loading _clipshape_.map.
0

User is offline   Stabs 

#1805

k gotta it all worked out now, but one last thing to be sure, so a copcar is 5240, i set one wall in the sector that contains the cop car as lotag/hitag 5240 and do that to pretty much all my models, that code helps in spanning the tile over multiple frames?
0

User is offline   Helixhorned 

  • EDuke32 Developer

#1806

For normal usage you shouldn't have to edit anything because the .picnum sprite member of an animated sprite/actor is always the base picnum. The aliasing feature is present for two reasons: first, you could use some non-base tile as decoration so that the actor code won't run. Second, if you have models that look alike, you only need to create one clipping sector bunch for them. So, if picnums 1000 through 1010 are all different versions of the same type of car, you make one sector bunch, place a sprite with picnum 1000 in the middle of it and align it. Then, pick a wall from this bunch and set its lotag to 1001 and its hitag to 1010 and you have them all covered.
0

User is offline   The Commander 

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

#1807

I tried to make a sprite clip for my brick wall in Red Alert, works perfectly fine in Mapster. (no chrashes)
Yet, within one second of my map loaded and in game results in: http://pastebin.com/xTvqpPXN

It will be of very great use when it has been perfected as DanM currently knows how we both can make good use of this.

This post has been edited by The Commander: 30 October 2010 - 01:27 PM

0

User is offline   TerminX 

  • el fundador

  #1808

Agreed, this is a great feature and I applaud Helixhorned for coming up with it. Very nice work. As for the bugs with it, lord knows every badass feature starts out as a big heap of glitches. :(
0

User is offline   Stabs 

#1809

Yes its totally changed mapping for me in a very good way, DNE feels so much more refined now, it dosnt feel clunky walking around models anymore, and the frame rate has picked up a bit now iam not using a ton of bounding sprites

think ive done about 50 models so far, iam actually nearly done
0

User is offline   Hendricks266 

  • Weaponized Autism

  #1810

I concur, this kicks major ass. Props to Helixhorned.
0

User is offline   Stabs 

#1811

my entire clipping map has corrupted for the 2nd time now, i have lost all the work i did this weekend now, it looks fine untill you paste it into another map, and then you delete all the corrupt secotrs and then all the sprites i have placed get deleted, is there anyway this can get fixed. no idea whats going on, it was working last time i tested it on both occasions before it corrupted.

Attached File  _clipshape_.zip (29.57K)
Number of downloads: 1087
0

User is offline   Danukem 

  • Duke Plus Developer

#1812

What happens if you paste only the older portions of the map instead trying to paste the whole thing into another map?
0

User is offline   Stabs 

#1813

done that before, deleted the screwed up sectors and start again kinda

really hesitant to even want to start doing it a 3rd time in case it happens again
0

User is offline   Helixhorned 

  • EDuke32 Developer

#1814

DanM, your clip maps aren't lost. They just have sprites with .sectnum<0 in them which Mapster32 isn't really secured against. You should be able to see and delete them in the new revision. This doesn't solve where they're coming from, though, so be on guard when they pop up!
A word about your map: the tags you have set are mostly (all?) redundant, aliasing is only needed if you have more than one base tile. Otherwise it's OK. Maybe you loaded the map in a way that your custom art wasn't loaded. In that case you wouldn't see the sprites in 3D mode but they're still around in 2D mode.
0

User is offline   Stabs 

#1815

Crysis averted, i actually had lebuild to delete those sprites but alas that didnt help, and yer ill be careful because that clipshape map still pastes funny into a new map, oh and the hitscan stuff is good too, is the sprite clip area that is hitscan also linked into the sprites health because cars blow up now from 2-3 shotgun shots now
0

User is offline   Helixhorned 

  • EDuke32 Developer

#1816

Hah, funny side effect. I didn't change anything in gameland though.
0

User is offline   Stabs 

#1817

leave it :( i will work out some armor code so bullets are weak, still want the rocket to 1 shot a car tho
0

User is offline   Danukem 

  • Duke Plus Developer

#1818

View PostDanM, on Oct 31 2010, 02:18 PM, said:

leave it :( i will work out some armor code so bullets are weak, still want the rocket to 1 shot a car tho


I don't know what you are using for the car code, but you just need to code them so they only respond to RPG and RADIUSEXPLOSION.

So, for example, if before you had:

ifhitweapon
{
  ifdead state blowupcar
}



Now you would have:

ifhitweapon
{
  ifdead
  {
	 ifwasweapon RPG state blowupcar
	 ifwaswapon RADIUSEXPLOSION state blowupcar
   }
}


I would also add the cars to the list of metallic objects in the SHOTSPARK1 actor, so they spawn the sparks when shot and make the hit metal sounds.
0

Share this topic:


  • 213 Pages +
  • « First
  • 59
  • 60
  • 61
  • 62
  • 63
  • 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