Creating new Monster, decorative items, weapons and keys

A forum about everything related to the Cafu World Editor CaWE: mapping, editing, scripting, making GUIs and fonts, using the BSP, PVS and Light compilers.
User avatar
Carsten
Site Admin
Posts: 2143
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: Creating new Monster, decorative items, weapons and keys

Postby Carsten » 2010-09-24, 20:07

Scorphame wrote:Add keys for open doors in the game, make a key entity and use it in some doors (Maybe the action will be do with scripts)

Well, I'd make them analogous to ammo and other items: You pick them up by walking over them, and the kind and/or amount of keys picked up is recorded in the players inventory. Check the Cafu DeathMatch source code for examples for ammo and other items.

When the player then reaches a door, you'd have to check (using the doors entity attributes) whether the player has the key that is required to unlock the door.

Hey and We will use 1 of your maps (we will change the textures and we will modify the map) can we do that or not?

As I wrote per email, yes, you can do that. :cheesy:

other Thing... Is possible to make elevators?

Yes, see the small sample in the TestPatches.cmap (and related script that activates it), the elevator platform moves when you activate it in the nearby GUI, you can activate it when you are beside or on the platform.
Best regards,
Carsten

Return to “Editing and Mapping with CaWE”

Who is online

Users browsing this forum: No registered users and 2 guests