Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

3 Pages<123>
Options
Go to last post Go to first unread
Offline Herobrine24  
#21 Posted : Friday, November 25, 2016 4:32:46 PM(UTC)
Herobrine24
Private
Joined: 11/20/2016(UTC)
Posts: 31
Germany

Thanks: 3 times
Originally Posted by: klingondragon Go to Quoted Post
I can help with 2:

In scripts go to Player > Science
Then grant whichever science you want them to have.


Doesnt work. The Powers dont show up on the General Promotion Menu, Command Centers (Player1Start Too) and on the side.
Offline klingondragon  
#22 Posted : Friday, November 25, 2016 5:15:40 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
the only other way I can think of would be to make an map.ini which edits the player templates to give people inherent science.
Or you could make a edit a civ building and give it a commandset where you can buy the sciences for free.
Offline Herobrine24  
#23 Posted : Saturday, November 26, 2016 4:43:34 AM(UTC)
Herobrine24
Private
Joined: 11/20/2016(UTC)
Posts: 31
Germany

Thanks: 3 times
would map.ini transfer on Online Matches?
Offline klingondragon  
#24 Posted : Saturday, November 26, 2016 6:53:57 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
yes, and no. It transfers but sometimes you get a mismatch error. Usually if you try to play the map again with the same people (people who already have it) it should run fine (I'm not sure about the faction editing though).
Offline Herobrine24  
#25 Posted : Wednesday, February 1, 2017 11:24:28 AM(UTC)
Herobrine24
Private
Joined: 11/20/2016(UTC)
Posts: 31
Germany

Thanks: 3 times
So ive been reworking my map and ive decided to decrease the ammount of things for player0 by changing command buttons on the structures. Could you please provide me an example on how to script the command buttons on only the structures owned by player0 or only the pre-built structures.
Offline klingondragon  
#26 Posted : Wednesday, February 1, 2017 1:31:35 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
I don't think that's possible (definitely not through scripting).

'Remove a command button from units of type' would do so for all players.
Offline Herobrine24  
#27 Posted : Wednesday, February 1, 2017 1:48:17 PM(UTC)
Herobrine24
Private
Joined: 11/20/2016(UTC)
Posts: 31
Germany

Thanks: 3 times
how about map.ini ?
Offline Herobrine24  
#28 Posted : Wednesday, February 1, 2017 1:51:39 PM(UTC)
Herobrine24
Private
Joined: 11/20/2016(UTC)
Posts: 31
Germany

Thanks: 3 times
how about map.ini ?
Offline klingondragon  
#29 Posted : Wednesday, February 1, 2017 1:56:43 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
Maybe. Is this a mission map?, or a skirmish map?
Offline Herobrine24  
#30 Posted : Wednesday, February 1, 2017 2:01:28 PM(UTC)
Herobrine24
Private
Joined: 11/20/2016(UTC)
Posts: 31
Germany

Thanks: 3 times
Skrimish
Offline klingondragon  
#31 Posted : Wednesday, February 1, 2017 2:07:44 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
Simply: No.

Actually: depends on the map. With a lot of coding and trickery, you could botch it. If I were to do it, I'd edit the boss faction: Modify the boss to be the same as whichever faction player0 is. Then make the changes you want to make to the boss. (You'd have to do this rather than create new objects (as build costs and times can't be created in a map.ini)).
Offline SkyMix_RMT  
#32 Posted : Wednesday, February 1, 2017 2:09:24 PM(UTC)
SkyMix_RMT
Major
Joined: 2/21/2015(UTC)
Posts: 386
Portugal

Thanks: 80 times
Was thanked: 132 time(s) in 96 post(s)
Herobrine24, do not use map.ini on skirmish maps, I have a solution for you.
You can use the Boss faction buildings for player0, that way you can modify the Boss faction structures without messing with the other factions.
Check out:

My Music (Techno/House/Experimental)

My Website (GeneralsCentral)

My Youtube Channel (Inactive)

World Builder Community Discord
Offline Herobrine24  
#33 Posted : Wednesday, February 1, 2017 2:11:54 PM(UTC)
Herobrine24
Private
Joined: 11/20/2016(UTC)
Posts: 31
Germany

Thanks: 3 times
how could i modify the boss faction into AirForceGen or any other USA Gen
Offline klingondragon  
#34 Posted : Wednesday, February 1, 2017 2:14:48 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
With an extra-ordinary amount of effort.

You'd have to modify all the commandsets, commandbuttons, and objects.

This is probably not a good project for someone with little modding or map.ini experience.
Offline Herobrine24  
#35 Posted : Wednesday, February 1, 2017 2:16:43 PM(UTC)
Herobrine24
Private
Joined: 11/20/2016(UTC)
Posts: 31
Germany

Thanks: 3 times
i should try atleast
Offline klingondragon  
#36 Posted : Wednesday, February 1, 2017 2:24:00 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
Ok,
Well, as I said above, you'll need to edit the commandbuttons, commandsets, and objects.

I'd advise creating brand new commandbuttons, and commandsets (duplicating the faction's and modifying them); and take each structure (there should be no problem using the original faction's units) one by one, remove all the old modules, then add the new modules (with their old module tags with a unique suffix (e.g.: '_Override'), fill in the non module information (commandset, geometry, kindofs, etc.).

It'll be difficult; and likely, if not done correctly, mess up your map.
Offline Herobrine24  
#37 Posted : Wednesday, February 1, 2017 2:36:38 PM(UTC)
Herobrine24
Private
Joined: 11/20/2016(UTC)
Posts: 31
Germany

Thanks: 3 times
i made a copy of the current state of the map for safety.
I found this tutorial on how to do this if it were a mod. Would it apply for the ini aswell?
And what should be the structure of the ini, i mean start, stop, {}, etc.
Offline klingondragon  
#38 Posted : Wednesday, February 1, 2017 2:46:59 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
Quote:
Would it apply for the ini aswell?
Yes and no. The main difference between mods and a map.ini is how to deal with modules.
In a mod: you just add remove or change it directly.
In a map.ini: you have to use special add remove and modify tags (there are tutorials about this on the forums). 

The structure of the ini:
When you open something (object, commandbutton, module, etc.), everything inside should be indented by 2 spaces.
And use a simple 'End' tag to close it.
e.g.:
Code:

CommandSet Exapmle_Command_Set
  1 = Example_Command_1
  2 = Example_Command_2
  14 = Example_Command12
End


Object Example_Unit
  Behaviour = ExampleBehaviour01 ModuleTag_01
    Do = Something
    Code = here
    More
      Do = Something_Else
    End
  End
End

Edited by user Wednesday, February 1, 2017 2:48:06 PM(UTC)  | Reason: BB code

Offline Herobrine24  
#39 Posted : Wednesday, February 1, 2017 2:53:50 PM(UTC)
Herobrine24
Private
Joined: 11/20/2016(UTC)
Posts: 31
Germany

Thanks: 3 times
Is there a list of possible values like Command_ConstructAmericaVehicleHumvee?
Offline klingondragon  
#40 Posted : Wednesday, February 1, 2017 2:57:59 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
Yes(ish).

Opening commandset.ini and/or commandbutton.ini should give you what you need.
Users browsing this topic
Guest
3 Pages<123>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.