#2922 posted by yhe1 on 2020/11/03 00:18:54
sorry about that preach, I have attached a screenshot of the post I am referring to here:
https://www.dropbox.com/s/prktt4jytqcx2ix/madfox%20question%201.jpg?dl=0
The picture of the monster is here:
https://www.dropbox.com/s/w1ko4srdjqajm6y/projectile.GIF?dl=0
So basically, the three fireballs in the picture should be voreballs instead of straight projectiles.
They're not going to move diagonally if they're homing.
Please Stop Trolling Me
#2924 posted by Preach on 2020/11/03 00:47:23
Your screenshot includes madfox's post, my reply, and madfox thanking me for my answer. Until you post a new question with parts a), b), c) and d) I will consider the matter closed.
#2925 posted by yhe1 on 2020/11/03 01:06:51
I am not trolling with you preach. Madfox asked you the wrong question because I gave him the wrong info. The question was never "to make the Projectile move diagonally" but rather "how to make that monster throw three voreballs"
#2926 posted by Preach on 2020/11/03 01:10:59
a) What are you trying to achieve? answered
b) What have you already tried?
c) What did you expected to happen?
d) What actually happened?
Chasmblage
#2927 posted by madfox on 2020/11/03 11:30:38
Sorry for the delay, but my emails got bumped after my last experiment with the turntwig.
I could make more poses for it, but daytime life forced me into a nasty sitepath.
At this moment I'm working on the last end boss worm, and this one is more intensive, as it needs more parms as the usual monster.
What the question concerns..,
what have you already tried?
Give a monster a three lavaball attack using the scrag code.
what did you expected to happen?
Three lava balls launched at the same time.
what actually happened?
Easy to avoid the attack.
It seems yhe1 wants to use the vomit attack, that's two times higher than my hat. :P
#2928 posted by yhe1 on 2020/11/03 19:53:14
By vomit attack you mean "vore attack", right, madfox? I checked in DOS Chasm, the three fireballs are similar to voreballs with homing.
#2929 posted by madfox on 2020/11/04 13:31:30
I just wondered how to repeat this vote ball attack three times to be launched simultaneously.
Phantom Fear
#2930 posted by madfox on 2020/11/04 23:28:47
Second answer was not true.
I used a modified code to launch a single phantom_shot one frame after another.
After adding a phantom_shot void I made the attack scene:
void() fant_atk2 =[ $atk2, fant_atk3 ] {PhanMissile(1);};
void() fant_atk3 =[ $atk3, fant_atk4 ] {PhanMissile(0);};
void() fant_atk4 =[ $atk4, fant_atk5 ] {PhanMissile(-1);};
The spread shot came from the (1) (0) (-1) addon.
Now I changed the fant_shot into the one a vormit uses to launch a vore ball.
This works as intended.
pro: I have a monster launching three voreballs.
quo: they don't launch at the same time (I don't mind).
They don't spread anymore on the (1)(0)(-1) arg because the voreball code has three statements, that specify their behaviour.
So what the code misses is the statement of the ShallHome statement of the vormit to include a spread shot and (if possibel) at the same time.
Replace PhanMissile With ShalMissile
#2931 posted by Preach on 2020/11/05 21:38:13
n/t
So I Did..,
#2932 posted by madfox on 2020/11/06 01:14:09
I renamed the ShalMissile code to PhanMissile and now there are three vorbal attacks slightly after each other.
Now idea how to launched them at once, nor how to spread them.
Solutions
#2933 posted by Preach on 2020/11/06 08:47:27
To have three launch in the same frame just call run the code three times.
ShalMissile();
ShalMissile();
ShalMissile();
To have them launch in different places change
missile.origin = self.origin + '0 0 10';
to
missile.origin = self.origin + '0 0 30';
or
missile.origin = self.origin + '0 0 -10';
#2934 posted by madfox on 2020/11/06 17:07:46
I might be a dumbass.., I tried
void() fant_atk2 =[ $atk2, fant_atk3 ] {PhanMissile(); PhanMissile(); PhanMissile();};
but only one voreball appears.
No that makes 3 voreballs appear at the sane time and in the same place.
Right
#2937 posted by madfox on 2020/11/06 18:47:47
I see only one. And for clearance, I rewrote the shalMissile to PhantMissile. This gets a bit hazardeous.
Think I'll just stick with a launch apart way.
I see only one.
That's because they are all in the exact same position.
Simple Logic
#2939 posted by madfox on 2020/11/06 19:52:17
So useless as it causes only extra dmg.
Thank for explain.
#2940 posted by khreathor on 2020/11/09 12:27:18
Is there a way to quit intermission without a map restart? I was reading engine code and it looks like it's not possible. Once you enter intermission state, you have to restart or load a new map.
...but maybe I'm missing something and there is a way?
ps. through custom progs of course. I know FTE can do this... but I want some general solution
#2941 posted by khreathor on 2020/11/09 22:04:37
Alright... so as I though, there is no way.
Not Really
#2942 posted by Preach on 2020/11/09 23:45:39
One of the problems is that you probably can't send standard clients an "undo intermission" message even if you can get the server on board.
I mean, if all you want to do is put some centerprint text on the screen while the player can't move, you could maybe use cutscene code to "simulate" being in an intermission. But if you want all the scoreboard stuff then I think you're right that there's no way to achieve that in standard quake.
#2943 posted by mankrip on 2020/11/10 19:25:13
What are the recommended non-commercial ("free" as in beer) tools for compiling vanilla WinQuake nowadays, without the x86 ASM code?
Is there an updated tutorial anywhere?
While I'd like to take advantage of new features such as multicore support, I also wish to retain as much backwards compatibility as possible (Windows XP support, etc).
Armor Upgrades In Id1
Can someone explain what this is doing in armor_touch?
if (other.armortype*other.armorvalue >= type*value)
return;
I do understand if your red armor drops below a certain amount you can pickup yellow which lowers your armortype to 0.6 from red's 0.8. I assume this the line that controls this?
Also, I am aware this was replaced in Copper. I'm just looking to understand this a bit more clearly.
#2945 posted by Joel B on 2020/12/16 19:50:25
It's basically trying to help prevent you from screwing yourself by e.g. picking up 150 yellow when you already have 148 red. It's making sure that you're actually getting better damage resistance from the pickup.
Grappling Hook
I am trying to get a grappling hook working properly.
My last problem is that after you have shot your last hook (when ammo count is 0), it does not let you detach from the hook any more by pressing "attack" one last time and switches to another weapon instead (while you remain attached to the chain).
Maybe someone can look at my code and check what's wrong or what needs to be changed?
QC file (5 KB):
https://mega.nz/file/NcoQDZRQ#F3uze1lnu2mVNVKuYmxTeNkZEQ_k5oaQ6LqOF9PJrB8
Possibly relevant variables from defs.qc:
float DROIDMODE_GRAP;
float DROIDMODULE_GRAP = 1;
float GRAP_OUT = 1;
float GRAP_STUCK = 2;
float MOVETYPE_FLYMISSILE = 9;
float MOVETYPE_NOCLIP = 8;
float MULTI_MODE_CHOMPING = 16;
float MULTI_MODE_SCORPION = 8;
float SOLID_SLIDEBOX = 3;
float SVC_FINALE = 31;
float TEAM_WHITE = 1;
|