Jump to content

CnCNet Forums

Search In
  • More options...
Find results that contain...
Find results in...
  • 1
Sign in to follow this  
FELlTH

How can I use ForcedOptions on my Custom Map?

Question

9 answers to this question

Recommended Posts

  • 0
5 hours ago, FELlTH said:

if any Waypoint#= does exist in .map file under [Basic] section, Client will use Waypoint<0-7>= instead of <0-7>= under [Waypoints] section

I'll consider it. Although I think a key like HiddenStartingLocations= might work better.

5 hours ago, FELlTH said:

edit: I think you should use new [Client] section for your Client stuff instead of [Basic]. is this possible?

It'd be possible, but I don't want to break maps that already make use of the client's features. There's not many of those, but still.

On 23.11.2017 at 5:56 AM, FELlTH said:

Did you have any Documentation for this yet?

Because the client was mostly developed based on the different projects' (DTA, TI, MO, YR) needs and I've mostly been the only developer, there is no real documentation. Instead, you can look at the different projects that already utilize the client, or its source code for how it works.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

I created .ini file the same name as .map and put this into the ini

[ForcedOptions]
chkSuperweapons=true

the Superweapons setting still uncheckable in the lobby

also use this on .map itself and still doesn't worked.

[Basic]
ForcedOptions=superweaponsForcedOptions

 

More Question.

How to add high res preview on my Custom map?

Edited by FELlTH

Share this post


Link to post
Share on other sites
  • 0

You can't use a separate INI with custom maps. Instead, create a [ForcedOptions] section to the map file itself, and there set chkSuperweapons=true.

There is some way to replace FinalAlert's generated preview image with a higher-quality image, but I can't remember it.

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Rampastring said:

Instead, create a [ForcedOptions] section to the map file itself, and there set chkSuperweapons=true.

 

doesn't worked. t^t

edit: I'm on Mental Omega btw.

more custom maps question.

How can I hide a Starting location on the classic preview map? (well, I can't use "high res preview map with Waypoint0=" to solve this.)

Edited by FELlTH

Share this post


Link to post
Share on other sites
  • 0

The client version needs to be at least 2.0.9.1 for it to work, and MO's client is older than that. You'll need to wait for the MO team to publish an update.

Quote

How can I hide a Starting location on the classic preview map? (well, I can't use "high res preview map with Waypoint0=" to solve this.)

You cannot. Why do you want to hide it?

  • Like 1

Share this post


Link to post
Share on other sites
  • 0
11 hours ago, Rampastring said:

You cannot. Why do you want to hide it?

 

I don't want players to choose a point on the preview that I want to hide. that point is only for AI that spawning by "EnemyHouse0=".

Edited by FELlTH

Share this post


Link to post
Share on other sites
  • 0

It's easiest to use a waypoint index higher than 7 for the EnemyHouse spawn location, the client allows it, and I think the game should allow it too (IIRC it works at least in Tiberian Sun).

So for example place waypoint 10 in the map editor and specify that for the EnemyHouse0 starting location. Use waypoints 0-7 for human players only.

  • Confused 1

Share this post


Link to post
Share on other sites
  • 0
On 21/11/2560 at 7:42 AM, Rampastring said:

It's easiest to use a waypoint index higher than 7 for the EnemyHouse spawn location, the client allows it, and I think the game should allow it too (IIRC it works at least in Tiberian Sun).

So for example place waypoint 10 in the map editor and specify that for the EnemyHouse0 starting location. Use waypoints 0-7 for human players only.

 

didn't work. I changed waypoint 5(6),6(7),7(8) to 16,17,18  then I changed spawn location of EnemyHouse0-2 to match with my new waypoint and yeah starting point 6,7,8 on the preview now gone. I choose to spawn at 1, Ally AI at 2 and then I tried to start the game. enemy AI that should be on waypoint 16,17,18. instead, they spawning at waypoint 2(3),3(4),4(5).
When I try again with one more Ally AI. The game won't starting load. (sound like, there is no location left for an enemy AI to take it)

Do I understand this syntax correct?

EnemyHouse0=<country>,<color>,<spawnAtWaypoint>

Did you have any Documentation for this yet?

Edited by FELlTH

Share this post


Link to post
Share on other sites
  • 0

@Rampastring you should do this.

if any Waypoint#= does exist in .map file under [Basic] section, Client will use Waypoint<0-7>= instead of <0-7>= under [Waypoints] section

edit: I think you should use new [Client] section for your Client stuff instead of [Basic]. is this possible?

Edited by FELlTH

Share this post


Link to post
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
Sign in to follow this  

  • Similar Content

    • By qymon
      It is a really shame but I have to report that in China there are many guys cheating in mutiplayer games in Mental Omega on CnCNet. This makes many players fear to join a pubilc game lobby.The situation is not good at all.Are there any ways to prevent cheating?
      I have tried one cheat tool. It has many cheat functions but most of them can not function in mutiplayer games.I think it must be the result of the hard working of the WestWood studio and you CnCNet groups to eradicate cheating.
      However,there are still a few functions that still works.The cheat tool, which seems to cheat through editing the data in computer's memory,can still do such things:
      1.Change the sight of the unit you select,then make most of the shroud removed.
        How much shroud one player has removed seems won't sync with other players so it won't cause sync error?
      2.Break the limits of building structures. That's to say, cheaters can build everywhere.
        Maybe the judgement on building structures is local and won't cause sync error?
      3.Break the limits of tech level or other things to produce a unit.
        I have no idea how it managed to do this,but the cheater can build every units registered in ini files,ignoring building limits.

      Meanwhile,players with modified ini files seem still able to start games with others and the warning "the player modified his game" seems appear for everyone,including innocent ones.We players have no idea when join in a public game lobby.
      Cheat problems are serious nowadays in Mental Omega.Are there any ways to prevent these kinds of cheating? We players need your technical help.
    • By DEmblem
      A buddy of mine called Artan1s keeps getting G-line banned for no reason.
      Even when he tries to remove his ban, he just gets banned again. Is there anything to do about this?
      Wasn't sure where to post this so I posted this here.
    • By DEmblem
      I want to play with a buddy of mine, but he keeps getting g-line banned for no reason.
      His IGN: Artan1s

      Requesting an unban through the site didn't do anything, since he just got banned again over and over.
    • By AsunaYuuki(Flash)
      These are my issues regarding the games I've downloaded.
      Yuri Revenge - Game working fine but no music soundtrack with it. (during testing)
      Mental Omega - Installed but cannot run or update (say some file corrupted / repeated trying to read but cant). Please reply on this issue.
      Yuri Red Resurrection - Installed but cannot run, say got debug or error on certain files. Please reply on this issue.
       
      All other file downloaded ok (except red alert 2 one) and functioning well.
      Please help fix these issues and thank you for viewing this, this is serious, 3 popular downloaded games.
      I will wait for support to fix this.
    • By FunkyFr3sh
      Command & Conquer 1, Red Alert, Tiberian Sun, Dune 2000 (+ Mods)
       
       
      Linux (Ubuntu) example:
      sudo apt-get install libmono-system-core4.0-cil mono-runtime wget http://downloads.cncnet.org/cncnet-server.exe nohup mono cncnet-server.exe --name "My cool server" --maxclients 200 --port 50001 > cncnet-server.log &  
       
      Server doesn't work? Get the latest mono version:
      http://www.mono-project.com/download/#download-lin
       
       
      Windows:
      On XP, Vista and 7 make sure .NET 4.0 is installed: https://www.microsoft.com/en-US/download/details.aspx?id=17113
      Download the server and start it: http://downloads.cncnet.org/cncnet-server-gui.exe
       
       
      Note: Servers are chosen automatically by CnCNet and are only used in case 2 players fail to establish a Peer-To-Peer connection.
       
       
       
       
       
      Yuris Revenge (+ Mods)
       
       
      Linux (Ubuntu) example:
      sudo apt-get install default-jre wget http://downloads.cncnet.org/cncnet-tunnel.exe nohup java -jar cncnet-tunnel.exe -name "My cool server" -maxclients 200 -port 50000 -headless > cncnet-tunnel.log &  
       
      Windows:
      Download the server and start it: http://downloads.cncnet.org/cncnet-tunnel.exe
       
       
      Note:  To use a specific server you'll have to select it via the advanced settings while hosting a game room.
       
       
       
       
      Linux autostart
      crontab -e @reboot nohup mono ~/cncnet-server.exe --name "My cool server" --maxclients 100 --port 50001 > ~/cncnet-server.log &  
       
       
      The servers will not show up instantly on the website, it can take up to 30 minutes
       
       
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...