Matt Posted December 1, 2013 Share Posted December 1, 2013 This is pretty impressive for someone who only knows about high-level programming languages. Link to comment Share on other sites More sharing options...
Iran Posted December 1, 2013 Author Share Posted December 1, 2013 It's pretty easy actually and mostly involves copy pasting game code: https://github.com/cnc-patch/ra303p/blob/master/src/ext/extended_triggeraction.asm Link to comment Share on other sites More sharing options...
Matt Posted December 1, 2013 Share Posted December 1, 2013 Oh nice. That might give us some insights. We just integrated Lua scripting, but lack legacy trigger support/import whatsoever. Link to comment Share on other sites More sharing options...
Chimas Posted December 1, 2013 Share Posted December 1, 2013 Does RA use LUA script? (I am looking for LUA coders, just not C&C series...) Link to comment Share on other sites More sharing options...
Iran Posted December 1, 2013 Author Share Posted December 1, 2013 No, RA uses an internal scripting system. Link to comment Share on other sites More sharing options...
kaspro Posted December 6, 2013 Share Posted December 6, 2013 The possibility to build 30 tanks like red alert 2 without to have click every second Link to comment Share on other sites More sharing options...
Nyerguds Posted December 6, 2013 Share Posted December 6, 2013 The possibility to build 30 tanks like red alert 2 without to have click every second That's easy. Decrease the game speed so it takes longer than a second to build a tank On a related note: Rule #1 Of Playing Old Games: DON'T COMPLAIN ABOUT FEATURES THAT WERE ADDED IN ITS SUCCESSORS. Nyerguds, over and out. Also, this topic is about triggers, not UI upgrades. Link to comment Share on other sites More sharing options...
kaspro Posted December 17, 2013 Share Posted December 17, 2013 Undeploying mcv how you want was in its successor ???????!!!!!!!! Link to comment Share on other sites More sharing options...
halley50 Posted December 28, 2013 Share Posted December 28, 2013 It is fantastic!!! This would be possible???: Waypoints or celltrigers that increases (or decreases) a percentage of the armor. (for exemple for rough terrain, forest...) The same for the range of the weapons. (eg, hills) Increase the amount of "Global set / clear" because (I believe) the limit is 32. I need more for my mod! Other cuestion: Totally passable trees? Link to comment Share on other sites More sharing options...
Matt Posted December 31, 2013 Share Posted December 31, 2013 You can seek some inspiration from the newborn, but growing OpenRA standard Lua library https://github.com/OpenRA/OpenRA/tree/bleed/mods/common/lua for new triggers. Link to comment Share on other sites More sharing options...
Karpet Posted January 25, 2014 Share Posted January 25, 2014 I haven't added a keyword to change the facings yet, but I know how to do this. Image= already works. I just added a 'give credits' trigger action, with support for giving negative amounts of credits. Yes a simple and boring trigger but I got everything figured out now. Every trigger action can have up to 3 parameters. Not related to triggers but I also found something hidden for map makers: http://cnc-comm.com/community/index.php?topic=2599.msg16276#new Can you give me a trigger for every 30 seconds, you get 500 credits? This would be REALLY useful in interior maps and I could finally make an interior multiplayer map. I'm sorry, I REALLY suck at complicated stuff like this. Also, a trigger to chronoshift in troops, in simple ways? Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted January 25, 2014 Share Posted January 25, 2014 you can make interior maps with money as well ! the missing shps for ore/gems have been added longer time ago to able to use them in raed you need to add the files to the correct location Link to comment Share on other sites More sharing options...
Karpet Posted January 25, 2014 Share Posted January 25, 2014 Yeah, but that's limited. If its all mined, it's gone. No mines available. Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted January 26, 2014 Share Posted January 26, 2014 you can make the money unlimted Link to comment Share on other sites More sharing options...
Karpet Posted January 26, 2014 Share Posted January 26, 2014 How, exactly? Link to comment Share on other sites More sharing options...
Karpet Posted January 26, 2014 Share Posted January 26, 2014 I've added support for trigger actions to add infantry/vessels/buildings/aircrafts to the sidebar (I already added support for vehicles). These trigger actions are untested. Add_Infantry_To_Sidebar_Action: ID = 42, parameter = Infantry internal ID number to add to sidebar (Trigger owner is used for which house to add to sidebar for) Add_Building_To_Sidebar_Action: ID = 43, parameter = Building internal ID number to add to sidebar (Trigger owner is used for which house to add to sidebar for) Add_Aircraft_To_Sidebar_Action: ID = 44, parameter = Aircraft internal ID number to add to sidebar (Trigger owner is used for which house to add to sidebar for) Add_Vessel_To_Sidebar_Action: ID = 45, parameter = Vessel internal ID number to add to sidebar (Trigger owner is used for which house to add to sidebar for) New EXE: https://dl.dropboxusercontent.com/u/21865790/ra95.exe Download 404'd. Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted January 26, 2014 Share Posted January 26, 2014 http://funkyfr3sh.cncnet.org/files/pictures/endless-money.gif Link to comment Share on other sites More sharing options...
Karpet Posted January 26, 2014 Share Posted January 26, 2014 Thanks! Currently making that map. Although if these triggers were added to RAED I would be so happy, but I would understand if you couldn't. Link to comment Share on other sites More sharing options...
Jacko Posted July 18, 2015 Share Posted July 18, 2015 Sorry for digging up such an old topic but I got a few questions: 1. is this all patched into the latest .exes? 2. Can I get some map examples of these triggers working? (I'm trying to replicate chronoshifting something in from off the map) here is my current line, can anyone see where I've done this wrong? I'm trying to teleport an mcv in from off the map onto waypoint 98 [TeamTypes] mcv=1,0,7,0,0,-1,0,1,MCV:1,1,3:98 [Trigs] chro=0,1,0,0,13,1,-1,0,0,-1,-1,65,98,-1,-1,0,-1,-1,-1 Link to comment Share on other sites More sharing options...
RC1985 Posted July 18, 2015 Share Posted July 18, 2015 I know nuts about programming the AI and I assume by trigger you mean some criterion for an action, and trigger action as the result if the trigger is met. If this is true then it'd be super fantastic if a Q practice map be made, such that a trigger would be your tanks approaching, and the trigger action being the enemy tanks Q-ing as they fire. This enables the player to practise Q with a Q-ing AI - so far all practice maps have enemy tanks remaining stationery. I remember taking a slight peak at the ini file of a Q practice map and there doesn't seem to be any specific Q command for the AI, so maybe this can be improvised by getting the AI to move in a random direction? Link to comment Share on other sites More sharing options...
Jacko Posted July 18, 2015 Share Posted July 18, 2015 I think that would more come down to teamtypes control Link to comment Share on other sites More sharing options...
Jacko Posted July 20, 2015 Share Posted July 20, 2015 I'm asking this because I know Iran showed me a test map where this trigger worked exactly as I want it to, and I want to replicate it. Anyone? Link to comment Share on other sites More sharing options...
Guest ehy Posted July 21, 2015 Share Posted July 21, 2015 - Link to comment Share on other sites More sharing options...
Eisengeist Posted October 12, 2015 Share Posted October 12, 2015 I've been messing with some of these. Though apparently not in the normal ra95.exe, they're in the parastructures exe that Iran made available on this thread: http://cnc-comm.com/community/index.php?topic=2599.0 Unfortunately the download link no longer works and it seems he hasn't been on here since August. Just spawning a chronovortex right off the bat is cool since setting its chances higher in rules hasn't seemed to ever work. I'm trying the make chronoteleporter spots that work for any player. tele=2,12,0,0,1,-1,12,0,-1,0,66,21,-1,21,0,-1,-1,-1 ; ?,Ow,?,?,A,??, T,?,??,?,Cr,Wy,??,??,?,??,??,?? ;First ? probably temp/semicons/constant 0/1/2 ;1 for A means Entered by ;T required to be the activator's team. 12-19 is multi1-8. 2 isRussia ;If Wy is -1 then it is randomly waypoint 03 or 04 ;tele=2,12,0,0,1,-1,12,0,-1,0,66,21,-1,21,0,-1,-1,-1 Here's an example that only works for multi1: First action of trigger reveals area around waypoint and second is the chronoshift. [Trigs] tele1a=2,12,0,1,1,-1,12,0,-1,0,17,-1,-1,21,66,21,-1,21 tele2a=2,13,0,1,1,-1,13,0,-1,0,17,-1,-1,21,66,21,-1,21 [CellTriggers] 1954=TELE1A Seems I need a different trigger for each player for entered by, but I can't stack multiple celltriggers on one cell. The game ignores if I edit multiple on one spot with notepad. I tried changing the 12 for multi1 to -1 and then it doesn't work for anyone. Not sure if anything can be done with the other chronoshift trigger type 65. Anyway got any ideas? Looking at Jacko's post, don't have the map to see. But RAed says something is invalid about the teamtype. I think type 65 would be used for an already existing MCV placed on the map border and set to that trigger. And having move to waypoint 98 set in the team type's list of orders is unnecessary. Actually the teamtype is unnecessary if the MCV already exists with that trigger attached to it I think. Link to comment Share on other sites More sharing options...
Eisengeist Posted October 14, 2015 Share Posted October 14, 2015 Figured a theoretical solution to my problem. For the event I can use OR with the two events being entered by one player and being entered by another. So at least one spot will work for two players, and how I have the teleporters designed as a formation of four rocks, I'll just make each of the rock spots work for two players each and I have all eight covered with it only requiring four triggers for each destination. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now