Search found 55 matches
- Tue Oct 27, 2020 10:45 am
- Forum: Scripting
- Topic: [WIP] How to make a Fake OS in GdZdoom Whit ACS(or zscript)?
- Replies: 0
- Views: 165
[WIP] How to make a Fake OS in GdZdoom Whit ACS(or zscript)?
ok , i need help from the forum because i'm trying to do a hard project: how can i create a windows system similar to an operating system in zdoom? Now let me explain: WHAT I WANT TO DO: - In my game there will be parts in which the player will have to use PCs that will have a graphical interface ...
- Mon Oct 26, 2020 5:37 am
- Forum: Scripting
- Topic: font is scaled badly in acs
- Replies: 6
- Views: 396
Re: font is scaled badly in acs
i also asked the discord server but i'm stupid and i don't know what "Math "i have to do.
I'm not as smart as you want me to be, can you tell me the mathematical solution?
I'm not as smart as you want me to be, can you tell me the mathematical solution?
- Sun Oct 25, 2020 8:52 am
- Forum: Scripting
- Topic: font is scaled badly in acs
- Replies: 6
- Views: 396
Re: font is scaled badly in acs
ok, i found a way to fix it!
It was enough to change this setting to 2.0, by default it is 1.0
how can i do that in my mod by default it becomes 2.0?
It was enough to change this setting to 2.0, by default it is 1.0
how can i do that in my mod by default it becomes 2.0?
- Sun Oct 25, 2020 7:46 am
- Forum: Scripting
- Topic: font is scaled badly in acs
- Replies: 6
- Views: 396
Re: font is scaled badly in acs
ok, i tried to put 960x540 but it comes out ultra widened. One thing I noticed when entering 640x480 is that point 0 is not really at the top left of the screen (in 16:9) but 107 pixels ahead. Why? Using sethudsize(getscreenwheight(),getscreenheight()) instead appears at the actual point 0 . could ...
- Sun Oct 25, 2020 2:53 am
- Forum: Scripting
- Topic: font is scaled badly in acs
- Replies: 6
- Views: 396
Re: font is scaled badly in acs
I found a way using sethudsize ( getscreenwheight (), getscreenheight ()) and get a hud scaled correctly, but it gets smaller based on the screen. so if one plays with a 4k screen one will see extremely small elements. How can I solve in acs ? if the acs can't fix it, the zscript can ? if it can ...
- Sat Oct 24, 2020 2:00 pm
- Forum: Scripting
- Topic: font is scaled badly in acs
- Replies: 6
- Views: 396
font is scaled badly in acs
good evening,
I always use hudmessage() to make screen messages in acs, but only now have I noticed that putting the game at 16: 9 all text looks like ass!
trying to raise the resolution with sethudscale() makes the font too small.
How do I resolve?
I always use hudmessage() to make screen messages in acs, but only now have I noticed that putting the game at 16: 9 all text looks like ass!
trying to raise the resolution with sethudscale() makes the font too small.
How do I resolve?
- Wed Oct 21, 2020 3:26 am
- Forum: Scripting
- Topic: [UNSOLVED] 5 is equals 6.
- Replies: 12
- Views: 721
Re: [SOLVED] 5 is not equals 6.
ok, first of all i want to say that i managed to fix the problem with acs (i redid the script from scratch) then for those who tell me "why don't you send the complete code?", the forum won't let me. the code is over 7000 lines long and when I post it the forum deletes my answer (too long?) so I had ...
- Tue Oct 20, 2020 5:55 am
- Forum: Scripting
- Topic: [UNSOLVED] 5 is equals 6.
- Replies: 12
- Views: 721
Re: [UNSOLVED] 5 is equals 6.
ok, I answer your questions: 1 - The complete code is not "complete" By mistake I forgot to enter the global variables and those functions. here is the code you can run: #include "Mouse.acs" // See Answer 2 for this While(True) { delay(1); if(GuiMouse_PressLeft) // Global Variable from Mouse.acs ...
- Mon Oct 19, 2020 1:35 pm
- Forum: Scripting
- Topic: [UNSOLVED] 5 is equals 6.
- Replies: 12
- Views: 721
[UNSOLVED] 5 is equals 6.
Good evening, i am making a script that checks a simple number. When this happens to me: int ChoiceAmount = 5; if(ChoiceAmount == 5) { // Code... } else if(ChoiceAmount == 6) { // Code... } when it has to check if 5 equals 5 the code is executed . But the one below is also performed ! I tried to ...
- Sun Oct 18, 2020 7:19 am
- Forum: Scripting
- Topic: How to set a default Value for a Function acs
- Replies: 4
- Views: 343
- Sun Oct 18, 2020 4:30 am
- Forum: Scripting
- Topic: How to set a default Value for a Function acs
- Replies: 4
- Views: 343
Re: How to set a default Value for a Function acs
Then how is it possible that functions like "HudMessage" can have defualt values?
- Sun Oct 18, 2020 3:53 am
- Forum: Scripting
- Topic: How to set a default Value for a Function acs
- Replies: 4
- Views: 343
How to set a default Value for a Function acs
good morning, i'm trying to set a default variable for a function but i can't . function bool Gui_InputCode(int password, int wscript, int lscript=0) // Error here { //Code... } tells me this error: Missing ')' I have already searched in the forum and on the wiki but nobody talks about it. what did ...
- Tue Oct 13, 2020 5:57 am
- Forum: Scripting
- Topic: 3D Model don't rotate
- Replies: 1
- Views: 223
Re: 3D Model don't rotate
ok, i found out for myself that i had to add the flag "PITCHFROMMOMENTUM" in modeldef.
- Tue Oct 13, 2020 5:54 am
- Forum: Scripting
- Topic: 3D Model don't rotate
- Replies: 1
- Views: 223
3D Model don't rotate
good afternoon, i am trying to create a replica of the brutal doom tracers but the 3d model always looks straight ahead. the tracer looks from the direction where I shoot , but if I shoot up or down the tracer does not rotate nor is it for the x and y axis. here is the code: Class Tracer ...
- Sun Oct 11, 2020 2:31 am
- Forum: Scripting
- Topic: How to Remove Automap Whit Zscript
- Replies: 6
- Views: 598
Re: How to Remove Automap Whit Zscript
wow , these are a lot of answers! ok, let's take it easy: 1 - when i meant to remove the automap i meant to insert a cvar to allow the player to enable it or disable it, and then i did like this: KEYCONF: // Not Zscript but At Least Work. addmenukey "$OPT_CNTRL_MAP" maptoggle alias maptoggle "Test ...