News
Blabberbox
Galleries
Creations
Stocks
Forums
Guestbook
Contact
Welcome! Please
Login
or
Register
!
November 21, 2024, 03:01:06 AM
pftq Forums
|
Game Design
|
Age of Empires III
|
XS insertion
0 Members and 1 Guest are viewing this topic.
« previous
next »
Latest News!
Lunar Trigger
(Aug 27, 2023)
Pages:
[
1
]
Author
Topic: XS insertion (Read 4850 times)
River_God
Member
Offline
Posts: 184
XS insertion
«
on:
March 02, 2008, 11:35:26 AM »
ok, I looked at the map. From what I have seen from that map, CB and FW, it looks like you create a function "send chat", with the message being "*/"+ a line of code to enter +"/*" and then call it for every line of code you want inserted. What I want to know is:
What are all the symbols that can affect the code inserted, and what do they do?
What is the point of XS injection?
Do I just use the trigger code in the code insertion, or something else?
What's the point of this line(line 23 in TOS_BloodSport-v3-3):
rmSetTriggerEffectParam("Message", "\"); }} /*", false);
Logged
"I am not sure why people are so afraid of new ideas, I am afraid of the old ones" :p
pftq
Administrator
Offline
Posts: 4204
Re: XS insertion
«
Reply #1 on:
March 02, 2008, 06:56:15 PM »
There are two methods I know of for insertion - you are mixing them together and trying to combine them...
Do you understand what custom effects/conditions are in scenarios? Quite the same here.
You basically can insert your own trigger code and create your own effects/conditions. It is also more direct - you feed the commands straight to the computer. Normally, trigger conditions/effects are read by the computer and then referenced with the typetest file; the computer then goes and compiles the commands itself (meaning more load time than if you gave the commands straight off).
It is virtually being able to script actions DURING the game, as opposed to only affecting the map generation, which is RMS.
The line you mentioned is used to start a series of insertions IF you wish for the variables to remain "global" (usable across numerous triggers)
The pattern is usually:
Send Chat - Start
Send Chat - XS Code
Send Chat - End
For more general use, I use:
SetIdleProcessing
Param: ("IdleProc", "true); "+xs+" trSetUnitIdleProcessing(true")
Logged
Pages:
[
1
]
pftq Forums
|
Game Design
|
Age of Empires III
|
XS insertion
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Main
-----------------------------
=> News
=> Blabberbox
===> Recently Read
===> Random Stuff
===> My Links
===> Thought of the Day
===> Stuck in My Head
===> Ideas
===> Society
===> Stories
===> Essays
===> 42
=> General Discussion
=> Site Discussion
-----------------------------
Software and Scripts
-----------------------------
=> Jeopardy / Gameshow Maker
=> SMF Mods and Add-Ons
===> SMF Mailing List Demo
=> Other Scripts and Tools
-----------------------------
Game Design
-----------------------------
=> Age of Empires III
===> Random Map Scripts
===> Castle Blood
===> Fort Wars
=> Age of Mythology
-----------------------------
Stocks and Investing
-----------------------------
=> General Stock and Investing Discussion
=> Tech Trader Discussion
===> The Tech Trader Wall
Powered by SMF 1.1.21
|
SMF © 2006-2007, Simple Machines
|
RSS Feed
Page created in 0.094 seconds with 21 queries.
Loading...