PDA

View Full Version : Unarmed player without causing harm.


Commando Nukem
10-26-2006, 08:37 PM
Is there a way to not cause the player harm and disarm him at the begining of a map? I was thinking via some cod editing (Ifpal 6 disarm... something like that in code).

Is this possible? Im no con coder, but I am trying to fiddle with things as best I can, I could really use this for my first level in my current project.

Thanks in advance for any help anyone can offer. :)

Mblackwell
10-26-2006, 10:07 PM
You could sink the sector that the HURTRAIL texture is on a bit and place a sprite over it, or teleport the player immediately to a new sector. These are both simple mapping tricks that have been used since forever.

Commando Nukem
10-26-2006, 10:44 PM
Ahhh, I was aware of the teleportation trick didn't know you could just put a sprite over it and it'd work. Thanks!

Is that how it was achieved in Starship troopers? I spent several days roaming the con files trying to find out where they had changed whether player took damage or not.

This'll help me quite a bit in creating the "story" feel. I did sorta want to have it triggered through some other means. Mostly just for the sake of not having to use map tricks, it requires altering of the map in someway to create the effect (EG: lowering the floor or teleporting.).

This is my first real time going through game con and messing with things. Trying to get the LIZTROOP to drop Pipebombs, im trying to create a "Grenadier" type of character, hes not really supposed to drop them near the player, just run around and drop them randomly. If this doesn't work the way I want it then i'll go back to just having him drop medkits... Its hilarious some of the things that end up happening while messing with various variables.... I accidently replaced the "Running" with the "Suffering" so everytime a liztroop came near me he choked and died.

DeeperThought
10-26-2006, 11:02 PM
Is that how it was achieved in Starship troopers? I spent several days roaming the con files trying to find out where they had changed whether player took damage or not.


Those con files were run through a program that removed all the formatting. And you spent several days "roaming" them...:insomnia::insomnia::insomnia::insomnia: Not the best use of your time.

If you want to do it with code, here's an example from the wiki that does exactly what you want; all you would need to adjust are the VOLUME and LEVEL numbers: http://wiki.eduke32.com/Gotweapon

Commando Nukem
10-27-2006, 12:22 AM
Those con files were run through a program that removed all the formatting. And you spent several days "roaming" them...:insomnia::insomnia::insomnia::insomnia: Not the best use of your time.

If you want to do it with code, here's an example from the wiki that does exactly what you want; all you would need to adjust are the VOLUME and LEVEL numbers: http://wiki.eduke32.com/Gotweapon

Excellent! Thank you. :)