Go Back   Project Reality Forums > Project Reality Mod Forums > PR Community Modding
PR Community Modding : Discussion on PR community mod projects.

Welcome to the Project Reality Forums! Join the Project Reality forums! Contact Us


Reply
 
LinkBack Thread Tools Display Modes
Old 03-29-2008, 02:43 PM   #1

BigDaddyMcFatSacks's Avatar
[Question] Kit Spawning?

Hello all, This mod is great. Anyway, I have been using the map editor and I can get my map to load and work, but I can't get the kits to spawn. I have added the commands

run ../../objects/Kits/kit_spawner_defs.con
run ../../objects/common/spawners/spawners_common.con

and added

gameLogic.setTeamDropVehicle 1 "mark_team1"
gameLogic.setTeamDropVehicle 2 "mark_team2"

as well as adding the

rem USMC VERSUS MEC
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "MEC"
gameLogic.setTeamName 2 "US"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_mec"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "mec_riflemanab" "mec_heavy_soldier"
gameLogic.setKit 2 0 "us_riflemanAB" "us_heavywhite_soldier"

gameLogic.setKit 1 1 "mec_rifleman" "mec_heavy_soldier"
gameLogic.setKit 2 1 "us_rifleman" "us_heavy_soldier"

gameLogic.setKit 1 2 "mec_engineer" "mec_heavy_soldier"
gameLogic.setKit 2 2 "us_engineer" "us_heavywhite_soldier"

gameLogic.setKit 1 3 "mec_medic" "mec_lightarmor_soldier"
gameLogic.setKit 2 3 "us_medic" "us_lightarmor_soldier"

gameLogic.setKit 1 4 "mec_officer" "mec_heavy_soldier"
gameLogic.setKit 2 4 "us_officer" "us_heavywhite_soldier"

all to the init.con file. But when I spawn and try to request a kit it says I must be near a CP, APC, etc. I have 2 CP (1 for each side) and 2 spawn points set so I can test the map and neither side can spawn kits. I have searched and can't figure out what is happening. Any ideas? Thanks FatSacks
BigDaddyMcFatSacks is offline Reply With Quote
Old 03-29-2008, 02:57 PM   #2
PR Operations Lead
Supporting Member

[R-DEV]Rhino's Avatar
Send a message via MSN to [R-DEV]Rhino
http://www.realitymod.com/forum/f189...map-audit.html

[R-DEV]Rhino is offline Reply With Quote
Old 03-29-2008, 03:32 PM   #3

BigDaddyMcFatSacks's Avatar
Hi, Thanks for the quick reply. I have been going through the audit and the other tutorials you guys havefor days now (they are very helpful)and still can't seem to figure out why the kits won't spawn. I have followed step 7 on the audit page exactly as far as I can tell, yet kits still won't spawn. Any ideas what might be the problem? Thanks FatSacks
BigDaddyMcFatSacks is offline Reply With Quote
Old 03-29-2008, 06:34 PM   #4

BigDaddyMcFatSacks's Avatar
Got it working. Think my problem was related to SGID. They were all set to -1 by default and I changed them to be in order 1,2,3,4 per the audit link you put up. Thanks, FatSacks
BigDaddyMcFatSacks is offline Reply With Quote
Reply


Bookmarks

Tags
kit, question, spawning
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 10:35 AM.


Powered by: vBulletin. ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2008, Project Reality.