Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Trivial Psychic on January 19, 2007, 03:52:18 pm

Title: FRED Head Builds - Bug or Feature?
Post by: Trivial Psychic on January 19, 2007, 03:52:18 pm
I'm not posting this on Mantis until I know if its a bug or not.  I've seen this in just two build sets so far, WMC's 01-17 builds posted in the Modding > Scripting forums, and another which I found labeled as FREDHEAD, dated 01-18.  Here's a screenshot:

(http://www3.sympatico.ca/daniel.topps/FRED-NoName.png)

Now, that may look funny, and many of us have seen the U.R.A. Moron thing, but I didn't do anything beyond place the ships on the grid.  Typically, the default ship which is on the grid when you open the program is labeled "<ship-class-name> 0", and everything after that follows numerically.  This time however, the default ship lacked a label, which seems to be resulting in this auto-instance of the U.R.A. Moron thing.  Secondly, you can see a green triangle above and to the right of U.R.A. Moron 2.  That green triangle follows the mouse pointer around, just slightly behind it.  Also, it stays on the grid at a relative position, if the mouse pointer heads into the toolbar area.

Any explanations?
Title: Re: FRED Head Builds - Bug or Feature?
Post by: karajorma on January 19, 2007, 05:26:35 pm
Hey! Only Developers should be ge.... Oh never mind. Carry on. :D




EDIT:  Well I can definitely confirm it's happening to me as well. Unfortunately after 11pm my brain turns back into a pumpkin so I'm not going to look too deeply into the code. I can tell that somewhere in the code the bit that dealt with copying the ship class string into the ship name string and putting a number after it has stopped working but I'm too sleepy to try figuring out where exactly that is.
Title: Re: FRED Head Builds - Bug or Feature?
Post by: Trivial Psychic on January 20, 2007, 12:47:03 am
Hey! Only Developers should be ge.... Oh never mind. Carry on. :D
Well, I am a Snoop Junkie after all, especially when it comes to new builds.  Remember the multi-docking thing?  I found out about that about 2 months before it was unveiled, and Goob asked me to sit on it until then.
Title: Re: FRED Head Builds - Bug or Feature?
Post by: Bobboau on January 20, 2007, 01:54:13 am
the green triangle is a 'default' mouse pointer, WMC did if the game can't find the bitmap.
Title: Re: FRED Head Builds - Bug or Feature?
Post by: Goober5000 on January 21, 2007, 02:50:53 am
:sigh: :lol:

Yeah, the U.R.A. Moron bug is because FRED is creating ships with a completely blank name instead of using <ship class> 0 etc.  Since it doesn't cause any problems I haven't put it very high on my priority list. :D