Map command in CFG

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
LilWhiteMouse
Posts: 2270
Joined: Tue Jul 15, 2003 7:00 pm
Location: Maine, US
Contact:

Map command in CFG

Post by LilWhiteMouse »

How do I automatically start on a certain map from a *.cfg file? I thought it would simply be including the line "map map02" but that doesn't work.
User avatar
Bashe
Posts: 1680
Joined: Mon Nov 10, 2003 11:32 am
Location: Ohio
Contact:

Post by Bashe »

You could make a shortcut of your Zdoom.exe to include -file [wads] and -warp 2...but I'm sure you aren't looking for that.
User avatar
LilWhiteMouse
Posts: 2270
Joined: Tue Jul 15, 2003 7:00 pm
Location: Maine, US
Contact:

Post by LilWhiteMouse »

I want to use a CFG to start my project with the chase cam already on, and avoid using a batch file. I can't turn it on and let the player start a new game because that turns the chase cam off.
User avatar
Shadelight
Posts: 5113
Joined: Fri May 20, 2005 11:16 am
Location: Labrynna

Post by Shadelight »

Apothem made a chasecam script awhile back...look around for the ACS Prefab Database thread.
User avatar
LilWhiteMouse
Posts: 2270
Joined: Tue Jul 15, 2003 7:00 pm
Location: Maine, US
Contact:

Post by LilWhiteMouse »

It seems much to unstable and I don't know how to improve on it.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Feature request? (unless you already have)
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

KingofFlames wrote:Apothem made a chasecam script awhile back...look around for the ACS Prefab Database thread.
You do realise you're talking to the queen of ACS, right?
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Post by Ryan Cordell »

Whoa, Solarsnowfall's king of ACS then. Where's the ring? ;)
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Post by Phobus »

They haven't scripted one of those yet :P
User avatar
solarsnowfall
Posts: 1581
Joined: Thu Jun 30, 2005 1:44 am

Post by solarsnowfall »

LilWhiteMouse wrote:It seems much to unstable and I don't know how to improve on it.
Yea, best to use the standard ZDoom chasecam. I have made a much more complicated version of it, that is quite a bit more stable. But it's so convoluted that practically nobody could use it.
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

solarsnowfall wrote:I have made a much more complicated version of it
:?

The simple version:

Code: Select all

y=sin(inv(playernumber()+getactory())*(PI+pow(tan(1.0),_cos(getactorx(players[playernumber])*1.0);
x=abs(_cos(pow(1.0,tan(campos[POS_X]))+10.0))*getactorx(players[playernumber()])+_cos(PI));
thing_move(players[playernumber],x,y,MOVE_NOFOG);delay(1);
Okay so I just made that up, but that's what I remember it looking like when I saw it.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

How about providing readable code?
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

It was a joke, the original chasecam script was unreadable even to me.
Locked

Return to “Editing (Archive)”