Multi-Map World

Discuss programming in the QuakeC language.
Post Reply
Max_Salivan
Posts: 96
Joined: Thu Dec 15, 2011 1:00 pm

Multi-Map World

Post by Max_Salivan »

Recently I found a tutorial,how to do transition between levels with saving parameters
http://forums.inside3d.com/viewtopic.php?p=25248#p25248

its good thing,I'm very interested in it

i really dont know how its works
I load the map with:
{
"classname" "info_player_start"
"targetname" "default"
}
ok,player spawned,I'm going to go to the next level with:
{
"classname" "trigger_changelevel"
"spawnflags" "1"
"map" "lvl2.spawn"
}
lvl1.gip saves
but when loading i see "startspot is not a field" and Host_Error:Program Error
Sorry for my english :)
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: Multi-Map World

Post by Spike »

the modified engine takes two parms, not one. the qc will need to split that string into two by removing the dot.
the new map will bbe trying to use "" (or rather, "default")
Max_Salivan
Posts: 96
Joined: Thu Dec 15, 2011 1:00 pm

Re: Multi-Map World

Post by Max_Salivan »

its working with "targetname" "default" :)

but idk how to get startspot to work
Sorry for my english :)
Post Reply