PDA

View Full Version : Valve Hammer Editor


{SR} *Raggy*
01-02-2007, 11:07 PM
Does anyone have this? Do ye have anything with "trigger_teleport" in it? I can't seem to get it on Valve Hammer. I was editing some of the maps that I want to stay playing on my server(Mini_dust2, Spongebob, Hamsters etc) Anyone able to help me here?

=|[76AD]|= TatsuSaisei
01-02-2007, 11:33 PM
Does anyone have this? Do ye have anything with "trigger_teleport" in it? I can't seem to get it on Valve Hammer. I was editing some of the maps that I want to stay playing on my server(Mini_dust2, Spongebob, Hamsters etc) Anyone able to help me here?

What do you mean have anything with trigger_teleport in it ?? Are you asking for a map that already has one in it.. or are you looking for an updated .fgd file ?

And by editing, do you mean you succesfully decompiled the maps, or have gotten the source from the author ??

{SR} *Raggy*
01-02-2007, 11:53 PM
Decompiled it. There is some maps that are real bad with spawn camping and just want to fix that up...Make people teleport outta there spawn area (Where the opposite team can't get too)

It is a entity that is on Scooby_doo but can't get it on DoD for some weird reason

Box Cutter
01-03-2007, 12:13 AM
Decompiled it. There is some maps that are real bad with spawn camping and just want to fix that up...Make people teleport outta there spawn area (Where the opposite team can't get too)

It is a entity that is on Scooby_doo but can't get it on DoD for some weird reason

You can find it on dod_hill_classic. If Allies try to enter the Axis spawn you are teleported back to Allies Spawn.

{SR} *Raggy*
01-03-2007, 12:25 AM
Yeah I can find it but I can't get it with the Valve Hammer. I'm trying to get it into it without editing it into the bsp file

{SR} *Raggy*
01-03-2007, 12:29 AM
{
"origin" "-2280 -2872 -1584"
"targetname" "axistele"
"angles" "0 270 0"
"classname" "info_teleport_destination"
}
{
"model" "*74"
"style" "32"
"target" "alliestele"
"spawnflags" "16"
"classname" "trigger_teleport"
}

That is what is in the dod_hill_classic.bsp but I can't find that in the Valve Hammer Editor....

orbit
01-03-2007, 05:53 AM
In my mapping, I've found lots of bugs dealing with entities (some don't even work at all). I too, do not see the entity available in Hammer.

It's definitely in the fgd:


@SolidClass base(Trigger) = trigger_teleport : "Trigger teleport"
[
spawnflags(flags) =
[
8: "No Allies" : 0
16: "No Axis" : 0
]
]


Doubtful you'll ever get an ear at valve for fixing anything in DoD. Like I've said earlier, there's a lot of bugs that have been in there since day 1 that were never addressed.

Best bet would be to rip the bsp and manually put in your own (since the game engine understands it).

-O-

{SR} *Raggy*
01-03-2007, 08:32 AM
Alrite cool. I was actually looking at other tools for making maps. There is alot on www.fpsbanana.com/tools/search?qfield=tools.name&qstring= but I dunno what they would be like.

There is one called F.E.A.R. It's a really big file. Something like 640 mb. I might have a look into that program and see how that works :)

Zor
01-03-2007, 12:02 PM
Fear is a game...First Encounter Assault Reccon. Its one fucked up scarry ass game! If thats what it is, but if the spelling is F.E.A.R. Then thats what it is...

Cheers!

=|[76AD]|= TatsuSaisei
01-03-2007, 01:45 PM
oh ok.. I think I know your problem.. trigger_teleport is NOT a point entity... and you can not find it because you are treating it like one... setting up a trigger teleport requires using brushes to create an "area" and then the trigger_teleport is found in Solid Entity, the trigger_teleport_destination though is a point entity...

make a brush textured with AAATRIGGER and then turn it into a solid entity called trigger_teleport, set the flags for it to be team specific, then have it target a point destination...


GREAT, had me turn on Hammer and now I have the itch to map again...

I should post my maps here, I have one I know alot will like if you like skydiving at all...

{SR} *Raggy*
01-03-2007, 04:54 PM
Yeah send it over to me please and I'll put it on my 2 servers....My guys will get it popular on my servers :P And people also grab maps off me every once and a while so in no time you'll see your map all over the game :P

Thanks for the info there Tatsu I'll have to give it a try in a bit...Just need something to eat first :(

=|[76AD]|= TatsuSaisei
01-03-2007, 06:26 PM
Yeah send it over to me please and I'll put it on my 2 servers....My guys will get it popular on my servers :P And people also grab maps off me every once and a while so in no time you'll see your map all over the game :P

Thanks for the info there Tatsu I'll have to give it a try in a bit...Just need something to eat first :(

Here it is... I never got around to changing the "credits" so be aware, DragonReborn is my AKA from back when I was a part of the {GSR} clan.

This idea for the ground part of the map come from a good friend Rollin~Death, I established the freefall... put the two together and you have a very fun small map... look for some minor secrets....

http://customdod.com/maps/dod_rdfreefall.zip

{SR} *Raggy*
01-03-2007, 08:18 PM
I'm uploading the map now...I'll come back and let ya know how it goes on my server :P

{SR} *Raggy*
01-04-2007, 05:36 PM
That map is quite kool. I used to play a map with those kind of planes on TFC before. I can't remember the name of that map though...

I still have to try out the map with alot of people on the server. I'll try it out in a while when I get a few more on :)

Also I got a quick question for someone that knows some mapping. If you know Crossfire(Which everyone nearly does...) there is a nuke on that map. I was wondering if anyone knew how to make a nuke and a place to protect yourself from that nuke?

=|[76AD]|= TatsuSaisei
01-04-2007, 08:22 PM
If you know Crossfire(Which everyone nearly does...) there is a nuke on that map. I was wondering if anyone knew how to make a nuke and a place to protect yourself from that nuke?

lol, did you open the map with BSPedit and see what entities it was using.. ?



mostly it looks to be a shake and fade sequence and alot of trigger hurt zones...



{
"origin" "64 -2304 -1840"
"bunker_towerdoors#1" "54" <-- auto door control
"strike_ready_door" "2" <-- auto door control
"towers_button_doors" "2" <-- auto door control
"strike_timer_mmb" "55" <-- start a timer
"bunker_towerdoors" "47" <-- auto door control
"bunker_maindoor#1" "64" <-- auto door control
"strike_pain#1" "52.1" <--trigger_hurt zones
"strike_pain" "52" <--trigger_hurt zones
"strike_wav" "52" <-- sound effects
"strike_shake" "52" <-- shake effect
"strike_flash" "52" <-- fade effect
"strike_flybywav" "44" <-- sound effects
"bunker_maindoor" "20" <-- auto door control
"strike_siren#1" "45" <-- sound effects
"strike_siren" "0" <-- sound effects
"targetname" "strike_mm"
"classname" "multi_manager"
}
{
"origin" "96 -2336 -1840"
"rendercolor" "255 255 255"
"renderamt" "255"
"holdtime" "0"
"duration" "4"
"targetname" "strike_flash"
"spawnflags" "1"
"classname" "env_fade"
}
{
"origin" "128 -2336 -1840"
"frequency" "2.5"
"radius" "500"
"amplitude" "16"
"duration" "2"
"targetname" "strike_shake"
"spawnflags" "1"
"classname" "env_shake"
}

{SR} *Raggy*
01-05-2007, 12:22 PM
Ok I haven't tried that yet but I was trying something else which isn't working out great for me. I'm trying to make a area that will give you low gravity in just that area but it won't go away from outside that area.

Also I'm having a bit of a problem with the trigger_teleport. I have all them set but I just want to know do I make a trigger_multiple for all them or just one of them and put the name of what I called it in it?

{SR} *Raggy*
01-05-2007, 12:24 PM
{
"model" "*5"
"targetname" "5"
"style" "34"
"target" "5"
"classname" "trigger_teleport"
}
{
"origin" "-695 1465 -125"
"targetname" "5"
"angles" "0 0 0"
"classname" "info_teleport_destination"
}

That's the way that they are. One of them works perfect but I can't seem to get the others to work....

=|[76AD]|= TatsuSaisei
01-05-2007, 02:48 PM
well.. I would not use numbers as target names... that could cause problems... use a simple decriptive name... and the trigger looks to target itself as well, which will "toggle" it off by using it... first person to enter would teleport to destination and at same time disables the trigger field...
the next person goes through field and is not affected cause fisrt person "shut it off"

Each "area" that a player enters and you want them teleported needs to have its own "area" ... all the seperate areas can all target the ONE destination (though you might want a few extra destinations incase 2 people get teleported together you risk the chance of them both being put in same location and thus making both stuck)

fell free to post up your .rmf file ....

{SR} *Raggy*
01-05-2007, 09:47 PM
I've been trying to edit a map called mini_dust2. I've made the spawn areas differently as it was a terrible spawn area for both teams before. I have to also edit a stupid leak or something aswell cause of the way it was made. I'll have to do that tomorrow and then I'll post up the .map file on here and let ya look at it...

But thanks for the info Tatsu...I knew someone here would be helpful as always :)

{SR} *Raggy*
01-09-2007, 07:25 PM
Hey Tatsu thanks for the advice on the teleporting. It worked like a charm!! I'm only getting one problem with a map though.... Always when I load some maps it says that one solid couldn't load properly.... Anyway around this crappy error(If you know)?

=|[76AD]|= TatsuSaisei
01-09-2007, 07:59 PM
Hey Tatsu thanks for the advice on the teleporting. It worked like a charm!! I'm only getting one problem with a map though.... Always when I load some maps it says that one solid couldn't load properly.... Anyway around this crappy error(If you know)?

do you mean opening a decompiled map ?? What happens is when you compile a map and use special textures like NULL and such, those "faces" get stripped when the map compiles... when you decompile the map those missing faces are going to spit out errors when you try to open it in hammer... You are just going to have to find the brush that is causing the issue and remake it...

diamond-optic
01-09-2007, 08:17 PM
decompiling maps causes a lot of problems.. you get a lot of messed up vertices & invalid surfaces.. and in some cases it can almost double the polys in brushwork

{SR} *Raggy*
01-09-2007, 08:35 PM
Yeah I'll just have to actually get mapping on my laptop soon enough... Learn a bit about the entities first...

{SR} *Raggy*
01-16-2007, 05:57 PM
Alrite I've started mapping on my laptop but am fairly confused with the entities... Can you make them go all around a area... Lets say a spawn area for the player strip entitie... Like cover a few squares instead of just one...

Drek
01-16-2007, 06:21 PM
I don't know if it can be done this way, but this would be better if you could get it to work. You should try using Twilight Suzuka's Entity Manipulation plugin to add the teleporting to the map without decompiling and recompiling the map. Not only will you save yourself all the problems that decompiling causes, not to mention changing someone else's work without permission, but you will also save your clients having to download a new version of the map.

diamond-optic
01-16-2007, 08:24 PM
Alrite I've started mapping on my laptop but am fairly confused with the entities... Can you make them go all around a area... Lets say a spawn area for the player strip entitie... Like cover a few squares instead of just one...

i believe the weapon stripping entity needs to be triggered to activate..

not totally sure.. maybe it just strips the players weapons as they spawn/connect idk.. but if its a point entity.. id assume it needs to be triggered

and im too lazy to actually go look myself.. lol

tegu
01-16-2007, 08:40 PM
|= TatsuSaisei;3208']oh ok.. I think I know your problem.. trigger_teleport is NOT a point entity... and you can not find it because you are treating it like one... setting up a trigger teleport requires using brushes to create an "area" and then the trigger_teleport is found in Solid Entity, the trigger_teleport_destination though is a point entity...

make a brush textured with AAATRIGGER and then turn it into a solid entity called trigger_teleport, set the flags for it to be team specific, then have it target a point destination...


GREAT, had me turn on Hammer and now I have the itch to map again...

I should post my maps here, I have one I know alot will like if you like skydiving at all...

Yeah yeah yeah post de maps--- post de maps please!!!

orbit
01-17-2007, 05:53 AM
I've been able to add a weapon strip to a map, but it required a trigger multiple and a brush to tie it to.

IE:


{
"model" "*1"
"targetname" "WeaponStrip"
"spawnflags" "1"
"target" "strip"
"style" "32"
"teamonly" "1"
"classname" "trigger_multiple"
}
{
"origin" "0 0 0"
"targetname" "strip"
"classname" "player_weaponstrip"
}
{
"origin" "0 0 0"
"spawnflags" "1"
"targetname" "strip"
"weapon_colt" "1"
"classname" "game_player_equip"
}
{
"origin" "0 0 0"
"spawnflags" "1"
"targetname" "strip"
"weapon_amerknife" "1"
"classname" "game_player_equip"
}


If an allie touches the brush above (model *1), they trigger the weaponstrip (stripping grenades and primary weapon) and giving them a colt and a knife.

I didn't like the above method. If someone stays in the entity, they continually go through the motions of dropping a weapon (very annoying). My goal was to simply remove the nades for a particular side so I wrote my own plugin and controlled it with a cvar controlled with a MAPNAME.cfg file.

-O-

=|[76AD]|= TatsuSaisei
01-17-2007, 12:44 PM
i believe the weapon stripping entity needs to be triggered to activate..

not totally sure.. maybe it just strips the players weapons as they spawn/connect idk.. but if its a point entity.. id assume it needs to be triggered

and im too lazy to actually go look myself.. lol
I've been able to add a weapon strip to a map, but it required a trigger multiple and a brush to tie it to.
I didn't like the above method. If someone stays in the entity, they continually go through the motions of dropping a weapon (very annoying). My goal was to simply remove the nades for a particular side so I wrote my own plugin and controlled it with a cvar controlled with a MAPNAME.cfg file.

The following values can be used as the targetname of an event. Their event will be triggered under special circumstances.

game_playerdie
game_playerkill
game_playerjoin
game_playerspawn
game_playerleave

{SR} *Raggy*
01-17-2007, 02:27 PM
Sorry guys but I meant the entities that you put on with the entitie tool... Not the ones with the brush and entitie... Anyway to make them bigger

=|[76AD]|= TatsuSaisei
01-17-2007, 04:14 PM
Sorry guys but I meant the entities that you put on with the entitie tool... Not the ones with the brush and entitie... Anyway to make them bigger

there is no "size" with a point entity...

point entities either exist or they do not, there is no such thing as making one bigger... or smaller for that matter...

what was your original question if it wasn't answered before... ?

{SR} *Raggy*
01-17-2007, 05:32 PM
That was it...