Author Topic: Adding new regions  (Read 4223 times)

0 Members and 1 Guest are viewing this topic.

Trying to add a new region to the main interface without much luck.  I've been mucking around in mainhall.cpp increasing everything I could think of.  I added a new #define for the region.  I hard coded the tool tips into the source and tried to add a new one of those and it doesn't show.  I've edited mainhall.tbl to have seven regions and added all the coordinates and door sound data.  Edited the mask to have a region with color (249,249,249), which is the next available index.  I don't know what else there is to change to add a new region.

 
I fixed my problem by editing the menu.tbl file.  But I have found that anymore then eight doors the background doesn't show up.  Its supposed to be able to take 10 doors.  Anybody know why?

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
The background may have something to do with that limit, though I'm not entirely sure of that.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
oh, boy, he's working on the interface :)
I'm excited.
if you can make sence of the interface code, you will be one of the most important coders in this project. it's been one of the harder arias to understand, the only person who has been able to do anything with it was Goober, when he added a scroll button to... something
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Don't know if its what your looking for.  But we have created two new regions, one takes you directly to the sim room and the other to the cutscene viewer.  We have also been having fun replacing the old artwork and moving regions to suite our new buttons.

If this is the kind of stuff you are looking for I'd be happy to help.

  

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
what we realy need is someone to tweak the ship and weapon loadouts.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
To do what?  I had to go through all of this for the icculus.org FS1 port.  I'm a bit rusty but may remember some stuff.

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
The day i learn the interface code is the day i start shooting nails through my hand
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 
Yeah, what are you looking for exactly?

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
a button to reassign your loadout to the whole wing, stuff like that, I suppose.
SCREW CANON!

 
what nico said, and i think another options screen for FSO stuff, perhaps.

also if you can make sense of the HUD stuff there was/is talk about ships specific HUDs, and moveable parts of the HUD.

a way to display SEXP variables on the HUD somehow is also wanted.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
What would be on this FSO options screen?  Adding this wouldn't be difficult, just need what has to go in it and the artwork.  Implementing the options themselves would be more difficult to code than the interface.

Are there any particular threads to look at about the HUD stuff?  Adding this would be a little tricky but not impossible.  This biggest problem here is that the hud code would get a lot more complicated and difficult to manage the more HUD configurations that are added.  Switching to a table for HUD layouts would probably be better long term but this is something that's going to have to be discussed into the ground before it gets implemented.  It would be a pain in the ass to have to do that stuff over again.

SEXPs... what sort of layout would be useful?  Just the raw SEXPs scrolling as they happen in an additional message window?  Never really having used FRED2 or done any mission designing I can't grasp what's useful/helpful.

An option to have weapon loadouts copied to each like ship in a wing shouldn't be too difficult to manage.  Someone will probably insist on making it difficult though.  Always happens.

Anything else?  (Not volunteering to do all of this by the way, but I will help)

 
with the SEXP the thing i didn;t mean the code itself, but the contents of a mission variable (check the siggy though, i'm talking out of memory here)

and the HUD thing was discussed into the ground, but every thread turned into a 2d vs 3d HUDs debate. a HUD table where you can assign the HUD elements to a certain place would certainly be nice.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
well in addition to stuff like added options for our new graphical improvements, one thing we have been realy wanting to do for a while now is adding a tersiary weapons systems (and/or additional hardware i.e. cloaking device/sensor pod/additional after burner fuel ect) this would require another scrolling list thing and all the stuf that goes along with it. adding HUD interface for the new weapon/tactical systems. adding in a thrid/fourth weapon slot for primary/secondary weapons.
stuf like that.
if someone wants to move all the HUD graphic data into a table file that would be great.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Lightspeed

  • Light Years Ahead
  • 212
I can do the necessary artwork, if needed.
Modern man is the missing link between ape and human being.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
I was thinking about moving the HUD stuff into a table after 3.6 is out.

 
Redoing the HUD is one of our 'yet to do' projects.  Are you looking to have something like all the coordinates for the images read out of a table?

 

Offline Lightspeed

  • Light Years Ahead
  • 212
yes, but first...


...psst...


Multiplayer  :)
Modern man is the missing link between ape and human being.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
yeah, and wich graphics to use, I think we decided useing a relitive position for every thing would be better (becase we have available non-standard resolutions) so rather than two sets for coordanants for each resolution there would be one set of coordanants that would be between 0.0 and 1.0 (you multiply that by the current resolution to get the actual screen coordanants)
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
i was thinking for the tertiary loadout screen is to have the first list  (on the top) choose wether you select primary, secondary, or tertiary weapons.

this would allow the top list to be smaller and the bottom one to show more weapons.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord