Ritualistic Forums

Go Back   Ritualistic Forums > Ritual Entertainment Games > Condition Zero & CS Xbox

Reply
 
Thread Tools Display Modes
Old 07-22-2004, 05:55 PM   #1
dead_bwoy
Casual
 
Join Date: Jun 2004
Posts: 41
Default Problem with Hammer: DS maps

I'm just learning hammer editor, and I've created my first DE map for CS:CZ, and now I'm working on a custom map for DS. I've created a super basic map with a spawn point and a monster, but I'm not getting any weapons at spawn! I'm using a trigger_once (target: player_spawn), trigger_sequence (name: player_spawn, sequence file: czds_dead.seq, sequence: level_start), game_player_equip (name: equipStart, #HP 100, give some stuff), and I also threw in an info_map_parameters (Weapon Buying: Neither CT's nor T's can buy). I spawn with the monster fine, but I get no weapons! my czds_dead.seq file looks like this:

// $position = .8 .8
// $fadein = 1.5, holdtime = 2, fadeout = 0.5
// $color = 240 100 0, color2 = 0 100 240

%level_start
{

#pause = 10

#firetargets = "equipStart"
#pause = .25
}

Any ideas?

EDIT:
Fixed by deleting trigger_once & trigger_sequence, then changing the name field of game_player_equip to "game_playerspawn."
dead_bwoy is offline   Reply With Quote
Old 07-22-2004, 09:47 PM   #2
jimmyjoebob
Rookie
 
Join Date: Apr 2004
Posts: 23
Default Re: Problem with Hammer: DS maps

EDIT: add a flag to player aquip and see if that works.
jimmyjoebob is offline   Reply With Quote
Old 07-24-2004, 03:08 PM   #3
dead_bwoy
Casual
 
Join Date: Jun 2004
Posts: 41
Default Re: Problem with Hammer: DS maps

Ok, now I'm trying to create a spectator mode when a player dies using trigger_cameras. Will game_playerdie work as a trigger for this spectator mode? Which would work better, a scripted_sequence or a trigger_relay?

I'm off to do research and will be checking back often for help.
Thanks,
Dead
[img]/forums/images/graemlins/confused.gif[/img]
dead_bwoy is offline   Reply With Quote
Old 07-24-2004, 06:30 PM   #4
kanaeda
Veteran
 
kanaeda's Avatar
 
Join Date: Apr 2002
Location: Seattle, Washington
Posts: 382
Default Re: Problem with Hammer: DS maps

I'm not 100% on this, but I don't think there is support for any kind of multiplayer-style spectator camera after you die in a single-player DS map.
kanaeda is offline   Reply With Quote
Old 07-24-2004, 07:24 PM   #5
dead_bwoy
Casual
 
Join Date: Jun 2004
Posts: 41
Default Re: Problem with Hammer: DS maps

well, i was just thinking about this, I'm going to try to make some sort of loop using game_playerdie which will trigger a trigger_camera that will hold for say 10 seconds, then activating a second info_player_equip giving them more health and "respawning" the player at a spawn point using a saved game, or more likely, a teleporter... I am pretty much a noob at this so if anyone has any advice on how to use these entieies or how a respawn could be tricked (day of defeat style), please post!

PS: does anyone know the propper use of mp_forcerespawn [0/1]? And DS DOES use game_playerdie right?
dead_bwoy is offline   Reply With Quote
Old 07-24-2004, 09:16 PM   #6
kanaeda
Veteran
 
kanaeda's Avatar
 
Join Date: Apr 2002
Location: Seattle, Washington
Posts: 382
Default Re: Problem with Hammer: DS maps

I'm even more sure now that this isn't going to work. You can't manipulate the player after he dies in a single-player game. It just doesn't work that way.

This page should help out with what specific entities can and cannot do...
VERC Collective

You need to think of the Deleted Scenes missions as a Half-Life total conversion, as opposed to a branch of Counter-Strike. Very little functionality is shared between the two. Things like spectating and respawning that you would see in multi-player games/mods generally are not going to be supported in DS.

kanaeda is offline   Reply With Quote
Old 07-24-2004, 10:10 PM   #7
dead_bwoy
Casual
 
Join Date: Jun 2004
Posts: 41
Default Re: Problem with Hammer: DS maps

so this would definatly need a hook dll...
any experienced coders in here?

EDIT:
I seem to remember someone saying the DS code is pretty similar to the "Spirit of Half-Life" mod, which just so happens to be open source... Would this be worth looking into for coding a multiplayer mod? I wish I could code, it just doesn't seem like something I could pick up in a couple days... Most coders I've come in contact with have been coding for a very long time.
dead_bwoy is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:21 AM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.