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
Sorry I Mean "any Idea? Thanks!" 
lol my mistake hehe 
Not Sure 
I once worked with hexen maps, but I used them in the Quark editor. It has a hexen2 input in a way that is easier to work with. After making the right setup it shows which errors are made.

Parsing brush could mean you are not on grid, or that two brushes are overlapping. Also there can be a leak warning. Fact is that when something is wrong the compiler starts giving messages that can be irrilevant.

Max_map_entities for instance means you are using more than 640 en (lights, func and monsters) which I can't imagine.

My idea would be: try Quark 64. I know it is not the best editor there is, but it is one that gives you an entry to hexen2. Use the hexen compiler in the setup and see for yourselve. You'll find out that a hexen map uses another format for entities, because you can't use a quake map layout as a start for a hexem2 map without changing specefic flags that quake uses.

Again, Quark has the specific flags already embedded in the hexen setup. 
Quark64 
Very Grateful For Your Extended Answer 
Hi madfox, thanks a lot, ill check all that you commented, hope it can works, the problem is that i have made initiallly the mod for quake and seems have problems to convert it to hexen 
Then 
You'll need to explore the hexen2 code.

Not an easy task, as it took me a long time to understand quake.qc only. 
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!! 
First | Previous | Next | Last
Post A Reply:
Name:
Title:
Body:
message
question
exclamation
idea
flame
noflame
error
skull
beer
moon
pent
rocket
sheep
pacman
pig
cheese
worldcraft
gauntlet
crate
pitfall
pimp
smile
cool
sad
frown
oi
yay
tongue
evil
wink
neutral
q1
q2
q3
ut
hl
cs
doom
dkt
serious
cube
Website copyright © 2002-2020 John Fitzgibbons. All posts are copyright their respective authors.