Inserting the new line in float_msg func.

Mulligun

Still Mildly Glowing
How can i make a new line for the float_msg function? I've tried sth. like that:
Code:
msg = string_format("val1 %d\r\n val2: %d", val1, val2);
float_msg(dude_obj, msg, color);
but unfortunately it doesn't break to the new line after val1...
 
How can i make a new line for the float_msg function? I've tried sth. like that:
Code:
msg = string_format("val1 %d\r\n val2: %d", val1, val2);
float_msg(dude_obj, msg, color);
but unfortunately it doesn't break to the new line after val1...

Can't say about the syntax itself. The function though, is an sfall fucntion, if I'm not mistaken. Did you check it in-game, as opposed to in-mapper?
 
Hello.
Is there a way to find & modify the source code for the float_msg function from sFall?
Thx. for help.
 
Bro, why do you keep spamming threads?? I always have to merge everything together. If someone doesn't reply to your questions, that usually means that nobody can help you with that. Spamming more threads will not change that.
 
sfall does not contain the source code of float_msg function, it's a vanilla script function from FO2 engine.
 
So how can i get the source code of that?
No source code for FO2 engine ever gets released. The best you can do is get a disassembler and check the engine code.
And from your threads, I don't think the source code would do you any good even if it were released.
 
No source code for FO2 engine ever gets released. The best you can do is get a disassembler and check the engine code.
And from your threads, I don't think the source code would do you any good even if it were released.
Ok, please explain me the statement "...vanilla script function from FO2 engine"? If it's vanilla script why do talk about the game source itself?
 
Ok, please explain me the statement "...vanilla script function from FO2 engine"? If it's vanilla script why do talk about the game source itself?
NovaRain - can You be so nice and explain me how does the vanilla scripts relates to the FO2 engine?
 
float_msg is an engine function which we can't edit. It's simply not possible unless you crack open the engine and go balls deep.
 
float_msg is an engine function which we can't edit. It's simply not possible unless you crack open the engine and go balls deep.
Ok, so float_msg is native FO2 engine function, right but what that vanilla script do really means and hot it relates/link to the original FO2 engine? Sorry, but I'm really curious.
 
Ok, so float_msg is native FO2 engine function, right but what that vanilla script do really means and hot it relates/link to the original FO2 engine? Sorry, but I'm really curious.

Ok, so I'll try and clear up some confusion here. I think I see what's going on.

The scripts are run on the Fallout.exe engine.
The engine doesn't support line breaks in dialogue scripts...disappointing.
My understanding is the line breaks are created automatically, so you might try using spaces or underscores or some invisible character to try and force a line break...creative coding is sometimes the answer :P

If you really want to modify the input to certain sections of the game memory directly, as both Mr.Stalin and NovaRain are suggesting, you can take a look at the github for sfall:
https://github.com/phobos2077/sfall

Sfall is a ddraw.dll and interface file that captures certain game inputs in memory and modifies them ala whatever (it looks like NovaRain is managing it these days) wants them to do :P
Quote from the page:
"A set of engine modifications for the classic game Fallout 2 in form of a DLL, which modifies executable in memory without changing anything in EXE file itself."

This is way out of my league, though I'd love to be able to contribute to something like this. If it's in your league, Mulligun, then my hats off to you :salute:
 
Last edited:
Back
Top