adding landing pad lights on a skirmish map

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

adding landing pad lights on a skirmish map

Post by carbon dude oxide »

hello i would like to add the LZ lights (just like the ones on the campaign) onto a map that i am making how would I do this?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

No way, i think. There must be a wzscript function for this though, probably setLandingZone() ...
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

i have been having a look into it and this is a function for it in the campaign scripts.

how would i add a script to a skirmish map? once i know how to do that i can play around with it myself :D
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

Mostly depends on the game version. In 2.3 you had rules.slo/rules.vlo to mod up. In 3.1/master you don't have this, cause this is now controlled by javascript (rules.js), which doesn't have such function yet afaik, so i'm not sure it's possible at all (probably hacking this into multilim.slo or Nexus AI code or something like that could help).
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

any idea when it will?

or howi could make a new structure/feature with a blinking animation?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

Making blinking structures should be possible, you now see those rotating factory fans, building animations were enabled recently. No idea about when anything happens in the scripting, it is all mostly in the scripting forum.
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

well i shall have a look around, i have a couple of mods and i will have a look at it
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: adding landing pad lights on a skirmish map

Post by stiv »

Ping Berg. He was showing me a Headquarters the other day with some nice blinky lights on it.
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

hmm what txt files do i need to edt in order to add a new structure (assuming already have the pie file)
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

stats/structs.txt
messages/strings/names.txt
wrf/piestats.wrf
wrf/vidmem*.wrf if you need a new texture for it.
Replace struct with feature if you need a feature.
(i might forget something)
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

In each of these i nee to add a new line of csv is there anything specific that i hve to add into them such as names must begin with A0 ect
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

names must begin with A0 ect
No, not really, not much more than explained in the wiki. Just don't forget the newline at the end of file.
You can post your attempts here and we'll see if there are any particular issues, but they're usually obvious if you observe stderr messages closely.

Also, your map will break every time any of these files changes on the game side :( (for instance, both in beta10->beta11 and in beta11->rc2 we had changes in vidmem.wrf)
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

ok np ^.^ if i get it working then i should know how to get i working on a newer version :D wish me luck :D
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

ok i tested for the first time and i got this error

Image

what have i done wrong ^.^
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

1. i'd need to see what you have actually done, 2. a complete log should be more helpful.
Post Reply