Heightmap

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
farlowj
Posts: 389
Joined: Mon Feb 16, 2004 1:33 pm
Location: Michigan

Post by farlowj »

Is there a way to randomly assign a height to a thing via ACS before level startup, then the terrain would be completely random every time the map is loaded. I just wondered...
User avatar
MasterOFDeath
... in rememberance ...
Posts: 2024
Joined: Sat Apr 03, 2004 10:58 am

Post by MasterOFDeath »

Best I can think of is using spawnspot or Thing_Spawn and making the Z height random or something.
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

but slopes are calculated at runtime so it probably wouldnt work
User avatar
BetaSword
Posts: 650
Joined: Fri Jul 02, 2004 10:53 am
Location: Doing some stuff.

Post by BetaSword »

Nice, I must say. My opinion? Smaller triangles, so that the hills are more smooth. Other than that... I like it.
farlowj
Posts: 389
Joined: Mon Feb 16, 2004 1:33 pm
Location: Michigan

Post by farlowj »

Updated map, go get it on page 2. I cleaned up, a lot. Now you can copy/paste real easy. I made 4 areas to copy paste, anymore, and you have to add some. Be careful adding too many, as you might run out of lineID numbers. (It only goes to 255, right?) Anyway, with all four areas it takes 197 lineID numbers. Enjoy.
killingblair
Posts: 937
Joined: Mon Oct 04, 2004 9:16 pm

Post by killingblair »

MasterOFDeath wrote:Hey... is this ZDoom 1.23 compatable? If it is, I can use this in MoDDM3! ;) :D
zdaemon and zdoom are not far apart, i mean HELLZ YEAH!!!
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

Not too far? dude they are MILES apart. ZDaemon is based on an ancient version of ZDoom and so it misses out on DECORATE, the new texture system, Strife support, Heretic support, Hexen support, many ACS additions.....
killingblair
Posts: 937
Joined: Mon Oct 04, 2004 9:16 pm

Post by killingblair »

I take back what i said, but the height map works
User avatar
David Ferstat
Posts: 1113
Joined: Wed Jul 16, 2003 8:53 am
Location: Perth, Western Australia
Contact:

Post by David Ferstat »

I've just loaded up the revised sample map on page 2, and I'm seriously impressed. That's some really good looking terrain there.
killingblair
Posts: 937
Joined: Mon Oct 04, 2004 9:16 pm

Post by killingblair »

I agree, and it looks like hard work went into it, good job farlowj :)
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Erm... I thought 1.23 didn't have slopes... how could this possibly work with ZDaemon??
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

1.23 does have slopes. just no slope things
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Post by Macil »

farlowj wrote:Is there a way to randomly assign a height to a thing via ACS before level startup, then the terrain would be completely random every time the map is loaded. I just wondered...
That gives me an idea....

To the general section for a [Feature Request]!
User avatar
Tormentor667
Posts: 13555
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Post by Tormentor667 »

Heightmap? Can someone explain to me what it is?!
User avatar
Giest118
Posts: 2914
Joined: Fri Dec 05, 2003 11:02 pm

Post by Giest118 »

farlowj, two pages back, wrote:As far as I know, a heightmap takes a grayscale bitmap and makes a 3d like model of it. White is higher areas, black is lower. So you don't have true 3d (which is why I'm asking if it can be done in ZDoom) but you have the map split into triangles to make hills and stuff. If you have played any new games, they have heightmaps. FarCry, probably Doom3 in the outdoor parts, UT2004, and others. It makes it easier to make realistic outdoor environements without drawing every triangle by hand.
Locked

Return to “Editing (Archive)”