News | Forum | People | FAQ | Links | Search | Register | Log in
Coding Help
This is a counterpart to the "Mapping Help" thread. If you need help with QuakeC coding, or questions about how to do some engine modification, this is the place for you! We've got a few coders here on the forum and hopefully someone knows the answer.
First | Previous | Next | Last
I'll Do It 
Thanks! 
 
Drugod, you should still give ericw's compilers a try. They work if you add the -hexen2 argument to qbsp. Theyre better than the original compilers cause theres a lot more useful lighting options like sunlight, bounce, wait, delay, etc. Also you dont have to use Quark, Trenchbroom works perfectly fine with the game. 
Enemies Only Getting Hurt/killed By Certain Weapons 
I had an idea where certain enemies could only be killed by specific weapons, but I don't know where I'd look to get that implimented. I somewhat have an idea on how (having the monster check for a classname, then applying damage/killing it if matches), but I don't know the where.

Like let's say I want the Ogre to only be killed by the Rocket Launcher, where would I look to make that happen? 
Tddgst: 
the shambler currently takes half damage from explosions, if you can find where it does that you can probably expand the concept. 
Damage & Shielding 
I have a code to make the Shield Ogre only get hurt by nails and cells.

After you implement a few lines code into the weapons.qc it's easy to understand how it works.
I will have a look at it and turn it over. 
OK 
That took some houres to get together, but..,

here is the model of the EldenOgre, also ShieldOgre I made to acomplish the Q1Test I am remaking for Singleplayer.

Before I packed I made asure I worked with the right source, as shielding is a little tricky. Most of it takes part in the weapons.qc.
This Ogre is shielded for nails and grenades.

To make it a bit easier I added a ShieldCode.txt that clears up the four importance files ie.
AI.QC - ClIENT.QC - DEFS.QC - WEAPONS.QC - XOGRE.QC
This is stated by a "//start/end shieldcode" pointed on the start of the QC.

EldenOgre

Thanks to Ijed for the knowhow with QuakeReMake and the map. Thaks Metlslime for the Rubicon.code.
Thanks you little medieval shielded creep, yes! No gunpowder, just pure ancient power! 
#2899 @tddgst 
Did you had a notion how to change only the grenade imuninity? 
Help With Flying Npc 
Another question i have done a crow model, i would like to make it fly, landing on the ground, and randomly start again to fly, but how the hell can i make a flying monsters (as i have definied the crow) land on the floor and make it flyi again ? any suggestions? thanks a lot!! 
The Model Not Landing 
Crows 
Screenshots #16481, it is a bit wicked to change a walking model into a flying one. 
Maybe Its Not Necessary Change The Flag... 
but can move the model up and down? making landing or flying depending the animation. 
Fly_think Code 
Fly_monster works on a specific height, like scrags. You can make them fly a pattern with path_corners. The bad thing is you can't learn a flying monster walk tricks.

The Fly_think could make a solution. 
 
If it were me I would try to navigate the entity down until the bounding box resting on the ground, then stop moving the entity, and play a "landing" animation on the model.

Flying creatures always seek the level of their self.enemy, so in Rubicon 2 I used a dummy entity as the enemy, to force the centurions to go up or down based on my desire. You could do something similar to help guide them to points where you want them to land. 
Thanks Guys! 
ill try thanks 
Reminding Crows 
Don't forget to look at the "camonball code" Triball mentioned in the scteenshots toppic # 16479 about the "Fly_Think_Code". 
Check This Guys! 
Hi i have finished the crown, hope you like it

https://www.youtube.com/watch?v=QfzAhgb40qk&feature=youtu.be

I should polish my code and ill share it if you need it 
They Look Good 
With a little tweaking and sound they make a scary impression. 
Drugod 
yeah looks pretty good! There seems to be an interpolation issue with the movement, do you by any chance have r_lerpmove 0 and r_lerpmodels 1? Generally they should both be set to 1 or both be set to 0. Otherwise, maybe this is an engine bug, i know there's the unsolved problem of falling scraggs looking choppy. 
Thanks Guys!! 
Thanks guys for the quick response and support, let me share with you guys the code, in case you need it feel free to use it.

https://mega.nz/file/LFBA3RgZ#fkh4722E3r-YvvkP0gIFQeVvLLCX5mtqO3I-to_YMWc 
@metlslime 
I have checked both variables and are setted to 1, anyway thanks for the advice idk this commands!

Thanks!! 
 
Is it possible to make a flying monster throw three voreballs at once? 
Yes 
 
 
:chadpreach: 
 
Preach, this is related to the question that Madfox's asked on 6/22/20, in which the a flying boss in Chasm fires three projectiles. I made a mistake and told Madfox that the monster fire three straight projectiles, but his missiles actually have homing capabilities, so it is like throwing three voreballs at once. If you can give madfox a hand it would be great. 
Hmm 
I felt a bit bad at being flippant before, but your last post hasn't really helped your cause here. You've redirected me without a link to a post from four months ago, which I replied to at the time...

Help me to help you, OK, help me to help you! This is a free service, so you'll get the most out of it by making it as easy as possible to assist you. I'd suggest compiling all of the following into a single post:
a) What are you trying to achieve
b) What you have already tried
c) What you expected to happen
d) What actually happened 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.