SDK Gametype Coding
This is a discussion on SDK Gametype Coding within the SoF Modding and Editing forums, part of the Soldier of Fortune Series category; is it possible to edit the gametype code (gt_inf) in the source so that one team can spawn but the ...
| SoF Modding and Editing More info about a Mod? Making a Mod? Looking for Modders? Right here! |
![]() |
| | LinkBack | Thread Tools | Rate Thread | Display Modes |
|
#1
| |||
| |||
| is it possible to edit the gametype code (gt_inf) in the source so that one team can spawn but the other team cant? If Possible, please post the code : ) |
|
#2
| ||||
| ||||
| The spawning of the players is controlled by the game code (aka the server code). Why would you want this anyway? |
|
#3
| |||
| |||
| Damn. lol I am making a New Inf Based Gametype For My Friends and I For Fun... I wanted it to be server side, but... :P |
|
#4
| ||||
| ||||
| Well it is server side. It does however take some skill to understand and modify the code that handles the spawning of players. I think Goldrush has some cvars that controls how soon each of the teams will spawn. If you like alternative gametypes then you could also take a look at this demo of RoCMod CDK. |
|
#5
| ||||
| ||||
| You probably won't have to code at all. Does the mod you're using support the .entity system? If so you can remove all the spawnpoints of the specific team in the entity file. Easy as that. Also I know RPMPro has the feature to lock teams with the command: /adm lock "red" /adm lock "blue" Hope this helps you out a bit. |
|
#6
| ||||
| ||||
| Darkstar wrote /adm lock "red" "lock red" /adm lock "blue" "lock blue" (with or without " ") ??? You can add it to mapcycle or use console About spawn, this is a message from rpmpro forum: rpmpro? devmap mp_shop bind f12 spawnplaceblue or spawnplacered press f12 where u want first spawn.. then check temp.ent for the codes. if you use RPMPro, do this devmap mp_shop stand in a spot u want someone to spawn in console type /spawnplaceblue check maps/temp.ent that code insidr that file will be that SPAWN POSITION for where you clicked. you will need to do this roughly 32 times for each map and team. Maybe it works on gold to ??? |
![]() |
| Bookmarks |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | Rate This Thread |
| |
All times are GMT -7.












Linear Mode
