obj for sh
Moderator: Moderators
-
guest
obj for sh
ok, how and were do you put your pk3 for playing obj in sh?...
i have tried the same as mohaa but my map shows only in TDM in sh not obj?....
i have tried the same as mohaa but my map shows only in TDM in sh not obj?....
-
guest
I had issues with getting my pk3 to be recongnized, but it's a DM and I fixed that issue by naming it with "mp_mapname_dm" and putting the file either in the mainta/dm folder OR the /main folder, worked from both locations. Try to make the name like the ones in SH....may need to rework all the scripts, etc. though...but not saying this is 100% right, just worked for me and actually seemed to make good organizational sense.
-
Innkeeper
- Colonel
- Posts: 475
- Joined: Mon Nov 25, 2002 10:13 pm
- Location: NC, USA (about 7.5 klicks from the capital dome)
- Contact:
Spearhead uses a naming convention to separate the different types of object oriented games. Object games are ?obj_yourmapname? and tug of war maps are ?MP_yourmapname_TOW?.
Innkeeper - moderator
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
-
Guest
ok, this is weird, got the obj to work in mohaa so I know its not the map, renamed to obj_assault nothing working in sh, renamed to user_assault, nothing working in sh.. now it must be the scripting which is as follows...
// obj_assault
// ARCHITECTURE: dodgerman20001
// SCRIPTING: dodgerman20001 & Gh?sT
main:
exec global/ambient.scr m5l1b
exec global/exploder.scr
level waitTill prespawn
setcvar "g_obj_alliedtext1" "Find And Destroy"
setcvar "g_obj_alliedtext2" "The Flak88"
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" "Prevent The Destruction"
setcvar "g_obj_axistext2" "Of The "
setcvar "g_obj_axistext3" "Flak88"
setcvar "g_scoreboardpic" "obj_assault.tga"
exec global/DMprecache.scr
level.script = maps/obj/obj_assault.scr
level waittill spawn
level.bomb_damage = 200
level.bomb_explosion_radius = 640
level.defusing_team = "axis"
level.planting_team = "allies"
level.targets_to_destroy = 1
level.dmrespawning = 0 // 1 is respawn 0 is norespawn.
level.dmroundlimit = 6 // round time limit in minutes
level.clockside = axis // set to axis, allies, kills, or draw
level waittill roundstart
$flak88_explosive1 thread global/obj_dm.scr::bomb_thinker //activates bomb counter
$flak88_explosive1 thread axis_win_timer
thread allies_win_bomb
thread bomb1_exploded $flak88_explosive1
end
//*** --------------------------------------------
//*** "Axis Victory"
//*** --------------------------------------------
axis_win_timer:
level waittill axiswin
end
//*** --------------------------------------------
//*** "Allied Victory"
//*** --------------------------------------------
allies_win_bomb:
while(level.targets_destroyed < level.targets_to_destroy)
waitframe
teamwin allies
end
//*** --------------------------------------------
//*** "Bomb 1 Exploded"
//*** --------------------------------------------
bomb1_exploded local.bomb1:
while (local.bomb1.exploded != 1)
wait .1
iprintlnbold "Allies have destroyed the Flak88!"
end
plz help as i'm sure your love this map.....
// obj_assault
// ARCHITECTURE: dodgerman20001
// SCRIPTING: dodgerman20001 & Gh?sT
main:
exec global/ambient.scr m5l1b
exec global/exploder.scr
level waitTill prespawn
setcvar "g_obj_alliedtext1" "Find And Destroy"
setcvar "g_obj_alliedtext2" "The Flak88"
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" "Prevent The Destruction"
setcvar "g_obj_axistext2" "Of The "
setcvar "g_obj_axistext3" "Flak88"
setcvar "g_scoreboardpic" "obj_assault.tga"
exec global/DMprecache.scr
level.script = maps/obj/obj_assault.scr
level waittill spawn
level.bomb_damage = 200
level.bomb_explosion_radius = 640
level.defusing_team = "axis"
level.planting_team = "allies"
level.targets_to_destroy = 1
level.dmrespawning = 0 // 1 is respawn 0 is norespawn.
level.dmroundlimit = 6 // round time limit in minutes
level.clockside = axis // set to axis, allies, kills, or draw
level waittill roundstart
$flak88_explosive1 thread global/obj_dm.scr::bomb_thinker //activates bomb counter
$flak88_explosive1 thread axis_win_timer
thread allies_win_bomb
thread bomb1_exploded $flak88_explosive1
end
//*** --------------------------------------------
//*** "Axis Victory"
//*** --------------------------------------------
axis_win_timer:
level waittill axiswin
end
//*** --------------------------------------------
//*** "Allied Victory"
//*** --------------------------------------------
allies_win_bomb:
while(level.targets_destroyed < level.targets_to_destroy)
waitframe
teamwin allies
end
//*** --------------------------------------------
//*** "Bomb 1 Exploded"
//*** --------------------------------------------
bomb1_exploded local.bomb1:
while (local.bomb1.exploded != 1)
wait .1
iprintlnbold "Allies have destroyed the Flak88!"
end
plz help as i'm sure your love this map.....
Ah hah! Try this:Anonymous wrote:
level.script = maps/obj/obj_assault.scr
level.script = maps/obj/MP_assault_obj.scr
Maybe it will work. Name all your maps to MP_assault_obj. When your map is finished, please let me know and maybe me and some of the staff can review it. By the way, sounds exciting.
Live to map, not map to live.
-mohaa_rox, .map
moderator
-mohaa_rox, .map
moderator
-
Guest
-
Guest
ok update, tried everything, i have the obj working but in sh it shows in tdm not obj as does dasboot, not i pk3 from map/obj and no matter what i name the damn thing it still won't go into obj..it does show in mohaa obj but not sh. now there must be a new way to pk3 that no one seems to now about.....
-
Innkeeper
- Colonel
- Posts: 475
- Joined: Mon Nov 25, 2002 10:13 pm
- Location: NC, USA (about 7.5 klicks from the capital dome)
- Contact:
There is no new way that I am aware of. All the AA object maps show up for me and even one that I testing for shifty. Havew you upgraded to 2.11?
Innkeeper - moderator
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
