Search found 53 matches

by determin1st
Mon Dec 27, 2021 9:00 pm
Forum: Scripting
Topic: Having a bit of a problem with calculating a pitch.
Replies: 12
Views: 2851

Re: Having a bit of a problem with calculating a pitch.

i bet it's not "perfectly tracking" because it's only a few seconds in there, also, the last part, the A_FaceTarget has 0 ticks but the next tick starts using angle (which is not determined yet?) maybe add one tick to the A_FaceTarget or wrap it in a face-spawn loop, one after another. also it's not ...
by determin1st
Sat Dec 25, 2021 1:24 pm
Forum: Creation, Conversion, and Editing
Topic: ACC goto support patch
Replies: 10
Views: 6333

Re: ACC goto support patch

times ago one man showed me how to avoid goto's :] 's like while (something) { // ... if (thing) {break;} // ... if (anotherThing) {break;} // ... break; } got some lengthy script, throwed it with shovel hah, about 800 lines, but even this tech not applied in there.. i would like to have some long ...
by determin1st
Thu Dec 16, 2021 4:47 pm
Forum: Scripting
Topic: NOBLOCKMAP unclear description
Replies: 3
Views: 667

Re: NOBLOCKMAP unclear description


watched this, to get some info.. it's that G thing..
by determin1st
Thu Dec 16, 2021 1:18 pm
Forum: Rules and Forum Announcements
Topic: ZDoom Wiki Thread
Replies: 888
Views: 240531

Re: ZDoom Wiki Thread

https://zdoom.org/wiki/User_variable

user_* variables are inherited by child actors

(it's not mentioned anywhere)
by determin1st
Tue Dec 14, 2021 7:26 pm
Forum: Scripting
Topic: Calculating movement distance from mass & velocity
Replies: 4
Views: 658

Re: Calculating movement distance from mass & velocity

a distance passed, generally, doesn't depend on mass much. a greater mass with the same velocity is able to travel greater distance (heavier bullet flies further) overcoming air resistance. the gravity pulls object down to the ground, so i assume that changing z velocity to mySpeed will make object ...
by determin1st
Mon Dec 13, 2021 1:03 pm
Forum: Scripting
Topic: ACS checking which sourceport?
Replies: 24
Views: 5591

Re: ACS checking which sourceport?

@Caligari, i'm pretty sure we are left behind long time ago, that's a realism situation :) 32 units man, not 64
by determin1st
Mon Dec 13, 2021 10:02 am
Forum: Scripting
Topic: ACS checking which sourceport?
Replies: 24
Views: 5591

Re: ACS checking which sourceport?

Code: Select all

function int isZandronum(void)
{
	return GetCVar("CL_TicsPerUpdate");// 3=default for zandronum, 0=gzdoom (not defined)
}
by determin1st
Mon Dec 13, 2021 9:29 am
Forum: Scripting
Topic: Spawn function and replacements
Replies: 12
Views: 1506

Re: Spawn function and replacements

What are you trying to do? There is a unfinished "Revolver" actor in BD wad/pk (also Revolver2, RevolverAmmo and some other unused actors) they are not in the map, anywhere (not given), so i just want to replace it with my test actor with the same name. That works in zandronum -file BD.pk3 replace ...
by determin1st
Mon Dec 13, 2021 6:32 am
Forum: Scripting
Topic: Spawn function and replacements
Replies: 12
Views: 1506

Re: Spawn function and replacements

I have never had a problem using the various spawn functions with "replaces" actors. Spawn, Spawnspot, SpawnSpotForced etc all give me the replacement, not the original. So I suspect that something else is happening here. i've got an error in gzdoom 4.5.0, excluding all the oranges, the red one is ...
by determin1st
Mon Dec 13, 2021 6:01 am
Forum: Scripting
Topic: SNDINFO frustration
Replies: 3
Views: 356

Re: SNDINFO frustration

i like $random thing, it brings more dynamic to the sounds produced. the doc doesn't specify limit though, i bet there is some.. putting tabs/spaces for readability is also good (i prefer tabs :) )
by determin1st
Sun Dec 12, 2021 4:03 pm
Forum: Scripting
Topic: A_ZoomFactor is weird
Replies: 2
Views: 391

Re: A_ZoomFactor is weird

that's probably because of fixed point, you can't return fixed point from ACS in zandronum. what you can is to return integer properly aligned and multiply it in decorate.

ACS: SetResultValue(100 - 10); // 90

DECORATE: A_ZoomFactor(0.01 * CallACS("myzoom")) // 0.01 * 90 = 0.9
by determin1st
Sun Dec 12, 2021 12:10 pm
Forum: Scripting
Topic: Spawn function and replacements
Replies: 12
Views: 1506

Re: Spawn function and replacements

i think it's gzdoom problem, because i have a GiveInventory() script which gives a weapon on map start that should be (i guess) replaced, but not. giving it some unique name will work but.. kinda :shock:
by determin1st
Sun Dec 12, 2021 11:19 am
Forum: General
Topic: ZDoom project ideas you have
Replies: 5360
Views: 691014

Re: ZDoom project ideas you have

i didn't reach to that point yet.. here's the point i reached so far - putting markers photo_2021-11-23_17-05-52.jpg video with markers test lwGrA_2hIGs green - stable bullet (pure ricochet) blue - unstable bullet peice (ricochet or penetration) violet - bullet scraps (ricochet or penetration) red ...
by determin1st
Sat Dec 11, 2021 3:58 am
Forum: General
Topic: ZDoom project ideas you have
Replies: 5360
Views: 691014

Re: ZDoom project ideas you have

bullet ricochet and penetration sketch :mrgreen: Just remember that a lot of bullets will act more like pee on the wall of a urinal than pool balls on the sides of the table... i didn't reach to that point yet.. that scheme's only for determining alpha angle, here's another one i sketched, so it ...
by determin1st
Fri Dec 10, 2021 8:54 am
Forum: Gameplay Mods
Topic: Head Boxes and Dead Boxes [Updated 1/1/22]
Replies: 6
Views: 2037

Re: Head Boxes and Dead Boxes [Updated 12/10/21]

:D later later, i'm working on projectile ricochet

Go to advanced search