News | Forum | People | FAQ | Links | Search | Register | Log in
Mapping Help
This is the place to ask about mapping problems, techniques, and bug fixing, and pretty much anything else you want to do in the level editor.

For questions about coding, check out the Coding Help thread: https://www.celephais.net/board/view_thread.php?id=60097
First | Previous | Next | Last
 
I don't remember reviewing fc1... It's been a while since I played through any maps in quake actually.

Those barrels are decent, actually. I ended up figuring out how to make them out of brushes by looking at the wireframe in qme. 
@qmaster 
I use TB2, but I was able to achieve a (probably) similar effect with the basic vertex manipulation there. :)

Now i just have to cut my beautiful new barrel up into little chunks so it looks cool when you shoot it to bits! 
@Pritchard 
I'm not sure if you know this but a protip i recently found from Sleepwalker was: You can use CSG Merge to merge faces in Tb2! Make the diff sections of your geo then use merge to quickly extrude the brushes. Try it.

Also there are barrels in Hexen 2 that could probably be used as a template. I wonder if the map source is available? 
AD Entity Models In TB 
Hey, I loaded up the AD .fgd file and made a symlink of the "progs" folder into Trenchbroom's root directory assuming it would be able to find the models there, but it seems that it can't, where do I need to place it so that Trenchbroom will find them? 
#18910 
You don't need to symlink anything. Just make sure that TB knows where your Quake directory is and select the mod's folder here!

There are essentially two places where you need to set up your mods (at minimum): Under the map tab, where you select the mod folder, and under the Entities tab, where you select your entity definition file such as a .fgd or a .def

Hope that helps :) 
 
If I wanted to take away a players weapons after the end of a map, like what happens at the end of each episode in quake, what's the best way to do that?

Also is there a way to change the name of the start map that is automatically loaded when quake starts, or does it always have to be called "START" ? 
 
best way to do that is to give the player a rune and use the info_player_start2 entity

also I'm pretty sure that you can set the start map in the autoexec.cfg... not certain though. 
 
"map start" is hardcoded in the engine for when you start a new game through the menu 
There's A Way To Take Weapons 
Preach might remember better but I believe a trigger hack with negative items might do the trick to act as a weaponstrip.

info_notnull:
think InitTrigger
nextthink 0.2
touch weapon_touch
items -2048 (add weapon numbers here) 
Hmm 
Actually I don't think that would work, not sure how bitwise | treats negatives. 
 
Hmm interesting, thanks guys. We will probably use the rune method unless we can work out a hack (this is for QUMP) 
Hint 
Try looking at DecodeLevelParms in client.qc. This is entirely a QC controlled thing, you don't need a hack. 
#18912 
some engines (ie: fte+dp+qss) have startmap_sp and startmap_dm aliases, which can be set eg:
alias startmap_sp "map foo"
which should normally be done in your mod's default.cfg file.

the engine then goes and executes those aliases instead of directly loading the regular start map.
an alias instead of a cvar allows you to reset various other cvars before the map loads (or plays a demo/intro first or whatever).

as far as the engine is concerned, map start isn't otherwise special.

as far as the vanilla qc is concerned, players will always spawn with default weapons on start.bsp, the qc prevents any weapons from other maps from being restored on the new map.
It should be relatively simple to create a trigger to remove items, but it'll still need custom QC.

If you're looking for a hack to remove the player's weapons+ammo+armour without using start.bsp and without custom QC, you might be able to achieve that by killing the player with an insta-gib trigger_hurt overlapping a trigger_changelevel. Both triggers need to be touched within the same touchlinks call - otherwise the player will become non-solid and be unable to trigger the other trigger (teleporting the player into a room containing both triggers should do it reliably enough).
(obviously this requires a map change) 
Corps_removal 
I need a reminder here.
corps_removal added to the death_frames, and an update to defs.qc.

I forgot how, anyone who can light up my little light? 
Coding Help: Are You Wanting To Remove Corpses? 
You could create a body_fade function and adjust the alpha.

body_fade = {
self.alpha = self.alpha - 0.1;
if (self.alpha < 0.1) {SUB_Remove (self); return; }
self.think = body_fade;
self.nextthink =time + 1.00;
};

Then in the death function of a monster you could add something like this:

void() madfox_die8 = [89, madfox_die8] {
// Fade slowly
if (cvar("fade_corpse") == TRUE) {
self.think = body_fade;
self.nextthink = time + 0.1;
} else {
// Just remove after 30s
if (cvar("fade_corpse") == 2) {
self.think = SUB_Remove (self);
self.nextthink = time + 30;
}
}
}; 
Hey Yeh. 
Thanks for your guesture, qmaster.

After digging deep this came up:

Add to defs.qc
void () CorpseThink =
{
self.think = SUB_Remove;
self.nextthink = time + 30 + random() * 30;
};

All death frames monsters

void() sham_death11 =[ $death11, CorpseThink ] {};


I knew it was something simple.
Thanks anyway. 
Issues With QUARK 
Hey everybody,

I'm having issues using Quake Army Knife. It's giving me an error regarding the palette whenever I try to open a WAD for Quake 1, and says that it could not find the palette.lmp file. I don't know exactly how to fix this, but all the textures are unreadable until I do. If anybody could help me figure out how to fix this, that would be great! thanks! 
A Dude 
Sounds like Quark cannot find/read your id1/pak0.pak So check your paths.

Maybe you are using the wrong version of the proggie? IIRC you need a specific version to use it with Quake 1. 
 
yeah, the only thing you should need to do is set the path for Quake 1. Similar to this screenshot except Q1 instead of Q2: http://quark.sourceforge.net/infobase/intro.configuration.games.specificgames.html

once the game path is set correctly, the texture browser should automatically load all of the textures from the base game. 
Custom Quake 1 Model Doesn’t Show Up Correctly. 
Custom Quake 1 Model Doesn’t Show Up Correctly. [EDIT]
Posted by Rizzoislandgame [204.96.25.221] on 2017/09/23 21:47:56
First post yay!

Anyways, I put a static model into the game and no matter how many times I try to make the texture work it has 1 side that shows up, but the other side is completely black. I used blender, used the Smart UV map creator function, used gimp to make the texture, and exported using a MDL plugin for blender. It just doesn’t want to display correctly! I’m at work right now so I can’t post pics, but if it’s necessary to show them I’ll get them out tomorrow. 1 more thing, I made sure the texture was compatible with the quake palette.

Thank you! 
Flood Fill 
One thing that can ruin your day with skins (especially placeholder skins) is the floor fill feature. Some engines attempt to replace the bright blue background some original Quake models had on their skins, because it looks ugly when seams show. They do this by flood-filling the skin with black, starting from the top left corner of the skin.

This can wipe out actual visible portions of the skin if they are painted with a continuous block of colour which extends to the top-left corner. A reasonable workaround is to paint just the top left pixel in a different colour to the adjacent pixels, so that the flood fill is contained. 
 
Thanks man! I’ll try that! 
Re:Flood Fill2 
I assume the color has to be on the palette.imp right? 
Yup 
That's right. Incidentally, what tools are you using to make the model? Most of them enforce that palette thing for you... 
1 post not shown on this page because it was spam
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.