|
|||||||
| PR Community Modding : Discussion on PR community mod projects. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 |
![]() Join Date: Mar 2008
Posts: 10
|
[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 |
|
|
|
#2 |
|
PR Operations Lead
![]() ![]() |
|
|
|
|
|
|
#3 |
![]() Join Date: Mar 2008
Posts: 10
|
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
|
|
|
|
#4 |
![]() Join Date: Mar 2008
Posts: 10
|
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
|
|
![]() |
| Bookmarks |
| Tags |
| kit, question, spawning |
| Thread Tools | |
| Display Modes | |
|
|