Some aspects of my script are not working


(rmcnew) #21

Thanks again, guys … The command screen is working … I have ran into another problem though …

The gate objective doesn’t show up properly for the Axis. I think this can be fixed by going into the map editor and giving the location of a jpeg for that.

Edit: I also noticed the generator hubs are not showing up for that either…


(rmcnew) #22

Thanks … I translated the article into english so I can learn how to code better, and so everyone else can understand what he was saying and the dry german humor…

For every individual Mission directive, such as the detailed missionsgoal of every party during the game in limbo-mode to be allowed to show, you need to place an OBJDATA-index.
This you should find in the Maps-directory in your ET installation and is called mapname.objdata. I have already done this und have taken a little example from my own index from my map entitled “starkbier” [strongbeer HAHA!]

Zitat:
//Personal directive info

wm_mapdescription allied “We have to demoralise the German troops, by cutting off their beer supply. Therefor we have to loot the secret beer formula from their safe!”

wm_mapdescription axis “The Allies want to steal our secret beer formula, in order to strengthen the morale of their own troops and to weaken us. This must be prevented!”

wm_mapdescription neutral “The strong combat morale and the blind obedience of the Germans are based on the benefits of Starkbier. Therefore the Allies will try to steal the secret beer formula.”

// Instructions for the axis team

wm_objective_axis_desc 1 “Primary Objective:**Inhibit the Allies to dynamite the safe.”

wm_objective_axis_desc 2 “Primary Objective:**The Allies may not escape with the secret beer formula.”

// Instructions for the allied team

wm_objective_allied_desc 1 “Primary Objective:**Blow up the safe to get the secret beer formula.”

wm_objective_allied_desc 2 “Primary Objective:**Bring the secret beer formula into our radio room.”

So, now we put every single detailed part specifically under the magnifying glass

wm_mapdescription allied: When you are in limbo mode and chose the allied side, you should see this individual instruction. This contains for example a short summary of the missions instruction from the arena-index.

wm_mapdescription axis: When you are in limbo mode and chose the axis side, you should see this individual instruction. This contains for example a short summary of the missions instruction from the arena-index.

wm_mapdescription neutral: When the player has not yet joined a team a neutral view should be showed, so a player can figure what it is he has to do without getting killed first.

wm_objective_axis_desc 1: When the player chooses the axis side, he will see the following message that has been entered.

wm_objective_axis_desc 2: This will be done similarly for also for objective 2; if there should be further missionsgoals you can jot these down here similarly [example: wm_objective_axis_desc 3, …_desc 4, etc.].

wm_objective_allied_desc 1: When the player chooses the allied side, he will see the following message that has been entered.

wm_objective_allied_desc 2: This will be done similarly for also for objective 2; if there should be further missionsgoals you can jot these down here similarly [example: wm_objective_allied_desc 3, …_desc 4, etc.].


(rmcnew) #23

I am not sure how this will work yet, but I am doing this to try to get the icons to show properly in the command screen. The same will be done to the gate with a different icon image.


(rmcnew) #24

I am compiling the map; will post back in 30 minutes when the map has been totally compiled.


(rmcnew) #25

It worked for the axis side with the gate, but the generator hubs are still not showing up correctly. I’ll try something different.


(rmcnew) #26

Nevermind, it appears to be working now …