View unanswered posts | View active topics It is currently Sun May 31, 2020 6:04 pm



Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
 Map Room w/ Actor and Terrain Display *Update 
Author Message
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 12561
Location: Here
Reply with quote
 Map Room w/ Actor and Terrain Display *Update
Doing math and writing equations during most of your time will give you headaches. So I decided to take a little break from high-level modding by playing L4D2 and making smaller mods, like this one.

Image

This is a room with a screen in it that displays the terrain layout and marks the positions of actors. It causes nearly no lag, and has the terminal from the First Signs mission.

Legend:
Red - Red team actors
Green - Green team actors
Blue - Blue team actors
Yellow - Yellow team actors
White - Actors on no team
White X - The screen

Change Log:
-Screen is larger
-Room background is changed
-Weapons are displayed on screen

Credits:
CaveCricket48 - Ini code, Lua scripting
Geti and MaximDude - Room background sprite


Attachments:
Map Room.rte.rar [62.26 KiB]
Downloaded 963 times


Last edited by CaveCricket48 on Mon Feb 28, 2011 1:23 am, edited 3 times in total.

Fri May 28, 2010 1:44 am
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3030
Location: Somewhere in the universe
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
This is what the minimap data will make should look close to, very useful.


Fri May 28, 2010 2:25 am
Profile

Joined: Wed Mar 03, 2010 11:29 pm
Posts: 122
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
http://forums.datarealms.com/viewtopic.php?f=61&t=16547&hilit=control+module


Fri May 28, 2010 2:54 am
Profile
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
That one doesn't read underground tunnels and inside Bunkers.. this on does... Amazing CC48.


Fri May 28, 2010 2:58 am
Profile
User avatar

Joined: Tue Jul 21, 2009 4:36 am
Posts: 347
Location: The place where asses go to be bad
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
Yeah, there's that, but frankly Cricket's looks a metric shitton better than that dotted line based minimap.

Good job once again Cricket! (PS: if you can get this thing to selectively hover over an actor's head when a key is pressed, you will be crowned as almighty god of sparkle magic!)

EDIT: Semi-Ninja'd :evil:


Fri May 28, 2010 3:01 am
Profile
User avatar

Joined: Thu May 15, 2008 11:40 am
Posts: 1527
Location: In heaven, everything is fine.
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
Amazing, CC...God damn amazing.


Fri May 28, 2010 3:15 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
Code:
GetTerrMatter(x,y)
Gets a specific pixel from the total material representation of this Scene. LockScene() must be called before using this method.
Arguments: The X and Y coordinates of screen material pixel to get.
Return value: An unsigned char specifying the requested pixel's material index.
Coupled with some i/o on base.rte/materials.ini -> draw the material's colour (that or do a table of rgb from palette.bmp).

Only feature missing as far as I can see. Still awesome, A+ :)


Fri May 28, 2010 5:20 am
Profile WWW
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
Awesome. Like always.
Can't really expect something else from you CC. :D

May I suggest a better looking BG for the module?

Attachment:
MapRoomBG.bmp


Originally made for Grif's minimap which he then abandoned.


Fri May 28, 2010 11:48 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 12561
Location: Here
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
Those vanilla squares that are used to remove terrain, I don't like those. Make 'em prettier and I'll use the sprite.


Fri May 28, 2010 8:53 pm
Profile

Joined: Sat Dec 12, 2009 7:59 pm
Posts: 2
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
Awesomely epic! Ive seen two or three of these map-type mods, and either 1. it crashed my CC, 2. it lags like ****, or 3. it looks like :razz: . It has none of these. well done :)


Sat May 29, 2010 1:12 am
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
CaveCricket48 wrote:
Those vanilla squares that are used to remove terrain, I don't like those. Make 'em prettier and I'll use the sprite.


Bah, i'm just throwing it out because I have nothing to do with it.
I'm too lazy to do any changes. :/


Sat May 29, 2010 3:10 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display
Enjoy.


Attachments:
File comment: .png will need converting, but it looks alright.
temp.png [13.82 KiB]
Not downloaded yet
Sat May 29, 2010 4:37 am
Profile WWW
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 12561
Location: Here
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display *Update
Updated. Larger screen for higher resolution, different room background, and weapon display.


Sat May 29, 2010 9:32 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Wed Sep 05, 2007 4:14 am
Posts: 3966
Location: Canadida
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display *Update
CC48, you are just wonderful.

Now more time ambushing, and less time guessing.


Sat May 29, 2010 9:35 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Map Room w/ Actor and Terrain Display *Update
CaveCricket48 wrote:
Geti - Room background sprite


>:(


Sat May 29, 2010 10:38 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 23 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.019s | 14 Queries | GZIP : Off ]