Jump to content

How to spawn enemies in Silent Storm Sentinels?


TokyoRose

Recommended Posts

Does anyone know how to do this?

 

I found this thread here, but I need a bit more of a walkthrough. I know how to edit the input.cfg, and I've used the console to spawn items and money in the past, but I've never spawned an enemy before.

 

It would make the game a lot more challenging if I could add an extra 10 (or 20 or 30 hunter.gif) enemy troops

 

EDIT: After a lot of poking around and experimenting, I've figured out how to spawn a unit, and make them an enemy, but they still won't shoot back at me. Does anyone know what I'm missing?

 

These are the commands I'm entering in the console:

 

CreateWaypoint("wp1", GetHero ()) <--- This creates a waypoint where my hero is currently positioned.

 

CreateUnit (500, 1, "enemy", "wp1", 5) <--- This creates a Renegade soldier, as an enemy, positioned at the waypoint I created, at level 5.

Link to comment
Share on other sites

YES!!! That worked brilliantly. Thanks Knan :)

 

I'll experiment some more. I'd like to figure out how to make a small script for S3common.l to summon 5 or 6 enemy reinforcements with a simple console command (function sendReinforcements ... or something like that).

 

In the meantime, though, I've got a lot of bad guys to shoot. Thanks again.

Link to comment
Share on other sites

I'll post this here for future reference in case anyone is interested. This is just the tip of the iceberg. A talented scripter would be able to make this into something special, but this definitely adds an extra challenge to a game that's already difficult.

 

HOW TO SPAWN ENEMIES IN SILENT STORM (SENTINELS):

 

 

1) Add this line to input.cfg. I put it in the same place as the Save Game key binds:

 

bind obj_under_cur 'X' <----- replace X with a key of your choosing

 

2) Open console, type summonunit 500

 

3) Move the mouse over the summoned unit, and press X. This unit is now a script variable with name 'ouc' (Object Under Cursor?). The console will tell you: 'Object saved to variable ouc'.

 

4) Type UnitSetPlayer(ouc,1) to make the unit an enemy

 

5) Type UnitSetNormalLogic(ouc) to give the enemy AI

 

Unit ID #s:

 

 

ID UserName ClassName Side

2 Toki Scout Germany

3 Axel Engineer Germany

14 Klaus Sniper Germany

34 Gari Medic Germany

39 Gator SoldierUK Allies

40 UK_officerColt1911 Enemy NPC

41 Nessie Grenadier Allies

42 Arvid Sniper Allies

53 Rocco Grenadier Germany

54 Fritz Soldier Germany

58 Terror_RiflemanGarandM1 Enemy NPC

61 Officer01axs Soldier NPC

62 Officer02als Scout NPC

63 Germ_soldierMP40 Enemy NPC

64 Germ_officerWaltherP38 Enemy NPC

65 Germ_sniperCarbine98k Enemy NPC

66 Germ_grenadier Enemy NPC

67 Germ_MG42 Enemy NPC

68 Germ_medic Enemy NPC

82 UK_soldierThompsonM1 Enemy NPC

87 UK_soldierSTEN2 Enemy NPC

89 UK_rocketPIAT Enemy NPC

90 UK_sniperLieEnfieldN4 Enemy NPC

92 UK_gunnerBRENMk1 Enemy NPC

93 Machinegunner Enemy NPC

94 Engineer Enemy NPC

95 Ordinary Enemy NPC

98 UKSoldier Enemy NPC

99 Testforitems Enemy NPC

100 Gunnar Scout Germany

101 Dani Medic Germany

102 Reggie Grenadier Germany

103 Paco Soldier Germany

104 Carm Scout Germany

105 Mike Soldier Germany

106 Tadas Sniper Germany

107 Kenko Engineer Germany

108 AxisGrenader Grenadier Germany

109 Olli Grenadier Germany

110 Ahmad Soldier Germany

111 Zail Scout Germany

112 Holly Engineer Germany

113 Eagle Sniper Germany

114 Viper Sniper Allies

115 L.A. Engineer Allies

116 Doug Engineer Allies

117 Rowdy Grenadier Allies

118 Elf ScoutUK Allies

119 Bob Grenadier Allies

120 Yves Medic Allies

121 Ramos SoldierUK Allies

122 Jerzey SoldierUK Allies

123 Taras Grenadier Allies

124 Zinaida Sniper Allies

125 Oleg Engineer Allies

126 Sook ScoutUK Allies

127 Kate ScoutUK Allies

128 Oz SoldierUK Allies

129 Abala Medic Allies

130 Matt ScoutUK Allies

137 Hanke Enemy NPC

138 GerRobot Soldier NPC

139 Terror_OfficerColt1911 Enemy NPC

140 Rus_soldierPPSh41 Enemy NPC

141 RusOfficerTT Enemy NPC

142 Terror_GunnerShatelro Enemy NPC

143 Terror_GunnerBren Enemy NPC

145 GermanAgent#1 Scout NPC

147 Germ_EliteSoldierSTG43 Enemy NPC

148 UK_EliteSoldierThompsonM1 Enemy NPC

149 TerrorElite_SniperGarandM1 Enemy NPC

150 GermanAgent#2 Enemy NPC

151 CorruptOfficer Enemy NPC

152 AlliesAgent Enemy NPC

153 RussianScientist Enemy NPC

154 Lebedev Enemy NPC

155 Professor Enemy NPC

156 FriendlyInformer Enemy NPC

157 RusEngineer01 Enemy NPC

158 Terror_EngineerMauserM712 Enemy NPC

159 Germ_Engineer Enemy NPC

160 CivilMale Enemy NPC

161 DoubleAgent Enemy NPC

162 CapturedAgent Enemy NPC

163 CivilFemale Enemy NPC

164 RusEngineer02 Enemy NPC

165 AxisEngineer Engineer Germany

166 AxisEngineerFemale Engineer Germany

167 AxisMedicFemale Medic Germany

168 AxisMedic Medic Germany

169 AxisScoutFemale Scout Germany

170 AxisScout Scout Germany

171 AxisSniperFemale Sniper Germany

172 AxisSniper Sniper Germany

173 AxisSoldier Soldier Germany

174 AxisSoldierFemale Soldier Germany

175 AxisGrenaderFemale Grenadier Germany

176 AlliesEngineer Engineer Allies

177 AlliesEngineerFemale Engineer Allies

178 AlliesGrenader Grenadier Allies

179 AlliesMedic Medic Allies

180 AlliesScoutFemale ScoutUK Allies

181 AlliesScout ScoutUK Allies

182 AlliesSniper Sniper Allies

183 AlliesSniperFemale Sniper Allies

184 AlliesSoldier SoldierUK Allies

185 AlliesGrenaderFemale Grenadier Allies

186 AlliesSoldierFemale SoldierUK Allies

187 AlliesMedicFemale Medic Allies

188 Germ_EliteRiflemanG41B Enemy NPC

190 Assault_Agent Enemy NPC

191 General_Unordinary_Killed Enemy NPC

192 General_Survived Enemy NPC

193 Defend_Russian_Engineer Enemy NPC

194 Capture_Colonel Enemy NPC

195 Free_Captured_Agent Scout NPC

196 Capture_General Enemy NPC

197 Saved_Courier Scout NPC

198 Save_E_Scientist Enemy NPC

199 Capture_Hanke Enemy NPC

200 Capture_Stielmann Enemy NPC

201 Capture_T_Boss Enemy NPC

202 Captured_Officer Enemy NPC

203 UK_soldierThompson1928 Enemy NPC

204 UK_soldierM3A1 Enemy NPC

205 UK_soldierSTEN3 Enemy NPC

206 UK_soldierSTEN4 Enemy NPC

207 UK_soldierSTEN5 Enemy NPC

210 UK_soldierPPD40 Enemy NPC

211 UK_soldierPPSh41 Enemy NPC

212 UK_soldierPPSh41mod Enemy NPC

213 UK_soldierPPS42 Enemy NPC

214 UK_soldierPPS43 Enemy NPC

215 UK_EliteSoldierPPS43 Enemy NPC

216 UK_EliteSoldierSten5 Enemy NPC

217 Rus_GunnerRPD Enemy NPC

218 Rus_soldierPPD40 Enemy NPC

219 Rus_soldierPPS42 Enemy NPC

220 Rus_soldierPPS43 Enemy NPC

221 Rus_soldierPPSh41mod Enemy NPC

222 Rus_GunnerDP Enemy NPC

226 Rus_riflemanAVS36 Enemy NPC

227 Rus_riflemanSVT40 Enemy NPC

228 UK_riflemanMosina1891 Enemy NPC

229 UK_riflemanCarbine38 Enemy NPC

230 UK_riflemanLieEnfieldN4 Enemy NPC

231 UK_riflemanCarbineM1 Enemy NPC

232 UK_riflemanGarandM1 Enemy NPC

233 UK_riflemanAVS36 Enemy NPC

234 UK_riflemanSVT40 Enemy NPC

235 UK_riflemanMAS1936 Enemy NPC

236 UK_riflemanPMauser98 Enemy NPC

237 UK_riflemanPMauserM29 Enemy NPC

238 UK_sniperMosina1891 Enemy NPC

239 UK_sniperGarandM1 Enemy NPC

240 UK_sniperSpringfieldM1917 Enemy NPC

241 UK_sniperSVT40 Enemy NPC

242 UK_gunnerDP Enemy NPC

243 UK_gunnerRPD Enemy NPC

244 UK_gunnerBrawningM1922 Enemy NPC

245 UK_gunnerShatelroM1924 Enemy NPC

246 UK_rocketBazooka Enemy NPC

247 UK_EliteRiflemanCarbineM1 Enemy NPC

248 UK_EliteRiflemanAVS36 Enemy NPC

249 UK_EliteSniperGarandM1 Enemy NPC

250 UK_EliteSniperSVT40 Enemy NPC

251 UK_EliteGunnerShatelroM1922 Enemy NPC

252 UK_EliteGunnerRPD Enemy NPC

253 UK_EliteRocketBazooka Enemy NPC

254 Defend_Informer Enemy NPC

255 Free_our_agent Scout NPC

256 Capture_G_Diversant Enemy NPC

257 CapturedBritScientist Enemy NPC

258 Capture_General Enemy NPC

259 Defend_Russian_Engineer Enemy NPC

260 Capture_T_Boss Enemy NPC

261 Find_German_Intel_Officer Enemy NPC

262 Capture_G_Agent2 Enemy NPC

263 Capture_Double_Agent Enemy NPC

264 Find_G_Technician Enemy NPC

265 Recapture_Scientist Engineer NPC

266 Capture_Stielmann Enemy NPC

267 Capture_Hanke Enemy NPC

268 Capture_G_Agent3 Enemy NPC

269 Capture_G_ThftLeader Enemy NPC

270 Capture_Officer_traitor Enemy NPC

272 UK_officerLugerEng Enemy NPC

273 UK_officerLugerP08 Enemy NPC

274 UK_officerTT Enemy NPC

275 UK_officerMauserK961926 Enemy NPC

276 UK_officerMauserK961912 Enemy NPC

277 UK_officerMauserM712 Enemy NPC

278 UK_officerWebleyArmyExpress Enemy NPC

279 UK_officerNagan Enemy NPC

280 UK_officer Enemy NPC

281 UK_officerWalterP38 Enemy NPC

284 RussianBoss Enemy NPC

285 Germ_EliteSoldierFG42 Enemy NPC

286 TerrorEliteCmd_SVT40s Enemy NPC

288 Germ_riflemanRifle33/40 Enemy NPC

289 Germ_soldierMP38 Enemy NPC

290 Germ_soldierBerettaM1938A Enemy NPC

291 Germ_soldierBerettaM3842 Enemy NPC

292 Germ_soldierSuomi Enemy NPC

293 Germ_soldierMP40/2 Enemy NPC

294 Germ_soldierSTG43 Enemy NPC

295 Germ_soldierFG42 Enemy NPC

296 Germ_soldierMP28 Enemy NPC

297 Germ_riflemanG41B Enemy NPC

298 Germ_riflemanManlicherKarkanoM38 Enemy NPC

299 Germ_sniperG41B Enemy NPC

300 Germ_sniperManlicherKarkanoM91/24 Enemy NPC

301 Germ_gunnerMG42 Enemy NPC

302 Germ_gunnerMG34 Enemy NPC

303 Germ_gunnerZB26/30 Enemy NPC

304 Germ_rocketPanzerfaust Enemy NPC

305 Germ_rocketPanzerschreck Enemy NPC

306 Germ_officerLugerP08 Enemy NPC

307 Germ_officerZauer38X Enemy NPC

308 Germ_officerMauserK-961926 Enemy NPC

309 Germ_officerMauserK-961912 Enemy NPC

310 Germ_officerMauserM.712 Enemy NPC

311 Germ_officerNagan Enemy NPC

312 Germ_EliteSoldierSuomi Enemy NPC

313 Germ_EliteSniperManlicherKarkanoM91/24 Enemy NPC

314 Germ_EliteGunnerMG42 Enemy NPC

315 Germ_EliteRocketPanzerschreck Enemy NPC

316 Germ_EliteSoldierMP40 Enemy NPC

317 Sniper Enemy NULL

318 Scout Enemy NULL

319 OrdinarySHKAS Enemy NPC

320 Medic Enemy NPC

321 Grenader Enemy NPC

322 Ordinary-Gatling12 Enemy NPC

323 Javier Engineer Germany

324 ECctGSld2 Enemy NPC

325 EComESld1 Enemy NPC

326 Germ_EliteGunnerChatellerault Enemy NPC

329 Fake Enemy NPC

331 GEVipGOf1 Enemy NPC

332 ECctGSld1 Enemy NPC

333 CivilMaleWebley Enemy NPC

334 CivilMaleNagan Enemy NPC

335 CivilMaleMP38 Enemy NPC

336 CivilMaleMauserK961912 Enemy NPC

337 CivilMaleMauserK961926 Enemy NPC

338 CivilMaleMP40 Enemy NPC

339 CivilMaleM3A1 Enemy NPC

340 CivilMaleMP38HGrenade Enemy NPC

341 CivilMaleMauserK961912Grenade Enemy NPC

344 GLabGSld1 Enemy NPC

347 UK_PUREsoldier Enemy NPC

348 UK_officerSTEN5 Enemy NPC

349 Germ_EliteGunnerMG34 Enemy NPC

350 Germ_EliteGunnerMG42 Enemy NPC

351 Germ_EliteRiflemanG41B Enemy NPC

352 Germ_EliteRocketPanzerschreck Enemy NPC

353 Germ_EliteSniperManlicherKarkanoM91/24 Enemy NPC

354 Germ_EliteSoldierFG42 Enemy NPC

355 Germ_EliteSoldierMP40 Enemy NPC

356 Germ_EliteSoldierSTG43 Enemy NPC

357 Germ_EliteSoldierSuomi Enemy NPC

358 Germ_Engineer Enemy NPC

359 Germ_grenadier Enemy NPC

360 Germ_gunnerMG34 Enemy NPC

361 Germ_gunnerMG42 Enemy NPC

362 Germ_gunnerZB26/30 Enemy NPC

363 Germ_medic Enemy NPC

364 Germ_MG42 Enemy NPC

365 Germ_officerLugerP08 Enemy NPC

366 Germ_officerMauserK-961912 Enemy NPC

367 Germ_officerMauserK-961926 Enemy NPC

368 Germ_officerMauserM.712 Enemy NPC

369 Germ_officerNagan Enemy NPC

370 Germ_officerWaltherP38 Enemy NPC

371 Germ_officerZauer38X Enemy NPC

372 Germ_riflemanG41B Enemy NPC

373 Germ_riflemanManlicherKarkanoM38 Enemy NPC

374 Germ_riflemanRifle33/40 Enemy NPC

375 Germ_rocketPanzerfaust Enemy NPC

376 Germ_rocketPanzerschreck Enemy NPC

377 Germ_sniperCarbine98k Enemy NPC

378 Germ_sniperG41B Enemy NPC

379 Germ_sniperManlicherKarkanoM91/24 Enemy NPC

380 Germ_soldierBerettaM1938A Enemy NPC

381 Germ_soldierBerettaM3842 Enemy NPC

382 Germ_soldierFG42 Enemy NPC

383 Germ_soldierMP28 Enemy NPC

384 Germ_soldierMP38 Enemy NPC

385 Germ_soldierMP40 Enemy NPC

386 Germ_soldierMP40/2 Enemy NPC

387 Germ_soldierSTG43 Enemy NPC

388 Germ_soldierSuomi Enemy NPC

389 CivilMaleNaganH Enemy NPC

390 CivilMaleM3A1H Enemy NPC

391 CivilMaleMP38H Enemy NPC

392 Germ_civilBerettaM1938A Enemy NPC

393 UK_EliteGunnerBrawningM1922 Enemy NPC

394 EVipEOf1 Enemy NPC

395 Officer03s Enemy NPC

396 ELabESld1 Enemy NPC

397 ELabEOf1 Enemy NPC

398 ETwnEOf1 Enemy NPC

399 GLabGSc1 Enemy NPC

400 GLabGSld2 Enemy NPC

402 GLabTOf1 Enemy NPC

403 GFactGSld1 Enemy NPC

404 GFactGAid Enemy NPC

405 GTVipTSld1 Enemy NPC

406 GTVipTSld2 Enemy NPC

407 RComROf1 Enemy NPC

408 RFactRSc1 Enemy NPC

409 EBaseEBoss Enemy NPC

410 EBaseEMed Enemy NPC

411 EBaseEStor Enemy NPC

412 EBaseETech Enemy NPC

413 GBaseBoss Enemy NPC

414 TerrorEliteGunnerMG34 Enemy NPC

415 TerrorEliteSoldierMP40 Enemy NPC

417 TerrorEliteRifleman3340 Enemy NPC

418 TerrorEliteSniperManlicherKarkanoM91/24 Enemy NPC

419 UK_Engineer Enemy NPC

420 Radio Enemy NPC

424 UK_CivWorkerA Enemy NPC

425 UK_CivWorkerB Enemy NPC

426 UK_CivBusiness Enemy NPC

427 UK_CivCasual Enemy NPC

428 UK_CivOrdinary Enemy NPC

430 UK_CivFemale Enemy NPC

431 Germ_civilNagan Enemy NPC

432 UK_SpecialAgent_ColtSilencer Enemy NPC

433 UK_SpecialAgent_STEN3 Enemy NPC

434 UK_SpecialAgent_M3 Enemy NPC

435 UK_SpecialAgent_Thompson1923 Enemy NPC

436 UK_SpecialAgent_Colt Enemy NPC

437 CivilMaleBazooka Enemy NPC

438 CivilMaleLasgun Enemy NPC

439 CivilEvilMale#1 Enemy NPC

440 CivilEvilMale#4 Enemy NPC

441 Helena Scout NPC

442 CivilMaleMP41H Enemy NPC

443 CivilMaleStenMkIIH Enemy NPC

444 CivilMaleMP40Grenade Enemy NPC

445 CivilMaleThompsonH Enemy NPC

446 CivilMaleMauserK961926Grenade Enemy NPC

447 CivilMaleRifle33/40HGrenade Enemy NPC

448 TerrorEliteSoldierMP41 Enemy NPC

449 TerrorEliteSoldierBerettaM1938A Enemy NPC

450 Germ_officerWaltherP38(holster) Enemy NPC

451 UK_officerSTEN4(holster) Enemy NPC

452 Germ_officerBerettaM3842(holster) Enemy NPC

453 Germ_officerZauer38X(holster) Enemy NPC

454 UK_soldierFragGren Enemy NPC

455 UK_soldierGren Enemy NPC

456 Terror_RocketBazooka Enemy NPC

457 TerrorEliteSoldierMP40Grenade Enemy NPC

458 Germ_saboteurMP40 Enemy NPC

459 Terror_RocketPanzerschreck Enemy NPC

470 UK_saboteur Enemy NPC

471 CivilMale2 Enemy NPC

472 CivilMale3 Enemy NPC

473 CivilMaleScientist Enemy NPC

474 CivilMaleScientist2 Enemy NPC

475 CivilMaleScientist3 Enemy NPC

476 CivilMaleEngineer Enemy NPC

477 CivilMaleEngineer2 Enemy NPC

478 CivilMaleEngineer3 Enemy NPC

479 CivilFemale2 Enemy NPC

480 Rus_WinterSoldierPPD40 Enemy NPC

482 Ordinary-LasGun Enemy NPC

483 Ordinary-AGS Enemy NPC

484 PKPilotM1-PK_A Enemy NPC

485 PKPilotSTG43-PK_G Enemy NPC

486 PKPilotFG42-PK_G Enemy NPC

487 PKPilotGarandM1-PK_G Enemy NPC

488 PKPilotTT-PK_G Enemy NPC

489 PKPilotSTG43-PK_L Enemy NPC

490 PKPilotSTG43-PK_A Enemy NPC

491 PKPilotM1-PK_G Enemy NPC

492 PKPilotM1-PK_L Enemy NPC

493 PKPilotFG42-PK_A Enemy NPC

494 PKPilotFG42-PK_L Enemy NPC

495 PKPilotGarandM1-PK_L Enemy NPC

496 PKPilotGarandM1-PK_A Enemy NPC

497 PKPilotTT-PK_L Enemy NPC

498 PKPilotTT-PK_A Enemy NPC

499 UK_saboteur_officerNagan Enemy NPC

500 Terror_RiflemanAVS36 Enemy NPC

502 Terror_RiflemanSVT40 Enemy NPC

503 Terror_RiflemanG41B Enemy NPC

504 Terror_SniperGarandM1 Enemy NPC

505 Terror_SniperSVT40 Enemy NPC

506 Terror_SniperManlicherKarkanoM91/24 Enemy NPC

507 Terror_SoldierBerettaM3842 Enemy NPC

508 Terror_SoldierSuomi Enemy NPC

509 Terror_SoldierMP43 Enemy NPC

510 Terror_SoldierFG42 Enemy NPC

511 Terror_SoldierThompsonM1 Enemy NPC

512 Terror_SoldierThompson1928 Enemy NPC

513 Terror_SoldierStenMkV Enemy NPC

514 Terror_SoldierPPSh41 Enemy NPC

515 Terror_SoldierPPS43 Enemy NPC

516 Terror_GunnerRPD Enemy NPC

517 Terror_OfficerZauer38X Enemy NPC

518 Terror_OfficerWaltherP38 Enemy NPC

519 Terror_OfficerTT Enemy NPC

520 Terror_OfficerMauserM712 Enemy NPC

521 Terror_EngineerColt1911 Enemy NPC

522 Terror_EngineerTT Enemy NPC

523 Terror_EngineerWaltherP38 Enemy NPC

524 Terror_EngineerZauer38X Enemy NPC

525 TerrorElite_SniperSVT40 Enemy NPC

526 TerrorElite_SniperManlicherKarkanoM91/24 Enemy NPC

527 TerrorElite_SoldierMP43 Enemy NPC

528 TerrorElite_SoldierFG42 Enemy NPC

529 TerrorElite_SoldierPPSh41 Enemy NPC

530 TerrorElite_SoldierThompsonM1 Enemy NPC

531 TerrorElite_GunnerRPD Enemy NPC

532 TerrorElite_GunnerShatelro Enemy NPC

533 TerrorElite_GunnerMG42 Enemy NPC

534 TerrorElite_RocketBazooka Enemy NPC

535 TerrorElite_RocketPanzerschreck Enemy NPC

536 TerrorElite_RocketLasergun Enemy NPC

537 TerrorEliteCmd_MP43 Enemy NPC

538 TerrorEliteCmd_MG42 Enemy NPC

539 TerrorEliteCmd_Bazooka Enemy NPC

540 TerrorEliteCmd_Lasergun Enemy NPC

541 Germ_saboteur_officerLugerP08 Enemy NPC

542 Terror_PkPilot Enemy NPC

543 Rus_WinterSoldierPPS43 Enemy NPC

544 Ordinary-AGS_02 Enemy NPC

545 OrdinaryPiat Enemy NPC

546 OrdinaryBoys Enemy NPC

547 OrdinaryVickers Enemy NPC

548 Terror_GunnerMG42 Enemy NPC

549 Ordinary-Skel-LasGun Enemy NPC

551 Test Enemy NPC

586 UK_gunnerBrawningM1922 Enemy NPC

587 UK_gunnerBRENMk1 Enemy NPC

588 UK_gunnerDP Enemy NPC

589 UK_gunnerRPD Enemy NPC

590 UK_gunnerShatelroM1924 Enemy NPC

591 UK_officerColt1911 Enemy NPC

592 UK_officerLugerEng Enemy NPC

594 UK_officerMauserK961912 Enemy NPC

595 UK_officerMauserK961926 Enemy NPC

596 UK_officerMauserM712 Enemy NPC

597 UK_officerNagan Enemy NPC

599 UK_officerSTEN5 Enemy NPC

600 UK_officerTT Enemy NPC

601 UK_officerWalterP38 Enemy NPC

602 UK_officerWebleyArmyExpress Enemy NPC

604 UK_riflemanAVS36 Enemy NPC

605 UK_riflemanCarbine38 Enemy NPC

606 UK_riflemanCarbineM1 Enemy NPC

607 UK_riflemanGarandM1 Enemy NPC

608 UK_riflemanLieEnfieldN4 Enemy NPC

609 UK_riflemanMAS1936 Enemy NPC

610 UK_riflemanMosina1891 Enemy NPC

611 UK_riflemanPMauser98 Enemy NPC

612 UK_riflemanPMauserM29 Enemy NPC

613 UK_riflemanSVT40 Enemy NPC

614 UK_rocketBazooka Enemy NPC

615 UK_rocketPIAT Enemy NPC

618 UK_sniperGarandM1 Enemy NPC

619 UK_sniperLieEnfieldN4 Enemy NPC

620 UK_sniperMosina1891 Enemy NPC

621 UK_sniperSpringfieldM1917 Enemy NPC

622 UK_sniperSVT40 Enemy NPC

625 UK_soldierM3A1 Enemy NPC

626 UK_soldierPPD40 Enemy NPC

627 UK_soldierPPS42 Enemy NPC

628 UK_soldierPPS43 Enemy NPC

629 UK_soldierPPSh41 Enemy NPC

630 UK_soldierPPSh41mod Enemy NPC

631 UK_soldierSTEN2 Enemy NPC

632 UK_soldierSTEN3 Enemy NPC

633 UK_soldierSTEN4 Enemy NPC

634 UK_soldierSTEN5 Enemy NPC

635 UK_soldierThompson1928 Enemy NPC

636 UK_soldierThompsonM1 Enemy NPC

655 Germ_gunnerMG34 Enemy NPC

656 Germ_gunnerMG42 Enemy NPC

657 Germ_gunnerZB26/30 Enemy NPC

660 Germ_officerBerettaM3842(holster) Enemy NPC

661 Germ_officerLugerP08 Enemy NPC

662 Germ_officerMauserK-961912 Enemy NPC

663 Germ_officerMauserK-961926 Enemy NPC

664 Germ_officerMauserM.712 Enemy NPC

665 Germ_officerNagan Enemy NPC

666 Germ_officerWaltherP38 Enemy NPC

667 Germ_officerWaltherP38(holster) Enemy NPC

668 Germ_officerZauer38X Enemy NPC

669 Germ_officerZauer38X(holster) Enemy NPC

670 Germ_riflemanG41B Enemy NPC

671 Germ_riflemanManlicherKarkanoM38 Enemy NPC

672 Germ_riflemanRifle33/40 Enemy NPC

673 Germ_rocketPanzerfaust Enemy NPC

674 Germ_rocketPanzerschreck Enemy NPC

677 Germ_sniperCarbine98k Enemy NPC

678 Germ_sniperG41B Enemy NPC

679 Germ_sniperManlicherKarkanoM91/24 Enemy NPC

680 Germ_soldierBerettaM1938A Enemy NPC

681 Germ_soldierBerettaM3842 Enemy NPC

682 Germ_soldierFG42 Enemy NPC

683 Germ_soldierMP28 Enemy NPC

684 Germ_soldierMP38 Enemy NPC

685 Germ_soldierMP40 Enemy NPC

686 Germ_soldierMP40/2 Enemy NPC

687 Germ_soldierSTG43 Enemy NPC

688 Germ_soldierSuomi Enemy NPC

689 RusOfficerNagan Enemy NPC

690 Rus_WinterGunnerDP Enemy NPC

691 Rus_riflemanMosina Enemy NPC

692 Rus_WinterRiflemanMosinaSnipe Enemy NPC

693 Rus_WinterRiflemanSVT40 Enemy NPC

694 Rus_WinterRiflemanAVS36 Enemy NPC

695 Rus_WinterRiflemanMosina Enemy NPC

697 Rus_WinterRiflemanSVT40Snipe Enemy NPC

698 Rus_riflemanMosinaSnipe Enemy NPC

699 Rus_riflemanSVT40Snipe Enemy NPC

701 UK_officerLugerP08 Enemy NPC

702 RusOfficerPPSh41 Enemy NPC

703 Rus_soldierGrenLight Enemy NPC

704 Rus_soldierGrenHeavy Enemy NPC

705 Rus_WinterSoldierGrenHeavy Enemy NPC

706 Rus_WinterSoldierGrenLight Enemy NPC

707 Rus_WinterGunnerRPD Enemy NPC

708 Rus_WinterSoldierPPS42 Enemy NPC

709 Rus_WinterSoldierPPSh41Mod Enemy NPC

710 Rus_WinterSoldierPPSh41 Enemy NPC

711 Terror_OfficerSTG43 Enemy NPC

712 Terror_EngineerEmpty Enemy NPC

713 CivilMaleEngineer4 Enemy NPC

714 Helena Enemy NPC

715 GTVipTOf1 Enemy NPC

716 Germ_soldierMP41 Enemy NPC

717 Germ_Engineer(holster) Enemy NPC

720 USA_Soldier Engineer Allies

721 USA_Officer Engineer Allies

722 Soldier Enemy NPC

723 Officer Enemy NPC

724 0ld_RTLabTSld1 Enemy NPC

725 TutorialOfficer-Colt1911 Enemy NPC

726 TutorialOfficer-Nagan Enemy NPC

728 TutorialSoldier-M3A1 Enemy NPC

729 TutorialSniper-LieEnfieldN4 Enemy NPC

730 TutorialTrainee Soldier

731 Italy_Officer Enemy NPC

732 Italy_Soldier Enemy NPC

733 RTLabBoss Enemy NPC

734 RTLabTSld1 Enemy NPC

735 CivilEvilMale#3 Enemy NPC

736 CivilEvilMale#2 Enemy NPC

737 HelenainPK Enemy NPC

738 Boss Enemy NULL

740 facegen Unknown NULL

741 Germ_soldier_empty Enemy NPC

742 Germ_EliteSoldierMP41 Enemy NPC

743 Germ_soldierMP41 Enemy NPC

745 AlliedGrenadier Enemy NPC

833 AlliedGunner Enemy NPC

834 AlliedOfficer Enemy NPC

835 AlliedRifleman Enemy NPC

836 AlliedRocket Enemy NPC

837 AlliedSniper Enemy NPC

838 AlliedSoldier Enemy NPC

839 AlliedGunner Enemy NPC

840 AlliedOfficer Enemy NPC

841 AlliedRifleman Enemy NPC

842 AlliedRocket Enemy NPC

843 AlliedSniper Enemy NPC

844 AlliedSoldier Enemy NPC

845 AxisGrenadier Enemy NPC

846 AxisGunner Enemy NPC

847 AxisOfficer Enemy NPC

848 AxisRifleman Enemy NPC

849 AxisRocket Enemy NPC

850 AxisSniper Enemy NPC

851 AxisSoldier Enemy NPC

852 AxisGrenadier Enemy NPC

853 AxisGunner Enemy NPC

854 AxisOfficer Enemy NPC

855 AxisRifleman Enemy NPC

856 AxisRocket Enemy NPC

857 AxisSniper Enemy NPC

858 AxisSoldier Enemy NPC

859 RussianGrenadier Enemy NPC

860 RussianGunner Enemy NPC

861 RussianOfficer Enemy NPC

862 RussianRifleman Enemy NPC

863 RussianSniper Enemy NPC

864 RussianSoldier Enemy NPC

865 RussianGrenadier Enemy NPC

866 RussianGunner Enemy NPC

867 RussianRifleman Enemy NPC

868 RussianSniper Enemy NPC

869 RussianSoldier Enemy NPC

870 TerrGrenadier Enemy NPC

871 TerrGunner Enemy NPC

872 TerrOfficer Enemy NPC

873 TerrRifleman Enemy NPC

874 TerrSniper Enemy NPC

875 TerrSoldier[0] Enemy NPC

876 TerrSoldier[1] Enemy NPC

877 RussianRocket Enemy NPC

878 RussianRocket Enemy NPC

879 TerrRocket Enemy NPC

880 TerrorEliteGunnerChattelerault Enemy NPC

881 TerrorEliteSniperMauser98k Enemy NPC

882 ELabDouble Enemy NPC

883 Germ_riflemanRifle33/40 WeakEnemy NPC

884 Germ_soldierMP38 WeakEnemy NPC

885 Germ_officerNagan WeakEnemy NPC

887 Male Unknown Allies

888 Female Unknown Allies

889 FFightTPA Enemy NPC

900 Brit_Female Enemy NPC

901 Germ_Female Enemy NPC

902 Brit_CivilianMale Enemy NPC

903 Brit_Engineer Enemy NPC

904 Germ_Engineer Enemy NPC

905 Rus_Engineer Enemy NPC

906 THO_Engineer Enemy NPC

907 Brit_Scientist Enemy NPC

908 Rus_Scientist Enemy NPC

909 Germ_Elite_Soldier Enemy NPC

910 Germ_Officer Enemy NPC

911 Germ_Soldier Enemy NPC

912 UK_Elite_Soldier Enemy NPC

913 UK_Officer Enemy NPC

914 UK_Soldier Enemy NPC

916 Rus_Soldier Enemy NPC

917 Rus_Officer Enemy NPC

918 Terror_Soldier Enemy NPC

919 Terror_Officer Enemy NPC

920 Terror_Elite_Soldier Enemy NPC

921 Germ_gunnerChatellerault Enemy NPC

922 Germ_sniperRifle33/40 Enemy NPC

923 TestFritz Soldier NULL

924 TerrorEliteSniperRifle3340 Enemy NPC

925 UK_SpecialAgent_MauserM712 Enemy NPC

926 UK_officerSTEN3(holster) Enemy NPC

927 UK_EliteSoldierSten3 Enemy NPC

928 UK_officerPPS43 Enemy NPC

929 Germ_EliteSniperMauser98kSilencer Enemy NPC

930 CivilFemale3 Enemy NPC

931 CivilFemale1 Enemy NPC

932 Germ_EliteGunnerZB26/30 Enemy NPC

933 UK_SPEC_soldierGren Enemy NPC

934 UK_SPEC_soldierFragGren Enemy NPC

935 CivilMale01Axis Enemy NPC

936 CivilMale02Axis Enemy NPC

937 CivilMale01Allies Enemy NPC

938 CivilMale02Allies Enemy NPC

939 CivilMale03Axis Enemy NPC

940 CivilMale04Axis Enemy NPC

941 CivilMale03Allies Enemy NPC

942 CivilMale04Allies Enemy NPC

943 UK_Super_SpecialAgent_Colt Enemy NPC

944 CivilFemale01Allies Enemy NPC

945 CivilFemale02Allies Enemy NPC

946 CivilFemale02Axis Enemy NPC

947 CivilFemale01Axis Enemy NPC

948 UK_Super_SpecialAgent_M3 Enemy NPC

949 UK_Super_SpecialAgent_STEN3 Enemy NPC

950 UK_Super_SpecialAgent_M712 Enemy NPC

951 UK_Super_SpecialAgent_PPD Enemy NPC

952 Italy_Soldier_Berreta Enemy NPC

953 Italy_Soldier_Chattelrault Enemy NPC

955 Italy_Officer Enemy NPC

956 EBasePKPerson Enemy NPC

957 Ztest Enemy NPC

959 Italy_Soldier_Berreta Enemy NPC

961 Germ_EliteGunnerMG34 Enemy NPC

962 TerrorNinja Enemy NPC

963 TerrorNinjaLeader Enemy NPC

964 Germ_smallgrenadier Enemy NPC

965 Terror_SniperMauser98kSilenced&Scoped Enemy NPC

968 Terror_EngineerMauserM712 Enemy NPC

970 Terror_EngineerWebley Enemy NPC

973 Terror_GunnerMG34 Enemy NPC

974 Terror_GunnerLewis Enemy NPC

978 Terror_OfficerSTG43 Enemy NPC

979 Terror_OfficerFG42 Enemy NPC

980 Terror_OfficerLugerP08 Enemy NPC

982 Terror_PkPilot Enemy NPC

983 Terror_RiflemanAVS36 Enemy NPC

984 Terror_RiflemanG41B Enemy NPC

985 Terror_RiflemanGarandM1 Enemy NPC

986 Terror_RiflemanSVT40 Enemy NPC

989 Terror_SniperGarandM1 Enemy NPC

990 Terror_SniperManlicherKarkanoM91/24 Enemy NPC

993 Terror_SoldierBerettaM3842 Enemy NPC

994 Terror_SoldierFG42 Enemy NPC

996 Terror_SoldierPPD40 Enemy NPC

997 Terror_SoldierPPS42 Enemy NPC

998 Terror_SoldierStenMkIII Enemy NPC

999 Terror_SoldierSuomi Enemy NPC

1000 Terror_SoldierM3A1 Enemy NPC

1001 Terror_SoldierThompsonM1 Enemy NPC

1002 TerrorElite_GunnerMG42 Enemy NPC

1003 TerrorElite_GunnerRPD Enemy NPC

1004 TerrorElite_GunnerMG34 Enemy NPC

1008 TerrorElite_SniperSilencedMauser98k Enemy NPC

1009 TerrorElite_SniperManlicherKarkanoM91/24 Enemy NPC

1010 TerrorElite_SniperSVT40 Enemy NPC

1011 TerrorElite_SoldierFG42 Enemy NPC

1012 TerrorElite_SoldierMP43 Enemy NPC

1013 TerrorElite_SoldierPPSh41 Enemy NPC

1014 TerrorElite_SoldierThompsonM1 Enemy NPC

1016 TerrorEliteCmd_Lasergun Enemy NPC

1017 TerrorEliteCmd_MG42 Enemy NPC

1018 TerrorEliteCmd_MP43 Enemy NPC

1019 TerrorEliteCmd_PanzerShreck Enemy NPC

1020 Terror_GunnerDP Enemy NPC

1021 PKPilot_Sceleton Enemy NPC

1022 PKPilot_RedHelper_Gatling Enemy NPC

1023 PKPilot_RedHelper_AGS Enemy NPC

Link to comment
Share on other sites

Good stuff Tokyo! Just a question though, does this line:

 

4) Type UnitSetPlayer(ouc,1) to make the unit an enemy

 

Specifically the (ouc,1) make the enemy Level 1? If not, is there a way to spawn an enemy unit at the level of my choosing?

 

- Zombie

Link to comment
Share on other sites

Hey Zombie.

 

The short answer to your question:

 

Grab the unit with ouc. Now: UnitSetXPLevel(ouc,10). This will make the unit level 10.

 

The long answer:

 

The (ouc,1) tells the game that the unit you grabbed with the obj_under_cur (ouc) will be made to join your side (0), the enemy side (1), or neutral (2).

 

I'm a total amateur at this, but yes, there is a way to spawn an enemy at a higher level, with this command:

 

CreateUnit(500,1,"bob","wp99",9)

 

The first number (500) is the unit ID, which I listed in the post above.

 

The second number (1), says that it's an enemy (0 would make them join your side, and 2 is neutral).

 

"bob" is the name I'm giving the unit, which could be used for other commands, I think. GetUnit("bob"), for example, although I don't know how that works.

 

9 is the unit's level.

 

"wp99" -- this is tricky. This is the waypoint where the unit will appear. I don't know how to find the names of waypoints on an existing map. It would be nice to have the enemy spawn in a random location, but I don't know how.

 

However, I do know how to create a new waypoint. Open the console and type: CreateWaypoint("wp99",GetHero())

 

This will create a waypoint ("wp99") where your hero is currently standing. Now, when you enter the CreateUnit command above, the enemy will be spawned at beside your hero.

 

I think you can also create a waypoint like this: CreateWaypoint("wp777",ouc). This will create a waypoint with an object (like a door) that you've grabbed with ouc. I don't think you can grab a patch of grass or pavement with ouc -- it has to be something that can be highlighted with the cursor.

 

I suppose you could highlight an enemy, grab him with ouc, and then use the enemy to set the waypoint and spawn enemies on top of the first enemy. Make sense?

 

And now ...

 

My preferred method to spawn enemies, until I learn how to do things properly, is this:

 

1) Spawn a unit using summonunit

 

2) When the unit spawns beside your squad, select the unit and teleport them somewhere else on the map. You can teleport by adding this line to your input.cfg: bind cheat_teleport 'X'

 

3) Once you've teleported them, use UnitSetPlayer(ouc,1) to make the unit an enemy and UnitSetNormalLogic(ouc) to give the unit a brain. You can then use UnitSetXPLevel(ouc,5) to set the unit to level 5, for example.

 

4) Note that if you teleport the unit to a place where the enemy can see them, the enemy will probably open fire. Try to find a point on the map that is unoccupied to teleport your new units. You can make the unit an enemy before teleporting ... but then I don't know how to teleport them.

 

Obviously this is a clumsy way to spawn enemies, but if you've got quick fingers you can spawn in another 10 or 15 or 20 enemies in just a few minutes. This can be extremely interesting if you're trying to hold a house against endless waves of enemies smile.png

 

I'm hoping someone like Komik or Novik will pipe in and tell me how to create a script in S3common so that I can summon a mixed squad of five or six enemies at a time with one simple console command. I know it can be done with just a few lines of script, I just don't know how to do it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...