Using the debugger...

Ask questions, discuss ideas, get answers

Using the debugger...

Postby Swaffy » Tue Nov 13, 2012 5:57 am

I tried using the debugger today. Both in full-screen mode and windowed mode. But I failed at it.

My goal was to attempt to change the Willy's camera position, just to get a feel for the debugger and how it works. So I entered many different lines, all getting errors.

These are the lines I tried:
Object.active willy
Object.create willy
ObjectTemplate.active willy


I didn't try "ObjectTemplate.create willy" because I thought it would try to create a new object entirely. So how do I go about using this debugger? I searched a few places for something that could help but can't find anything. I found this topic (http://bfmods.com/viewtopic.php?f=6&t=1196&hilit=debugger) but it didn't help.

Every time I had to test and re-guess position coordinates, I simply started the game to test and shut it down to go edit the code for the hundredth++ time. I'm getting tired of doing this, and I am sure my fancy computer hates having to deal with the constant restarting of my game program. So, after 4 years, I've decided to work with the debugger.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Swaffy
 
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Using the debugger...

Postby Diamondback » Wed Nov 14, 2012 2:03 am

Sometimes simply running your game in windowed mode will give you an error prompt, with no debugger running. I'm curious about the actual abilities of this program.
See my Strasbourg map project here.
Diamondback
 
Posts: 524
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada

Re: Using the debugger...

Postby Swaffy » Wed Nov 14, 2012 2:44 am

Classical Modder wrote:Sometimes simply running your game in windowed mode will give you an error prompt, with no debugger running. I'm curious about the actual abilities of this program.

No, the in-game command prompt is telling me there's an error with my syntax. That just means I don't know how to use it. ;)
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Swaffy
 
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas


Return to 1942 Modding Discussion

Who is online

Users browsing this forum: No registered users and 18 guests