Jump to content

Map "tile" sets


Dustuna
 Share

Recommended Posts

hmm im trying to make a scripted [GR] coop but i keep gettin this error when i lauch the map.

Crash in application version: grpcrc1.35

data\levels\custom_levels\tiny\tiny.xml (29): Expected identifier

SCRIPT STACK

data\levels\custom_levels\tiny\tiny.dsf(26)

any ideas what im doing wrong?

Link to comment
Share on other sites

hmm i figured out that there is something wrong in line 29 of my xml file

29 <<user name="bent2" type="once">

<trigger type="UnitInArea" area="house"/>

<event name="hus_angreb"/>

</user>

what does "user name" Refer too? is it the same as the EVENT name?

Edited by Dustuna
Link to comment
Share on other sites

hmm i figured out that there is something wrong in line 29 of my xml file

29 <<user name="bent2" type="once">

<trigger type="UnitInArea" area="house"/>

<event name="hus_angreb"/>

</user>

what does "user name" Refer too? is it the same as the EVENT name?

Yes, you can use more then one tileset at once. BUT. You'll have to modify the texture scope by hand and also remember to keep you texture scope as small as possible to save texture memory. They are the reason everything is divided into tilesets.

About the script, read the scripting tutorial I've made. I describe what everything is.

"User" is an event type used for triggers. "name" is an attribute of the event.

But that isn't your problem. You can NEVER have double tags starts or endings in any tagbased language, no << nor >>.

EDIT: Another thing, make sure you have an area defined in your mission script that i named "house".

Also, if it says the error is on line 29 it could be an error on the last line in the script before that. If something is missing or not closed right just before line 29, it will be looking for what it wants on line 29 and won't find it and thus throw an error.

Edited by Wolfsong
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...