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
It Worked! 
Thahnk you very much!
Tested it, you need to put sounds with respective filenames in sound/player directory. 
Hi! A Question 
Im trying to compile a map for Hexen II, its the same compiler than quake 1? Which must use for Hexen 2 and where can find it?

Thanks a lot 
Hexen Has Its Own Compiler 
Thanks @madfox 
Hi Madfox, thanks for the support

Ok i have try it with the "compiling gui" but seems it doesnt works...

"Copying Files...
1 archivo(s) copiado(s).
Converting map...
--------------QBSP--------------
outputfile: rites.bsp
************ ERROR ************
parsing brush
Press any key to continue . . ."

Needs a special line commands parameters?

Thanks again! 
Also With Other Compiler... 
i got this error:

"Converting map...
--------------QBSP--------------
---- qbsp ----
Project directory: C:\Users\agonagui\Desktop\Temp\Cosas\Hexen2_Dev\Working\
outputfile: rites.bsp
WARNING: brush plane with no normal
*** ERROR: ***
num_entities == MAX_MAP_ENTITIES"

its weird, due this map the same on quake engine works fine but ported to hexen 2 have this issue

any idea? thanks? 
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". 
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.