Welcome, Guest. Please login or register.

Pages: [1]
Print
Author Topic: Proposal: Console  (Read 4197 times)
zenbitz
Community member

Posts: 1164



View Profile
« on: October 19, 2009, 02:44:15 AM »

I know I have brought this up before, but now it's going to be offical.
We need a console in the game - at least in the dev version - that allows people to execute commands on the game.

At a minimum, there needs to be a wrapper over the gamestate and PC/NPC API such that writers/devs can test different games states with actor behavor (including dialogue files).

Types of commands to execute:
- teleport player to map Z, position (x,y) - (i.e, change map)
- teleport npc to map position (x,y) on current map
- get/set states of player stats, skills, inventory (including wound states etc.)
- get/set states of NPC stats, skills, inventory, likes/dislikes/factions.
- get/set states of current quest objects
- add/delete quest objects
- get/set worldstates (set time, set weather, etc.)

All the usual cheat code like behavior, not sure if I've missed any critical ones.
I would be perfectly happy by just exposing the whole python API to the console, and let the typer beware.  But I know some of you programmer types get the heebie-jeebies about stuff like that.
Logged

We are not denying them an ending...
We are denying them a DISNEY ending - Icelus
Kaydeth
Community member

Posts: 185



View Profile Email
« Reply #1 on: October 19, 2009, 03:14:25 AM »

Hey Zenbitz. There is a console already. Hit F10 while playing. Type "help" for a command list. Feel free to create Trac tickets for any commands you think will be useful. Course we can't put the commands in yet if we don't have any implementation for it Smiley.
Logged
amo-ej1
Community member

Posts: 80


elie@de-brauwer.be
View Profile
« Reply #2 on: October 19, 2009, 07:44:38 AM »

At this point there's even a python command which simply eval()'s raw python code so if you can poke around deep enough you can already do everything-you-want (tm). But as Kaydeth said, it's only a matter of saying what commands you'd like to see.
Logged
zenbitz
Community member

Posts: 1164



View Profile
« Reply #3 on: October 19, 2009, 05:16:55 PM »

Are you trying to say "RTFM"?   Or perhaps this didn't get documented.
Logged

We are not denying them an ending...
We are denying them a DISNEY ending - Icelus
Kaydeth
Community member

Posts: 185



View Profile Email
« Reply #4 on: October 19, 2009, 05:34:38 PM »

#1 rule of talking to Kaydeth
Don't use internet acronyms.

What does RTFM mean?

Is the console documented? Probably not. We'll work on that.
Logged
zenbitz
Community member

Posts: 1164



View Profile
« Reply #5 on: October 20, 2009, 12:23:52 AM »

RTFM = Read The Fucking Manual...   I have to say it was equally likely that the console was undocumented or I didn't read the documentation....

No worries, I have been informed now.
Logged

We are not denying them an ending...
We are denying them a DISNEY ending - Icelus
amo-ej1
Community member

Posts: 80


elie@de-brauwer.be
View Profile
« Reply #6 on: October 20, 2009, 07:28:03 AM »

everything is clearly documented ... in python Wink

the game help  and the readme do mention the key to press to get  the console working (don't shoot me if i'm wrong here).
Logged
Pages: [1]
Print
Jump to: