Pathnode and console question

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Vic Marrow
Colour Sergeant
Posts: 95
Joined: Wed Aug 20, 2003 2:31 pm

Pathnode and console question

Post by Vic Marrow »

Is it possible to spawn pathnodes into a map. If so, can you get map coordinates while in game using the console? Also I see that you can type in the console "editscript" and a window with your game script will appear. You can change the script there, but when I change the script it says "Do you wish to save changes? (yes/no/cancle)" How do you enter yes?
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

my guess would be to type yes in console.
Image
User avatar
Gold
First Lieutenant
Posts: 176
Joined: Sun Sep 28, 2003 8:10 pm

Post by Gold »

well i think ya type y then hit enter,,,just as ya type n and hit enter to not save
Gold<<mohha freak
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

save

Post by tltrude »

Just press Ctrl S to save it.
Tom Trude,

Image
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

that works tom? sweet i didnt know that.
Image
User avatar
Gold
First Lieutenant
Posts: 176
Joined: Sun Sep 28, 2003 8:10 pm

Post by Gold »

i tryed ctrl s in spearhead but its not saving it to the script?? box closes after pressing it so im sure im doing it right ??
Gold<<mohha freak
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

pathnodes can not be spawned , the game make a .pth file when it starts if there isn't one already .
Vic Marrow
Colour Sergeant
Posts: 95
Joined: Wed Aug 20, 2003 2:31 pm

Post by Vic Marrow »

What does the .pth file do? The reason I ask about spawning pathnodes is that I would like to battle in the MP Ardennes map. I like this map. But I can't play it on line it lags really really bad. I have spawned ai into the map but they will only fight in the one street area. I decompiled the map and in that area there are many pathnodes. I wish there were pathnodes all over the map. Can't add them in radiant cause you know what a mess it would be to fix.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Well spawning pathnodes makes mohaa crash, spearhead probably too.
Image
User avatar
Gold
First Lieutenant
Posts: 176
Joined: Sun Sep 28, 2003 8:10 pm

Post by Gold »

i think we should share what we learn that it might help others :))
i used above method in spearhead and nothing seemed to work,,,the problem was i was editing the script,,,said it was saving,,,but when i would type restart in the console,,,to check my progress there was no change,,,then i decided to move the dm script from the custom pk3 into the standard dm folder,,,,and suprise,,,it had been saving but to the standard dm folder,,,at this point i guess ya know what i did,,,i just removed the custom pk3 from the mainta folder and dropped the bsp and script into the standard dm folder,,,now im in bizness,,,hope this helps others,,,see us noobs always need a little more info lol
Gold<<mohha freak
Post Reply