Obsidian Posted September 23, 2012 I've been planning a little idea for a map where you have to sneak around the map with constant partial invisibility and beserk, but I have no idea what scripting to use. Can anyone help plz? I also need the PI to not wear off as well. EDIT QUESTION: How do you recolour scripted marines? It's kind of boring having them all in grey. 0 Share this post Link to post
Blue Shadow Posted September 24, 2012 For long-lasting power ups, you can simply use a very high duration: ACTOR InfinitePartialInvisibility : BlurSphere { PowerUp.Duration 0x7FFFFFFF // Lasts for about 2 years... } BlurSphere is the class name for the Partial Invisibility sphere. 0 Share this post Link to post
Obsidian Posted September 24, 2012 Blue Shadow said:For long-lasting power ups, you can simply use a very high duration: ACTOR InfinitePartialInvisibility : BlurSphere { PowerUp.Duration 0x7FFFFFFF // Lasts for about 2 years... } BlurSphere is the class name for the Partial Invisibility sphere. Okay, thanks. Do you have an example lying around so I could see it in action please? :-) While I'm at it, I'll put a few more questions in this thread. 0 Share this post Link to post
Blue Shadow Posted September 25, 2012 Obsidian said:Okay, thanks. Do you have an example lying around so I could see it in action please? :-) Just copy the code above into a text file, save it as decorate.txt, drag and drop it onto zdoom.exe, start a new game, drop the console and type:summon infinitepartialinvisibilityHow do you recolour scripted marines You can do that via ACS by using CreatTranslation and Thing_SetTranslation. 0 Share this post Link to post
Obsidian Posted September 25, 2012 @Blue shadow I'm sort of trying to have the player in a mandatory constant state of invisibility, meaning that they're invisible from the get-go and can't get rid of it. I managed to get the beserk status using scripting, so is there a similar way for PI? BTW, I can't use XWE or SLADE seeing as they don't work properly on my clunker of a computer. 0 Share this post Link to post
Blue Shadow Posted September 25, 2012 Obsidian said:I managed to get the beserk status using scripting... If by scripting, you mean ACS, then you can have a simple script like this one: Script "Infinite Invisibility Giver" Enter { GiveInventory("InfinitePartialInvisibility", 1); } Of course, you need that custom invisibility sphere DECORATE code, as well. BTW, I can't use XWE or SLADE seeing as they don't work properly on my clunker of a computer. Technically, you don't need to put the decorate.txt into a WAD to make work. You can just simply load it alongside your map when testing/playing. There is also the choice of using zip/pk3, if you want. 0 Share this post Link to post